@primer/primitives 10.0.0 → 10.1.0-rc.3e576ad9
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/dist/build/filters/isColor.js +0 -3
- package/dist/build/formats/typescriptExportDefinition.js +2 -2
- package/dist/build/platforms/css.d.ts +1 -1
- package/dist/build/platforms/css.js +10 -6
- package/dist/build/platforms/deprecatedJson.d.ts +1 -1
- package/dist/build/platforms/docJson.d.ts +1 -1
- package/dist/build/platforms/docJson.js +5 -1
- package/dist/build/platforms/fallbacks.d.ts +1 -1
- package/dist/build/platforms/figma.d.ts +1 -1
- package/dist/build/platforms/figma.js +6 -3
- package/dist/build/platforms/javascript.d.ts +1 -1
- package/dist/build/platforms/javascript.js +5 -1
- package/dist/build/platforms/json.d.ts +1 -1
- package/dist/build/platforms/json.js +5 -1
- package/dist/build/platforms/styleLint.d.ts +1 -1
- package/dist/build/platforms/styleLint.js +5 -1
- package/dist/build/platforms/typeDefinitions.d.ts +1 -1
- package/dist/build/platforms/typeDefinitions.js +5 -1
- package/dist/build/platforms/typescript.d.ts +1 -1
- package/dist/build/platforms/typescript.js +5 -1
- package/dist/build/preprocessors/themeOverrides.d.ts +2 -0
- package/dist/build/preprocessors/themeOverrides.js +22 -0
- package/dist/build/preprocessors/utilities/transformTokens.d.ts +8 -0
- package/dist/build/preprocessors/utilities/transformTokens.js +22 -0
- package/dist/build/{PrimerStyleDictionary.js → primerStyleDictionary.js} +8 -1
- package/dist/build/schemas/colorToken.d.ts +75 -0
- package/dist/build/schemas/colorToken.js +23 -0
- package/dist/build/transformers/borderToCss.js +2 -2
- package/dist/build/transformers/figmaAttributes.js +1 -1
- package/dist/build/transformers/utilities/invalidTokenError.js +0 -2
- package/dist/build/types/{StyleDictionaryConfigGenerator.d.ts → styleDictionaryConfigGenerator.d.ts} +1 -0
- package/dist/build/types/{TokenBuildInput.d.ts → tokenBuildInput.d.ts} +2 -0
- package/dist/build/utilities/lowerCaseFirstCharacter.d.ts +8 -0
- package/dist/build/utilities/lowerCaseFirstCharacter.js +10 -0
- package/dist/css/functional/size/border.css +7 -6
- package/dist/css/functional/themes/dark-colorblind.css +56 -2
- package/dist/css/functional/themes/dark-dimmed.css +56 -2
- package/dist/css/functional/themes/dark-high-contrast.css +56 -2
- package/dist/css/functional/themes/dark-tritanopia.css +56 -2
- package/dist/css/functional/themes/dark.css +56 -2
- package/dist/css/functional/themes/light-colorblind.css +56 -2
- package/dist/css/functional/themes/light-high-contrast.css +56 -2
- package/dist/css/functional/themes/light-tritanopia.css +56 -2
- package/dist/css/functional/themes/light.css +56 -2
- package/dist/css/primitives.css +7 -6
- package/dist/docs/base/size/size.json +19 -19
- package/dist/docs/base/typography/typography.json +4 -4
- package/dist/docs/functional/size/border.json +41 -28
- package/dist/docs/functional/size/breakpoints.json +6 -6
- package/dist/docs/functional/size/size-coarse.json +3 -3
- package/dist/docs/functional/size/size-fine.json +3 -3
- package/dist/docs/functional/size/size.json +66 -66
- package/dist/docs/functional/size/viewport.json +6 -6
- package/dist/docs/functional/themes/dark-colorblind.json +450 -7
- package/dist/docs/functional/themes/dark-dimmed.json +450 -7
- package/dist/docs/functional/themes/dark-high-contrast.json +450 -7
- package/dist/docs/functional/themes/dark-tritanopia.json +450 -7
- package/dist/docs/functional/themes/dark.json +450 -7
- package/dist/docs/functional/themes/light-colorblind.json +445 -2
- package/dist/docs/functional/themes/light-high-contrast.json +445 -2
- package/dist/docs/functional/themes/light-tritanopia.json +445 -2
- package/dist/docs/functional/themes/light.json +445 -2
- package/dist/docs/functional/typography/typography.json +46 -46
- package/dist/fallbacks/functional/size/border.json +7 -6
- package/dist/figma/figma.json +0 -8
- package/dist/internalCss/dark-colorblind.css +84 -2
- package/dist/internalCss/dark-dimmed.css +84 -2
- package/dist/internalCss/dark-high-contrast.css +84 -2
- package/dist/internalCss/dark-tritanopia.css +84 -2
- package/dist/internalCss/dark.css +84 -2
- package/dist/internalCss/light-colorblind.css +84 -2
- package/dist/internalCss/light-high-contrast.css +84 -2
- package/dist/internalCss/light-tritanopia.css +84 -2
- package/dist/internalCss/light.css +84 -2
- package/dist/styleLint/base/size/size.json +19 -19
- package/dist/styleLint/base/typography/typography.json +4 -4
- package/dist/styleLint/functional/size/border.json +41 -28
- package/dist/styleLint/functional/size/breakpoints.json +6 -6
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +66 -66
- package/dist/styleLint/functional/size/viewport.json +6 -6
- package/dist/styleLint/functional/themes/dark-colorblind.json +450 -7
- package/dist/styleLint/functional/themes/dark-dimmed.json +450 -7
- package/dist/styleLint/functional/themes/dark-high-contrast.json +450 -7
- package/dist/styleLint/functional/themes/dark-tritanopia.json +450 -7
- package/dist/styleLint/functional/themes/dark.json +450 -7
- package/dist/styleLint/functional/themes/light-colorblind.json +445 -2
- package/dist/styleLint/functional/themes/light-high-contrast.json +445 -2
- package/dist/styleLint/functional/themes/light-tritanopia.json +445 -2
- package/dist/styleLint/functional/themes/light.json +445 -2
- package/dist/styleLint/functional/typography/typography.json +46 -46
- package/package.json +11 -10
- package/src/tokens/base/typography/typography.json5 +48 -0
- package/src/tokens/functional/border/border.json5 +236 -0
- package/src/tokens/functional/color/dark/primitives-dark.json5 +0 -1
- package/src/tokens/functional/size/border.json5 +115 -0
- package/src/tokens/functional/typography/typography.json5 +527 -0
- package/src/tokens/base/typography/typography.json +0 -48
- package/src/tokens/functional/border/dark.json5 +0 -12
- package/src/tokens/functional/border/light.json5 +0 -12
- package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
- package/src/tokens/functional/size/border.json +0 -111
- package/src/tokens/functional/typography/typography.json +0 -527
- /package/dist/build/{PrimerStyleDictionary.d.ts → primerStyleDictionary.d.ts} +0 -0
- /package/dist/build/types/{Border.d.ts → border.d.ts} +0 -0
- /package/dist/build/types/{BorderTokenValue.d.ts → borderTokenValue.d.ts} +0 -0
- /package/dist/build/types/{ColorHex.d.ts → colorHex.d.ts} +0 -0
- /package/dist/build/types/{PlatformInitializer.d.ts → platformInitializer.d.ts} +0 -0
- /package/dist/build/types/{Shadow.d.ts → shadow.d.ts} +0 -0
- /package/dist/build/types/{ShadowTokenValue.d.ts → shadowTokenValue.d.ts} +0 -0
- /package/dist/build/types/{SizeEm.d.ts → sizeEm.d.ts} +0 -0
- /package/dist/build/types/{SizePx.d.ts → sizePx.d.ts} +0 -0
- /package/dist/build/types/{SizeRem.d.ts → sizeRem.d.ts} +0 -0
- /package/dist/build/types/{TypographyTokenValue.d.ts → typographyTokenValue.d.ts} +0 -0
- /package/src/tokens/base/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
- /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
- /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
- /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
[data-color-mode="light"][data-light-theme="light_high_contrast"] ::backdrop,
|
|
3
3
|
[data-color-mode="auto"][data-light-theme="light_high_contrast"],
|
|
4
4
|
[data-color-mode="auto"][data-light-theme="light_high_contrast"] ::backdrop {
|
|
5
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
6
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
7
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
8
|
+
--borderWidth-default: 0.0625rem;
|
|
9
|
+
--borderWidth-thin: 0.0625rem;
|
|
10
|
+
--borderWidth-thick: 0.125rem;
|
|
11
|
+
--borderWidth-thicker: 0.25rem;
|
|
12
|
+
--borderRadius-small: 0.1875rem;
|
|
13
|
+
--borderRadius-medium: 0.375rem;
|
|
14
|
+
--borderRadius-large: 0.75rem;
|
|
15
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
16
|
+
--borderRadius-default: 0.375rem;
|
|
17
|
+
--outline-focus-offset: -0.125rem;
|
|
18
|
+
--outline-focus-width: 0.125rem;
|
|
5
19
|
--base-color-black: #010409;
|
|
6
20
|
--base-color-inset: #ffffff;
|
|
7
21
|
--base-color-transparent: #ffffff00;
|
|
@@ -601,7 +615,7 @@
|
|
|
601
615
|
--reactionButton-selected-fgColor-rest: #023b95;
|
|
602
616
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
603
617
|
--focus-outlineColor: #0349b4;
|
|
604
|
-
--focus-outline:
|
|
618
|
+
--focus-outline: 2px solid #0349b4;
|
|
605
619
|
--menu-bgColor-active: #ffffff00;
|
|
606
620
|
--overlay-bgColor: #ffffff;
|
|
607
621
|
--overlay-borderColor: #454c54;
|
|
@@ -867,10 +881,51 @@
|
|
|
867
881
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d;
|
|
868
882
|
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
869
883
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
884
|
+
--border-default: 0.0625rem solid #454c54;
|
|
885
|
+
--border-muted: 0.0625rem solid #454c54;
|
|
886
|
+
--border-emphasis: 0.0625rem solid #454c54;
|
|
887
|
+
--border-disabled: 0.0625rem solid #59636e1f;
|
|
888
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
889
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
890
|
+
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
891
|
+
--border-accent-emphasis: 0.0625rem solid #0349b4;
|
|
892
|
+
--border-accent-muted: 0.0625rem solid #368cf9;
|
|
893
|
+
--border-success-emphasis: 0.0625rem solid #055d20;
|
|
894
|
+
--border-success-muted: 0.0625rem solid #26a148;
|
|
895
|
+
--border-open-emphasis: 0.0625rem solid #055d20;
|
|
896
|
+
--border-open-muted: 0.0625rem solid #26a148;
|
|
897
|
+
--border-danger-emphasis: 0.0625rem solid #a0111f;
|
|
898
|
+
--border-danger-muted: 0.0625rem solid #ee5a5d;
|
|
899
|
+
--border-closed-emphasis: 0.0625rem solid #a0111f;
|
|
900
|
+
--border-closed-muted: 0.0625rem solid #ee5a5d;
|
|
901
|
+
--border-attention-emphasis: 0.0625rem solid #744500;
|
|
902
|
+
--border-attention-muted: 0.0625rem solid #b58407;
|
|
903
|
+
--border-severe-emphasis: 0.0625rem solid #873800;
|
|
904
|
+
--border-severe-muted: 0.0625rem solid #dc6d1a;
|
|
905
|
+
--border-done-emphasis: 0.0625rem solid #622cbc;
|
|
906
|
+
--border-done-muted: 0.0625rem solid #a371f7;
|
|
907
|
+
--border-upsell-emphasis: 0.0625rem solid #622cbc;
|
|
908
|
+
--border-upsell-muted: 0.0625rem solid #a371f7;
|
|
909
|
+
--border-sponsors-emphasis: 0.0625rem solid #971368;
|
|
910
|
+
--border-sponsors-muted: 0.0625rem solid #ed4baf;
|
|
870
911
|
}
|
|
871
912
|
@media (prefers-color-scheme: dark) {
|
|
872
913
|
[data-color-mode="auto"][data-dark-theme="light_high_contrast"],
|
|
873
914
|
[data-color-mode="auto"][data-dark-theme="light_high_contrast"] ::backdrop {
|
|
915
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
916
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
917
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
918
|
+
--borderWidth-default: 0.0625rem;
|
|
919
|
+
--borderWidth-thin: 0.0625rem;
|
|
920
|
+
--borderWidth-thick: 0.125rem;
|
|
921
|
+
--borderWidth-thicker: 0.25rem;
|
|
922
|
+
--borderRadius-small: 0.1875rem;
|
|
923
|
+
--borderRadius-medium: 0.375rem;
|
|
924
|
+
--borderRadius-large: 0.75rem;
|
|
925
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
926
|
+
--borderRadius-default: 0.375rem;
|
|
927
|
+
--outline-focus-offset: -0.125rem;
|
|
928
|
+
--outline-focus-width: 0.125rem;
|
|
874
929
|
--base-color-black: #010409;
|
|
875
930
|
--base-color-inset: #ffffff;
|
|
876
931
|
--base-color-transparent: #ffffff00;
|
|
@@ -1470,7 +1525,7 @@
|
|
|
1470
1525
|
--reactionButton-selected-fgColor-rest: #023b95;
|
|
1471
1526
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
1472
1527
|
--focus-outlineColor: #0349b4;
|
|
1473
|
-
--focus-outline:
|
|
1528
|
+
--focus-outline: 2px solid #0349b4;
|
|
1474
1529
|
--menu-bgColor-active: #ffffff00;
|
|
1475
1530
|
--overlay-bgColor: #ffffff;
|
|
1476
1531
|
--overlay-borderColor: #454c54;
|
|
@@ -1736,5 +1791,32 @@
|
|
|
1736
1791
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d;
|
|
1737
1792
|
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
1738
1793
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1794
|
+
--border-default: 0.0625rem solid #454c54;
|
|
1795
|
+
--border-muted: 0.0625rem solid #454c54;
|
|
1796
|
+
--border-emphasis: 0.0625rem solid #454c54;
|
|
1797
|
+
--border-disabled: 0.0625rem solid #59636e1f;
|
|
1798
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
1799
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
1800
|
+
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
1801
|
+
--border-accent-emphasis: 0.0625rem solid #0349b4;
|
|
1802
|
+
--border-accent-muted: 0.0625rem solid #368cf9;
|
|
1803
|
+
--border-success-emphasis: 0.0625rem solid #055d20;
|
|
1804
|
+
--border-success-muted: 0.0625rem solid #26a148;
|
|
1805
|
+
--border-open-emphasis: 0.0625rem solid #055d20;
|
|
1806
|
+
--border-open-muted: 0.0625rem solid #26a148;
|
|
1807
|
+
--border-danger-emphasis: 0.0625rem solid #a0111f;
|
|
1808
|
+
--border-danger-muted: 0.0625rem solid #ee5a5d;
|
|
1809
|
+
--border-closed-emphasis: 0.0625rem solid #a0111f;
|
|
1810
|
+
--border-closed-muted: 0.0625rem solid #ee5a5d;
|
|
1811
|
+
--border-attention-emphasis: 0.0625rem solid #744500;
|
|
1812
|
+
--border-attention-muted: 0.0625rem solid #b58407;
|
|
1813
|
+
--border-severe-emphasis: 0.0625rem solid #873800;
|
|
1814
|
+
--border-severe-muted: 0.0625rem solid #dc6d1a;
|
|
1815
|
+
--border-done-emphasis: 0.0625rem solid #622cbc;
|
|
1816
|
+
--border-done-muted: 0.0625rem solid #a371f7;
|
|
1817
|
+
--border-upsell-emphasis: 0.0625rem solid #622cbc;
|
|
1818
|
+
--border-upsell-muted: 0.0625rem solid #a371f7;
|
|
1819
|
+
--border-sponsors-emphasis: 0.0625rem solid #971368;
|
|
1820
|
+
--border-sponsors-muted: 0.0625rem solid #ed4baf;
|
|
1739
1821
|
}
|
|
1740
1822
|
}
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
[data-color-mode="light"][data-light-theme="light_tritanopia"] ::backdrop,
|
|
3
3
|
[data-color-mode="auto"][data-light-theme="light_tritanopia"],
|
|
4
4
|
[data-color-mode="auto"][data-light-theme="light_tritanopia"] ::backdrop {
|
|
5
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
6
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
7
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
8
|
+
--borderWidth-default: 0.0625rem;
|
|
9
|
+
--borderWidth-thin: 0.0625rem;
|
|
10
|
+
--borderWidth-thick: 0.125rem;
|
|
11
|
+
--borderWidth-thicker: 0.25rem;
|
|
12
|
+
--borderRadius-small: 0.1875rem;
|
|
13
|
+
--borderRadius-medium: 0.375rem;
|
|
14
|
+
--borderRadius-large: 0.75rem;
|
|
15
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
16
|
+
--borderRadius-default: 0.375rem;
|
|
17
|
+
--outline-focus-offset: -0.125rem;
|
|
18
|
+
--outline-focus-width: 0.125rem;
|
|
5
19
|
--base-color-black: #1f2328;
|
|
6
20
|
--base-color-inset: #ffffff;
|
|
7
21
|
--base-color-transparent: #ffffff00;
|
|
@@ -601,7 +615,7 @@
|
|
|
601
615
|
--reactionButton-selected-fgColor-rest: #0969da;
|
|
602
616
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
603
617
|
--focus-outlineColor: #0969da;
|
|
604
|
-
--focus-outline:
|
|
618
|
+
--focus-outline: 2px solid #0969da;
|
|
605
619
|
--menu-bgColor-active: #ffffff00;
|
|
606
620
|
--overlay-bgColor: #ffffff;
|
|
607
621
|
--overlay-borderColor: #d1d9e080;
|
|
@@ -867,10 +881,51 @@
|
|
|
867
881
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
|
|
868
882
|
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
869
883
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
884
|
+
--border-default: 0.0625rem solid #d1d9e0;
|
|
885
|
+
--border-muted: 0.0625rem solid #d1d9e0b3;
|
|
886
|
+
--border-emphasis: 0.0625rem solid #818b98;
|
|
887
|
+
--border-disabled: 0.0625rem solid #818b981a;
|
|
888
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
889
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
890
|
+
--border-neutral-muted: 0.0625rem solid #d1d9e0b3;
|
|
891
|
+
--border-accent-emphasis: 0.0625rem solid #0969da;
|
|
892
|
+
--border-accent-muted: 0.0625rem solid #54aeff66;
|
|
893
|
+
--border-success-emphasis: 0.0625rem solid #0969da;
|
|
894
|
+
--border-success-muted: 0.0625rem solid #54aeff66;
|
|
895
|
+
--border-open-emphasis: 0.0625rem solid #0969da;
|
|
896
|
+
--border-open-muted: 0.0625rem solid #54aeff66;
|
|
897
|
+
--border-danger-emphasis: 0.0625rem solid #cf222e;
|
|
898
|
+
--border-danger-muted: 0.0625rem solid #ff818266;
|
|
899
|
+
--border-closed-emphasis: 0.0625rem solid #cf222e;
|
|
900
|
+
--border-closed-muted: 0.0625rem solid #ff818266;
|
|
901
|
+
--border-attention-emphasis: 0.0625rem solid #9a6700;
|
|
902
|
+
--border-attention-muted: 0.0625rem solid #d4a72c66;
|
|
903
|
+
--border-severe-emphasis: 0.0625rem solid #cf222e;
|
|
904
|
+
--border-severe-muted: 0.0625rem solid #ff818266;
|
|
905
|
+
--border-done-emphasis: 0.0625rem solid #8250df;
|
|
906
|
+
--border-done-muted: 0.0625rem solid #c297ff66;
|
|
907
|
+
--border-upsell-emphasis: 0.0625rem solid #8250df;
|
|
908
|
+
--border-upsell-muted: 0.0625rem solid #c297ff66;
|
|
909
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf3989;
|
|
910
|
+
--border-sponsors-muted: 0.0625rem solid #ff80c866;
|
|
870
911
|
}
|
|
871
912
|
@media (prefers-color-scheme: dark) {
|
|
872
913
|
[data-color-mode="auto"][data-dark-theme="light_tritanopia"],
|
|
873
914
|
[data-color-mode="auto"][data-dark-theme="light_tritanopia"] ::backdrop {
|
|
915
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
916
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
917
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
918
|
+
--borderWidth-default: 0.0625rem;
|
|
919
|
+
--borderWidth-thin: 0.0625rem;
|
|
920
|
+
--borderWidth-thick: 0.125rem;
|
|
921
|
+
--borderWidth-thicker: 0.25rem;
|
|
922
|
+
--borderRadius-small: 0.1875rem;
|
|
923
|
+
--borderRadius-medium: 0.375rem;
|
|
924
|
+
--borderRadius-large: 0.75rem;
|
|
925
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
926
|
+
--borderRadius-default: 0.375rem;
|
|
927
|
+
--outline-focus-offset: -0.125rem;
|
|
928
|
+
--outline-focus-width: 0.125rem;
|
|
874
929
|
--base-color-black: #1f2328;
|
|
875
930
|
--base-color-inset: #ffffff;
|
|
876
931
|
--base-color-transparent: #ffffff00;
|
|
@@ -1470,7 +1525,7 @@
|
|
|
1470
1525
|
--reactionButton-selected-fgColor-rest: #0969da;
|
|
1471
1526
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
1472
1527
|
--focus-outlineColor: #0969da;
|
|
1473
|
-
--focus-outline:
|
|
1528
|
+
--focus-outline: 2px solid #0969da;
|
|
1474
1529
|
--menu-bgColor-active: #ffffff00;
|
|
1475
1530
|
--overlay-bgColor: #ffffff;
|
|
1476
1531
|
--overlay-borderColor: #d1d9e080;
|
|
@@ -1736,5 +1791,32 @@
|
|
|
1736
1791
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
|
|
1737
1792
|
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
1738
1793
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1794
|
+
--border-default: 0.0625rem solid #d1d9e0;
|
|
1795
|
+
--border-muted: 0.0625rem solid #d1d9e0b3;
|
|
1796
|
+
--border-emphasis: 0.0625rem solid #818b98;
|
|
1797
|
+
--border-disabled: 0.0625rem solid #818b981a;
|
|
1798
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
1799
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
1800
|
+
--border-neutral-muted: 0.0625rem solid #d1d9e0b3;
|
|
1801
|
+
--border-accent-emphasis: 0.0625rem solid #0969da;
|
|
1802
|
+
--border-accent-muted: 0.0625rem solid #54aeff66;
|
|
1803
|
+
--border-success-emphasis: 0.0625rem solid #0969da;
|
|
1804
|
+
--border-success-muted: 0.0625rem solid #54aeff66;
|
|
1805
|
+
--border-open-emphasis: 0.0625rem solid #0969da;
|
|
1806
|
+
--border-open-muted: 0.0625rem solid #54aeff66;
|
|
1807
|
+
--border-danger-emphasis: 0.0625rem solid #cf222e;
|
|
1808
|
+
--border-danger-muted: 0.0625rem solid #ff818266;
|
|
1809
|
+
--border-closed-emphasis: 0.0625rem solid #cf222e;
|
|
1810
|
+
--border-closed-muted: 0.0625rem solid #ff818266;
|
|
1811
|
+
--border-attention-emphasis: 0.0625rem solid #9a6700;
|
|
1812
|
+
--border-attention-muted: 0.0625rem solid #d4a72c66;
|
|
1813
|
+
--border-severe-emphasis: 0.0625rem solid #cf222e;
|
|
1814
|
+
--border-severe-muted: 0.0625rem solid #ff818266;
|
|
1815
|
+
--border-done-emphasis: 0.0625rem solid #8250df;
|
|
1816
|
+
--border-done-muted: 0.0625rem solid #c297ff66;
|
|
1817
|
+
--border-upsell-emphasis: 0.0625rem solid #8250df;
|
|
1818
|
+
--border-upsell-muted: 0.0625rem solid #c297ff66;
|
|
1819
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf3989;
|
|
1820
|
+
--border-sponsors-muted: 0.0625rem solid #ff80c866;
|
|
1739
1821
|
}
|
|
1740
1822
|
}
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
[data-color-mode="light"][data-light-theme="light"] ::backdrop,
|
|
3
3
|
[data-color-mode="auto"][data-light-theme="light"],
|
|
4
4
|
[data-color-mode="auto"][data-light-theme="light"] ::backdrop {
|
|
5
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
6
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
7
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
8
|
+
--borderWidth-default: 0.0625rem;
|
|
9
|
+
--borderWidth-thin: 0.0625rem;
|
|
10
|
+
--borderWidth-thick: 0.125rem;
|
|
11
|
+
--borderWidth-thicker: 0.25rem;
|
|
12
|
+
--borderRadius-small: 0.1875rem;
|
|
13
|
+
--borderRadius-medium: 0.375rem;
|
|
14
|
+
--borderRadius-large: 0.75rem;
|
|
15
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
16
|
+
--borderRadius-default: 0.375rem;
|
|
17
|
+
--outline-focus-offset: -0.125rem;
|
|
18
|
+
--outline-focus-width: 0.125rem;
|
|
5
19
|
--base-color-black: #1f2328;
|
|
6
20
|
--base-color-inset: #ffffff;
|
|
7
21
|
--base-color-transparent: #ffffff00;
|
|
@@ -601,7 +615,7 @@
|
|
|
601
615
|
--reactionButton-selected-fgColor-rest: #0969da;
|
|
602
616
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
603
617
|
--focus-outlineColor: #0969da;
|
|
604
|
-
--focus-outline:
|
|
618
|
+
--focus-outline: 2px solid #0969da;
|
|
605
619
|
--menu-bgColor-active: #ffffff00;
|
|
606
620
|
--overlay-bgColor: #ffffff;
|
|
607
621
|
--overlay-borderColor: #d1d9e080;
|
|
@@ -867,10 +881,51 @@
|
|
|
867
881
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
|
|
868
882
|
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
869
883
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
884
|
+
--border-default: 0.0625rem solid #d1d9e0;
|
|
885
|
+
--border-muted: 0.0625rem solid #d1d9e0b3;
|
|
886
|
+
--border-emphasis: 0.0625rem solid #818b98;
|
|
887
|
+
--border-disabled: 0.0625rem solid #818b981a;
|
|
888
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
889
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
890
|
+
--border-neutral-muted: 0.0625rem solid #d1d9e0b3;
|
|
891
|
+
--border-accent-emphasis: 0.0625rem solid #0969da;
|
|
892
|
+
--border-accent-muted: 0.0625rem solid #54aeff66;
|
|
893
|
+
--border-success-emphasis: 0.0625rem solid #1a7f37;
|
|
894
|
+
--border-success-muted: 0.0625rem solid #4ac26b66;
|
|
895
|
+
--border-open-emphasis: 0.0625rem solid #1a7f37;
|
|
896
|
+
--border-open-muted: 0.0625rem solid #4ac26b66;
|
|
897
|
+
--border-danger-emphasis: 0.0625rem solid #cf222e;
|
|
898
|
+
--border-danger-muted: 0.0625rem solid #ff818266;
|
|
899
|
+
--border-closed-emphasis: 0.0625rem solid #cf222e;
|
|
900
|
+
--border-closed-muted: 0.0625rem solid #ff818266;
|
|
901
|
+
--border-attention-emphasis: 0.0625rem solid #9a6700;
|
|
902
|
+
--border-attention-muted: 0.0625rem solid #d4a72c66;
|
|
903
|
+
--border-severe-emphasis: 0.0625rem solid #bc4c00;
|
|
904
|
+
--border-severe-muted: 0.0625rem solid #fb8f4466;
|
|
905
|
+
--border-done-emphasis: 0.0625rem solid #8250df;
|
|
906
|
+
--border-done-muted: 0.0625rem solid #c297ff66;
|
|
907
|
+
--border-upsell-emphasis: 0.0625rem solid #8250df;
|
|
908
|
+
--border-upsell-muted: 0.0625rem solid #c297ff66;
|
|
909
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf3989;
|
|
910
|
+
--border-sponsors-muted: 0.0625rem solid #ff80c866;
|
|
870
911
|
}
|
|
871
912
|
@media (prefers-color-scheme: dark) {
|
|
872
913
|
[data-color-mode="auto"][data-dark-theme="light"],
|
|
873
914
|
[data-color-mode="auto"][data-dark-theme="light"] ::backdrop {
|
|
915
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
916
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
917
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
918
|
+
--borderWidth-default: 0.0625rem;
|
|
919
|
+
--borderWidth-thin: 0.0625rem;
|
|
920
|
+
--borderWidth-thick: 0.125rem;
|
|
921
|
+
--borderWidth-thicker: 0.25rem;
|
|
922
|
+
--borderRadius-small: 0.1875rem;
|
|
923
|
+
--borderRadius-medium: 0.375rem;
|
|
924
|
+
--borderRadius-large: 0.75rem;
|
|
925
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
926
|
+
--borderRadius-default: 0.375rem;
|
|
927
|
+
--outline-focus-offset: -0.125rem;
|
|
928
|
+
--outline-focus-width: 0.125rem;
|
|
874
929
|
--base-color-black: #1f2328;
|
|
875
930
|
--base-color-inset: #ffffff;
|
|
876
931
|
--base-color-transparent: #ffffff00;
|
|
@@ -1470,7 +1525,7 @@
|
|
|
1470
1525
|
--reactionButton-selected-fgColor-rest: #0969da;
|
|
1471
1526
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
1472
1527
|
--focus-outlineColor: #0969da;
|
|
1473
|
-
--focus-outline:
|
|
1528
|
+
--focus-outline: 2px solid #0969da;
|
|
1474
1529
|
--menu-bgColor-active: #ffffff00;
|
|
1475
1530
|
--overlay-bgColor: #ffffff;
|
|
1476
1531
|
--overlay-borderColor: #d1d9e080;
|
|
@@ -1736,5 +1791,32 @@
|
|
|
1736
1791
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
|
|
1737
1792
|
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
1738
1793
|
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1794
|
+
--border-default: 0.0625rem solid #d1d9e0;
|
|
1795
|
+
--border-muted: 0.0625rem solid #d1d9e0b3;
|
|
1796
|
+
--border-emphasis: 0.0625rem solid #818b98;
|
|
1797
|
+
--border-disabled: 0.0625rem solid #818b981a;
|
|
1798
|
+
--border-transparent: 0.0625rem solid #ffffff00;
|
|
1799
|
+
--border-neutral-emphasis: 0.0625rem solid #59636e;
|
|
1800
|
+
--border-neutral-muted: 0.0625rem solid #d1d9e0b3;
|
|
1801
|
+
--border-accent-emphasis: 0.0625rem solid #0969da;
|
|
1802
|
+
--border-accent-muted: 0.0625rem solid #54aeff66;
|
|
1803
|
+
--border-success-emphasis: 0.0625rem solid #1a7f37;
|
|
1804
|
+
--border-success-muted: 0.0625rem solid #4ac26b66;
|
|
1805
|
+
--border-open-emphasis: 0.0625rem solid #1a7f37;
|
|
1806
|
+
--border-open-muted: 0.0625rem solid #4ac26b66;
|
|
1807
|
+
--border-danger-emphasis: 0.0625rem solid #cf222e;
|
|
1808
|
+
--border-danger-muted: 0.0625rem solid #ff818266;
|
|
1809
|
+
--border-closed-emphasis: 0.0625rem solid #cf222e;
|
|
1810
|
+
--border-closed-muted: 0.0625rem solid #ff818266;
|
|
1811
|
+
--border-attention-emphasis: 0.0625rem solid #9a6700;
|
|
1812
|
+
--border-attention-muted: 0.0625rem solid #d4a72c66;
|
|
1813
|
+
--border-severe-emphasis: 0.0625rem solid #bc4c00;
|
|
1814
|
+
--border-severe-muted: 0.0625rem solid #fb8f4466;
|
|
1815
|
+
--border-done-emphasis: 0.0625rem solid #8250df;
|
|
1816
|
+
--border-done-muted: 0.0625rem solid #c297ff66;
|
|
1817
|
+
--border-upsell-emphasis: 0.0625rem solid #8250df;
|
|
1818
|
+
--border-upsell-muted: 0.0625rem solid #c297ff66;
|
|
1819
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf3989;
|
|
1820
|
+
--border-sponsors-muted: 0.0625rem solid #ff80c866;
|
|
1739
1821
|
}
|
|
1740
1822
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scopes": ["size"]
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"filePath": "src/tokens/base/size/size.
|
|
11
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
14
|
"$value": "2px",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"scopes": ["size"]
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"filePath": "src/tokens/base/size/size.
|
|
36
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
37
37
|
"isSource": true,
|
|
38
38
|
"original": {
|
|
39
39
|
"$value": "4px",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"scopes": ["size"]
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"filePath": "src/tokens/base/size/size.
|
|
61
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
64
|
"$value": "6px",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"scopes": ["size"]
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
-
"filePath": "src/tokens/base/size/size.
|
|
86
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
87
87
|
"isSource": true,
|
|
88
88
|
"original": {
|
|
89
89
|
"$value": "8px",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"scopes": ["size"]
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"filePath": "src/tokens/base/size/size.
|
|
111
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
112
112
|
"isSource": true,
|
|
113
113
|
"original": {
|
|
114
114
|
"$value": "12px",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"scopes": ["size"]
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
|
-
"filePath": "src/tokens/base/size/size.
|
|
136
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
137
137
|
"isSource": true,
|
|
138
138
|
"original": {
|
|
139
139
|
"$value": "16px",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"scopes": ["size"]
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
-
"filePath": "src/tokens/base/size/size.
|
|
161
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
162
162
|
"isSource": true,
|
|
163
163
|
"original": {
|
|
164
164
|
"$value": "20px",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"scopes": ["size"]
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
|
-
"filePath": "src/tokens/base/size/size.
|
|
186
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
187
187
|
"isSource": true,
|
|
188
188
|
"original": {
|
|
189
189
|
"$value": "24px",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"scopes": ["size"]
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
|
-
"filePath": "src/tokens/base/size/size.
|
|
211
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
212
212
|
"isSource": true,
|
|
213
213
|
"original": {
|
|
214
214
|
"$value": "28px",
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"scopes": ["size"]
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
|
-
"filePath": "src/tokens/base/size/size.
|
|
236
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
237
237
|
"isSource": true,
|
|
238
238
|
"original": {
|
|
239
239
|
"$value": "32px",
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"scopes": ["size"]
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
|
-
"filePath": "src/tokens/base/size/size.
|
|
261
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
262
262
|
"isSource": true,
|
|
263
263
|
"original": {
|
|
264
264
|
"$value": "36px",
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"scopes": ["size"]
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
|
-
"filePath": "src/tokens/base/size/size.
|
|
286
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
287
287
|
"isSource": true,
|
|
288
288
|
"original": {
|
|
289
289
|
"$value": "40px",
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
"scopes": ["size"]
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
|
-
"filePath": "src/tokens/base/size/size.
|
|
311
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
312
312
|
"isSource": true,
|
|
313
313
|
"original": {
|
|
314
314
|
"$value": "44px",
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
"scopes": ["size"]
|
|
334
334
|
}
|
|
335
335
|
},
|
|
336
|
-
"filePath": "src/tokens/base/size/size.
|
|
336
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
337
337
|
"isSource": true,
|
|
338
338
|
"original": {
|
|
339
339
|
"$value": "48px",
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"scopes": ["size"]
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
|
-
"filePath": "src/tokens/base/size/size.
|
|
361
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
362
362
|
"isSource": true,
|
|
363
363
|
"original": {
|
|
364
364
|
"$value": "64px",
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
"scopes": ["size"]
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
|
-
"filePath": "src/tokens/base/size/size.
|
|
386
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
387
387
|
"isSource": true,
|
|
388
388
|
"original": {
|
|
389
389
|
"$value": "80px",
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"scopes": ["size"]
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
|
-
"filePath": "src/tokens/base/size/size.
|
|
411
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
412
412
|
"isSource": true,
|
|
413
413
|
"original": {
|
|
414
414
|
"$value": "96px",
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"scopes": ["size"]
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
|
-
"filePath": "src/tokens/base/size/size.
|
|
436
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
437
437
|
"isSource": true,
|
|
438
438
|
"original": {
|
|
439
439
|
"$value": "112px",
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"scopes": ["size"]
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
|
-
"filePath": "src/tokens/base/size/size.
|
|
461
|
+
"filePath": "src/tokens/base/size/size.json5",
|
|
462
462
|
"isSource": true,
|
|
463
463
|
"original": {
|
|
464
464
|
"$value": "128px",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scopes": ["fontWeight"]
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"filePath": "src/tokens/base/typography/typography.
|
|
11
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
14
|
"$type": "fontWeight",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"scopes": ["fontWeight"]
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"filePath": "src/tokens/base/typography/typography.
|
|
36
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
37
37
|
"isSource": true,
|
|
38
38
|
"original": {
|
|
39
39
|
"$value": 400,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"scopes": ["fontWeight"]
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"filePath": "src/tokens/base/typography/typography.
|
|
61
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
64
|
"$value": 500,
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"scopes": ["fontWeight"]
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
-
"filePath": "src/tokens/base/typography/typography.
|
|
86
|
+
"filePath": "src/tokens/base/typography/typography.json5",
|
|
87
87
|
"isSource": true,
|
|
88
88
|
"original": {
|
|
89
89
|
"$value": 600,
|