diff --git a/core/config/test/__snapshots__/stories.test.ts.snap b/core/config/test/__snapshots__/stories.test.ts.snap index fe6374d25..9824bc08f 100644 --- a/core/config/test/__snapshots__/stories.test.ts.snap +++ b/core/config/test/__snapshots__/stories.test.ts.snap @@ -18,6 +18,7 @@ Array [ "/Users/atanasster/component-controls/ui/components/src/BlockContainer/BlockContainer.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/Collapsible/Collapsible.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/ColorMode/ColorMode.stories.tsx", + "/Users/atanasster/component-controls/ui/components/src/CopyContainer/CopyContainer.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/ExternalLink/ExternalLink.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/Header/Header.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/HoverBox/HoverBox.stories.tsx", @@ -89,6 +90,7 @@ Array [ "/Users/atanasster/component-controls/ui/components/src/BlockContainer/BlockContainer.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/Collapsible/Collapsible.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/ColorMode/ColorMode.stories.tsx", + "/Users/atanasster/component-controls/ui/components/src/CopyContainer/CopyContainer.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/ExternalLink/ExternalLink.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/Header/Header.stories.tsx", "/Users/atanasster/component-controls/ui/components/src/HoverBox/HoverBox.stories.tsx", diff --git a/core/store/src/serialization/transform-controls.ts b/core/store/src/serialization/transform-controls.ts index d43153cc3..786a8fb4f 100644 --- a/core/store/src/serialization/transform-controls.ts +++ b/core/store/src/serialization/transform-controls.ts @@ -12,6 +12,41 @@ import { getControlValue, } from '@component-controls/core'; +const controlShortcuts = ( + control: ComponentControl | any, +): ComponentControl => { + const valueType = typeof control; + switch (valueType) { + case 'string': + return { type: ControlTypes.TEXT, value: control }; + case 'number': + return { type: ControlTypes.NUMBER, value: control }; + case 'object': { + if (control instanceof Date) { + return { type: ControlTypes.DATE, value: control }; + } + if (Array.isArray(control)) { + return { type: ControlTypes.OPTIONS, options: control }; + } + if ( + control.type === ControlTypes.OBJECT && + typeof control.value === 'object' + ) { + return { + ...control, + value: Object.keys(control.value).reduce( + (acc, name) => ({ + ...acc, + [name]: controlShortcuts(control.value[name]), + }), + {}, + ), + }; + } + } + } + return control; +}; export const transformControls = ( story: Story, doc: Document, @@ -20,17 +55,7 @@ export const transformControls = ( const { controls: storyControls } = story; const controls: ComponentControls | undefined = storyControls ? Object.keys(storyControls).reduce((acc, key) => { - let control: ComponentControl; - const value = storyControls[key]; - if (typeof value === 'string') { - control = { type: ControlTypes.TEXT, value }; - } else if (typeof value === 'number') { - control = { type: ControlTypes.NUMBER, value }; - } else if (typeof value === 'object' && value instanceof Date) { - control = { type: ControlTypes.DATE, value }; - } else { - control = value; - } + const control = controlShortcuts(storyControls[key]); if (control.defaultValue === undefined) { const defaultValue = getControlValue(control); if (typeof defaultValue !== 'function') { diff --git a/examples/stories/src/tutorial/design/tokens/colors.mdx b/examples/stories/src/tutorial/design/tokens/colors.mdx index 70493ce5f..47286325d 100644 --- a/examples/stories/src/tutorial/design/tokens/colors.mdx +++ b/examples/stories/src/tutorial/design/tokens/colors.mdx @@ -23,6 +23,7 @@ import { CedarColorPalette, CometColorPalette, DuetColorPalette, + ETradeColorPalette, } from '@component-controls/design-tokens'; # Overview @@ -645,4 +646,74 @@ import { DuetColorPalette } from '@component-controls/design-tokens'; status: 'error', }, }} -/> \ No newline at end of file +/> + + +## ETradeColor + +The [ETradeColor](/api/design-tokens-colors-etradecolor--overview) component displays the color as a block with values for hex, class and sass can be copied to clipboard on hover. + +Design inspired from [E-Trade Design System](https://docs.etrade.design/colors). + +``` +import { ETradeColorPalette } from '@component-controls/design-tokens'; + + +``` + + + diff --git a/plugins/viewport-plugin/tests/__snapshots__/stories.test.js.snap b/plugins/viewport-plugin/tests/__snapshots__/stories.test.js.snap index 6f05f891b..151bdad1d 100644 --- a/plugins/viewport-plugin/tests/__snapshots__/stories.test.js.snap +++ b/plugins/viewport-plugin/tests/__snapshots__/stories.test.js.snap @@ -52,7 +52,7 @@ exports[`Plugins/ViewportBlock Overview 1`] = ` class="css-iux8x2" >
`; +exports[`Components/CopyContainer Overview 1`] = ` + +
+
+

+ some text. +

+

+ click to copy +

+
+
+
+`; + exports[`Components/ExternalLink Overview 1`] = `
( + +); + +overview.controls = { + name: { type: 'text', value: 'Negative red' }, + color: { + type: 'object', + value: { + value: { type: 'color', value: '#cc0000' }, + name: 'Error state', + description: 'Data trending down', + sass: '$negative', + }, + }, +}; + +export const palette = () => ( + +); diff --git a/ui/design-tokens/src/Colors/ETradeColor/ETradeColor.tsx b/ui/design-tokens/src/Colors/ETradeColor/ETradeColor.tsx new file mode 100644 index 000000000..ef14926b6 --- /dev/null +++ b/ui/design-tokens/src/Colors/ETradeColor/ETradeColor.tsx @@ -0,0 +1,160 @@ +/** @jsx jsx */ +import { FC, useState, Fragment } from 'react'; +import { jsx } from 'theme-ui'; +import tinycolor from 'tinycolor2'; +import { CircleSlashIcon } from '@primer/octicons-react'; +import copy from 'copy-to-clipboard'; +import { colorToStr, mostReadable } from '../utils'; +import { ColorBlockProps, ColorValue, colorContrast } from '../types'; +import { GridContainerProps, GridContainer } from '../GridContainer'; + +const CopyItem: FC<{ name: string; value?: string }> = ({ name, value }) => { + const [hover, setHover] = useState(false); + const [copied, setCopied] = useState(false); + return value ? ( +
setHover(true)} + onMouseLeave={() => setHover(false)} + onClick={() => { + copy(value); + setCopied(true); + }} + sx={{ + cursor: 'pointer', + flex: '1 1 0px', + p: 2, + borderRight: 'solid 2px rgba(255,255,255,0.5)', + bg: hover ? 'rgba(255,255,255,0.2)' : 'transparent', + }} + > + {copied ? ( +
Copied
+ ) : ( + +
Copy
+
{name}
+
+ )} +
+ ) : null; +}; +/** + * Color item displaying the color as a block with values for hex, class and sass can be copied to clipboard on hover. + * Design inspired from [E-Trade Design System](https://docs.etrade.design/colors). + */ +export const ETradeColor: FC = ({ name, color }) => { + const [hover, setHover] = useState(false); + const colorObj: ColorValue = + typeof color === 'string' ? { value: color } : color; + const { + value: colorValue, + name: colorName, + sass, + css, + description, + } = colorObj; + + const { hex } = colorToStr(colorValue); + const textColor = mostReadable(hex); + const contrast = tinycolor.readability(hex, '#ffffff'); + return ( +
+
setHover(true)} + onMouseLeave={() => setHover(false)} + sx={{ + bg: colorValue, + color: textColor, + height: 85, + position: 'relative', + }} + > +
+
{name}
+
{hex}
+
{css}
+ +
{sass}
+
+ {hover && ( +
+ + + +
+ )} +
+
+
+
{colorName}
+
{description}
+ {contrast < colorContrast.small.ratio && ( +
+ + Not for text +
+ )} +
+
+
+ ); +}; + +/** + * + * palette displayed with ETradeColor items + * using a css grid for the dsplay + */ +export const ETradeColorPalette: FC> = props => ( + + {({ name, value }) => ( + + )} + +); diff --git a/ui/design-tokens/src/Colors/ETradeColor/index.ts b/ui/design-tokens/src/Colors/ETradeColor/index.ts new file mode 100644 index 000000000..8eaf1bb29 --- /dev/null +++ b/ui/design-tokens/src/Colors/ETradeColor/index.ts @@ -0,0 +1 @@ +export * from './ETradeColor'; diff --git a/ui/design-tokens/src/Colors/index.ts b/ui/design-tokens/src/Colors/index.ts index 68ffcadf9..e7d8f4bf1 100644 --- a/ui/design-tokens/src/Colors/index.ts +++ b/ui/design-tokens/src/Colors/index.ts @@ -12,3 +12,4 @@ export * from './CanvasColor'; export * from './CedarColor'; export * from './CometColor'; export * from './DuetColor'; +export * from './ETradeColor'; diff --git a/ui/design-tokens/src/Colors/types.ts b/ui/design-tokens/src/Colors/types.ts index 4bb767a29..c53ec8096 100644 --- a/ui/design-tokens/src/Colors/types.ts +++ b/ui/design-tokens/src/Colors/types.ts @@ -9,6 +9,7 @@ export type ColorValue = dark?: ColorValue; varName?: string; sass?: string; + css?: string; description?: string; status?: TokenStatus; }; diff --git a/ui/design-tokens/tests/__snapshots__/stories.test.js.snap b/ui/design-tokens/tests/__snapshots__/stories.test.js.snap new file mode 100644 index 000000000..3e43aa453 --- /dev/null +++ b/ui/design-tokens/tests/__snapshots__/stories.test.js.snap @@ -0,0 +1,9591 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Design Tokens/Colors/AltaColor Hsl 1`] = ` + +
+
+
+
+
+
+ accent +
+
+ HEX: #8c7873 +
+
+ RGB: 140, 120, 115 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Hsla 1`] = ` + +
+
+
+
+
+
+ accent +
+
+ HEX: #8c7873 +
+
+ RGB: 140, 120, 115 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Name 1`] = ` + +
+
+
+
+
+
+ brand +
+
+ HEX: #e95b54 +
+
+ RGB: 233, 91, 84 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Overview 1`] = ` + +
+
+
+
+
+
+ #fbce4a +
+
+ HEX: #fbce4a +
+
+ RGB: 251, 206, 74 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Palette 1`] = ` + +
+
+
+
+
+
+
+ color-1 +
+
+ HEX: #fbce4a +
+
+ RGB: 251, 206, 74 +
+
+
+
+
+
+
+
+
+ color-2 +
+
+ HEX: #fcfbe8 +
+
+ RGB: 252, 251, 232 +
+
+
+
+
+
+
+
+
+ color-3 +
+
+ HEX: #fff4d5 +
+
+ RGB: 255, 244, 213 +
+
+
+
+
+
+
+
+
+ color-4 +
+
+ HEX: #f6cab7 +
+
+ RGB: 246, 202, 183 +
+
+
+
+
+
+
+
+
+ color-5 +
+
+ HEX: #ec96ad +
+
+ RGB: 236, 150, 173 +
+
+
+
+
+
+
+
+
+ color-6 +
+
+ HEX: #ca589d +
+
+ RGB: 202, 88, 157 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Rgb 1`] = ` + +
+
+
+
+
+
+ text +
+
+ HEX: #000000 +
+
+ RGB: 0, 0, 0 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AltaColor Rgba 1`] = ` + +
+
+
+
+
+
+ shadow +
+
+ HEX: #000000 +
+
+ RGB: 0, 0, 0, 0.1 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AntdHorzColor Hsl 1`] = ` + +
+
+
+
+ accent +
+
+ #8c7873 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Hsla 1`] = ` + +
+
+
+
+ accent +
+
+ #8c7873 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Name 1`] = ` + +
+
+
+
+ brand +
+
+ #e95b54 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Overview 1`] = ` + +
+
+
+
+ #cf1322 +
+
+ 207, 19, 34 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Palette 1`] = ` + +
+
+
+
+
+ red-1 +
+
+ #fff1f0 +
+
+
+
+
+
+
+
+ red-2 +
+
+ #ffccc7 +
+
+
+
+
+
+
+
+ red-3 +
+
+ #ffa39e +
+
+
+
+
+
+
+
+ red-4 +
+
+ #ff7875 +
+
+
+
+
+
+
+
+ red-5 +
+
+ #ff4d4f +
+
+
+
+
+
+
+
+ red-6 +
+
+ #f5222d +
+
+
+
+
+
+
+
+ red-7 +
+
+ #cf1322 +
+
+
+
+
+
+
+
+ red-8 +
+
+ #a8071a +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Rgb 1`] = ` + +
+
+
+
+ text +
+
+ #000000 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdHorzColor Rgba 1`] = ` + +
+
+
+
+ shadow +
+
+ #000000 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Hsl 1`] = ` + +
+
+
+
+ accent +
+
+ #8c7873 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Hsla 1`] = ` + +
+
+
+
+ accent +
+
+ #8c7873 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Name 1`] = ` + +
+
+
+
+ brand +
+
+ #e95b54 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Overview 1`] = ` + +
+
+
+
+ #cf1322 +
+
+ 207, 19, 34 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Palette 1`] = ` + +
+
+
+
+
+ green-1 +
+
+ #f6ffed +
+
+
+
+
+
+
+
+ green-2 +
+
+ #d9f7be +
+
+
+
+
+
+
+
+ green-3 +
+
+ #b7eb8f +
+
+
+
+
+
+
+
+ green-4 +
+
+ #95de64 +
+
+
+
+
+
+
+
+ green-5 +
+
+ #73d13d +
+
+
+
+
+
+
+
+ green-6 +
+
+ #52c41a +
+
+
+
+
+
+
+
+ green-7 +
+
+ #389e0d +
+
+
+
+
+
+
+
+ green-8 +
+
+ #237804 +
+
+
+
+
+
+
+
+ green-9 +
+
+ #135200 +
+
+
+
+
+
+
+
+ green-10 +
+
+ #092b00 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Rgb 1`] = ` + +
+
+
+
+ text +
+
+ #000000 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AntdVertColor Rgba 1`] = ` + +
+
+
+
+ shadow +
+
+ #000000 +
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AnvilColor Hsl 1`] = ` + +
+
+
+
+
+
+
+

+ accent +

+
+ HEX: #8c7873 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Hsla 1`] = ` + +
+
+
+
+
+
+
+

+ accent +

+
+ HEX: #8c7873 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Name 1`] = ` + +
+
+
+
+
+
+
+

+ Critical +

+
+ brand #f94d32 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Overview 1`] = ` + +
+
+
+
+
+
+
+

+ Brand +

+
+ Blue400 #2270ee +
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Palette 1`] = ` + +
+
+
+
+
+
+
+
+

+ Critical +

+
+ Red400 #f94d32 +
+
+
+
+
+
+
+
+
+
+

+ Warning +

+
+ Yellow400 #ffc902 +
+
+
+
+
+
+
+
+
+
+

+ Success +

+
+ Green500 #18a761 +
+
+
+
+
+
+
+
+
+
+

+ Info +

+
+ Blue400 #2270ee +
+
+
+
+
+
+
+
+
+
+

+ Border +

+
+ Neutral60 #dfe0e1 +
+
+
+
+
+
+
+
+
+
+

+ Accent +

+
+ Neutral40 #f5f5f5 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Rgb 1`] = ` + +
+
+
+
+
+
+
+

+ text +

+
+ HEX: #000000 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AnvilColor Rgba 1`] = ` + +
+
+
+
+
+
+
+

+ shadow +

+
+ HEX: #000000 +
+
+
+ +`; + +exports[`Design Tokens/Colors/AtlassianColor Hsl 1`] = ` + +
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ accent +
+
+
+
+
+ HEX +
+
+ #8c7873 +
+
+
+
+ RGB +
+
+ 140, 120, 115 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Hsla 1`] = ` + +
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ accent +
+
+
+
+
+ HEX +
+
+ #8c7873 +
+
+
+
+ RGB +
+
+ 140, 120, 115 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Name 1`] = ` + +
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ brand - Critical +
+
+
+
+
+ HEX +
+
+ #f94d32 +
+
+
+
+ RGB +
+
+ 249, 77, 50 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Overview 1`] = ` + +
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+
+
+
+
+
+ NAME +
+
+ Blue400 - Brand +
+
+
+
+
+ HEX +
+
+ #2270ee +
+
+
+
+ RGB +
+
+ 34, 112, 238 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Palette 1`] = ` + +
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ R300 - Poppy surprise +
+
+
+
+
+ HEX +
+
+ #ff5630 +
+
+
+
+ RGB +
+
+ 255, 86, 48 +
+
+
+
+
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ Y300 - Golden state +
+
+
+
+
+ HEX +
+
+ #ffab00 +
+
+
+
+ RGB +
+
+ 255, 171, 0 +
+
+
+
+
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ G300 - Fine pine +
+
+
+
+
+ HEX +
+
+ #36b37e +
+
+
+
+ RGB +
+
+ 54, 179, 126 +
+
+
+
+
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ T300 - Tamarama +
+
+
+
+
+ HEX +
+
+ #00b8d9 +
+
+
+
+ RGB +
+
+ 0, 184, 217 +
+
+
+
+
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+
+
+
+
+
+ NAME +
+
+ P300 - Da' juice +
+
+
+
+
+ HEX +
+
+ #6554c0 +
+
+
+
+ RGB +
+
+ 101, 84, 192 +
+
+
+
+
+
+
+
+
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+ + A + + + FAIL + +
+
+
+
+
+
+
+ NAME +
+
+ Red400 - Critical +
+
+
+
+
+ HEX +
+
+ #f94d32 +
+
+
+
+ RGB +
+
+ 249, 77, 50 +
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Rgb 1`] = ` + +
+
+
+
+
+ + A + + + FAIL + +
+
+ + A + + + FAIL + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+
+
+
+
+
+ NAME +
+
+ text +
+
+
+
+
+ HEX +
+
+ #000000 +
+
+
+
+ RGB +
+
+ 0, 0, 0 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AtlassianColor Rgba 1`] = ` + +
+
+
+
+
+ + A + + + FAIL + +
+
+ + A + + + FAIL + +
+
+ + A + + + PASS + +
+
+ + A + + + PASS + +
+
+
+
+
+
+
+ NAME +
+
+ shadow +
+
+
+
+
+ HEX +
+
+ #000000 +
+
+
+
+ RGB +
+
+ 0, 0, 0, 0.1 +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/AudiDSColor Hsl 1`] = ` + +
+
+
+
+
+
+
+ accent +
+
+
+
+ RGB: 140/120/115 +
+
+ HEX: #8c7873 +
+
+ CMYK: 0/14/18/45 +
+
+ Pantone 409C +
+
+ RAL: 7048 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Hsla 1`] = ` + +
+
+
+
+
+
+
+ accent +
+
+
+
+ RGB: 140/120/115 +
+
+ HEX: #8c7873 +
+
+ CMYK: 0/14/18/45 +
+
+ Pantone 409C +
+
+ RAL: 7048 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Name 1`] = ` + +
+
+
+
+
+
+
+ Critical +
+
+
+
+ RGB: 249/77/50 +
+
+ HEX: #f94d32 +
+
+ CMYK: 0/69/80/2 +
+
+ Pantone 171C +
+
+ RAL: 3028 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Overview 1`] = ` + +
+
+
+
+
+
+
+ Brand +
+
+
+
+ RGB: 34/112/238 +
+
+ HEX: #2270ee +
+
+ CMYK: 86/53/0/7 +
+
+ Pantone 2726C +
+
+ RAL: 5002 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Palette 1`] = ` + +
+
+
+
+
+
+
+
+ Poppy surprise +
+
+
+
+ RGB: 255/86/48 +
+
+ HEX: #ff5630 +
+
+ CMYK: 0/66/81/0 +
+
+ Pantone 171C +
+
+ RAL: 2004 +
+
+
+
+
+
+
+
+
+
+
+ Golden state +
+
+
+
+ RGB: 255/171/0 +
+
+ HEX: #ffab00 +
+
+ CMYK: 0/33/100/0 +
+
+ Pantone 137C +
+
+ RAL: 1003 +
+
+
+
+
+
+
+
+
+
+
+ Fine pine +
+
+
+
+ RGB: 54/179/126 +
+
+ HEX: #36b37e +
+
+ CMYK: 70/0/30/30 +
+
+ Pantone 339C +
+
+ RAL: 6024 +
+
+
+
+
+
+
+
+
+
+
+ Tamarama +
+
+
+
+ RGB: 0/184/217 +
+
+ HEX: #00b8d9 +
+
+ CMYK: 100/15/0/15 +
+
+ Pantone 3125C +
+
+ RAL: 5012 +
+
+
+
+
+
+
+
+
+
+
+ Da' juice +
+
+
+
+ RGB: 101/84/192 +
+
+ HEX: #6554c0 +
+
+ CMYK: 47/56/0/25 +
+
+ Pantone 2725C +
+
+ RAL: 5002 +
+
+
+
+
+
+
+
+
+
+
+ Critical +
+
+
+
+ RGB: 249/77/50 +
+
+ HEX: #f94d32 +
+
+ CMYK: 0/69/80/2 +
+
+ Pantone 171C +
+
+ RAL: 3028 +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Rgb 1`] = ` + +
+
+
+
+
+
+
+ text +
+
+
+
+ RGB: 0/0/0 +
+
+ HEX: #000000 +
+
+ CMYK: 0/0/0/100 +
+
+ Pantone 419C +
+
+ RAL: 9005 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/AudiDSColor Rgba 1`] = ` + +
+
+
+
+
+
+
+ shadow +
+
+
+
+ RGB: 0/0/0/0.1 +
+
+ HEX: #000000 +
+
+ CMYK: 0/0/0/100 +
+
+ Pantone 419C +
+
+ RAL: 9005 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BackpackColor Hsl 1`] = ` + +
+
+
+
+
+ accent +
+
+
+
+ RGB 140, 120, 115 +
+
+ HEX #8c7873 +
+
+ CMYK: 0, 14, 18, 45 +
+
+ PMS 409C +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BackpackColor Hsla 1`] = ` + +
+
+
+
+
+ accent +
+
+
+
+ RGB 140, 120, 115 +
+
+ HEX #8c7873 +
+
+ CMYK: 0, 14, 18, 45 +
+
+ PMS 409C +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BackpackColor Name 1`] = ` + +
+
+
+
+
+ Critical brand +
+
+
+
+ RGB 249, 77, 50 +
+
+ HEX #f94d32 +
+
+ CMYK: 0, 69, 80, 2 +
+
+ PMS 171C +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BackpackColor Overview 1`] = ` + +
+
+
+
+
+
+ Brand +
+
+
+
+ light: Blue400 +
+
+ dark: Blue800 +
+
+
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BackpackColor Palette 1`] = ` + +
+
+
+
+
+
+ Poppy surprise R300 +
+
+
+
+ RGB 255, 86, 48 +
+
+ HEX #ff5630 +
+
+ CMYK: 0, 66, 81, 0 +
+
+ PMS 171C +
+
+
+
+
+
+
+
+
+
+
+
+ Golden state Y300 +
+
+
+
+ RGB 255, 171, 0 +
+
+ HEX #ffab00 +
+
+ CMYK: 0, 33, 100, 0 +
+
+ PMS 137C +
+
+
+
+
+
+
+
+
+
+
+
+ Fine pine G300 +
+
+
+
+ RGB 54, 179, 126 +
+
+ HEX #36b37e +
+
+ CMYK: 70, 0, 30, 30 +
+
+ PMS 339C +
+
+
+
+
+
+
+
+
+
+
+
+
+ Tamarama +
+
+
+
+ light: T300 +
+
+ dark: #084eb2 +
+
+
+
+
+
+
+
+
+
+
+
+ Da' juice P300 +
+
+
+
+ RGB 101, 84, 192 +
+
+ HEX #6554c0 +
+
+ CMYK: 47, 56, 0, 25 +
+
+ PMS 2725C +
+
+
+
+
+
+
+
+
+
+
+
+ Critical Red400 +
+
+
+
+ RGB 249, 77, 50 +
+
+ HEX #f94d32 +
+
+ CMYK: 0, 69, 80, 2 +
+
+ PMS 171C +
+
+
+
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BackpackColor Rgb 1`] = ` + +
+
+
+
+
+ text +
+
+
+
+ RGB 0, 0, 0 +
+
+ HEX #000000 +
+
+ CMYK: 0, 0, 0, 100 +
+
+ PMS 419C +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BackpackColor Rgba 1`] = ` + +
+
+
+
+
+ shadow +
+
+
+
+ RGB 0, 0, 0, 0.1 +
+
+ HEX #000000 +
+
+ CMYK: 0, 0, 0, 100 +
+
+ PMS 419C +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BaseWebColor Overview 1`] = ` + +
+
+
+
+
+
+ cobalt400 +
+
+ #0E1FC1 +
+
+
+ +`; + +exports[`Design Tokens/Colors/BaseWebColor Palette 1`] = ` + +
+
+
+
+
+
+
+ yellow50 +
+
+ #FFFAF0 +
+
+
+
+
+
+
+
+
+ yellow100 +
+
+ #FFF2D9 +
+
+
+
+
+
+
+
+
+ yellow200 +
+
+ #FFE3AC +
+
+
+
+
+
+
+
+
+ yellow300 +
+
+ #FFCF70 +
+
+
+
+
+
+
+
+
+ yellow400 +
+
+ #FFC043 +
+
+
+
+
+
+
+
+
+ yellow500 +
+
+ #BC8B2C +
+
+
+
+
+
+
+
+
+ yellow600 +
+
+ #997328 +
+
+
+
+
+
+
+
+
+ yellow700 +
+
+ #674D1B +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Hsl 1`] = ` + +
+
+
+
+
+
+
+ accent +
+
+
+
+
+ HEX: +
+
+ #8c7873: +
+
+
+
+ RGB: +
+
+ rgb(140,120,115): +
+
+
+
+ Pantone: +
+
+ 409C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Hsla 1`] = ` + +
+
+
+
+
+
+
+ accent +
+
+
+
+
+ HEX: +
+
+ #8c7873: +
+
+
+
+ RGB: +
+
+ rgb(140,120,115): +
+
+
+
+ Pantone: +
+
+ 409C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Name 1`] = ` + +
+
+
+
+
+
+
+ Critical +
+
+
+
+
+ HEX: +
+
+ #f94d32: +
+
+
+
+ RGB: +
+
+ rgb(249,77,50): +
+
+
+
+ Pantone: +
+
+ 171C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Overview 1`] = ` + +
+
+
+
+
+
+
+ Brand +
+
+
+
+
+ HEX: +
+
+ #2270ee: +
+
+
+
+ RGB: +
+
+ rgb(34,112,238): +
+
+
+
+ Pantone: +
+
+ 2726C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Palette 1`] = ` + +
+
+
+
+
+
+
+
+ Blue 5 +
+
+
+
+
+ HEX: +
+
+ #001b38: +
+
+
+
+ RGB: +
+
+ rgb(0,27,56): +
+
+
+
+ Pantone: +
+
+ 289C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue Accessibility +
+
+
+
+
+ HEX: +
+
+ #0352a0: +
+
+
+
+ RGB: +
+
+ rgb(3,82,160): +
+
+
+
+ Pantone: +
+
+ 2945C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue Primary +
+
+
+
+
+ HEX: +
+
+ #0575e6: +
+
+
+
+ RGB: +
+
+ rgb(5,117,230): +
+
+
+
+ Pantone: +
+
+ 2727C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue 1 +
+
+
+
+
+ HEX: +
+
+ #4fa7ff: +
+
+
+
+ RGB: +
+
+ rgb(79,167,255): +
+
+
+
+ Pantone: +
+
+ 279C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue 2 +
+
+
+
+
+ HEX: +
+
+ #85dfff: +
+
+
+
+ RGB: +
+
+ rgb(133,223,255): +
+
+
+
+ Pantone: +
+
+ 636C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue 3 +
+
+
+
+
+ HEX: +
+
+ #ecf5ff: +
+
+
+
+ RGB: +
+
+ rgb(236,245,255): +
+
+
+
+ Pantone: +
+
+ 656C: +
+
+
+
+
+
+
+
+
+
+
+
+ Blue 4 +
+
+
+
+
+ HEX: +
+
+ #fbfdff: +
+
+
+
+ RGB: +
+
+ rgb(251,253,255): +
+
+
+
+ Pantone: +
+
+ 656C: +
+
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Rgb 1`] = ` + +
+
+
+
+
+
+
+ text +
+
+
+
+
+ HEX: +
+
+ #000000: +
+
+
+
+ RGB: +
+
+ rgb(0,0,0): +
+
+
+
+ Pantone: +
+
+ 419C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BeelineColor Rgba 1`] = ` + +
+
+
+
+
+
+
+ shadow +
+
+
+
+
+ HEX: +
+
+ #000000: +
+
+
+
+ RGB: +
+
+ rgb(0,0,0,0.1): +
+
+
+
+ Pantone: +
+
+ 419C: +
+
+
+
+
+ +`; + +exports[`Design Tokens/Colors/BoltColor Overview 1`] = ` + +
+
+
+
+
+ Brand +
+
+ #2270ee +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-navy) +
+ Text size + + Aa + + Aa +
+ #fff (4.55) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (4.62) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/BoltColor Palette 1`] = ` + +
+
+
+
+
+
+ Navy +
+
+ #001f5f +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-navy) +
+ Text size + + Aa + + Aa +
+ #fff (15.43) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (1.36) + +
+
+ fail + +
+
+
+
+
+ fail + +
+
+
+
+
+
+
+
+
+
+
+
+ Teal +
+
+ #10a5ac +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-teal) +
+ Text size + + Aa + + Aa +
+ #fff (3.00) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+ #000 (7.00) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+
+
+
+ Orange +
+
+ #f76923 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-orange) +
+ Text size + + Aa + + Aa +
+ #fff (3.00) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+ #000 (7.00) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+
+
+
+ Yellow +
+
+ #ffc836 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-yellow) +
+ Text size + + Aa + + Aa +
+ #fff (1.55) + +
+
+ fail + +
+
+
+
+
+ fail + +
+
+
+ #000 (13.57) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+
+
+
+ Wine +
+
+ #661d34 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-wine) +
+ Text size + + Aa + + Aa +
+ #fff (11.73) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (1.79) + +
+
+ fail + +
+
+
+
+
+ fail + +
+
+
+
+
+
+
+
+
+
+
+
+ Pink +
+
+ #e63690 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-pink) +
+ Text size + + Aa + + Aa +
+ #fff (3.97) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+ #000 (5.29) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+
+
+
+ Berry +
+
+ #ac1361 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-berry) +
+ Text size + + Aa + + Aa +
+ #fff (6.95) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (3.02) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+
+
+
+
+
+
+
+
+
+ Violet +
+
+ #5f67b9 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-violet) +
+ Text size + + Aa + + Aa +
+ #fff (5.09) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (4.13) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+
+
+
+
+
+
+
+
+
+ Gray +
+
+ #8d8e99 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-gray) +
+ Text size + + Aa + + Aa +
+ #fff (3.25) + +
+
+ pass + +
+
+
+
+
+ fail + +
+
+
+ #000 (6.46) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+
+
+
+ Black +
+
+ #151619 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-black) +
+ Text size + + Aa + + Aa +
+ #fff (18.09) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+ #000 (1.16) + +
+
+ fail + +
+
+
+
+
+ fail + +
+
+
+
+
+
+
+
+
+
+
+
+ White +
+
+ #ffffff +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ var(--bolt-color-white) +
+ Text size + + Aa + + Aa +
+ #fff (1.00) + +
+
+ fail + +
+
+
+
+
+ fail + +
+
+
+ #000 (21.00) + +
+
+ pass + +
+
+
+
+
+ pass + +
+
+
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/CanvasColor Overview 1`] = ` + +
+
+
+
+ Primary +
+
+
+
+
+ LORAX +
+ #ff7a59 +
+
+
+ $color-lorax +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/CanvasColor Palette 1`] = ` + +
+
+
+
+
+ Primary +
+
+
+
+
+ SORBET +
+ #ff8f59 +
+
+
+ $color-sorbet +
+
+
+
+
+
+
+
+
+ Shade +
+
+
+
+
+ SORBET_DARK +
+ #e68250 +
+
+
+ $color-sorbet-dark +
+
+
+
+
+
+
+
+
+ Medium Tint +
+
+
+
+
+ SORBET_MEDIUM +
+ #ffc7ac +
+
+
+ $color-sorbet-medium +
+
+
+
+
+
+
+
+
+ Light Tint +
+
+
+
+
+ SORBET_LIGHT +
+ #fff3ee +
+
+
+ $color-sorbet-light +
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/CedarColor Overview 1`] = ` + +
+
+
+
+
+
+
+
+ cdr-color-text-button-primary-hover +
+
+ Text color for the hover state of primary buttons +
+
+
+
+ #225c4e +
+
+
+ +`; + +exports[`Design Tokens/Colors/CedarColor Palette 1`] = ` + +
+
+
+
+
+
+
+
+
+ cdr-color-text-primary +
+
+ The default, primary text color +
+
+
+
+ #0c0b08 +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-secondary +
+
+ The secondary text color +
+
+
+
+ #423b2f +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-brand +
+
+ Text set in our primary brand color +
+
+
+
+ #113731 +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-sale +
+
+ The color of sale text +
+
+
+
+ #cc0000 +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-inverse +
+
+ Text color on dark background +
+
+
+
+ #f9f8f6 +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-disabled +
+
+ The color of text when it is disabled +
+
+
+
+ #d1cbbd +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-success +
+
+ Color of success messages +
+
+
+
+ #2e6b34 +
+
+
+
+
+
+
+
+
+
+
+ cdr-color-text-warning +
+
+ Color of warning messages +
+
+
+
+ #854714 +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/CometColor Overview 1`] = ` + +
+
+
+
+ 40 +
+
+ $comet-color-emerald-40 +
+
+
+ #2F9D89 +
+
+ AA +
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/CometColor Palette 1`] = ` + +
+
+
+
+
+ 05 +
+
+ $comet-color-midnight-05 +
+
+
+ #020D17 +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 10 +
+
+ $comet-color-midnight-10 +
+
+
+ #041B2F +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 20 +
+
+ $comet-color-midnight-20 +
+
+
+ #08365E +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 30 +
+
+ $comet-color-midnight-30 +
+
+
+ #0C518D +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 40 +
+
+ $comet-color-midnight-40 +
+
+
+ #106CBC +
+
+ AA +
+
+
+
+
+
+
+
+
+ 50 +
+
+ $comet-color-midnight-50 +
+
+
+ #1487EB +
+
+ AA +
+
+
+
+
+
+
+
+
+ 60 +
+
+ $comet-color-midnight-60 +
+
+
+ #439FEF +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 70 +
+
+ $comet-color-midnight-70 +
+
+
+ #72B7F3 +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 80 +
+
+ $comet-color-midnight-80 +
+
+
+ #A1CFF7 +
+
+ AAA +
+
+
+
+
+
+
+
+
+ 90 +
+
+ $comet-color-midnight-90 +
+
+
+ #D0E7FB +
+
+ AAA +
+
+
+
+
+
+
+`; + +exports[`Design Tokens/Colors/DuetColor Overview 1`] = ` + +
+
+
+
+
+
+
+ #004d80 +
+
+ rgb(0, 77, 128) +
+
+
+
+ Primary Blue Dark +
+

+ Dark version of primary blue that is accessible with white. Most commonly used to indicate hover and active states of an item with primary blue background. +

+
+
+ + $color-primary-dark + + + var(--color-primary-dark) + +
+
+ + 8.85:1 + + +
+
+ +
+
+
+ +`; + +exports[`Design Tokens/Colors/DuetColor Palette 1`] = ` + +
+
+ Example +
+
+ Description +
+
+ Token +
+
+ Contrast +
+
+ Status +
+
+
+
+
+
+
+
+
+
+ #de2362 +
+
+ rgb(222, 35, 98) +
+
+
+
+ Status Danger +
+

+ Danger red that is accessible with white. Only used in special cases like form validation and messaging. +

+
+
+ + $color-danger + + + var(--color-danger) + +
+
+ + 4.64:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #f7b228 +
+
+ rgb(247, 178, 40) +
+
+
+
+ Status Warning +
+

+ Warning orange (non-accessible) is only used in special cases like form validation and messaging. +

+
+
+ + $color-warning + + + var(--color-warning) + +
+
+ + 1.85:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #00875a +
+
+ rgb(0, 135, 90) +
+
+
+
+ Status Success +
+

+ Success green that is accessible with white. Only used in special cases like form validation and messaging. +

+
+
+ + $color-success + + + var(--color-success) + +
+
+ + 4.55:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #657787 +
+
+ rgb(101, 119, 135) +
+
+
+
+ Gray Darker +
+

+ Darker gray that is accessible with white when used for text. Most commonly used as a text color for interface help texts. +

+
+
+ + $color-gray-darker + + + var(--color-gray-darker) + +
+
+ + 4.62:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #909599 +
+
+ rgb(144, 149, 153) +
+
+
+
+ Gray Dark +
+

+ Dark gray is used for form borders that need to pass WCAG Level AA non-text contrast requirements. Please note that this color isn’t accessible when used for text. +

+
+
+ + $color-gray-dark + + + var(--color-gray-dark) + +
+
+ + 3.02:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #7a01c4 +
+
+ rgb(122, 1, 196) +
+
+
+
+ Data 01 +
+

+ Data visualization color that is accessible with white. Please note that this color should not be used for any other purpose. +

+
+
+ + $color-data-01 + + + var(--color-data-01) + +
+
+ + 7.99:1 + + +
+
+ +
+
+
+
+
+
+
+
+
+
+ #c21565 +
+
+ rgb(194, 21, 101) +
+
+
+
+ Data 06 +
+

+ Data visualization color that is accessible with white. Please note that this color should not be used for any other purpose. +

+
+
+ + $color-data-06 + + + var(--color-data-06) + +
+
+ + 5.85:1 + + +
+
+ +
+
+
+
+ +`; + +exports[`Design Tokens/Colors/ETradeColor Overview 1`] = ` + +
+
+
+
+
+ Negative red +
+
+ #cc0000 +
+
+
+ $negative +
+
+
+
+
+
+ Error state +
+
+
+ +`; + +exports[`Design Tokens/Colors/ETradeColor Palette 1`] = ` + +
+
+
+
+
+
+ Blue 5 +
+
+ #001b38 +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue Accessibility +
+
+ #0352a0 +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue Primary +
+
+ #0575e6 +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue 1 +
+
+ #4fa7ff +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue 2 +
+
+ #85dfff +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue 3 +
+
+ #ecf5ff +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blue 4 +
+
+ #fbfdff +
+
+
+
+
+
+
+
+
+
+
+ +`;