@primer/primitives 7.11.2-rc.584d746 → 7.11.2-rc.616673c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -1
- package/dist/color-contrast-check.json +1 -1
- package/dist/js/colors/dark.js +4 -4
- package/dist/js/colors/dark_colorblind.js +4 -4
- package/dist/js/colors/dark_dimmed.js +4 -4
- package/dist/js/colors/dark_high_contrast.js +4 -4
- package/dist/js/colors/dark_tritanopia.js +4 -4
- package/dist/json/colors/dark.json +4 -4
- package/dist/json/colors/dark_colorblind.json +4 -4
- package/dist/json/colors/dark_dimmed.json +4 -4
- package/dist/json/colors/dark_high_contrast.json +4 -4
- package/dist/json/colors/dark_tritanopia.json +4 -4
- package/dist/scss/colors/_dark.scss +4 -4
- package/dist/scss/colors/_dark_colorblind.scss +4 -4
- package/dist/scss/colors/_dark_dimmed.scss +4 -4
- package/dist/scss/colors/_dark_high_contrast.scss +4 -4
- package/dist/scss/colors/_dark_tritanopia.scss +4 -4
- package/dist/ts/colors/dark.ts +4 -4
- package/dist/ts/colors/dark_colorblind.ts +4 -4
- package/dist/ts/colors/dark_dimmed.ts +4 -4
- package/dist/ts/colors/dark_high_contrast.ts +4 -4
- package/dist/ts/colors/dark_tritanopia.ts +4 -4
- package/package.json +9 -8
- package/tokens-next-private/css/base/color/dark-colorblind.css +198 -0
- package/tokens-next-private/css/base/color/dark-dimmed.css +198 -0
- package/tokens-next-private/css/base/color/dark-high-contrast.css +198 -0
- package/tokens-next-private/css/base/color/dark-tritanopia.css +198 -0
- package/tokens-next-private/css/base/color/dark.css +198 -0
- package/tokens-next-private/css/base/color/light-colorblind.css +198 -0
- package/tokens-next-private/css/base/color/light-high-contrast.css +198 -0
- package/tokens-next-private/css/base/color/light-tritanopia.css +198 -0
- package/tokens-next-private/css/base/color/light.css +198 -0
- package/tokens-next-private/css/base/size/size.css +24 -0
- package/tokens-next-private/css/base/typography/typography.css +11 -0
- package/tokens-next-private/css/functional/size/border.css +18 -0
- package/tokens-next-private/css/functional/size/breakpoints.css +13 -0
- package/tokens-next-private/css/functional/size/size-coarse.css +10 -0
- package/tokens-next-private/css/functional/size/size-fine.css +10 -0
- package/tokens-next-private/css/functional/size/size.css +54 -0
- package/tokens-next-private/css/functional/size/viewport.css +13 -0
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +604 -0
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +604 -0
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +604 -0
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +604 -0
- package/tokens-next-private/css/functional/themes/dark.css +604 -0
- package/tokens-next-private/css/functional/themes/light-colorblind.css +554 -0
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +554 -0
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +554 -0
- package/tokens-next-private/css/functional/themes/light.css +554 -0
- package/tokens-next-private/css/functional/typography/typography.css +47 -0
- package/tokens-next-private/docs/base/color/dark-colorblind.json +1419 -0
- package/tokens-next-private/docs/base/color/dark-dimmed.json +1419 -0
- package/tokens-next-private/docs/base/color/dark-high-contrast.json +1419 -0
- package/tokens-next-private/docs/base/color/dark-tritanopia.json +1419 -0
- package/tokens-next-private/docs/base/color/dark.json +1419 -0
- package/tokens-next-private/docs/base/color/light-colorblind.json +1419 -0
- package/tokens-next-private/docs/base/color/light-high-contrast.json +1419 -0
- package/tokens-next-private/docs/base/color/light-tritanopia.json +1419 -0
- package/tokens-next-private/docs/base/color/light.json +1419 -0
- package/tokens-next-private/docs/base/size/size.json +227 -0
- package/tokens-next-private/docs/base/typography/typography.json +60 -0
- package/tokens-next-private/docs/functional/size/border.json +135 -0
- package/tokens-next-private/docs/functional/size/breakpoints.json +82 -0
- package/tokens-next-private/docs/functional/size/size-coarse.json +55 -0
- package/tokens-next-private/docs/functional/size/size-fine.json +55 -0
- package/tokens-next-private/docs/functional/size/size.json +647 -0
- package/tokens-next-private/docs/functional/size/viewport.json +70 -0
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +4535 -0
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +4539 -0
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +4543 -0
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +4539 -0
- package/tokens-next-private/docs/functional/themes/dark.json +4539 -0
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +4241 -0
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +4231 -0
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +4231 -0
- package/tokens-next-private/docs/functional/themes/light.json +4231 -0
- package/tokens-next-private/docs/functional/typography/typography.json +581 -0
- package/tokens-next-private/js/base/color/dark-colorblind.js +122 -0
- package/tokens-next-private/js/base/color/dark-dimmed.js +122 -0
- package/tokens-next-private/js/base/color/dark-high-contrast.js +122 -0
- package/tokens-next-private/js/base/color/dark-tritanopia.js +122 -0
- package/tokens-next-private/js/base/color/dark.js +122 -0
- package/tokens-next-private/js/base/color/light-colorblind.js +122 -0
- package/tokens-next-private/js/base/color/light-high-contrast.js +122 -0
- package/tokens-next-private/js/base/color/light-tritanopia.js +122 -0
- package/tokens-next-private/js/base/color/light.js +122 -0
- package/tokens-next-private/js/base/size/size.js +28 -0
- package/tokens-next-private/js/base/typography/typography.js +17 -0
- package/tokens-next-private/js/functional/size/border.js +28 -0
- package/tokens-next-private/js/functional/size/breakpoints.js +15 -0
- package/tokens-next-private/js/functional/size/size-coarse.js +24 -0
- package/tokens-next-private/js/functional/size/size-fine.js +24 -0
- package/tokens-next-private/js/functional/size/size.js +98 -0
- package/tokens-next-private/js/functional/size/viewport.js +15 -0
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +593 -0
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +593 -0
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +593 -0
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +593 -0
- package/tokens-next-private/js/functional/themes/dark.js +593 -0
- package/tokens-next-private/js/functional/themes/light-colorblind.js +618 -0
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +618 -0
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +618 -0
- package/tokens-next-private/js/functional/themes/light.js +618 -0
- package/tokens-next-private/js/functional/typography/typography.js +77 -0
- package/tokens-next-private/json/base/color/dark-colorblind.json +117 -0
- package/tokens-next-private/json/base/color/dark-dimmed.json +117 -0
- package/tokens-next-private/json/base/color/dark-high-contrast.json +117 -0
- package/tokens-next-private/json/base/color/dark-tritanopia.json +117 -0
- package/tokens-next-private/json/base/color/dark.json +117 -0
- package/tokens-next-private/json/base/color/light-colorblind.json +117 -0
- package/tokens-next-private/json/base/color/light-high-contrast.json +117 -0
- package/tokens-next-private/json/base/color/light-tritanopia.json +117 -0
- package/tokens-next-private/json/base/color/light.json +117 -0
- package/tokens-next-private/json/base/size/size.json +23 -0
- package/tokens-next-private/json/base/typography/typography.json +12 -0
- package/tokens-next-private/json/functional/size/border.json +23 -0
- package/tokens-next-private/json/functional/size/breakpoints.json +10 -0
- package/tokens-next-private/json/functional/size/size-coarse.json +19 -0
- package/tokens-next-private/json/functional/size/size-fine.json +19 -0
- package/tokens-next-private/json/functional/size/size.json +93 -0
- package/tokens-next-private/json/functional/size/viewport.json +10 -0
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +588 -0
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +588 -0
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +588 -0
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +588 -0
- package/tokens-next-private/json/functional/themes/dark.json +588 -0
- package/tokens-next-private/json/functional/themes/light-colorblind.json +613 -0
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +613 -0
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +613 -0
- package/tokens-next-private/json/functional/themes/light.json +613 -0
- package/tokens-next-private/json/functional/typography/typography.json +72 -0
- package/tokens-next-private/removed/color.json +421 -0
- package/tokens-next-private/scss/base/color/dark-colorblind.scss +102 -0
- package/tokens-next-private/scss/base/color/dark-dimmed.scss +102 -0
- package/tokens-next-private/scss/base/color/dark-high-contrast.scss +102 -0
- package/tokens-next-private/scss/base/color/dark-tritanopia.scss +102 -0
- package/tokens-next-private/scss/base/color/dark.scss +102 -0
- package/tokens-next-private/scss/base/color/light-colorblind.scss +102 -0
- package/tokens-next-private/scss/base/color/light-high-contrast.scss +102 -0
- package/tokens-next-private/scss/base/color/light-tritanopia.scss +102 -0
- package/tokens-next-private/scss/base/color/light.scss +102 -0
- package/tokens-next-private/scss/base/size/size.scss +26 -0
- package/tokens-next-private/scss/base/typography/typography.scss +13 -0
- package/tokens-next-private/scss/functional/size/border.scss +20 -0
- package/tokens-next-private/scss/functional/size/breakpoints.scss +15 -0
- package/tokens-next-private/scss/functional/size/size-coarse.scss +12 -0
- package/tokens-next-private/scss/functional/size/size-fine.scss +12 -0
- package/tokens-next-private/scss/functional/size/size.scss +56 -0
- package/tokens-next-private/scss/functional/size/viewport.scss +24 -0
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +305 -0
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +305 -0
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +305 -0
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +305 -0
- package/tokens-next-private/scss/functional/themes/dark.scss +305 -0
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +280 -0
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +280 -0
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +280 -0
- package/tokens-next-private/scss/functional/themes/light.scss +280 -0
- package/tokens-next-private/scss/functional/typography/typography.scss +49 -0
- package/tokens-next-private/ts/base/color/dark-colorblind.ts +122 -0
- package/tokens-next-private/ts/base/color/dark-dimmed.ts +122 -0
- package/tokens-next-private/ts/base/color/dark-high-contrast.ts +122 -0
- package/tokens-next-private/ts/base/color/dark-tritanopia.ts +122 -0
- package/tokens-next-private/ts/base/color/dark.ts +122 -0
- package/tokens-next-private/ts/base/color/light-colorblind.ts +122 -0
- package/tokens-next-private/ts/base/color/light-high-contrast.ts +122 -0
- package/tokens-next-private/ts/base/color/light-tritanopia.ts +122 -0
- package/tokens-next-private/ts/base/color/light.ts +122 -0
- package/tokens-next-private/ts/base/size/size.ts +28 -0
- package/tokens-next-private/ts/base/typography/typography.ts +17 -0
- package/tokens-next-private/ts/functional/size/border.ts +28 -0
- package/tokens-next-private/ts/functional/size/breakpoints.ts +15 -0
- package/tokens-next-private/ts/functional/size/size-coarse.ts +24 -0
- package/tokens-next-private/ts/functional/size/size-fine.ts +24 -0
- package/tokens-next-private/ts/functional/size/size.ts +98 -0
- package/tokens-next-private/ts/functional/size/viewport.ts +15 -0
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +593 -0
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +593 -0
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +593 -0
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +593 -0
- package/tokens-next-private/ts/functional/themes/dark.ts +593 -0
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +618 -0
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +618 -0
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +618 -0
- package/tokens-next-private/ts/functional/themes/light.ts +618 -0
- package/tokens-next-private/ts/functional/typography/typography.ts +77 -0
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +125 -0
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +143 -0
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +635 -0
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +87 -0
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
"containerBorderWidth": "1px",
|
|
100
100
|
"textPrimary": "#f0f3f6",
|
|
101
101
|
"textSecondary": "#f0f3f6",
|
|
102
|
-
"textLink": "#
|
|
102
|
+
"textLink": "#2f81f7",
|
|
103
103
|
"btnIcon": "#f0f3f6",
|
|
104
104
|
"btnHoverIcon": "#f0f3f6",
|
|
105
105
|
"btnHoverBg": "rgba(158,167,179,0.1)",
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
"lineTimestampText": "#9ea7b3",
|
|
131
131
|
"lineHoverBg": "rgba(158,167,179,0.1)",
|
|
132
132
|
"lineSelectedBg": "rgba(64,158,255,0.15)",
|
|
133
|
-
"lineSelectedNumText": "#
|
|
133
|
+
"lineSelectedNumText": "#2f81f7",
|
|
134
134
|
"lineDtFmText": "#0a0c10",
|
|
135
135
|
"lineDtFmBg": "#e09b13",
|
|
136
136
|
"gateBg": "rgba(224,155,19,0.15)",
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
"loglineWarningText": "#f0f3f6",
|
|
149
149
|
"loglineWarningNumText": "#f0b72f",
|
|
150
150
|
"loglineWarningBg": "rgba(224,155,19,0.15)",
|
|
151
|
-
"loglineCommandText": "#
|
|
151
|
+
"loglineCommandText": "#2f81f7",
|
|
152
152
|
"loglineSectionText": "#26cd4d",
|
|
153
153
|
"ansi": {
|
|
154
154
|
"black": "#0a0c10",
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
"subtle": "rgba(158,167,179,0.1)"
|
|
419
419
|
},
|
|
420
420
|
"accent": {
|
|
421
|
-
"fg": "#
|
|
421
|
+
"fg": "#2f81f7",
|
|
422
422
|
"emphasis": "#409eff",
|
|
423
423
|
"muted": "#409eff",
|
|
424
424
|
"subtle": "rgba(64,158,255,0.15)"
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
"containerBorderWidth": "1px",
|
|
100
100
|
"textPrimary": "#c9d1d9",
|
|
101
101
|
"textSecondary": "#8b949e",
|
|
102
|
-
"textLink": "#
|
|
102
|
+
"textLink": "#2f81f7",
|
|
103
103
|
"btnIcon": "#8b949e",
|
|
104
104
|
"btnHoverIcon": "#c9d1d9",
|
|
105
105
|
"btnHoverBg": "rgba(110,118,129,0.1)",
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
"lineTimestampText": "#6e7681",
|
|
131
131
|
"lineHoverBg": "rgba(110,118,129,0.1)",
|
|
132
132
|
"lineSelectedBg": "rgba(56,139,253,0.15)",
|
|
133
|
-
"lineSelectedNumText": "#
|
|
133
|
+
"lineSelectedNumText": "#2f81f7",
|
|
134
134
|
"lineDtFmText": "#ffffff",
|
|
135
135
|
"lineDtFmBg": "#9e6a03",
|
|
136
136
|
"gateBg": "rgba(187,128,9,0.15)",
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
"loglineWarningText": "#8b949e",
|
|
149
149
|
"loglineWarningNumText": "#d29922",
|
|
150
150
|
"loglineWarningBg": "rgba(187,128,9,0.15)",
|
|
151
|
-
"loglineCommandText": "#
|
|
151
|
+
"loglineCommandText": "#2f81f7",
|
|
152
152
|
"loglineSectionText": "#58a6ff",
|
|
153
153
|
"ansi": {
|
|
154
154
|
"black": "#0d1117",
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
"subtle": "rgba(110,118,129,0.1)"
|
|
419
419
|
},
|
|
420
420
|
"accent": {
|
|
421
|
-
"fg": "#
|
|
421
|
+
"fg": "#2f81f7",
|
|
422
422
|
"emphasis": "#1f6feb",
|
|
423
423
|
"muted": "rgba(56,139,253,0.4)",
|
|
424
424
|
"subtle": "rgba(56,139,253,0.15)"
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/primitives",
|
|
3
|
-
"version": "7.11.2-rc.
|
|
3
|
+
"version": "7.11.2-rc.616673c",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"tokens-v2-private",
|
|
8
|
+
"tokens-next-private",
|
|
8
9
|
"build.js",
|
|
9
10
|
"tokens/"
|
|
10
11
|
],
|
|
@@ -27,9 +28,10 @@
|
|
|
27
28
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
29
|
"scripts": {
|
|
29
30
|
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
|
|
30
|
-
"build:
|
|
31
|
+
"build:next": "ts-node -r tsconfig-paths/register ./scripts/buildTokens.ts",
|
|
31
32
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
32
|
-
"build:new-tokens": "npm run build:tokens && npm run build:
|
|
33
|
+
"build:new-tokens": "npm run build:tokens && npm run build:next",
|
|
34
|
+
"check:tokenJson": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
|
|
33
35
|
"contrast-check": "npx ts-node ./scripts/color-contrast.ts",
|
|
34
36
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
35
37
|
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
@@ -40,13 +42,12 @@
|
|
|
40
42
|
"postbuild": "ts-node ./scripts/color-contrast.ts",
|
|
41
43
|
"prebuild": "rm -rf dist",
|
|
42
44
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
43
|
-
"prebuild:
|
|
44
|
-
"prepack": "npm run build && npm run build:tokens",
|
|
45
|
+
"prebuild:next": "rm -rf tokens-next-private",
|
|
46
|
+
"prepack": "npm run build && npm run build:tokens && npm run build:next",
|
|
45
47
|
"prepare": "husky install && npm run install:docs && npm run install:storybook",
|
|
46
48
|
"release": "changeset publish",
|
|
47
|
-
"start:storybook": "npm run build:
|
|
49
|
+
"start:storybook": "npm run build:next && cd docs/storybook && npm run storybook",
|
|
48
50
|
"test": "jest --verbose --coverage",
|
|
49
|
-
"test:missingTokens": "ts-node scripts/diffThemes.ts",
|
|
50
51
|
"watch": "ls data/**/*.scss scripts/**/*.ts | entr -s 'npm run build'"
|
|
51
52
|
},
|
|
52
53
|
"prettier": "@github/prettier-config",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"eslint-import-resolver-typescript": "^3.5.3",
|
|
71
72
|
"eslint-plugin-github": "^4.3.6",
|
|
72
73
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
73
|
-
"eslint-plugin-mdx": "^
|
|
74
|
+
"eslint-plugin-mdx": "^2.0.5",
|
|
74
75
|
"eslint-plugin-primer-react": "^1.0.1",
|
|
75
76
|
"eslint-plugin-react": "^7.29.4",
|
|
76
77
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 07:41:26 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
[data-color-mode="dark"][data-dark-theme="dark_colorblind"],
|
|
7
|
+
[data-color-mode="auto"][data-light-theme="dark_colorblind"] {
|
|
8
|
+
--base-color-black: #010409; /* Avoid using scales, use other functional tokens instead */
|
|
9
|
+
--base-color-transparent: #00000000; /* Avoid using scales, use other functional tokens instead */
|
|
10
|
+
--base-color-white: #ffffff; /* Avoid using scales, use other functional tokens instead */
|
|
11
|
+
--base-color-gray-0: #f0f6fc; /* Avoid using scales, use other functional tokens instead */
|
|
12
|
+
--base-color-gray-1: #c9d1d9; /* Avoid using scales, use other functional tokens instead */
|
|
13
|
+
--base-color-gray-2: #b1bac4; /* Avoid using scales, use other functional tokens instead */
|
|
14
|
+
--base-color-gray-3: #8b949e; /* Avoid using scales, use other functional tokens instead */
|
|
15
|
+
--base-color-gray-4: #6e7681; /* Avoid using scales, use other functional tokens instead */
|
|
16
|
+
--base-color-gray-5: #484f58; /* Avoid using scales, use other functional tokens instead */
|
|
17
|
+
--base-color-gray-6: #30363d; /* Avoid using scales, use other functional tokens instead */
|
|
18
|
+
--base-color-gray-7: #21262d; /* Avoid using scales, use other functional tokens instead */
|
|
19
|
+
--base-color-gray-8: #161b22; /* Avoid using scales, use other functional tokens instead */
|
|
20
|
+
--base-color-gray-9: #0d1117; /* Avoid using scales, use other functional tokens instead */
|
|
21
|
+
--base-color-blue-0: #cae8ff; /* Avoid using scales, use other functional tokens instead */
|
|
22
|
+
--base-color-blue-1: #a5d6ff; /* Avoid using scales, use other functional tokens instead */
|
|
23
|
+
--base-color-blue-2: #79c0ff; /* Avoid using scales, use other functional tokens instead */
|
|
24
|
+
--base-color-blue-3: #58a6ff; /* Avoid using scales, use other functional tokens instead */
|
|
25
|
+
--base-color-blue-4: #388bfd; /* Avoid using scales, use other functional tokens instead */
|
|
26
|
+
--base-color-blue-5: #1f6feb; /* Avoid using scales, use other functional tokens instead */
|
|
27
|
+
--base-color-blue-6: #1158c7; /* Avoid using scales, use other functional tokens instead */
|
|
28
|
+
--base-color-blue-7: #0d419d; /* Avoid using scales, use other functional tokens instead */
|
|
29
|
+
--base-color-blue-8: #0c2d6b; /* Avoid using scales, use other functional tokens instead */
|
|
30
|
+
--base-color-blue-9: #051d4d; /* Avoid using scales, use other functional tokens instead */
|
|
31
|
+
--base-color-green-0: #cae8ff; /* Avoid using scales, use other functional tokens instead */
|
|
32
|
+
--base-color-green-1: #a5d6ff; /* Avoid using scales, use other functional tokens instead */
|
|
33
|
+
--base-color-green-2: #79c0ff; /* Avoid using scales, use other functional tokens instead */
|
|
34
|
+
--base-color-green-3: #58a6ff; /* Avoid using scales, use other functional tokens instead */
|
|
35
|
+
--base-color-green-4: #388bfd; /* Avoid using scales, use other functional tokens instead */
|
|
36
|
+
--base-color-green-5: #1f6feb; /* Avoid using scales, use other functional tokens instead */
|
|
37
|
+
--base-color-green-6: #1158c7; /* Avoid using scales, use other functional tokens instead */
|
|
38
|
+
--base-color-green-7: #0d419d; /* Avoid using scales, use other functional tokens instead */
|
|
39
|
+
--base-color-green-8: #0c2d6b; /* Avoid using scales, use other functional tokens instead */
|
|
40
|
+
--base-color-green-9: #051d4d; /* Avoid using scales, use other functional tokens instead */
|
|
41
|
+
--base-color-yellow-0: #f8e3a1; /* Avoid using scales, use other functional tokens instead */
|
|
42
|
+
--base-color-yellow-1: #f2cc60; /* Avoid using scales, use other functional tokens instead */
|
|
43
|
+
--base-color-yellow-2: #e3b341; /* Avoid using scales, use other functional tokens instead */
|
|
44
|
+
--base-color-yellow-3: #d29922; /* Avoid using scales, use other functional tokens instead */
|
|
45
|
+
--base-color-yellow-4: #bb8009; /* Avoid using scales, use other functional tokens instead */
|
|
46
|
+
--base-color-yellow-5: #9e6a03; /* Avoid using scales, use other functional tokens instead */
|
|
47
|
+
--base-color-yellow-6: #845306; /* Avoid using scales, use other functional tokens instead */
|
|
48
|
+
--base-color-yellow-7: #693e00; /* Avoid using scales, use other functional tokens instead */
|
|
49
|
+
--base-color-yellow-8: #4b2900; /* Avoid using scales, use other functional tokens instead */
|
|
50
|
+
--base-color-yellow-9: #341a00; /* Avoid using scales, use other functional tokens instead */
|
|
51
|
+
--base-color-orange-0: #ffe2bb; /* Avoid using scales, use other functional tokens instead */
|
|
52
|
+
--base-color-orange-1: #ffc981; /* Avoid using scales, use other functional tokens instead */
|
|
53
|
+
--base-color-orange-2: #fdac54; /* Avoid using scales, use other functional tokens instead */
|
|
54
|
+
--base-color-orange-3: #ec8e2c; /* Avoid using scales, use other functional tokens instead */
|
|
55
|
+
--base-color-orange-4: #d47616; /* Avoid using scales, use other functional tokens instead */
|
|
56
|
+
--base-color-orange-5: #b76100; /* Avoid using scales, use other functional tokens instead */
|
|
57
|
+
--base-color-orange-6: #914d04; /* Avoid using scales, use other functional tokens instead */
|
|
58
|
+
--base-color-orange-7: #6c3906; /* Avoid using scales, use other functional tokens instead */
|
|
59
|
+
--base-color-orange-8: #4e2906; /* Avoid using scales, use other functional tokens instead */
|
|
60
|
+
--base-color-orange-9: #331c04; /* Avoid using scales, use other functional tokens instead */
|
|
61
|
+
--base-color-red-0: #ffe2bb; /* Avoid using scales, use other functional tokens instead */
|
|
62
|
+
--base-color-red-1: #ffc981; /* Avoid using scales, use other functional tokens instead */
|
|
63
|
+
--base-color-red-2: #fdac54; /* Avoid using scales, use other functional tokens instead */
|
|
64
|
+
--base-color-red-3: #ec8e2c; /* Avoid using scales, use other functional tokens instead */
|
|
65
|
+
--base-color-red-4: #d47616; /* Avoid using scales, use other functional tokens instead */
|
|
66
|
+
--base-color-red-5: #b76100; /* Avoid using scales, use other functional tokens instead */
|
|
67
|
+
--base-color-red-6: #914d04; /* Avoid using scales, use other functional tokens instead */
|
|
68
|
+
--base-color-red-7: #6c3906; /* Avoid using scales, use other functional tokens instead */
|
|
69
|
+
--base-color-red-8: #4e2906; /* Avoid using scales, use other functional tokens instead */
|
|
70
|
+
--base-color-red-9: #331c04; /* Avoid using scales, use other functional tokens instead */
|
|
71
|
+
--base-color-purple-0: #eddeff; /* Avoid using scales, use other functional tokens instead */
|
|
72
|
+
--base-color-purple-1: #e2c5ff; /* Avoid using scales, use other functional tokens instead */
|
|
73
|
+
--base-color-purple-2: #d2a8ff; /* Avoid using scales, use other functional tokens instead */
|
|
74
|
+
--base-color-purple-3: #bc8cff; /* Avoid using scales, use other functional tokens instead */
|
|
75
|
+
--base-color-purple-4: #a371f7; /* Avoid using scales, use other functional tokens instead */
|
|
76
|
+
--base-color-purple-5: #8957e5; /* Avoid using scales, use other functional tokens instead */
|
|
77
|
+
--base-color-purple-6: #6e40c9; /* Avoid using scales, use other functional tokens instead */
|
|
78
|
+
--base-color-purple-7: #553098; /* Avoid using scales, use other functional tokens instead */
|
|
79
|
+
--base-color-purple-8: #3c1e70; /* Avoid using scales, use other functional tokens instead */
|
|
80
|
+
--base-color-purple-9: #271052; /* Avoid using scales, use other functional tokens instead */
|
|
81
|
+
--base-color-pink-0: #ffdaec; /* Avoid using scales, use other functional tokens instead */
|
|
82
|
+
--base-color-pink-1: #ffbedd; /* Avoid using scales, use other functional tokens instead */
|
|
83
|
+
--base-color-pink-2: #ff9bce; /* Avoid using scales, use other functional tokens instead */
|
|
84
|
+
--base-color-pink-3: #f778ba; /* Avoid using scales, use other functional tokens instead */
|
|
85
|
+
--base-color-pink-4: #db61a2; /* Avoid using scales, use other functional tokens instead */
|
|
86
|
+
--base-color-pink-5: #bf4b8a; /* Avoid using scales, use other functional tokens instead */
|
|
87
|
+
--base-color-pink-6: #9e3670; /* Avoid using scales, use other functional tokens instead */
|
|
88
|
+
--base-color-pink-7: #7d2457; /* Avoid using scales, use other functional tokens instead */
|
|
89
|
+
--base-color-pink-8: #5e103e; /* Avoid using scales, use other functional tokens instead */
|
|
90
|
+
--base-color-pink-9: #42062a; /* Avoid using scales, use other functional tokens instead */
|
|
91
|
+
--base-color-coral-0: #ffddd2; /* Avoid using scales, use other functional tokens instead */
|
|
92
|
+
--base-color-coral-1: #ffc2b2; /* Avoid using scales, use other functional tokens instead */
|
|
93
|
+
--base-color-coral-2: #ffa28b; /* Avoid using scales, use other functional tokens instead */
|
|
94
|
+
--base-color-coral-3: #f78166; /* Avoid using scales, use other functional tokens instead */
|
|
95
|
+
--base-color-coral-4: #ea6045; /* Avoid using scales, use other functional tokens instead */
|
|
96
|
+
--base-color-coral-5: #cf462d; /* Avoid using scales, use other functional tokens instead */
|
|
97
|
+
--base-color-coral-6: #ac3220; /* Avoid using scales, use other functional tokens instead */
|
|
98
|
+
--base-color-coral-7: #872012; /* Avoid using scales, use other functional tokens instead */
|
|
99
|
+
--base-color-coral-8: #640d04; /* Avoid using scales, use other functional tokens instead */
|
|
100
|
+
--base-color-coral-9: #460701; /* Avoid using scales, use other functional tokens instead */
|
|
101
|
+
}
|
|
102
|
+
@media (prefers-color-scheme: dark) {
|
|
103
|
+
[data-color-mode="auto"][data-dark-theme="dark_colorblind"] {
|
|
104
|
+
--base-color-black: #010409; /* Avoid using scales, use other functional tokens instead */
|
|
105
|
+
--base-color-transparent: #00000000; /* Avoid using scales, use other functional tokens instead */
|
|
106
|
+
--base-color-white: #ffffff; /* Avoid using scales, use other functional tokens instead */
|
|
107
|
+
--base-color-gray-0: #f0f6fc; /* Avoid using scales, use other functional tokens instead */
|
|
108
|
+
--base-color-gray-1: #c9d1d9; /* Avoid using scales, use other functional tokens instead */
|
|
109
|
+
--base-color-gray-2: #b1bac4; /* Avoid using scales, use other functional tokens instead */
|
|
110
|
+
--base-color-gray-3: #8b949e; /* Avoid using scales, use other functional tokens instead */
|
|
111
|
+
--base-color-gray-4: #6e7681; /* Avoid using scales, use other functional tokens instead */
|
|
112
|
+
--base-color-gray-5: #484f58; /* Avoid using scales, use other functional tokens instead */
|
|
113
|
+
--base-color-gray-6: #30363d; /* Avoid using scales, use other functional tokens instead */
|
|
114
|
+
--base-color-gray-7: #21262d; /* Avoid using scales, use other functional tokens instead */
|
|
115
|
+
--base-color-gray-8: #161b22; /* Avoid using scales, use other functional tokens instead */
|
|
116
|
+
--base-color-gray-9: #0d1117; /* Avoid using scales, use other functional tokens instead */
|
|
117
|
+
--base-color-blue-0: #cae8ff; /* Avoid using scales, use other functional tokens instead */
|
|
118
|
+
--base-color-blue-1: #a5d6ff; /* Avoid using scales, use other functional tokens instead */
|
|
119
|
+
--base-color-blue-2: #79c0ff; /* Avoid using scales, use other functional tokens instead */
|
|
120
|
+
--base-color-blue-3: #58a6ff; /* Avoid using scales, use other functional tokens instead */
|
|
121
|
+
--base-color-blue-4: #388bfd; /* Avoid using scales, use other functional tokens instead */
|
|
122
|
+
--base-color-blue-5: #1f6feb; /* Avoid using scales, use other functional tokens instead */
|
|
123
|
+
--base-color-blue-6: #1158c7; /* Avoid using scales, use other functional tokens instead */
|
|
124
|
+
--base-color-blue-7: #0d419d; /* Avoid using scales, use other functional tokens instead */
|
|
125
|
+
--base-color-blue-8: #0c2d6b; /* Avoid using scales, use other functional tokens instead */
|
|
126
|
+
--base-color-blue-9: #051d4d; /* Avoid using scales, use other functional tokens instead */
|
|
127
|
+
--base-color-green-0: #cae8ff; /* Avoid using scales, use other functional tokens instead */
|
|
128
|
+
--base-color-green-1: #a5d6ff; /* Avoid using scales, use other functional tokens instead */
|
|
129
|
+
--base-color-green-2: #79c0ff; /* Avoid using scales, use other functional tokens instead */
|
|
130
|
+
--base-color-green-3: #58a6ff; /* Avoid using scales, use other functional tokens instead */
|
|
131
|
+
--base-color-green-4: #388bfd; /* Avoid using scales, use other functional tokens instead */
|
|
132
|
+
--base-color-green-5: #1f6feb; /* Avoid using scales, use other functional tokens instead */
|
|
133
|
+
--base-color-green-6: #1158c7; /* Avoid using scales, use other functional tokens instead */
|
|
134
|
+
--base-color-green-7: #0d419d; /* Avoid using scales, use other functional tokens instead */
|
|
135
|
+
--base-color-green-8: #0c2d6b; /* Avoid using scales, use other functional tokens instead */
|
|
136
|
+
--base-color-green-9: #051d4d; /* Avoid using scales, use other functional tokens instead */
|
|
137
|
+
--base-color-yellow-0: #f8e3a1; /* Avoid using scales, use other functional tokens instead */
|
|
138
|
+
--base-color-yellow-1: #f2cc60; /* Avoid using scales, use other functional tokens instead */
|
|
139
|
+
--base-color-yellow-2: #e3b341; /* Avoid using scales, use other functional tokens instead */
|
|
140
|
+
--base-color-yellow-3: #d29922; /* Avoid using scales, use other functional tokens instead */
|
|
141
|
+
--base-color-yellow-4: #bb8009; /* Avoid using scales, use other functional tokens instead */
|
|
142
|
+
--base-color-yellow-5: #9e6a03; /* Avoid using scales, use other functional tokens instead */
|
|
143
|
+
--base-color-yellow-6: #845306; /* Avoid using scales, use other functional tokens instead */
|
|
144
|
+
--base-color-yellow-7: #693e00; /* Avoid using scales, use other functional tokens instead */
|
|
145
|
+
--base-color-yellow-8: #4b2900; /* Avoid using scales, use other functional tokens instead */
|
|
146
|
+
--base-color-yellow-9: #341a00; /* Avoid using scales, use other functional tokens instead */
|
|
147
|
+
--base-color-orange-0: #ffe2bb; /* Avoid using scales, use other functional tokens instead */
|
|
148
|
+
--base-color-orange-1: #ffc981; /* Avoid using scales, use other functional tokens instead */
|
|
149
|
+
--base-color-orange-2: #fdac54; /* Avoid using scales, use other functional tokens instead */
|
|
150
|
+
--base-color-orange-3: #ec8e2c; /* Avoid using scales, use other functional tokens instead */
|
|
151
|
+
--base-color-orange-4: #d47616; /* Avoid using scales, use other functional tokens instead */
|
|
152
|
+
--base-color-orange-5: #b76100; /* Avoid using scales, use other functional tokens instead */
|
|
153
|
+
--base-color-orange-6: #914d04; /* Avoid using scales, use other functional tokens instead */
|
|
154
|
+
--base-color-orange-7: #6c3906; /* Avoid using scales, use other functional tokens instead */
|
|
155
|
+
--base-color-orange-8: #4e2906; /* Avoid using scales, use other functional tokens instead */
|
|
156
|
+
--base-color-orange-9: #331c04; /* Avoid using scales, use other functional tokens instead */
|
|
157
|
+
--base-color-red-0: #ffe2bb; /* Avoid using scales, use other functional tokens instead */
|
|
158
|
+
--base-color-red-1: #ffc981; /* Avoid using scales, use other functional tokens instead */
|
|
159
|
+
--base-color-red-2: #fdac54; /* Avoid using scales, use other functional tokens instead */
|
|
160
|
+
--base-color-red-3: #ec8e2c; /* Avoid using scales, use other functional tokens instead */
|
|
161
|
+
--base-color-red-4: #d47616; /* Avoid using scales, use other functional tokens instead */
|
|
162
|
+
--base-color-red-5: #b76100; /* Avoid using scales, use other functional tokens instead */
|
|
163
|
+
--base-color-red-6: #914d04; /* Avoid using scales, use other functional tokens instead */
|
|
164
|
+
--base-color-red-7: #6c3906; /* Avoid using scales, use other functional tokens instead */
|
|
165
|
+
--base-color-red-8: #4e2906; /* Avoid using scales, use other functional tokens instead */
|
|
166
|
+
--base-color-red-9: #331c04; /* Avoid using scales, use other functional tokens instead */
|
|
167
|
+
--base-color-purple-0: #eddeff; /* Avoid using scales, use other functional tokens instead */
|
|
168
|
+
--base-color-purple-1: #e2c5ff; /* Avoid using scales, use other functional tokens instead */
|
|
169
|
+
--base-color-purple-2: #d2a8ff; /* Avoid using scales, use other functional tokens instead */
|
|
170
|
+
--base-color-purple-3: #bc8cff; /* Avoid using scales, use other functional tokens instead */
|
|
171
|
+
--base-color-purple-4: #a371f7; /* Avoid using scales, use other functional tokens instead */
|
|
172
|
+
--base-color-purple-5: #8957e5; /* Avoid using scales, use other functional tokens instead */
|
|
173
|
+
--base-color-purple-6: #6e40c9; /* Avoid using scales, use other functional tokens instead */
|
|
174
|
+
--base-color-purple-7: #553098; /* Avoid using scales, use other functional tokens instead */
|
|
175
|
+
--base-color-purple-8: #3c1e70; /* Avoid using scales, use other functional tokens instead */
|
|
176
|
+
--base-color-purple-9: #271052; /* Avoid using scales, use other functional tokens instead */
|
|
177
|
+
--base-color-pink-0: #ffdaec; /* Avoid using scales, use other functional tokens instead */
|
|
178
|
+
--base-color-pink-1: #ffbedd; /* Avoid using scales, use other functional tokens instead */
|
|
179
|
+
--base-color-pink-2: #ff9bce; /* Avoid using scales, use other functional tokens instead */
|
|
180
|
+
--base-color-pink-3: #f778ba; /* Avoid using scales, use other functional tokens instead */
|
|
181
|
+
--base-color-pink-4: #db61a2; /* Avoid using scales, use other functional tokens instead */
|
|
182
|
+
--base-color-pink-5: #bf4b8a; /* Avoid using scales, use other functional tokens instead */
|
|
183
|
+
--base-color-pink-6: #9e3670; /* Avoid using scales, use other functional tokens instead */
|
|
184
|
+
--base-color-pink-7: #7d2457; /* Avoid using scales, use other functional tokens instead */
|
|
185
|
+
--base-color-pink-8: #5e103e; /* Avoid using scales, use other functional tokens instead */
|
|
186
|
+
--base-color-pink-9: #42062a; /* Avoid using scales, use other functional tokens instead */
|
|
187
|
+
--base-color-coral-0: #ffddd2; /* Avoid using scales, use other functional tokens instead */
|
|
188
|
+
--base-color-coral-1: #ffc2b2; /* Avoid using scales, use other functional tokens instead */
|
|
189
|
+
--base-color-coral-2: #ffa28b; /* Avoid using scales, use other functional tokens instead */
|
|
190
|
+
--base-color-coral-3: #f78166; /* Avoid using scales, use other functional tokens instead */
|
|
191
|
+
--base-color-coral-4: #ea6045; /* Avoid using scales, use other functional tokens instead */
|
|
192
|
+
--base-color-coral-5: #cf462d; /* Avoid using scales, use other functional tokens instead */
|
|
193
|
+
--base-color-coral-6: #ac3220; /* Avoid using scales, use other functional tokens instead */
|
|
194
|
+
--base-color-coral-7: #872012; /* Avoid using scales, use other functional tokens instead */
|
|
195
|
+
--base-color-coral-8: #640d04; /* Avoid using scales, use other functional tokens instead */
|
|
196
|
+
--base-color-coral-9: #460701; /* Avoid using scales, use other functional tokens instead */
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 07:41:25 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
[data-color-mode="dark"][data-dark-theme="dark_dimmed"],
|
|
7
|
+
[data-color-mode="auto"][data-light-theme="dark_dimmed"] {
|
|
8
|
+
--base-color-black: #1c2128; /* Avoid using scales, use other functional tokens instead */
|
|
9
|
+
--base-color-transparent: #00000000; /* Avoid using scales, use other functional tokens instead */
|
|
10
|
+
--base-color-white: #cdd9e5; /* Avoid using scales, use other functional tokens instead */
|
|
11
|
+
--base-color-gray-0: #cdd9e5; /* Avoid using scales, use other functional tokens instead */
|
|
12
|
+
--base-color-gray-1: #adbac7; /* Avoid using scales, use other functional tokens instead */
|
|
13
|
+
--base-color-gray-2: #909dab; /* Avoid using scales, use other functional tokens instead */
|
|
14
|
+
--base-color-gray-3: #768390; /* Avoid using scales, use other functional tokens instead */
|
|
15
|
+
--base-color-gray-4: #636e7b; /* Avoid using scales, use other functional tokens instead */
|
|
16
|
+
--base-color-gray-5: #545d68; /* Avoid using scales, use other functional tokens instead */
|
|
17
|
+
--base-color-gray-6: #444c56; /* Avoid using scales, use other functional tokens instead */
|
|
18
|
+
--base-color-gray-7: #373e47; /* Avoid using scales, use other functional tokens instead */
|
|
19
|
+
--base-color-gray-8: #2d333b; /* Avoid using scales, use other functional tokens instead */
|
|
20
|
+
--base-color-gray-9: #22272e; /* Avoid using scales, use other functional tokens instead */
|
|
21
|
+
--base-color-blue-0: #c6e6ff; /* Avoid using scales, use other functional tokens instead */
|
|
22
|
+
--base-color-blue-1: #96d0ff; /* Avoid using scales, use other functional tokens instead */
|
|
23
|
+
--base-color-blue-2: #6cb6ff; /* Avoid using scales, use other functional tokens instead */
|
|
24
|
+
--base-color-blue-3: #539bf5; /* Avoid using scales, use other functional tokens instead */
|
|
25
|
+
--base-color-blue-4: #4184e4; /* Avoid using scales, use other functional tokens instead */
|
|
26
|
+
--base-color-blue-5: #316dca; /* Avoid using scales, use other functional tokens instead */
|
|
27
|
+
--base-color-blue-6: #255ab2; /* Avoid using scales, use other functional tokens instead */
|
|
28
|
+
--base-color-blue-7: #1b4b91; /* Avoid using scales, use other functional tokens instead */
|
|
29
|
+
--base-color-blue-8: #143d79; /* Avoid using scales, use other functional tokens instead */
|
|
30
|
+
--base-color-blue-9: #0f2d5c; /* Avoid using scales, use other functional tokens instead */
|
|
31
|
+
--base-color-green-0: #b4f1b4; /* Avoid using scales, use other functional tokens instead */
|
|
32
|
+
--base-color-green-1: #8ddb8c; /* Avoid using scales, use other functional tokens instead */
|
|
33
|
+
--base-color-green-2: #6bc46d; /* Avoid using scales, use other functional tokens instead */
|
|
34
|
+
--base-color-green-3: #57ab5a; /* Avoid using scales, use other functional tokens instead */
|
|
35
|
+
--base-color-green-4: #46954a; /* Avoid using scales, use other functional tokens instead */
|
|
36
|
+
--base-color-green-5: #347d39; /* Avoid using scales, use other functional tokens instead */
|
|
37
|
+
--base-color-green-6: #2b6a30; /* Avoid using scales, use other functional tokens instead */
|
|
38
|
+
--base-color-green-7: #245829; /* Avoid using scales, use other functional tokens instead */
|
|
39
|
+
--base-color-green-8: #1b4721; /* Avoid using scales, use other functional tokens instead */
|
|
40
|
+
--base-color-green-9: #113417; /* Avoid using scales, use other functional tokens instead */
|
|
41
|
+
--base-color-yellow-0: #fbe090; /* Avoid using scales, use other functional tokens instead */
|
|
42
|
+
--base-color-yellow-1: #eac55f; /* Avoid using scales, use other functional tokens instead */
|
|
43
|
+
--base-color-yellow-2: #daaa3f; /* Avoid using scales, use other functional tokens instead */
|
|
44
|
+
--base-color-yellow-3: #c69026; /* Avoid using scales, use other functional tokens instead */
|
|
45
|
+
--base-color-yellow-4: #ae7c14; /* Avoid using scales, use other functional tokens instead */
|
|
46
|
+
--base-color-yellow-5: #966600; /* Avoid using scales, use other functional tokens instead */
|
|
47
|
+
--base-color-yellow-6: #805400; /* Avoid using scales, use other functional tokens instead */
|
|
48
|
+
--base-color-yellow-7: #6c4400; /* Avoid using scales, use other functional tokens instead */
|
|
49
|
+
--base-color-yellow-8: #593600; /* Avoid using scales, use other functional tokens instead */
|
|
50
|
+
--base-color-yellow-9: #452700; /* Avoid using scales, use other functional tokens instead */
|
|
51
|
+
--base-color-orange-0: #ffddb0; /* Avoid using scales, use other functional tokens instead */
|
|
52
|
+
--base-color-orange-1: #ffbc6f; /* Avoid using scales, use other functional tokens instead */
|
|
53
|
+
--base-color-orange-2: #f69d50; /* Avoid using scales, use other functional tokens instead */
|
|
54
|
+
--base-color-orange-3: #e0823d; /* Avoid using scales, use other functional tokens instead */
|
|
55
|
+
--base-color-orange-4: #cc6b2c; /* Avoid using scales, use other functional tokens instead */
|
|
56
|
+
--base-color-orange-5: #ae5622; /* Avoid using scales, use other functional tokens instead */
|
|
57
|
+
--base-color-orange-6: #94471b; /* Avoid using scales, use other functional tokens instead */
|
|
58
|
+
--base-color-orange-7: #7f3913; /* Avoid using scales, use other functional tokens instead */
|
|
59
|
+
--base-color-orange-8: #682d0f; /* Avoid using scales, use other functional tokens instead */
|
|
60
|
+
--base-color-orange-9: #4d210c; /* Avoid using scales, use other functional tokens instead */
|
|
61
|
+
--base-color-red-0: #ffd8d3; /* Avoid using scales, use other functional tokens instead */
|
|
62
|
+
--base-color-red-1: #ffb8b0; /* Avoid using scales, use other functional tokens instead */
|
|
63
|
+
--base-color-red-2: #ff938a; /* Avoid using scales, use other functional tokens instead */
|
|
64
|
+
--base-color-red-3: #f47067; /* Avoid using scales, use other functional tokens instead */
|
|
65
|
+
--base-color-red-4: #e5534b; /* Avoid using scales, use other functional tokens instead */
|
|
66
|
+
--base-color-red-5: #c93c37; /* Avoid using scales, use other functional tokens instead */
|
|
67
|
+
--base-color-red-6: #ad2e2c; /* Avoid using scales, use other functional tokens instead */
|
|
68
|
+
--base-color-red-7: #922323; /* Avoid using scales, use other functional tokens instead */
|
|
69
|
+
--base-color-red-8: #78191b; /* Avoid using scales, use other functional tokens instead */
|
|
70
|
+
--base-color-red-9: #5d0f12; /* Avoid using scales, use other functional tokens instead */
|
|
71
|
+
--base-color-purple-0: #eedcff; /* Avoid using scales, use other functional tokens instead */
|
|
72
|
+
--base-color-purple-1: #dcbdfb; /* Avoid using scales, use other functional tokens instead */
|
|
73
|
+
--base-color-purple-2: #dcbdfb; /* Avoid using scales, use other functional tokens instead */
|
|
74
|
+
--base-color-purple-3: #b083f0; /* Avoid using scales, use other functional tokens instead */
|
|
75
|
+
--base-color-purple-4: #986ee2; /* Avoid using scales, use other functional tokens instead */
|
|
76
|
+
--base-color-purple-5: #8256d0; /* Avoid using scales, use other functional tokens instead */
|
|
77
|
+
--base-color-purple-6: #6b44bc; /* Avoid using scales, use other functional tokens instead */
|
|
78
|
+
--base-color-purple-7: #5936a2; /* Avoid using scales, use other functional tokens instead */
|
|
79
|
+
--base-color-purple-8: #472c82; /* Avoid using scales, use other functional tokens instead */
|
|
80
|
+
--base-color-purple-9: #352160; /* Avoid using scales, use other functional tokens instead */
|
|
81
|
+
--base-color-pink-0: #ffd7eb; /* Avoid using scales, use other functional tokens instead */
|
|
82
|
+
--base-color-pink-1: #ffb3d8; /* Avoid using scales, use other functional tokens instead */
|
|
83
|
+
--base-color-pink-2: #fc8dc7; /* Avoid using scales, use other functional tokens instead */
|
|
84
|
+
--base-color-pink-3: #e275ad; /* Avoid using scales, use other functional tokens instead */
|
|
85
|
+
--base-color-pink-4: #c96198; /* Avoid using scales, use other functional tokens instead */
|
|
86
|
+
--base-color-pink-5: #ae4c82; /* Avoid using scales, use other functional tokens instead */
|
|
87
|
+
--base-color-pink-6: #983b6e; /* Avoid using scales, use other functional tokens instead */
|
|
88
|
+
--base-color-pink-7: #7e325a; /* Avoid using scales, use other functional tokens instead */
|
|
89
|
+
--base-color-pink-8: #69264a; /* Avoid using scales, use other functional tokens instead */
|
|
90
|
+
--base-color-pink-9: #551639; /* Avoid using scales, use other functional tokens instead */
|
|
91
|
+
--base-color-coral-0: #ffdacf; /* Avoid using scales, use other functional tokens instead */
|
|
92
|
+
--base-color-coral-1: #ffb9a5; /* Avoid using scales, use other functional tokens instead */
|
|
93
|
+
--base-color-coral-2: #f79981; /* Avoid using scales, use other functional tokens instead */
|
|
94
|
+
--base-color-coral-3: #ec775c; /* Avoid using scales, use other functional tokens instead */
|
|
95
|
+
--base-color-coral-4: #de5b41; /* Avoid using scales, use other functional tokens instead */
|
|
96
|
+
--base-color-coral-5: #c2442d; /* Avoid using scales, use other functional tokens instead */
|
|
97
|
+
--base-color-coral-6: #a93524; /* Avoid using scales, use other functional tokens instead */
|
|
98
|
+
--base-color-coral-7: #8d291b; /* Avoid using scales, use other functional tokens instead */
|
|
99
|
+
--base-color-coral-8: #771d13; /* Avoid using scales, use other functional tokens instead */
|
|
100
|
+
--base-color-coral-9: #5d1008; /* Avoid using scales, use other functional tokens instead */
|
|
101
|
+
}
|
|
102
|
+
@media (prefers-color-scheme: dark) {
|
|
103
|
+
[data-color-mode="auto"][data-dark-theme="dark_dimmed"] {
|
|
104
|
+
--base-color-black: #1c2128; /* Avoid using scales, use other functional tokens instead */
|
|
105
|
+
--base-color-transparent: #00000000; /* Avoid using scales, use other functional tokens instead */
|
|
106
|
+
--base-color-white: #cdd9e5; /* Avoid using scales, use other functional tokens instead */
|
|
107
|
+
--base-color-gray-0: #cdd9e5; /* Avoid using scales, use other functional tokens instead */
|
|
108
|
+
--base-color-gray-1: #adbac7; /* Avoid using scales, use other functional tokens instead */
|
|
109
|
+
--base-color-gray-2: #909dab; /* Avoid using scales, use other functional tokens instead */
|
|
110
|
+
--base-color-gray-3: #768390; /* Avoid using scales, use other functional tokens instead */
|
|
111
|
+
--base-color-gray-4: #636e7b; /* Avoid using scales, use other functional tokens instead */
|
|
112
|
+
--base-color-gray-5: #545d68; /* Avoid using scales, use other functional tokens instead */
|
|
113
|
+
--base-color-gray-6: #444c56; /* Avoid using scales, use other functional tokens instead */
|
|
114
|
+
--base-color-gray-7: #373e47; /* Avoid using scales, use other functional tokens instead */
|
|
115
|
+
--base-color-gray-8: #2d333b; /* Avoid using scales, use other functional tokens instead */
|
|
116
|
+
--base-color-gray-9: #22272e; /* Avoid using scales, use other functional tokens instead */
|
|
117
|
+
--base-color-blue-0: #c6e6ff; /* Avoid using scales, use other functional tokens instead */
|
|
118
|
+
--base-color-blue-1: #96d0ff; /* Avoid using scales, use other functional tokens instead */
|
|
119
|
+
--base-color-blue-2: #6cb6ff; /* Avoid using scales, use other functional tokens instead */
|
|
120
|
+
--base-color-blue-3: #539bf5; /* Avoid using scales, use other functional tokens instead */
|
|
121
|
+
--base-color-blue-4: #4184e4; /* Avoid using scales, use other functional tokens instead */
|
|
122
|
+
--base-color-blue-5: #316dca; /* Avoid using scales, use other functional tokens instead */
|
|
123
|
+
--base-color-blue-6: #255ab2; /* Avoid using scales, use other functional tokens instead */
|
|
124
|
+
--base-color-blue-7: #1b4b91; /* Avoid using scales, use other functional tokens instead */
|
|
125
|
+
--base-color-blue-8: #143d79; /* Avoid using scales, use other functional tokens instead */
|
|
126
|
+
--base-color-blue-9: #0f2d5c; /* Avoid using scales, use other functional tokens instead */
|
|
127
|
+
--base-color-green-0: #b4f1b4; /* Avoid using scales, use other functional tokens instead */
|
|
128
|
+
--base-color-green-1: #8ddb8c; /* Avoid using scales, use other functional tokens instead */
|
|
129
|
+
--base-color-green-2: #6bc46d; /* Avoid using scales, use other functional tokens instead */
|
|
130
|
+
--base-color-green-3: #57ab5a; /* Avoid using scales, use other functional tokens instead */
|
|
131
|
+
--base-color-green-4: #46954a; /* Avoid using scales, use other functional tokens instead */
|
|
132
|
+
--base-color-green-5: #347d39; /* Avoid using scales, use other functional tokens instead */
|
|
133
|
+
--base-color-green-6: #2b6a30; /* Avoid using scales, use other functional tokens instead */
|
|
134
|
+
--base-color-green-7: #245829; /* Avoid using scales, use other functional tokens instead */
|
|
135
|
+
--base-color-green-8: #1b4721; /* Avoid using scales, use other functional tokens instead */
|
|
136
|
+
--base-color-green-9: #113417; /* Avoid using scales, use other functional tokens instead */
|
|
137
|
+
--base-color-yellow-0: #fbe090; /* Avoid using scales, use other functional tokens instead */
|
|
138
|
+
--base-color-yellow-1: #eac55f; /* Avoid using scales, use other functional tokens instead */
|
|
139
|
+
--base-color-yellow-2: #daaa3f; /* Avoid using scales, use other functional tokens instead */
|
|
140
|
+
--base-color-yellow-3: #c69026; /* Avoid using scales, use other functional tokens instead */
|
|
141
|
+
--base-color-yellow-4: #ae7c14; /* Avoid using scales, use other functional tokens instead */
|
|
142
|
+
--base-color-yellow-5: #966600; /* Avoid using scales, use other functional tokens instead */
|
|
143
|
+
--base-color-yellow-6: #805400; /* Avoid using scales, use other functional tokens instead */
|
|
144
|
+
--base-color-yellow-7: #6c4400; /* Avoid using scales, use other functional tokens instead */
|
|
145
|
+
--base-color-yellow-8: #593600; /* Avoid using scales, use other functional tokens instead */
|
|
146
|
+
--base-color-yellow-9: #452700; /* Avoid using scales, use other functional tokens instead */
|
|
147
|
+
--base-color-orange-0: #ffddb0; /* Avoid using scales, use other functional tokens instead */
|
|
148
|
+
--base-color-orange-1: #ffbc6f; /* Avoid using scales, use other functional tokens instead */
|
|
149
|
+
--base-color-orange-2: #f69d50; /* Avoid using scales, use other functional tokens instead */
|
|
150
|
+
--base-color-orange-3: #e0823d; /* Avoid using scales, use other functional tokens instead */
|
|
151
|
+
--base-color-orange-4: #cc6b2c; /* Avoid using scales, use other functional tokens instead */
|
|
152
|
+
--base-color-orange-5: #ae5622; /* Avoid using scales, use other functional tokens instead */
|
|
153
|
+
--base-color-orange-6: #94471b; /* Avoid using scales, use other functional tokens instead */
|
|
154
|
+
--base-color-orange-7: #7f3913; /* Avoid using scales, use other functional tokens instead */
|
|
155
|
+
--base-color-orange-8: #682d0f; /* Avoid using scales, use other functional tokens instead */
|
|
156
|
+
--base-color-orange-9: #4d210c; /* Avoid using scales, use other functional tokens instead */
|
|
157
|
+
--base-color-red-0: #ffd8d3; /* Avoid using scales, use other functional tokens instead */
|
|
158
|
+
--base-color-red-1: #ffb8b0; /* Avoid using scales, use other functional tokens instead */
|
|
159
|
+
--base-color-red-2: #ff938a; /* Avoid using scales, use other functional tokens instead */
|
|
160
|
+
--base-color-red-3: #f47067; /* Avoid using scales, use other functional tokens instead */
|
|
161
|
+
--base-color-red-4: #e5534b; /* Avoid using scales, use other functional tokens instead */
|
|
162
|
+
--base-color-red-5: #c93c37; /* Avoid using scales, use other functional tokens instead */
|
|
163
|
+
--base-color-red-6: #ad2e2c; /* Avoid using scales, use other functional tokens instead */
|
|
164
|
+
--base-color-red-7: #922323; /* Avoid using scales, use other functional tokens instead */
|
|
165
|
+
--base-color-red-8: #78191b; /* Avoid using scales, use other functional tokens instead */
|
|
166
|
+
--base-color-red-9: #5d0f12; /* Avoid using scales, use other functional tokens instead */
|
|
167
|
+
--base-color-purple-0: #eedcff; /* Avoid using scales, use other functional tokens instead */
|
|
168
|
+
--base-color-purple-1: #dcbdfb; /* Avoid using scales, use other functional tokens instead */
|
|
169
|
+
--base-color-purple-2: #dcbdfb; /* Avoid using scales, use other functional tokens instead */
|
|
170
|
+
--base-color-purple-3: #b083f0; /* Avoid using scales, use other functional tokens instead */
|
|
171
|
+
--base-color-purple-4: #986ee2; /* Avoid using scales, use other functional tokens instead */
|
|
172
|
+
--base-color-purple-5: #8256d0; /* Avoid using scales, use other functional tokens instead */
|
|
173
|
+
--base-color-purple-6: #6b44bc; /* Avoid using scales, use other functional tokens instead */
|
|
174
|
+
--base-color-purple-7: #5936a2; /* Avoid using scales, use other functional tokens instead */
|
|
175
|
+
--base-color-purple-8: #472c82; /* Avoid using scales, use other functional tokens instead */
|
|
176
|
+
--base-color-purple-9: #352160; /* Avoid using scales, use other functional tokens instead */
|
|
177
|
+
--base-color-pink-0: #ffd7eb; /* Avoid using scales, use other functional tokens instead */
|
|
178
|
+
--base-color-pink-1: #ffb3d8; /* Avoid using scales, use other functional tokens instead */
|
|
179
|
+
--base-color-pink-2: #fc8dc7; /* Avoid using scales, use other functional tokens instead */
|
|
180
|
+
--base-color-pink-3: #e275ad; /* Avoid using scales, use other functional tokens instead */
|
|
181
|
+
--base-color-pink-4: #c96198; /* Avoid using scales, use other functional tokens instead */
|
|
182
|
+
--base-color-pink-5: #ae4c82; /* Avoid using scales, use other functional tokens instead */
|
|
183
|
+
--base-color-pink-6: #983b6e; /* Avoid using scales, use other functional tokens instead */
|
|
184
|
+
--base-color-pink-7: #7e325a; /* Avoid using scales, use other functional tokens instead */
|
|
185
|
+
--base-color-pink-8: #69264a; /* Avoid using scales, use other functional tokens instead */
|
|
186
|
+
--base-color-pink-9: #551639; /* Avoid using scales, use other functional tokens instead */
|
|
187
|
+
--base-color-coral-0: #ffdacf; /* Avoid using scales, use other functional tokens instead */
|
|
188
|
+
--base-color-coral-1: #ffb9a5; /* Avoid using scales, use other functional tokens instead */
|
|
189
|
+
--base-color-coral-2: #f79981; /* Avoid using scales, use other functional tokens instead */
|
|
190
|
+
--base-color-coral-3: #ec775c; /* Avoid using scales, use other functional tokens instead */
|
|
191
|
+
--base-color-coral-4: #de5b41; /* Avoid using scales, use other functional tokens instead */
|
|
192
|
+
--base-color-coral-5: #c2442d; /* Avoid using scales, use other functional tokens instead */
|
|
193
|
+
--base-color-coral-6: #a93524; /* Avoid using scales, use other functional tokens instead */
|
|
194
|
+
--base-color-coral-7: #8d291b; /* Avoid using scales, use other functional tokens instead */
|
|
195
|
+
--base-color-coral-8: #771d13; /* Avoid using scales, use other functional tokens instead */
|
|
196
|
+
--base-color-coral-9: #5d1008; /* Avoid using scales, use other functional tokens instead */
|
|
197
|
+
}
|
|
198
|
+
}
|