Page MenuHomePhabricator

ThemeWikimediaUI+Class.swift

Authored By
Volker_E
Jan 20 2023, 4:34 AM
Size
40 KB
Referenced Files
None
Subscribers
None

ThemeWikimediaUI+Class.swift

//
// ThemeWikimediaUI+Class.swift
//
// Do not edit directly
// Generated on Fri, 20 Jan 2023 04:31:27 GMT
import UIKit
public class StyleDictionaryClass {
public static let accentColorBase = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let animationDelay0 = 0ms
public static let animationDelay100 = -160ms
public static let animationDelay200 = -330ms
public static let animationDelayMedium = -160ms
public static let animationDelayNone = 0ms
public static let animationDelaySlow = -330ms
public static let animationDuration100 = 1600ms
public static let animationDuration200 = 2000ms
public static let animationDurationMedium = 1600ms
public static let animationDurationSlow = 2000ms
public static let animationIterationCount100 = infinite
public static let animationIterationCountBase = infinite
public static let animationTimingFunction100 = linear
public static let animationTimingFunction200 = ease-in-out
public static let animationTimingFunctionBase = linear
public static let animationTimingFunctionBouncing = ease-in-out
public static let backgroundColorBackdropDark = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0.65)
public static let backgroundColorBackdropLight = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.65) /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
public static let backgroundColorBase = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let backgroundColorBaseActive = UIColor(red: 0.918, green: 0.953, blue: 1.000, alpha: 1)
public static let backgroundColorBaseDisabled = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorBaseHover = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorBaseTransparent = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0)
public static let backgroundColorButtonQuietActive = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.082)
public static let backgroundColorButtonQuietHover = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.027)
public static let backgroundColorDestructive = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let backgroundColorDestructiveActive = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let backgroundColorDestructiveFocus = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let backgroundColorDestructiveHover = UIColor(red: 1.000, green: 0.259, blue: 0.259, alpha: 1)
public static let backgroundColorDestructiveSubtle = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let backgroundColorDisabled = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1) /* Components like Buttons, Checkboxes, Radios, ProgressBars…. */
public static let backgroundColorDisabledSubtle = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1) /* Components like TextInputs, Selects…. */
public static let backgroundColorErrorFramed = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let backgroundColorErrorSubtle = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let backgroundColorFilledDisabled = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let backgroundColorFramed = UIColor(red: 0.973, green: 0.976, blue: 0.980, alpha: 1)
public static let backgroundColorFramedActive = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorFramedHover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let backgroundColorInputBinaryChecked = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let backgroundColorInteractive = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorInteractiveSubtle = UIColor(red: 0.973, green: 0.976, blue: 0.980, alpha: 1)
public static let backgroundColorMessageError = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let backgroundColorMessageNotice = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorMessageSuccess = UIColor(red: 0.835, green: 0.992, blue: 0.957, alpha: 1)
public static let backgroundColorMessageWarning = UIColor(red: 0.996, green: 0.965, blue: 0.906, alpha: 1)
public static let backgroundColorNoticeFramed = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorNoticeSubtle = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorPrimary = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let backgroundColorPrimaryHover = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 0.1)
public static let backgroundColorProgressive = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let backgroundColorProgressiveActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let backgroundColorProgressiveFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let backgroundColorProgressiveHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let backgroundColorProgressiveSubtle = UIColor(red: 0.918, green: 0.953, blue: 1.000, alpha: 1)
public static let backgroundColorQuiet = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0)
public static let backgroundColorQuietActive = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.082)
public static let backgroundColorQuietHover = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.027)
public static let backgroundColorSuccessFramed = UIColor(red: 0.835, green: 0.992, blue: 0.957, alpha: 1)
public static let backgroundColorSuccessSubtle = UIColor(red: 0.835, green: 0.992, blue: 0.957, alpha: 1)
public static let backgroundColorTabsFramed = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorToolActive = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let backgroundColorToolActiveHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let backgroundColorToolHover = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let backgroundColorToolbar = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let backgroundColorTransparent = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0)
public static let backgroundColorWarningFramed = UIColor(red: 0.996, green: 0.965, blue: 0.906, alpha: 1)
public static let backgroundColorWarningSubtle = UIColor(red: 0.996, green: 0.965, blue: 0.906, alpha: 1)
public static let borderBase = 1px solid UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorBase = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorBaseActive = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderColorBaseDisabled = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let borderColorBaseFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorBaseHover = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorDestructive = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let borderColorDestructiveActive = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let borderColorDestructiveFocus = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let borderColorDestructiveHover = UIColor(red: 1.000, green: 0.259, blue: 0.259, alpha: 1)
public static let borderColorDisabled = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let borderColorDivider = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorError = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let borderColorFilledDisabled = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let borderColorInputBinary = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderColorInputBinaryActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let borderColorInputBinaryChecked = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorInputBinaryFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorInputBinaryHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let borderColorInputHover = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderColorInsetFocus = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let borderColorInteractive = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderColorInverted = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let borderColorNeutral = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorNeutralActive = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderColorNeutralFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorNeutralHover = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorNotice = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderColorPrimary = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorPrimaryActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let borderColorPrimaryFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorPrimaryHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let borderColorProgressive = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorProgressiveActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let borderColorProgressiveFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let borderColorProgressiveHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let borderColorSubtle = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let borderColorSuccess = UIColor(red: 0.078, green: 0.525, blue: 0.427, alpha: 1)
public static let borderColorTransparent = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
public static let borderColorWarning = UIColor(red: 0.929, green: 0.671, blue: 0.000, alpha: 1)
public static let borderError = 1px solid UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let borderInputBinary = 1px solid UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let borderNotice = 1px solid UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let borderRadiusBase = 2px
public static let borderRadiusCircle = 100%
public static let borderRadiusPill = 9999px
public static let borderRadiusSharp = 0
public static let borderStyle100 = solid
public static let borderStyle50 = dashed
public static let borderStyleBase = solid
public static let borderStyleDashed = dashed
public static let borderSuccess = 1px solid UIColor(red: 0.078, green: 0.525, blue: 0.427, alpha: 1)
public static let borderWarning = 1px solid UIColor(red: 0.929, green: 0.671, blue: 0.000, alpha: 1)
public static let borderWidthBase = 1px
public static let borderWidthThick = 2px
public static let boxShadow100 = 0 1px 1px rgba( 0, 0, 0, 0.2 ) /* Defining `rgba()` as combination of color and opacity tokens is overly complex in Style Dictionary. Therefore adding drop shadow colors here. */
public static let boxShadow200 = 0 2px 2px 0 rgba( 0, 0, 0, 0.2 )
public static let boxShadow25 = inset 0 0 0 1px
public static let boxShadow25Outset = 0 0 0 1px
public static let boxShadow25Start = -1px 0 0 0
public static let boxShadow25Top = 0 -1px 0 0
public static let boxShadow50 = inset 0 0 0 2px
public static let boxShadow500 = 0 20px 48px 0 rgba( 0, 0, 0, 0.2 )
public static let boxShadow50Vertical = inset 0 -2px 0 0 /* Only visible at bottom. */
public static let boxShadowBase = inset 0 0 0 1px UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
public static let boxShadowBaseActive = inset 0 0 0 1px UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let boxShadowBaseFocus = inset 0 0 0 1px UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let boxShadowCard = 0 1px 1px rgba( 0, 0, 0, 0.2 )
public static let boxShadowColorBase = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let boxShadowColorDestructiveFocus = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let boxShadowColorInverted = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowColorProgressiveActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let boxShadowColorProgressiveFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let boxShadowColorProgressiveSelected = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let boxShadowColorProgressiveSelectedActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let boxShadowColorProgressiveSelectedHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let boxShadowColorTransparent = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
public static let boxShadowDestructiveFilledFocus = inset 0 0 0 1px UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1), inset 0 0 0 2px UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowDestructiveFocus = inset 0 0 0 1px UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let boxShadowDialog = 0 2px 2px 0 rgba( 0, 0, 0, 0.2 )
public static let boxShadowDropMedium = 0 2px 2px 0 rgba( 0, 0, 0, 0.2 ) /* This features color as part of the theme token value. */
public static let boxShadowDropSmall = 0 1px 1px rgba( 0, 0, 0, 0.2 ) /* This features color as part of the theme token value. */
public static let boxShadowDropXxLarge = 0 20px 48px 0 rgba( 0, 0, 0, 0.2 ) /* This features color as part of the theme token value. */
public static let boxShadowFilledDisabled = inset 0 0 0 1px UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowInsetMedium = inset 0 0 0 2px
public static let boxShadowInsetMediumVertical = inset 0 -2px 0 0
public static let boxShadowInsetSmall = inset 0 0 0 1px
public static let boxShadowInverted = inset 0 0 0 2px UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowMenu = 0 2px 2px 0 rgba( 0, 0, 0, 0.2 )
public static let boxShadowOutsetSmall = 0 0 0 1px
public static let boxShadowOutsetSmallStart = -1px 0 0 0
public static let boxShadowOutsetSmallTop = 0 -1px 0 0
public static let boxShadowPrimaryFocus = inset 0 0 0 1px UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1), inset 0 0 0 2px UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowProgressBar = 0 1px 1px rgba( 0, 0, 0, 0.2 )
public static let boxShadowProgressiveActive = inset 0 0 0 1px UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let boxShadowProgressiveFilledFocus = inset 0 0 0 1px UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1), inset 0 0 0 2px UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let boxShadowProgressiveFocus = inset 0 0 0 1px UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let boxSizing100 = border-box
public static let boxSizingBase = border-box
public static let colorAccent = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1) /* Accent color is used for certain HTML5 elements like checkbox and progress bar. */
public static let colorAccessory = UIColor(red: 0.329, green: 0.349, blue: 0.365, alpha: 1)
public static let colorBase = UIColor(red: 0.125, green: 0.129, blue: 0.133, alpha: 1)
public static let colorBaseActive = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let colorBaseDisabled = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let colorBaseEmphasized = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let colorBaseHover = UIColor(red: 0.251, green: 0.259, blue: 0.267, alpha: 1) /* Aimed to be replaced by `color.gray600` in future. */
public static let colorBaseInverted = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let colorBaseSubtle = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let colorBlack = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let colorBlue100 = UIColor(red: 0.918, green: 0.953, blue: 1.000, alpha: 1)
public static let colorBlue500 = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let colorBlue600 = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let colorBlue700 = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let colorDestructive = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1) /* 'Destructive' Color and states */
public static let colorDestructiveActive = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let colorDestructiveFocus = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let colorDestructiveHover = UIColor(red: 1.000, green: 0.259, blue: 0.259, alpha: 1)
public static let colorDisabled = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let colorEmphasized = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let colorError = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let colorFilledDisabled = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let colorGray100 = UIColor(red: 0.973, green: 0.976, blue: 0.980, alpha: 1)
public static let colorGray200 = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let colorGray300 = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let colorGray400 = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let colorGray500 = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let colorGray600 = UIColor(red: 0.329, green: 0.349, blue: 0.365, alpha: 1)
public static let colorGray650 = UIColor(red: 0.251, green: 0.259, blue: 0.267, alpha: 1)
public static let colorGray700 = UIColor(red: 0.125, green: 0.129, blue: 0.133, alpha: 1)
public static let colorGreen100 = UIColor(red: 0.835, green: 0.992, blue: 0.957, alpha: 1)
public static let colorGreen600 = UIColor(red: 0.000, green: 0.686, blue: 0.537, alpha: 1)
public static let colorGreen700 = UIColor(red: 0.078, green: 0.525, blue: 0.427, alpha: 1)
public static let colorInverted = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let colorLinkRed = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1) /* Red ('new') Link color and states */
public static let colorLinkRedActive = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let colorLinkRedFocus = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let colorLinkRedHover = UIColor(red: 1.000, green: 0.259, blue: 0.259, alpha: 1)
public static let colorLinkRedVisited = UIColor(red: 0.647, green: 0.345, blue: 0.345, alpha: 1)
public static let colorMaroon = UIColor(red: 0.647, green: 0.345, blue: 0.345, alpha: 1)
public static let colorModifierBlue600Translucent = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 0.1) /* TODO: Not part of DS Figma yet. Note, that WikimediaUI Base's `rgba( 41, 98, 204, 0.1 )` was not a modifier of Blue600, while this is. */
public static let colorModifierGray100Translucent = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.027) /* TODO: Not part of DS Figma yet. Equals `color-gray100` on white. Was `rgba( 0, 24, 73, calc( 7 / 255 ) )` before, but due to Less compiler issue, we need to provide calculated value. See T326591. */
public static let colorModifierGray200Translucent = UIColor(red: 0.000, green: 0.094, blue: 0.286, alpha: 0.082) /* TODO: Not part of DS Figma yet. Equals `color-gray200` on white. Was `rgba( 0, 24, 73, calc( 21 / 255 ) )` before, but due to Less compiler issue, we need to provide calculated value. See T326591. */
public static let colorNotice = UIColor(red: 0.125, green: 0.129, blue: 0.133, alpha: 1)
public static let colorOpacityMediumDark = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0.65)
public static let colorOpacityMediumLight = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.65)
public static let colorPlaceholder = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let colorPrimary = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let colorPrimaryActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let colorPrimaryFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let colorPrimaryHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let colorProgressive = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1) /* 'Progressive' Color and states */
public static let colorProgressiveActive = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let colorProgressiveFocus = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let colorProgressiveHover = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let colorPurple = UIColor(red: 0.420, green: 0.294, blue: 0.631, alpha: 1)
public static let colorRed100 = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let colorRed500 = UIColor(red: 1.000, green: 0.259, blue: 0.259, alpha: 1)
public static let colorRed600 = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let colorRed700 = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let colorSubtle = UIColor(red: 0.329, green: 0.349, blue: 0.365, alpha: 1)
public static let colorSuccess = UIColor(red: 0.078, green: 0.525, blue: 0.427, alpha: 1) /* Note, this needs to use a tone darker than Red and Yellow for contrast reasons with background White. */
public static let colorTransparent = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
public static let colorTransparentDark = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
public static let colorTransparentLight = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0)
public static let colorVisited = UIColor(red: 0.420, green: 0.294, blue: 0.631, alpha: 1) /* 'Visited' color. In combination with progressive. Used for default links. */
public static let colorWarning = UIColor(red: 0.929, green: 0.671, blue: 0.000, alpha: 1) /* Note, this is only meant for warning icon for contrast reasons. */
public static let colorWhite = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let colorYellow100 = UIColor(red: 0.996, green: 0.965, blue: 0.906, alpha: 1)
public static let colorYellow500 = UIColor(red: 1.000, green: 0.800, blue: 0.200, alpha: 1)
public static let colorYellow600 = UIColor(red: 0.929, green: 0.671, blue: 0.000, alpha: 1)
public static let colorYellow700 = UIColor(red: 0.675, green: 0.400, blue: 0.000, alpha: 1)
public static let cursorArrow = default
public static let cursorArrowMove = move
public static let cursorArrowNotAllowed = not-allowed
public static let cursorBase = default
public static let cursorBaseDisabled = default
public static let cursorBaseHover = pointer
public static let cursorGrab = grab
public static let cursorGrabbing = grabbing
public static let cursorHand = pointer
public static let cursorHandClosed = grabbing
public static let cursorHandOpen = grab
public static let cursorHelp = help
public static let cursorMove = move
public static let cursorNotAllowed = not-allowed
public static let cursorQuestionMark = help
public static let cursorResizeLeft = nesw-resize
public static let cursorResizeNesw = nesw-resize
public static let cursorResizeNwse = nwse-resize
public static let cursorResizeRight = nwse-resize
public static let cursorText = text
public static let cursorTextMarker = text
public static let cursorZoomIn = zoom-in
public static let cursorZoomLess = zoom-out
public static let cursorZoomMore = zoom-in
public static let cursorZoomOut = zoom-out
public static let dimension0 = 0
public static let dimension100 = 16
public static let dimension12 = 2
public static let dimension125 = 20
public static let dimension150 = 24
public static let dimension1600 = 256
public static let dimension200 = 32
public static let dimension2400 = 384
public static let dimension25 = 4
public static let dimension250 = 40
public static let dimension275 = 44
public static let dimension2800 = 448
public static let dimension30 = 5 /* This token is an exception to the scale. Used as vertical `padding` in inputs and controls to achieve the default 32px component height. */
public static let dimension300 = 48
public static let dimension3200 = 512
public static let dimension35 = 6 /* This token is an exception to the scale. Used as `padding` of the ToggleSwitch component. */
public static let dimension400 = 64
public static let dimension50 = 8
public static let dimension5600 = 896
public static let dimension6 = 1
public static let dimension75 = 12
public static let dimension800 = 128
public static let dimensionAbsolute1 = 1px
public static let dimensionAbsolute9999 = 9999px
public static let dimensionDouble = 200%
public static let dimensionFull = 100%
public static let dimensionHalf = 50%
public static let dimensionThird = 33.33% /* From here on, percentages. */
public static let dimensionViewportHeightFull = 100vh
public static let dimensionViewportWidthFull = 100vw /* From here on, viewport sizes */
public static let fontFamilyBase = sans-serif /* Reference Vector's default fallback sans instead of the deprecated value `font-family-sans` in WikimediaUI Base. */
public static let fontFamilyHeadingMain = 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif /* Legacy value from WikimediaUI Base. Use for first heading special treatment. */
public static let fontFamilyMonospace = 'Menlo', 'Consolas', 'Liberation Mono', 'Fira Code', 'Courier New', monospace
public static let fontFamilyMonospaceFallback = monospace, monospace
public static let fontFamilySans = 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif
public static let fontFamilySansFallback = sans-serif
public static let fontFamilySerif = 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif
public static let fontFamilySerifFallback = serif
public static let fontFamilySystemSans = -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Inter', 'Helvetica', 'Arial', sans-serif
public static let fontWeight100 = 400
public static let fontWeight150 = 600
public static let fontWeight175 = 700
public static let fontWeight25 = 100
public static let fontWeight75 = 300
public static let fontWeightBold = 700
public static let fontWeightHairline = 100
public static let fontWeightLight = 300
public static let fontWeightNormal = 400
public static let fontWeightSemiBold = 600
public static let lineHeight100 = 1.6
public static let lineHeight60 = 1.25
public static let lineHeight65 = 1.3 /* Used for `line-height-heading` in WikimediaUI Base. */
public static let lineHeight70 = 1.375
public static let lineHeight80 = 1.4285714
public static let lineHeight90 = 1.5714285
public static let lineHeightBase = 1.6
public static let lineHeightHeading = 1.3
public static let lineHeightMedium = 1.6
public static let lineHeightSmall = 1.5714285
public static let lineHeightXSmall = 1.4285714
public static let lineHeightXxSmall = 1.375
public static let lineHeightXxxSmall = 1.25 /* `x` stands for extra. In this case extra-extra-extra small. */
public static let maxWidth100 = none
public static let maxWidthBase = none
public static let maxWidthBreakpointDesktop = calc( CGFloat(26880.00) - 1px ) /* A desktop device's maximum available screen width. */
public static let maxWidthBreakpointMobile = calc( CGFloat(10240.00) - 1px ) /* A mobile device's maximum available screen width. Many older feature phones have screens smaller than this value. */
public static let maxWidthBreakpointTablet = calc( CGFloat(17920.00) - 1px ) /* A tablet device's maximum available screen width. Note, the size chosen is eager to be re-evaluated with Web team and Product Analytics. */
public static let maxWidthButton = 448px /* Note, that this is a slight amendment from WikimediaUI Base from `28.75em` = `460px` to `448px` – `dimension.2800` */
public static let minSizeBase = 32px /* TODO: Deprecate key and change to `min-size-component`? */
public static let minSizeIcon = 20px
public static let minSizeIconSmall = 16px
public static let minSizeIndicator = 12px
public static let minWidthBreakpointDesktop = CGFloat(17920.00) /* A desktop device's minimum available screen width. */
public static let minWidthBreakpointDesktopWide = CGFloat(26880.00) /* A wider desktop's minimum available screen width. */
public static let minWidthBreakpointMobile = CGFloat(5120.00) /* A mobile device's minimum available screen width. Many older feature phones have screens smaller than this value. */
public static let minWidthBreakpointTablet = CGFloat(10240.00) /* A tablet device's minimum available screen width. Note: the size chosen is eager to be re-evaluated with Web team and Product Analytics. */
public static let minWidthMedium = 256px
public static let opacity0 = 0
public static let opacity100 = 1
public static let opacity30 = 0.30
public static let opacity51 = 0.51 /* Equals `#7d7d7d` on `background-color: #fff`, closest to `#72777d`. */
public static let opacity60 = 0.65
public static let opacity67 = 0.67 /* Equals `#555` on `background-color: `#fff`, closest to `#54595d`. */
public static let opacity74 = 0.74 /* Equals `#424242` on `background-color: #fff`, closest to `#404244`. */
public static let opacity87 = 0.87 /* Equals `#222` on `background-color: #fff`, closest to `#202122`. */
public static let opacityBase = 1
public static let opacityBaseDisabled = 0.51
public static let opacityIconAccessory = 0.67
public static let opacityIconBase = 0.87
public static let opacityIconBaseHover = 0.74
public static let opacityIconBaseSelected = 1
public static let opacityLow = 0.30
public static let opacityMedium = 0.65
public static let opacityTransparent = 0
public static let outlineBaseFocus = 1px solid UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0) /* Enable Windows high contrast mode on certain widgets, that have default outlines overridden. */
public static let paddingBase = 4px 12px
public static let paddingHorizontalBase = 12px
public static let paddingHorizontalInputText = 8px
public static let paddingInputText = 4px 8px
public static let paddingVerticalBase = 4px
public static let paddingVerticalMenu = calc( 4px + 1px ) /* Note, that we need to rely on `calc()` for cross-stylesheet format output. Not perfectly aligned to current basic browser support. */
public static let positionOffsetBorderWidthBase = -1px
public static let positionOffsetInputRadioFocus = -4px /* TODO: This has to be a relative value, for design reasons. */
public static let size0 = 0
public static let size100 = 16px
public static let size12 = 2px
public static let size125 = 20px
public static let size150 = 24px
public static let size1600 = 256px
public static let size200 = 32px
public static let size2400 = 384px
public static let size25 = 4px
public static let size250 = 40px
public static let size275 = 44px
public static let size2800 = 448px
public static let size300 = 48px
public static let size3200 = 512px
public static let size400 = 64px
public static let size50 = 8px
public static let size5600 = 896px
public static let size6 = 1px
public static let size75 = 12px
public static let size800 = 128px
public static let sizeAbsolute1 = 1px
public static let sizeAbsolute9999 = 9999px
public static let sizeBase = 32px
public static let sizeDouble = 200%
public static let sizeFull = 100%
public static let sizeHalf = 50%
public static let sizeIcon = 20px /* TODO: This has to be a relative value, for accessibility reasons. */
public static let sizeIconSmall = 16px /* TODO: This has to be a relative value, for accessibility reasons. */
public static let sizeIndicator = 12px /* TODO: This has to be a relative value, for accessibility reasons. */
public static let sizeThird = 33.33%
public static let sizeViewport100 = CGFloat(16000.00)
public static let sizeViewport112 = CGFloat(17920.00)
public static let sizeViewport120 = CGFloat(19200.00)
public static let sizeViewport168 = CGFloat(26880.00)
public static let sizeViewport200 = CGFloat(32000.00)
public static let sizeViewport32 = CGFloat(5120.00)
public static let sizeViewport64 = CGFloat(10240.00)
public static let sizeViewport72 = CGFloat(11520.00)
public static let sizeViewportHeightFull = 100vh
public static let sizeViewportWidthFull = 100vw
public static let spacing0 = 0
public static let spacing100 = 16px
public static let spacing12 = 2px
public static let spacing125 = 20px
public static let spacing150 = 24px
public static let spacing200 = 32px
public static let spacing25 = 4px
public static let spacing250 = 40px
public static let spacing30 = 5px /* This token is an exception to the scale. Used as vertical `padding` in inputs and controls to achieve the default 32px component height. */
public static let spacing300 = 48px
public static let spacing35 = 6px /* This token is an exception to the scale. Used as `padding` of the ToggleSwitch component. */
public static let spacing400 = 64px
public static let spacing50 = 8px
public static let spacing75 = 12px
public static let spacingFull = 100%
public static let spacingHalf = 50% /* From here on, spacing tokens which are used for positioning values. */
public static let tabSize100 = 4
public static let tabSizeBase = 4
public static let textDecoration0 = none
public static let textDecoration150 = line-through
public static let textDecoration200 = underline
public static let textDecorationLineThrough = line-through
public static let textDecorationNone = none
public static let textDecorationUnderline = underline
public static let transitionBase = 100ms
public static let transitionDuration100 = 100ms
public static let transitionDuration200 = 250ms
public static let transitionDurationBase = 100ms
public static let transitionDurationMedium = 250ms
public static let transitionPropertyBackgroundColor = background-color
public static let transitionPropertyBase = background-color, color, border-color, box-shadow
public static let transitionPropertyBorderColor = border-color
public static let transitionPropertyBoxShadow = box-shadow
public static let transitionPropertyColor = color
public static let transitionPropertyFade = opacity
public static let transitionPropertyIcon = color
public static let transitionPropertyLeft = left
public static let transitionPropertyOpacity = opacity
public static let transitionPropertyToggleSwitchGrip = background-color, border-color, left
public static let transitionTimingFunction100 = ease /* `ease` for system initiated transitions. See T77949. It's also the initial value. */
public static let transitionTimingFunction200 = ease-out /* `ease-out` for human initiated transitions. */
public static let transitionTimingFunctionSystem = ease
public static let transitionTimingFunctionUser = ease-out
public static let unitAbsolute = px
public static let unitRelative = em
public static let unitSystem = px
public static let unitUser = em
public static let widthBreakpointDesktop = CGFloat(16000.00)
public static let widthBreakpointDesktopExtrawide = CGFloat(32000.00)
public static let widthBreakpointDesktopWide = CGFloat(19200.00)
public static let widthBreakpointMobile = CGFloat(5120.00)
public static let widthBreakpointTablet = CGFloat(11520.00)
public static let wmuiColorAccent30 = UIColor(red: 0.165, green: 0.294, blue: 0.553, alpha: 1)
public static let wmuiColorAccent50 = UIColor(red: 0.200, green: 0.400, blue: 0.800, alpha: 1)
public static let wmuiColorAccent90 = UIColor(red: 0.918, green: 0.953, blue: 1.000, alpha: 1)
public static let wmuiColorBase0 = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
public static let wmuiColorBase10 = UIColor(red: 0.125, green: 0.129, blue: 0.133, alpha: 1)
public static let wmuiColorBase100 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let wmuiColorBase20 = UIColor(red: 0.329, green: 0.349, blue: 0.365, alpha: 1)
public static let wmuiColorBase30 = UIColor(red: 0.447, green: 0.467, blue: 0.490, alpha: 1)
public static let wmuiColorBase50 = UIColor(red: 0.635, green: 0.663, blue: 0.694, alpha: 1)
public static let wmuiColorBase70 = UIColor(red: 0.784, green: 0.800, blue: 0.820, alpha: 1)
public static let wmuiColorBase80 = UIColor(red: 0.918, green: 0.925, blue: 0.941, alpha: 1)
public static let wmuiColorBase90 = UIColor(red: 0.973, green: 0.976, blue: 0.980, alpha: 1)
public static let wmuiColorGreen30 = UIColor(red: 0.078, green: 0.525, blue: 0.427, alpha: 1)
public static let wmuiColorGreen50 = UIColor(red: 0.000, green: 0.686, blue: 0.537, alpha: 1)
public static let wmuiColorGreen90 = UIColor(red: 0.835, green: 0.992, blue: 0.957, alpha: 1)
public static let wmuiColorModifierAccent50Lighten = UIColor(red: 0.267, green: 0.498, blue: 0.961, alpha: 1)
public static let wmuiColorModifierBase10Lighten = UIColor(red: 0.251, green: 0.259, blue: 0.267, alpha: 1)
public static let wmuiColorModifierRed50Lighten = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let wmuiColorPurple50 = UIColor(red: 0.420, green: 0.294, blue: 0.631, alpha: 1)
public static let wmuiColorRed30 = UIColor(red: 0.702, green: 0.141, blue: 0.141, alpha: 1)
public static let wmuiColorRed50 = UIColor(red: 0.867, green: 0.200, blue: 0.200, alpha: 1)
public static let wmuiColorRed90 = UIColor(red: 0.996, green: 0.906, blue: 0.902, alpha: 1)
public static let wmuiColorYellow30 = UIColor(red: 0.675, green: 0.400, blue: 0.000, alpha: 1)
public static let wmuiColorYellow50 = UIColor(red: 0.929, green: 0.671, blue: 0.000, alpha: 1)
public static let wmuiColorYellow90 = UIColor(red: 0.996, green: 0.965, blue: 0.906, alpha: 1)
public static let zIndex0 = 0
public static let zIndex1 = 1
public static let zIndex10 = 10
public static let zIndex100 = 100
public static let zIndex101 = 101
public static let zIndex2 = 2
public static let zIndexBase = 0
public static let zIndexOverlay = 101
}

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10331605
Default Alt Text
ThemeWikimediaUI+Class.swift (40 KB)

Event Timeline