@atlaskit/tokens 0.13.5 → 1.1.0
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/CHANGELOG.md +305 -0
- package/README.md +7 -16
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/palette.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +0 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +0 -1
- package/dist/cjs/artifacts/replacement-mapping.js +3 -611
- package/dist/cjs/artifacts/theme-import-map.js +56 -0
- package/dist/cjs/artifacts/themes/atlassian-dark.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-light.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-typography.js +13 -0
- package/dist/cjs/artifacts/token-default-values.js +2 -170
- package/dist/cjs/artifacts/token-names.js +2 -170
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1354 -4261
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1352 -4259
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1396 -4283
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1365 -4252
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -1582
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +0 -1
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +0 -1
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +0 -1
- package/dist/cjs/babel-plugin/index.js +0 -2
- package/dist/cjs/babel-plugin/plugin.js +17 -43
- package/dist/cjs/entry-points/babel-plugin.js +0 -2
- package/dist/cjs/entry-points/palettes-raw.js +0 -2
- package/dist/cjs/entry-points/rename-mapping.js +0 -2
- package/dist/cjs/entry-points/token-ids.js +0 -1
- package/dist/cjs/entry-points/token-names.js +0 -2
- package/dist/cjs/entry-points/tokens-raw.js +0 -5
- package/dist/cjs/get-global-theme.js +30 -0
- package/dist/cjs/get-token-value.js +1 -10
- package/dist/cjs/get-token.js +3 -13
- package/dist/cjs/index.js +46 -10
- package/dist/cjs/palettes/legacy-palette.js +1 -1
- package/dist/cjs/palettes/spacing-scale.js +1 -1
- package/dist/cjs/palettes/typography-palette.js +0 -5
- package/dist/cjs/set-global-theme.js +265 -39
- package/dist/cjs/theme-config.js +8 -23
- package/dist/cjs/{theme-change-observer.js → theme-mutation-observer.js} +5 -57
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +0 -228
- package/dist/cjs/tokens/default/spacing/spacing.js +0 -621
- package/dist/cjs/tokens/default/utility/utility.js +1 -9
- package/dist/cjs/use-theme-observer.js +41 -0
- package/dist/cjs/utils/color-detection.js +23 -43
- package/dist/cjs/utils/theme-loading.js +69 -0
- package/dist/cjs/utils/theme-state-transformer.js +73 -0
- package/dist/cjs/utils/token-ids.js +4 -12
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/replacement-mapping.js +3 -610
- package/dist/es2019/artifacts/theme-import-map.js +27 -0
- package/dist/es2019/artifacts/themes/atlassian-dark.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-light.js +296 -0
- package/dist/es2019/artifacts/themes/atlassian-spacing.js +23 -0
- package/{css/atlassian-typography.css → dist/es2019/artifacts/themes/atlassian-typography.js} +4 -2
- package/dist/es2019/artifacts/token-default-values.js +2 -169
- package/dist/es2019/artifacts/token-names.js +2 -169
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1360 -4246
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
- package/dist/es2019/babel-plugin/plugin.js +17 -37
- package/dist/es2019/get-global-theme.js +20 -0
- package/dist/es2019/get-token-value.js +1 -6
- package/dist/es2019/get-token.js +3 -8
- package/dist/es2019/index.js +5 -2
- package/dist/es2019/palettes/legacy-palette.js +1 -0
- package/dist/es2019/palettes/spacing-scale.js +1 -0
- package/dist/es2019/palettes/typography-palette.js +2 -1
- package/dist/es2019/set-global-theme.js +162 -32
- package/dist/es2019/theme-config.js +5 -21
- package/dist/es2019/{theme-change-observer.js → theme-mutation-observer.js} +4 -37
- package/dist/es2019/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/es2019/tokens/atlassian-spacing/spacing.js +0 -227
- package/dist/es2019/tokens/default/spacing/spacing.js +0 -620
- package/dist/es2019/tokens/default/utility/utility.js +1 -9
- package/dist/es2019/use-theme-observer.js +26 -0
- package/dist/es2019/utils/color-detection.js +3 -5
- package/dist/es2019/utils/theme-loading.js +18 -0
- package/dist/es2019/utils/theme-state-transformer.js +47 -0
- package/dist/es2019/utils/token-ids.js +5 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/replacement-mapping.js +3 -610
- package/dist/esm/artifacts/theme-import-map.js +39 -0
- package/dist/esm/artifacts/themes/atlassian-dark.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-legacy-light.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-light.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-spacing.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-typography.js +6 -0
- package/dist/esm/artifacts/token-default-values.js +2 -169
- package/dist/esm/artifacts/token-names.js +2 -169
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1354 -4260
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +1349 -4255
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +1397 -4283
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1360 -4246
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
- package/dist/esm/babel-plugin/plugin.js +17 -35
- package/dist/esm/get-global-theme.js +22 -0
- package/dist/esm/get-token-value.js +1 -6
- package/dist/esm/get-token.js +3 -8
- package/dist/esm/index.js +5 -2
- package/dist/esm/palettes/legacy-palette.js +1 -0
- package/dist/esm/palettes/spacing-scale.js +1 -0
- package/dist/esm/palettes/typography-palette.js +0 -3
- package/dist/esm/set-global-theme.js +263 -37
- package/dist/esm/theme-config.js +5 -21
- package/dist/esm/{theme-change-observer.js → theme-mutation-observer.js} +4 -49
- package/dist/esm/tokens/atlassian-dark/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-light/utility/utility.js +1 -4
- package/dist/esm/tokens/atlassian-spacing/spacing.js +0 -227
- package/dist/esm/tokens/default/spacing/spacing.js +0 -620
- package/dist/esm/tokens/default/utility/utility.js +1 -9
- package/dist/esm/use-theme-observer.js +34 -0
- package/dist/esm/utils/color-detection.js +23 -30
- package/dist/esm/utils/theme-loading.js +60 -0
- package/dist/esm/utils/theme-state-transformer.js +64 -0
- package/dist/esm/utils/token-ids.js +5 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +16 -0
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-light.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-spacing.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +7 -0
- package/dist/types/artifacts/token-default-values.d.ts +2 -169
- package/dist/types/artifacts/token-names.d.ts +3 -337
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -115
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -115
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -91
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -91
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -89
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/get-global-theme.d.ts +2 -0
- package/dist/types/index.d.ts +7 -3
- package/dist/types/set-global-theme.d.ts +63 -7
- package/dist/types/theme-config.d.ts +10 -7
- package/dist/types/{theme-change-observer.d.ts → theme-mutation-observer.d.ts} +2 -16
- package/dist/types/types.d.ts +1 -286
- package/dist/types/use-theme-observer.d.ts +15 -0
- package/dist/types/utils/theme-loading.d.ts +3 -0
- package/dist/types/utils/theme-state-transformer.d.ts +26 -0
- package/figma/atlassian-dark.json +1 -102
- package/figma/atlassian-legacy-dark.json +1 -102
- package/figma/atlassian-legacy-light.json +1 -102
- package/figma/atlassian-light.json +1 -102
- package/figma/atlassian-spacing.json +1 -761
- package/package.json +5 -8
- package/report.api.md +85 -351
- package/tmp/api-report-tmp.d.ts +58 -342
- package/css/atlassian-dark.css +0 -786
- package/css/atlassian-legacy-dark.css +0 -786
- package/css/atlassian-legacy-light.css +0 -786
- package/css/atlassian-light.css +0 -786
- package/css/atlassian-spacing.css +0 -87
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +0 -407
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +0 -435
- package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -532
- package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -523
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +0 -421
- package/dist/cjs/tokens/default/deprecated/deprecated.js +0 -1186
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
- package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
- package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +0 -414
- package/dist/es2019/tokens/default/deprecated/deprecated.js +0 -1217
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +0 -399
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +0 -428
- package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +0 -525
- package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +0 -516
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +0 -414
- package/dist/esm/tokens/default/deprecated/deprecated.js +0 -1179
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -399
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +0 -4
package/dist/types/types.d.ts
CHANGED
|
@@ -696,9 +696,8 @@ export interface ChartColorTokenSchema<BaseToken> {
|
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
698
|
export interface UtilTokenSchema<BaseToken> {
|
|
699
|
-
|
|
699
|
+
UNSAFE: {
|
|
700
700
|
transparent: RawToken;
|
|
701
|
-
MISSING_TOKEN: RawToken;
|
|
702
701
|
};
|
|
703
702
|
}
|
|
704
703
|
export interface SurfaceTokenSchema<BaseToken> {
|
|
@@ -742,184 +741,6 @@ export interface OpacityTokenSchema {
|
|
|
742
741
|
disabled: OpacityToken;
|
|
743
742
|
};
|
|
744
743
|
}
|
|
745
|
-
export interface DeprecatedTokenSchema<BaseToken> {
|
|
746
|
-
color: {
|
|
747
|
-
accent: {
|
|
748
|
-
boldBlue: PaintToken<BaseToken>;
|
|
749
|
-
boldGreen: PaintToken<BaseToken>;
|
|
750
|
-
boldOrange: PaintToken<BaseToken>;
|
|
751
|
-
boldPurple: PaintToken<BaseToken>;
|
|
752
|
-
boldRed: PaintToken<BaseToken>;
|
|
753
|
-
boldTeal: PaintToken<BaseToken>;
|
|
754
|
-
subtleBlue: PaintToken<BaseToken>;
|
|
755
|
-
subtleRed: PaintToken<BaseToken>;
|
|
756
|
-
subtleGreen: PaintToken<BaseToken>;
|
|
757
|
-
subtleOrange: PaintToken<BaseToken>;
|
|
758
|
-
subtleTeal: PaintToken<BaseToken>;
|
|
759
|
-
subtlePurple: PaintToken<BaseToken>;
|
|
760
|
-
subtleMagenta: PaintToken<BaseToken>;
|
|
761
|
-
};
|
|
762
|
-
background: {
|
|
763
|
-
accent: {
|
|
764
|
-
blue: {
|
|
765
|
-
'[default]': PaintToken<BaseToken>;
|
|
766
|
-
bold: PaintToken<BaseToken>;
|
|
767
|
-
};
|
|
768
|
-
red: {
|
|
769
|
-
'[default]': PaintToken<BaseToken>;
|
|
770
|
-
bold: PaintToken<BaseToken>;
|
|
771
|
-
};
|
|
772
|
-
orange: {
|
|
773
|
-
'[default]': PaintToken<BaseToken>;
|
|
774
|
-
bold: PaintToken<BaseToken>;
|
|
775
|
-
};
|
|
776
|
-
yellow: {
|
|
777
|
-
'[default]': PaintToken<BaseToken>;
|
|
778
|
-
bold: PaintToken<BaseToken>;
|
|
779
|
-
};
|
|
780
|
-
green: {
|
|
781
|
-
'[default]': PaintToken<BaseToken>;
|
|
782
|
-
bold: PaintToken<BaseToken>;
|
|
783
|
-
};
|
|
784
|
-
teal: {
|
|
785
|
-
'[default]': PaintToken<BaseToken>;
|
|
786
|
-
bold: PaintToken<BaseToken>;
|
|
787
|
-
};
|
|
788
|
-
purple: {
|
|
789
|
-
'[default]': PaintToken<BaseToken>;
|
|
790
|
-
bold: PaintToken<BaseToken>;
|
|
791
|
-
};
|
|
792
|
-
magenta: {
|
|
793
|
-
'[default]': PaintToken<BaseToken>;
|
|
794
|
-
bold: PaintToken<BaseToken>;
|
|
795
|
-
};
|
|
796
|
-
};
|
|
797
|
-
default: PaintToken<BaseToken>;
|
|
798
|
-
sunken: PaintToken<BaseToken>;
|
|
799
|
-
card: PaintToken<BaseToken>;
|
|
800
|
-
inverse: {
|
|
801
|
-
'[default]': PaintToken<BaseToken>;
|
|
802
|
-
};
|
|
803
|
-
overlay: PaintToken<BaseToken>;
|
|
804
|
-
selected: {
|
|
805
|
-
resting: PaintToken<BaseToken>;
|
|
806
|
-
hover: PaintToken<BaseToken>;
|
|
807
|
-
};
|
|
808
|
-
blanket: PaintToken<BaseToken>;
|
|
809
|
-
brand: {
|
|
810
|
-
'[default]': {
|
|
811
|
-
'[default]': PaintToken<BaseToken>;
|
|
812
|
-
hovered: PaintToken<BaseToken>;
|
|
813
|
-
pressed: PaintToken<BaseToken>;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
boldBrand: {
|
|
817
|
-
resting: PaintToken<BaseToken>;
|
|
818
|
-
hover: PaintToken<BaseToken>;
|
|
819
|
-
pressed: PaintToken<BaseToken>;
|
|
820
|
-
};
|
|
821
|
-
subtleBrand: {
|
|
822
|
-
resting: PaintToken<BaseToken>;
|
|
823
|
-
hover: PaintToken<BaseToken>;
|
|
824
|
-
pressed: PaintToken<BaseToken>;
|
|
825
|
-
};
|
|
826
|
-
boldDanger: {
|
|
827
|
-
resting: PaintToken<BaseToken>;
|
|
828
|
-
hover: PaintToken<BaseToken>;
|
|
829
|
-
pressed: PaintToken<BaseToken>;
|
|
830
|
-
};
|
|
831
|
-
subtleDanger: {
|
|
832
|
-
resting: PaintToken<BaseToken>;
|
|
833
|
-
hover: PaintToken<BaseToken>;
|
|
834
|
-
pressed: PaintToken<BaseToken>;
|
|
835
|
-
};
|
|
836
|
-
boldWarning: {
|
|
837
|
-
resting: PaintToken<BaseToken>;
|
|
838
|
-
hover: PaintToken<BaseToken>;
|
|
839
|
-
pressed: PaintToken<BaseToken>;
|
|
840
|
-
};
|
|
841
|
-
subtleWarning: {
|
|
842
|
-
resting: PaintToken<BaseToken>;
|
|
843
|
-
hover: PaintToken<BaseToken>;
|
|
844
|
-
pressed: PaintToken<BaseToken>;
|
|
845
|
-
};
|
|
846
|
-
boldSuccess: {
|
|
847
|
-
resting: PaintToken<BaseToken>;
|
|
848
|
-
hover: PaintToken<BaseToken>;
|
|
849
|
-
pressed: PaintToken<BaseToken>;
|
|
850
|
-
};
|
|
851
|
-
subtleSuccess: {
|
|
852
|
-
resting: PaintToken<BaseToken>;
|
|
853
|
-
hover: PaintToken<BaseToken>;
|
|
854
|
-
pressed: PaintToken<BaseToken>;
|
|
855
|
-
};
|
|
856
|
-
boldDiscovery: {
|
|
857
|
-
resting: PaintToken<BaseToken>;
|
|
858
|
-
hover: PaintToken<BaseToken>;
|
|
859
|
-
pressed: PaintToken<BaseToken>;
|
|
860
|
-
};
|
|
861
|
-
subtleDiscovery: {
|
|
862
|
-
resting: PaintToken<BaseToken>;
|
|
863
|
-
hover: PaintToken<BaseToken>;
|
|
864
|
-
pressed: PaintToken<BaseToken>;
|
|
865
|
-
};
|
|
866
|
-
boldNeutral: {
|
|
867
|
-
resting: PaintToken<BaseToken>;
|
|
868
|
-
hover: PaintToken<BaseToken>;
|
|
869
|
-
pressed: PaintToken<BaseToken>;
|
|
870
|
-
};
|
|
871
|
-
transparentNeutral: {
|
|
872
|
-
hover: PaintToken<BaseToken>;
|
|
873
|
-
pressed: PaintToken<BaseToken>;
|
|
874
|
-
};
|
|
875
|
-
subtleNeutral: {
|
|
876
|
-
resting: PaintToken<BaseToken>;
|
|
877
|
-
hover: PaintToken<BaseToken>;
|
|
878
|
-
pressed: PaintToken<BaseToken>;
|
|
879
|
-
};
|
|
880
|
-
subtleBorderedNeutral: {
|
|
881
|
-
resting: PaintToken<BaseToken>;
|
|
882
|
-
pressed: PaintToken<BaseToken>;
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
border: {
|
|
886
|
-
focus: PaintToken<BaseToken>;
|
|
887
|
-
neutral: PaintToken<BaseToken>;
|
|
888
|
-
};
|
|
889
|
-
iconBorder: {
|
|
890
|
-
brand: PaintToken<BaseToken>;
|
|
891
|
-
danger: PaintToken<BaseToken>;
|
|
892
|
-
warning: PaintToken<BaseToken>;
|
|
893
|
-
success: PaintToken<BaseToken>;
|
|
894
|
-
discovery: PaintToken<BaseToken>;
|
|
895
|
-
};
|
|
896
|
-
text: {
|
|
897
|
-
highEmphasis: PaintToken<BaseToken>;
|
|
898
|
-
mediumEmphasis: PaintToken<BaseToken>;
|
|
899
|
-
lowEmphasis: PaintToken<BaseToken>;
|
|
900
|
-
onBold: PaintToken<BaseToken>;
|
|
901
|
-
onBoldWarning: PaintToken<BaseToken>;
|
|
902
|
-
link: {
|
|
903
|
-
resting: PaintToken<BaseToken>;
|
|
904
|
-
pressed: PaintToken<BaseToken>;
|
|
905
|
-
};
|
|
906
|
-
};
|
|
907
|
-
overlay: {
|
|
908
|
-
pressed: PaintToken<BaseToken>;
|
|
909
|
-
hover: PaintToken<BaseToken>;
|
|
910
|
-
};
|
|
911
|
-
interaction: {
|
|
912
|
-
inverse: {
|
|
913
|
-
hovered: PaintToken<BaseToken>;
|
|
914
|
-
pressed: PaintToken<BaseToken>;
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
shadow: {
|
|
919
|
-
card: ShadowToken<BaseToken>;
|
|
920
|
-
overlay: ShadowToken<BaseToken>;
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
744
|
export declare type ElevationTokenSchema<BaseToken> = SurfaceTokenSchema<BaseToken> & ShadowTokenSchema<BaseToken>;
|
|
924
745
|
export declare type ColorTokenSchema<BaseToken> = BackgroundColorTokenSchema<BaseToken> & BorderColorTokenSchema<BaseToken> & IconColorTokenSchema<BaseToken> & TextColorTokenSchema<BaseToken> & AccentColorTokenSchema<BaseToken> & UtilTokenSchema<BaseToken>;
|
|
925
746
|
export declare type TokenSchema<BaseToken> = ColorTokenSchema<BaseToken> & ElevationTokenSchema<BaseToken>;
|
|
@@ -940,112 +761,6 @@ export interface SpacingTokenSchema {
|
|
|
940
761
|
'800': SpacingToken;
|
|
941
762
|
'1000': SpacingToken;
|
|
942
763
|
};
|
|
943
|
-
spacing: {
|
|
944
|
-
scale: {
|
|
945
|
-
'0': SpacingToken;
|
|
946
|
-
'025': SpacingToken;
|
|
947
|
-
'050': SpacingToken;
|
|
948
|
-
'075': SpacingToken;
|
|
949
|
-
'100': SpacingToken;
|
|
950
|
-
'150': SpacingToken;
|
|
951
|
-
'200': SpacingToken;
|
|
952
|
-
'250': SpacingToken;
|
|
953
|
-
'300': SpacingToken;
|
|
954
|
-
'400': SpacingToken;
|
|
955
|
-
'500': SpacingToken;
|
|
956
|
-
'600': SpacingToken;
|
|
957
|
-
'800': SpacingToken;
|
|
958
|
-
'1000': SpacingToken;
|
|
959
|
-
};
|
|
960
|
-
scaleLinear: {
|
|
961
|
-
'0': SpacingToken;
|
|
962
|
-
'100': SpacingToken;
|
|
963
|
-
'200': SpacingToken;
|
|
964
|
-
'300': SpacingToken;
|
|
965
|
-
'400': SpacingToken;
|
|
966
|
-
'500': SpacingToken;
|
|
967
|
-
'600': SpacingToken;
|
|
968
|
-
'700': SpacingToken;
|
|
969
|
-
'800': SpacingToken;
|
|
970
|
-
'900': SpacingToken;
|
|
971
|
-
'1000': SpacingToken;
|
|
972
|
-
'1100': SpacingToken;
|
|
973
|
-
};
|
|
974
|
-
size: {
|
|
975
|
-
none: SpacingToken;
|
|
976
|
-
xxxxSmall: SpacingToken;
|
|
977
|
-
xxxSmall: SpacingToken;
|
|
978
|
-
xxSmall: SpacingToken;
|
|
979
|
-
xsmall: SpacingToken;
|
|
980
|
-
small: SpacingToken;
|
|
981
|
-
medium: SpacingToken;
|
|
982
|
-
large: SpacingToken;
|
|
983
|
-
xlarge: SpacingToken;
|
|
984
|
-
xxlarge: SpacingToken;
|
|
985
|
-
xxxlarge: SpacingToken;
|
|
986
|
-
xxxxlarge: SpacingToken;
|
|
987
|
-
};
|
|
988
|
-
ecl: {
|
|
989
|
-
element: {
|
|
990
|
-
'2': SpacingToken;
|
|
991
|
-
'4': SpacingToken;
|
|
992
|
-
'6': SpacingToken;
|
|
993
|
-
'8': SpacingToken;
|
|
994
|
-
};
|
|
995
|
-
container: {
|
|
996
|
-
'12': SpacingToken;
|
|
997
|
-
'16': SpacingToken;
|
|
998
|
-
'20': SpacingToken;
|
|
999
|
-
'24': SpacingToken;
|
|
1000
|
-
};
|
|
1001
|
-
layout: {
|
|
1002
|
-
'32': SpacingToken;
|
|
1003
|
-
'40': SpacingToken;
|
|
1004
|
-
'64': SpacingToken;
|
|
1005
|
-
};
|
|
1006
|
-
};
|
|
1007
|
-
ccc: {
|
|
1008
|
-
component: {
|
|
1009
|
-
'2': SpacingToken;
|
|
1010
|
-
'4': SpacingToken;
|
|
1011
|
-
'6': SpacingToken;
|
|
1012
|
-
'8': SpacingToken;
|
|
1013
|
-
};
|
|
1014
|
-
content: {
|
|
1015
|
-
'12': SpacingToken;
|
|
1016
|
-
'16': SpacingToken;
|
|
1017
|
-
'20': SpacingToken;
|
|
1018
|
-
'24': SpacingToken;
|
|
1019
|
-
};
|
|
1020
|
-
container: {
|
|
1021
|
-
'32': SpacingToken;
|
|
1022
|
-
'40': SpacingToken;
|
|
1023
|
-
'48': SpacingToken;
|
|
1024
|
-
};
|
|
1025
|
-
};
|
|
1026
|
-
gap: {
|
|
1027
|
-
'100': {
|
|
1028
|
-
value: 'Space100';
|
|
1029
|
-
};
|
|
1030
|
-
'200': {
|
|
1031
|
-
value: 'Space200';
|
|
1032
|
-
};
|
|
1033
|
-
'300': {
|
|
1034
|
-
value: 'Space300';
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
inset: {
|
|
1038
|
-
'100': {
|
|
1039
|
-
value: 'Space100';
|
|
1040
|
-
};
|
|
1041
|
-
'200': {
|
|
1042
|
-
value: 'Space200';
|
|
1043
|
-
};
|
|
1044
|
-
'300': {
|
|
1045
|
-
value: 'Space300';
|
|
1046
|
-
};
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
764
|
}
|
|
1050
765
|
export interface FontSizeTokenSchema<BaseToken> {
|
|
1051
766
|
font: {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ThemeState } from './set-global-theme';
|
|
2
|
+
/**
|
|
3
|
+
* A React hook which returns the current themes and color-mode set on `<html>`.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```
|
|
7
|
+
* const { colorMode, dark, light, spacing, typography } = useThemeObserver();
|
|
8
|
+
*
|
|
9
|
+
* // Performing side effects when it changes
|
|
10
|
+
* useEffect(() => {
|
|
11
|
+
* console.log(`The color mode has changed to ${theme.colorMode}`);
|
|
12
|
+
* }, [theme.colorMode]);
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare const useThemeObserver: () => Partial<ThemeState>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ThemeState } from '../set-global-theme';
|
|
2
|
+
/**
|
|
3
|
+
* Converts a string that is formatted for the `data-theme` HTML attribute
|
|
4
|
+
* to an object that can be passed to `setGlobalTheme`.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} themes The themes that should be applied.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```
|
|
10
|
+
* themeStringToObject('dark:dark light:legacy-light spacing:spacing');
|
|
11
|
+
* // returns { dark: 'dark', light: 'legacy-light', spacing: 'spacing' }
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const themeStringToObject: (themeState: string) => Partial<ThemeState>;
|
|
15
|
+
/**
|
|
16
|
+
* Converts a theme object to a string formatted for the `data-theme` HTML attribute.
|
|
17
|
+
*
|
|
18
|
+
* @param {object} themes The themes that should be applied.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```
|
|
22
|
+
* themeObjectToString({ dark: 'dark', light: 'legacy-light', spacing: 'spacing' });
|
|
23
|
+
* // returns 'dark:dark light:legacy-light spacing:spacing'
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const themeObjectToString: (themeState: Partial<ThemeState>) => string;
|
|
@@ -2628,106 +2628,5 @@
|
|
|
2628
2628
|
]
|
|
2629
2629
|
}
|
|
2630
2630
|
},
|
|
2631
|
-
"renameMap": {
|
|
2632
|
-
"Dark/color.text.highEmphasis": "Dark/color.text",
|
|
2633
|
-
"Dark/color.text.link.pressed": "Dark/color.link.pressed",
|
|
2634
|
-
"Dark/color.text.link.resting": "Dark/color.link",
|
|
2635
|
-
"Dark/color.text.lowEmphasis": "Dark/color.text.subtlest",
|
|
2636
|
-
"Dark/color.text.mediumEmphasis": "Dark/color.text.subtle",
|
|
2637
|
-
"Dark/color.text.onBold": "Dark/color.text.inverse",
|
|
2638
|
-
"Dark/color.text.onBoldWarning": "Dark/color.text.warning.inverse",
|
|
2639
|
-
"Dark/color.border.focus": "Dark/color.border.focused",
|
|
2640
|
-
"Dark/color.border.neutral": "Dark/color.border",
|
|
2641
|
-
"Dark/color.background.accent.blue": "Dark/color.background.accent.blue.subtler",
|
|
2642
|
-
"Dark/color.background.accent.blue.bold": "Dark/color.background.accent.blue.subtle",
|
|
2643
|
-
"Dark/color.background.accent.red": "Dark/color.background.accent.red.subtler",
|
|
2644
|
-
"Dark/color.background.accent.red.bold": "Dark/color.background.accent.red.subtle",
|
|
2645
|
-
"Dark/color.background.accent.orange": "Dark/color.background.accent.orange.subtler",
|
|
2646
|
-
"Dark/color.background.accent.orange.bold": "Dark/color.background.accent.orange.subtle",
|
|
2647
|
-
"Dark/color.background.accent.yellow": "Dark/color.background.accent.yellow.subtler",
|
|
2648
|
-
"Dark/color.background.accent.yellow.bold": "Dark/color.background.accent.yellow.subtle",
|
|
2649
|
-
"Dark/color.background.accent.green": "Dark/color.background.accent.green.subtler",
|
|
2650
|
-
"Dark/color.background.accent.green.bold": "Dark/color.background.accent.green.subtle",
|
|
2651
|
-
"Dark/color.background.accent.teal": "Dark/color.background.accent.teal.subtler",
|
|
2652
|
-
"Dark/color.background.accent.teal.bold": "Dark/color.background.accent.teal.subtle",
|
|
2653
|
-
"Dark/color.background.accent.purple": "Dark/color.background.accent.purple.subtler",
|
|
2654
|
-
"Dark/color.background.accent.purple.bold": "Dark/color.background.accent.purple.subtle",
|
|
2655
|
-
"Dark/color.background.accent.magenta": "Dark/color.background.accent.magenta.subtler",
|
|
2656
|
-
"Dark/color.background.accent.magenta.bold": "Dark/color.background.accent.magenta.subtle",
|
|
2657
|
-
"Dark/color.background.inverse": "Dark/color.background.inverse.subtle",
|
|
2658
|
-
"Dark/color.background.brand": "Dark/color.background.selected",
|
|
2659
|
-
"Dark/color.background.brand.hovered": "Dark/color.background.selected.hovered",
|
|
2660
|
-
"Dark/color.background.brand.pressed": "Dark/color.background.selected.pressed",
|
|
2661
|
-
"Dark/color.background.selected.resting": "Dark/color.background.selected",
|
|
2662
|
-
"Dark/color.background.selected.hover": "Dark/color.background.selected.hovered",
|
|
2663
|
-
"Dark/color.background.blanket": "Dark/color.blanket",
|
|
2664
|
-
"Dark/color.background.boldBrand.hover": "Dark/color.background.brand.bold.hovered",
|
|
2665
|
-
"Dark/color.background.boldBrand.pressed": "Dark/color.background.brand.bold.pressed",
|
|
2666
|
-
"Dark/color.background.boldBrand.resting": "Dark/color.background.brand.bold",
|
|
2667
|
-
"Dark/color.background.boldDanger.hover": "Dark/color.background.danger.bold.hovered",
|
|
2668
|
-
"Dark/color.background.boldDanger.pressed": "Dark/color.background.danger.bold.pressed",
|
|
2669
|
-
"Dark/color.background.boldDanger.resting": "Dark/color.background.danger.bold",
|
|
2670
|
-
"Dark/color.background.boldDiscovery.hover": "Dark/color.background.discovery.bold.hovered",
|
|
2671
|
-
"Dark/color.background.boldDiscovery.pressed": "Dark/color.background.discovery.bold.pressed",
|
|
2672
|
-
"Dark/color.background.boldDiscovery.resting": "Dark/color.background.discovery.bold",
|
|
2673
|
-
"Dark/color.background.boldNeutral.hover": "Dark/color.background.neutral.bold.hovered",
|
|
2674
|
-
"Dark/color.background.boldNeutral.pressed": "Dark/color.background.neutral.bold.pressed",
|
|
2675
|
-
"Dark/color.background.boldNeutral.resting": "Dark/color.background.neutral.bold",
|
|
2676
|
-
"Dark/color.background.boldSuccess.hover": "Dark/color.background.success.bold.hovered",
|
|
2677
|
-
"Dark/color.background.boldSuccess.pressed": "Dark/color.background.success.bold.pressed",
|
|
2678
|
-
"Dark/color.background.boldSuccess.resting": "Dark/color.background.success.bold",
|
|
2679
|
-
"Dark/color.background.boldWarning.hover": "Dark/color.background.warning.bold.hovered",
|
|
2680
|
-
"Dark/color.background.boldWarning.pressed": "Dark/color.background.warning.bold.pressed",
|
|
2681
|
-
"Dark/color.background.boldWarning.resting": "Dark/color.background.warning.bold",
|
|
2682
|
-
"Dark/color.background.card": "Dark/elevation.surface.raised",
|
|
2683
|
-
"Dark/color.background.default": "Dark/elevation.surface",
|
|
2684
|
-
"Dark/color.background.overlay": "Dark/elevation.surface.overlay",
|
|
2685
|
-
"Dark/color.background.subtleBorderedNeutral.pressed": "Dark/color.background.input.pressed",
|
|
2686
|
-
"Dark/color.background.subtleBorderedNeutral.resting": "Dark/color.background.input",
|
|
2687
|
-
"Dark/color.background.subtleBrand.hover": "Dark/color.background.selected.hovered",
|
|
2688
|
-
"Dark/color.background.subtleBrand.pressed": "Dark/color.background.selected.pressed",
|
|
2689
|
-
"Dark/color.background.subtleBrand.resting": "Dark/color.background.selected",
|
|
2690
|
-
"Dark/color.background.subtleDanger.hover": "Dark/color.background.danger.hovered",
|
|
2691
|
-
"Dark/color.background.subtleDanger.pressed": "Dark/color.background.danger.pressed",
|
|
2692
|
-
"Dark/color.background.subtleDanger.resting": "Dark/color.background.danger",
|
|
2693
|
-
"Dark/color.background.subtleDiscovery.hover": "Dark/color.background.discovery.hovered",
|
|
2694
|
-
"Dark/color.background.subtleDiscovery.pressed": "Dark/color.background.discovery.pressed",
|
|
2695
|
-
"Dark/color.background.subtleDiscovery.resting": "Dark/color.background.discovery",
|
|
2696
|
-
"Dark/color.background.subtleNeutral.hover": "Dark/color.background.neutral.hovered",
|
|
2697
|
-
"Dark/color.background.subtleNeutral.pressed": "Dark/color.background.neutral.pressed",
|
|
2698
|
-
"Dark/color.background.subtleNeutral.resting": "Dark/color.background.neutral",
|
|
2699
|
-
"Dark/color.background.subtleSuccess.hover": "Dark/color.background.success.hovered",
|
|
2700
|
-
"Dark/color.background.subtleSuccess.pressed": "Dark/color.background.success.pressed",
|
|
2701
|
-
"Dark/color.background.subtleSuccess.resting": "Dark/color.background.success",
|
|
2702
|
-
"Dark/color.background.subtleWarning.hover": "Dark/color.background.warning.hovered",
|
|
2703
|
-
"Dark/color.background.subtleWarning.pressed": "Dark/color.background.warning.pressed",
|
|
2704
|
-
"Dark/color.background.subtleWarning.resting": "Dark/color.background.warning",
|
|
2705
|
-
"Dark/color.background.sunken": "Dark/elevation.surface.sunken",
|
|
2706
|
-
"Dark/color.background.transparentNeutral.hover": "Dark/color.background.neutral.subtle.hovered",
|
|
2707
|
-
"Dark/color.background.transparentNeutral.pressed": "Dark/color.background.neutral.subtle.pressed",
|
|
2708
|
-
"Dark/color.interaction.inverse.hovered": "Dark/color.background.inverse.subtle.hovered",
|
|
2709
|
-
"Dark/color.interaction.inverse.pressed": "Dark/color.background.inverse.subtle.pressed",
|
|
2710
|
-
"Dark/color.accent.boldBlue": "Dark/color.background.accent.blue.bolder",
|
|
2711
|
-
"Dark/color.accent.boldGreen": "Dark/color.background.accent.green.bolder",
|
|
2712
|
-
"Dark/color.accent.boldOrange": "Dark/color.background.accent.orange.bolder",
|
|
2713
|
-
"Dark/color.accent.boldPurple": "Dark/color.background.accent.purple.bolder",
|
|
2714
|
-
"Dark/color.accent.boldRed": "Dark/color.background.accent.red.bolder",
|
|
2715
|
-
"Dark/color.accent.boldTeal": "Dark/color.background.accent.teal.bolder",
|
|
2716
|
-
"Dark/color.accent.subtleBlue": "Dark/color.background.accent.blue.subtler",
|
|
2717
|
-
"Dark/color.accent.subtleGreen": "Dark/color.background.accent.green.subtler",
|
|
2718
|
-
"Dark/color.accent.subtleMagenta": "Dark/color.background.accent.magenta.subtler",
|
|
2719
|
-
"Dark/color.accent.subtleOrange": "Dark/color.background.accent.orange.subtler",
|
|
2720
|
-
"Dark/color.accent.subtlePurple": "Dark/color.background.accent.purple.subtler",
|
|
2721
|
-
"Dark/color.accent.subtleRed": "Dark/color.background.accent.red.subtler",
|
|
2722
|
-
"Dark/color.accent.subtleTeal": "Dark/color.background.accent.teal.subtler",
|
|
2723
|
-
"Dark/color.iconBorder.brand": "Dark/color.icon.brand",
|
|
2724
|
-
"Dark/color.iconBorder.danger": "Dark/color.icon.danger",
|
|
2725
|
-
"Dark/color.iconBorder.discovery": "Dark/color.icon.discovery",
|
|
2726
|
-
"Dark/color.iconBorder.success": "Dark/color.icon.success",
|
|
2727
|
-
"Dark/color.iconBorder.warning": "Dark/color.icon.warning",
|
|
2728
|
-
"Dark/color.overlay.hover": "Dark/color.interaction.hovered",
|
|
2729
|
-
"Dark/color.overlay.pressed": "Dark/color.interaction.pressed",
|
|
2730
|
-
"Dark/shadow.card": "Dark/elevation.shadow.raised",
|
|
2731
|
-
"Dark/shadow.overlay": "Dark/elevation.shadow.overlay"
|
|
2732
|
-
}
|
|
2631
|
+
"renameMap": {}
|
|
2733
2632
|
}
|
|
@@ -2628,106 +2628,5 @@
|
|
|
2628
2628
|
]
|
|
2629
2629
|
}
|
|
2630
2630
|
},
|
|
2631
|
-
"renameMap": {
|
|
2632
|
-
"Legacy dark/color.text.highEmphasis": "Legacy dark/color.text",
|
|
2633
|
-
"Legacy dark/color.text.link.pressed": "Legacy dark/color.link.pressed",
|
|
2634
|
-
"Legacy dark/color.text.link.resting": "Legacy dark/color.link",
|
|
2635
|
-
"Legacy dark/color.text.lowEmphasis": "Legacy dark/color.text.subtlest",
|
|
2636
|
-
"Legacy dark/color.text.mediumEmphasis": "Legacy dark/color.text.subtle",
|
|
2637
|
-
"Legacy dark/color.text.onBold": "Legacy dark/color.text.inverse",
|
|
2638
|
-
"Legacy dark/color.text.onBoldWarning": "Legacy dark/color.text.warning.inverse",
|
|
2639
|
-
"Legacy dark/color.border.focus": "Legacy dark/color.border.focused",
|
|
2640
|
-
"Legacy dark/color.border.neutral": "Legacy dark/color.border",
|
|
2641
|
-
"Legacy dark/color.background.accent.blue": "Legacy dark/color.background.accent.blue.subtler",
|
|
2642
|
-
"Legacy dark/color.background.accent.blue.bold": "Legacy dark/color.background.accent.blue.subtle",
|
|
2643
|
-
"Legacy dark/color.background.accent.red": "Legacy dark/color.background.accent.red.subtler",
|
|
2644
|
-
"Legacy dark/color.background.accent.red.bold": "Legacy dark/color.background.accent.red.subtle",
|
|
2645
|
-
"Legacy dark/color.background.accent.orange": "Legacy dark/color.background.accent.orange.subtler",
|
|
2646
|
-
"Legacy dark/color.background.accent.orange.bold": "Legacy dark/color.background.accent.orange.subtle",
|
|
2647
|
-
"Legacy dark/color.background.accent.yellow": "Legacy dark/color.background.accent.yellow.subtler",
|
|
2648
|
-
"Legacy dark/color.background.accent.yellow.bold": "Legacy dark/color.background.accent.yellow.subtle",
|
|
2649
|
-
"Legacy dark/color.background.accent.green": "Legacy dark/color.background.accent.green.subtler",
|
|
2650
|
-
"Legacy dark/color.background.accent.green.bold": "Legacy dark/color.background.accent.green.subtle",
|
|
2651
|
-
"Legacy dark/color.background.accent.teal": "Legacy dark/color.background.accent.teal.subtler",
|
|
2652
|
-
"Legacy dark/color.background.accent.teal.bold": "Legacy dark/color.background.accent.teal.subtle",
|
|
2653
|
-
"Legacy dark/color.background.accent.purple": "Legacy dark/color.background.accent.purple.subtler",
|
|
2654
|
-
"Legacy dark/color.background.accent.purple.bold": "Legacy dark/color.background.accent.purple.subtle",
|
|
2655
|
-
"Legacy dark/color.background.accent.magenta": "Legacy dark/color.background.accent.magenta.subtler",
|
|
2656
|
-
"Legacy dark/color.background.accent.magenta.bold": "Legacy dark/color.background.accent.magenta.subtle",
|
|
2657
|
-
"Legacy dark/color.background.inverse": "Legacy dark/color.background.inverse.subtle",
|
|
2658
|
-
"Legacy dark/color.background.brand": "Legacy dark/color.background.selected",
|
|
2659
|
-
"Legacy dark/color.background.brand.hovered": "Legacy dark/color.background.selected.hovered",
|
|
2660
|
-
"Legacy dark/color.background.brand.pressed": "Legacy dark/color.background.selected.pressed",
|
|
2661
|
-
"Legacy dark/color.background.selected.resting": "Legacy dark/color.background.selected",
|
|
2662
|
-
"Legacy dark/color.background.selected.hover": "Legacy dark/color.background.selected.hovered",
|
|
2663
|
-
"Legacy dark/color.background.blanket": "Legacy dark/color.blanket",
|
|
2664
|
-
"Legacy dark/color.background.boldBrand.hover": "Legacy dark/color.background.brand.bold.hovered",
|
|
2665
|
-
"Legacy dark/color.background.boldBrand.pressed": "Legacy dark/color.background.brand.bold.pressed",
|
|
2666
|
-
"Legacy dark/color.background.boldBrand.resting": "Legacy dark/color.background.brand.bold",
|
|
2667
|
-
"Legacy dark/color.background.boldDanger.hover": "Legacy dark/color.background.danger.bold.hovered",
|
|
2668
|
-
"Legacy dark/color.background.boldDanger.pressed": "Legacy dark/color.background.danger.bold.pressed",
|
|
2669
|
-
"Legacy dark/color.background.boldDanger.resting": "Legacy dark/color.background.danger.bold",
|
|
2670
|
-
"Legacy dark/color.background.boldDiscovery.hover": "Legacy dark/color.background.discovery.bold.hovered",
|
|
2671
|
-
"Legacy dark/color.background.boldDiscovery.pressed": "Legacy dark/color.background.discovery.bold.pressed",
|
|
2672
|
-
"Legacy dark/color.background.boldDiscovery.resting": "Legacy dark/color.background.discovery.bold",
|
|
2673
|
-
"Legacy dark/color.background.boldNeutral.hover": "Legacy dark/color.background.neutral.bold.hovered",
|
|
2674
|
-
"Legacy dark/color.background.boldNeutral.pressed": "Legacy dark/color.background.neutral.bold.pressed",
|
|
2675
|
-
"Legacy dark/color.background.boldNeutral.resting": "Legacy dark/color.background.neutral.bold",
|
|
2676
|
-
"Legacy dark/color.background.boldSuccess.hover": "Legacy dark/color.background.success.bold.hovered",
|
|
2677
|
-
"Legacy dark/color.background.boldSuccess.pressed": "Legacy dark/color.background.success.bold.pressed",
|
|
2678
|
-
"Legacy dark/color.background.boldSuccess.resting": "Legacy dark/color.background.success.bold",
|
|
2679
|
-
"Legacy dark/color.background.boldWarning.hover": "Legacy dark/color.background.warning.bold.hovered",
|
|
2680
|
-
"Legacy dark/color.background.boldWarning.pressed": "Legacy dark/color.background.warning.bold.pressed",
|
|
2681
|
-
"Legacy dark/color.background.boldWarning.resting": "Legacy dark/color.background.warning.bold",
|
|
2682
|
-
"Legacy dark/color.background.card": "Legacy dark/elevation.surface.raised",
|
|
2683
|
-
"Legacy dark/color.background.default": "Legacy dark/elevation.surface",
|
|
2684
|
-
"Legacy dark/color.background.overlay": "Legacy dark/elevation.surface.overlay",
|
|
2685
|
-
"Legacy dark/color.background.subtleBorderedNeutral.pressed": "Legacy dark/color.background.input.pressed",
|
|
2686
|
-
"Legacy dark/color.background.subtleBorderedNeutral.resting": "Legacy dark/color.background.input",
|
|
2687
|
-
"Legacy dark/color.background.subtleBrand.hover": "Legacy dark/color.background.selected.hovered",
|
|
2688
|
-
"Legacy dark/color.background.subtleBrand.pressed": "Legacy dark/color.background.selected.pressed",
|
|
2689
|
-
"Legacy dark/color.background.subtleBrand.resting": "Legacy dark/color.background.selected",
|
|
2690
|
-
"Legacy dark/color.background.subtleDanger.hover": "Legacy dark/color.background.danger.hovered",
|
|
2691
|
-
"Legacy dark/color.background.subtleDanger.pressed": "Legacy dark/color.background.danger.pressed",
|
|
2692
|
-
"Legacy dark/color.background.subtleDanger.resting": "Legacy dark/color.background.danger",
|
|
2693
|
-
"Legacy dark/color.background.subtleDiscovery.hover": "Legacy dark/color.background.discovery.hovered",
|
|
2694
|
-
"Legacy dark/color.background.subtleDiscovery.pressed": "Legacy dark/color.background.discovery.pressed",
|
|
2695
|
-
"Legacy dark/color.background.subtleDiscovery.resting": "Legacy dark/color.background.discovery",
|
|
2696
|
-
"Legacy dark/color.background.subtleNeutral.hover": "Legacy dark/color.background.neutral.hovered",
|
|
2697
|
-
"Legacy dark/color.background.subtleNeutral.pressed": "Legacy dark/color.background.neutral.pressed",
|
|
2698
|
-
"Legacy dark/color.background.subtleNeutral.resting": "Legacy dark/color.background.neutral",
|
|
2699
|
-
"Legacy dark/color.background.subtleSuccess.hover": "Legacy dark/color.background.success.hovered",
|
|
2700
|
-
"Legacy dark/color.background.subtleSuccess.pressed": "Legacy dark/color.background.success.pressed",
|
|
2701
|
-
"Legacy dark/color.background.subtleSuccess.resting": "Legacy dark/color.background.success",
|
|
2702
|
-
"Legacy dark/color.background.subtleWarning.hover": "Legacy dark/color.background.warning.hovered",
|
|
2703
|
-
"Legacy dark/color.background.subtleWarning.pressed": "Legacy dark/color.background.warning.pressed",
|
|
2704
|
-
"Legacy dark/color.background.subtleWarning.resting": "Legacy dark/color.background.warning",
|
|
2705
|
-
"Legacy dark/color.background.sunken": "Legacy dark/elevation.surface.sunken",
|
|
2706
|
-
"Legacy dark/color.background.transparentNeutral.hover": "Legacy dark/color.background.neutral.subtle.hovered",
|
|
2707
|
-
"Legacy dark/color.background.transparentNeutral.pressed": "Legacy dark/color.background.neutral.subtle.pressed",
|
|
2708
|
-
"Legacy dark/color.interaction.inverse.hovered": "Legacy dark/color.background.inverse.subtle.hovered",
|
|
2709
|
-
"Legacy dark/color.interaction.inverse.pressed": "Legacy dark/color.background.inverse.subtle.pressed",
|
|
2710
|
-
"Legacy dark/color.accent.boldBlue": "Legacy dark/color.background.accent.blue.bolder",
|
|
2711
|
-
"Legacy dark/color.accent.boldGreen": "Legacy dark/color.background.accent.green.bolder",
|
|
2712
|
-
"Legacy dark/color.accent.boldOrange": "Legacy dark/color.background.accent.orange.bolder",
|
|
2713
|
-
"Legacy dark/color.accent.boldPurple": "Legacy dark/color.background.accent.purple.bolder",
|
|
2714
|
-
"Legacy dark/color.accent.boldRed": "Legacy dark/color.background.accent.red.bolder",
|
|
2715
|
-
"Legacy dark/color.accent.boldTeal": "Legacy dark/color.background.accent.teal.bolder",
|
|
2716
|
-
"Legacy dark/color.accent.subtleBlue": "Legacy dark/color.background.accent.blue.subtler",
|
|
2717
|
-
"Legacy dark/color.accent.subtleGreen": "Legacy dark/color.background.accent.green.subtler",
|
|
2718
|
-
"Legacy dark/color.accent.subtleMagenta": "Legacy dark/color.background.accent.magenta.subtler",
|
|
2719
|
-
"Legacy dark/color.accent.subtleOrange": "Legacy dark/color.background.accent.orange.subtler",
|
|
2720
|
-
"Legacy dark/color.accent.subtlePurple": "Legacy dark/color.background.accent.purple.subtler",
|
|
2721
|
-
"Legacy dark/color.accent.subtleRed": "Legacy dark/color.background.accent.red.subtler",
|
|
2722
|
-
"Legacy dark/color.accent.subtleTeal": "Legacy dark/color.background.accent.teal.subtler",
|
|
2723
|
-
"Legacy dark/color.iconBorder.brand": "Legacy dark/color.icon.brand",
|
|
2724
|
-
"Legacy dark/color.iconBorder.danger": "Legacy dark/color.icon.danger",
|
|
2725
|
-
"Legacy dark/color.iconBorder.discovery": "Legacy dark/color.icon.discovery",
|
|
2726
|
-
"Legacy dark/color.iconBorder.success": "Legacy dark/color.icon.success",
|
|
2727
|
-
"Legacy dark/color.iconBorder.warning": "Legacy dark/color.icon.warning",
|
|
2728
|
-
"Legacy dark/color.overlay.hover": "Legacy dark/color.interaction.hovered",
|
|
2729
|
-
"Legacy dark/color.overlay.pressed": "Legacy dark/color.interaction.pressed",
|
|
2730
|
-
"Legacy dark/shadow.card": "Legacy dark/elevation.shadow.raised",
|
|
2731
|
-
"Legacy dark/shadow.overlay": "Legacy dark/elevation.shadow.overlay"
|
|
2732
|
-
}
|
|
2631
|
+
"renameMap": {}
|
|
2733
2632
|
}
|