@atlaskit/tokens 1.14.2 → 1.15.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 +6 -0
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +277 -37
- package/dist/cjs/artifacts/theme-import-map.js +10 -4
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +13 -0
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +23 -2
- package/dist/cjs/artifacts/token-names.js +22 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1084 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +465 -253
- package/dist/cjs/entry-points/tokens-raw.js +2 -2
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/typography-palette.js +121 -16
- package/dist/cjs/theme-config.js +12 -4
- package/dist/cjs/tokens/atlassian-typography/font-family.js +11 -2
- package/dist/cjs/tokens/atlassian-typography/theme.js +140 -0
- package/dist/cjs/tokens/atlassian-typography/utils.js +29 -0
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +29 -0
- package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.js +8 -8
- package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.js +4 -4
- package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +140 -0
- package/dist/cjs/tokens/atlassian-typography-adg3/utils.js +29 -0
- package/dist/cjs/tokens/default/typography/font-family.js +24 -0
- package/dist/cjs/tokens/default/typography/font.js +133 -0
- package/dist/cjs/tokens/default/typography/letter-spacing.js +54 -0
- package/dist/cjs/tokens/default/typography/line-height.js +8 -0
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +277 -37
- package/dist/es2019/artifacts/theme-import-map.js +6 -4
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +50 -0
- package/dist/es2019/artifacts/themes/atlassian-typography.js +23 -21
- package/dist/es2019/artifacts/token-default-values.js +23 -2
- package/dist/es2019/artifacts/token-names.js +22 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +465 -253
- package/dist/es2019/entry-points/tokens-raw.js +1 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography-palette.js +123 -17
- package/dist/es2019/theme-config.js +12 -4
- package/dist/es2019/tokens/atlassian-typography/font-family.js +11 -2
- package/dist/es2019/tokens/atlassian-typography/theme.js +133 -0
- package/dist/es2019/tokens/atlassian-typography/utils.js +22 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +22 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/font-size.js +31 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/font-weight.js +19 -0
- package/dist/es2019/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +133 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/utils.js +22 -0
- package/dist/es2019/tokens/default/typography/font-family.js +24 -0
- package/dist/es2019/tokens/default/typography/font.js +126 -0
- package/dist/es2019/tokens/default/typography/letter-spacing.js +47 -0
- package/dist/es2019/tokens/default/typography/line-height.js +8 -0
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +277 -37
- package/dist/esm/artifacts/theme-import-map.js +8 -4
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +6 -0
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +23 -2
- package/dist/esm/artifacts/token-names.js +22 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +465 -253
- package/dist/esm/entry-points/tokens-raw.js +1 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography-palette.js +121 -16
- package/dist/esm/theme-config.js +12 -4
- package/dist/esm/tokens/atlassian-typography/font-family.js +11 -2
- package/dist/esm/tokens/atlassian-typography/theme.js +133 -0
- package/dist/esm/tokens/atlassian-typography/utils.js +22 -0
- package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +22 -0
- package/dist/esm/tokens/atlassian-typography-adg3/font-size.js +31 -0
- package/dist/esm/tokens/atlassian-typography-adg3/font-weight.js +19 -0
- package/dist/esm/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +133 -0
- package/dist/esm/tokens/atlassian-typography-adg3/utils.js +22 -0
- package/dist/esm/tokens/default/typography/font-family.js +24 -0
- package/dist/esm/tokens/default/typography/font.js +126 -0
- package/dist/esm/tokens/default/typography/letter-spacing.js +47 -0
- package/dist/esm/tokens/default/typography/line-height.js +8 -0
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +23 -2
- package/dist/types/artifacts/token-names.d.ts +43 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/entry-points/tokens-raw.d.ts +1 -1
- package/dist/types/palettes/typography-palette.d.ts +8 -6
- package/dist/types/theme-config.d.ts +4 -4
- package/dist/types/tokens/atlassian-typography/theme.d.ts +10 -0
- package/dist/types/tokens/atlassian-typography/utils.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
- package/dist/types/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
- package/dist/types/tokens/default/typography/font.d.ts +20 -0
- package/dist/types/tokens/default/typography/letter-spacing.d.ts +4 -0
- package/dist/types/types.d.ts +111 -22
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +23 -2
- package/dist/types-ts4.5/artifacts/token-names.d.ts +43 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
- package/dist/types-ts4.5/palettes/typography-palette.d.ts +8 -6
- package/dist/types-ts4.5/theme-config.d.ts +5 -3
- package/dist/types-ts4.5/tokens/atlassian-typography/theme.d.ts +10 -0
- package/dist/types-ts4.5/tokens/atlassian-typography/utils.d.ts +4 -0
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
- package/dist/types-ts4.5/tokens/default/typography/font.d.ts +20 -0
- package/dist/types-ts4.5/tokens/default/typography/letter-spacing.d.ts +4 -0
- package/dist/types-ts4.5/types.d.ts +111 -22
- package/figma/atlassian-typography-adg3.json +150 -0
- package/figma/atlassian-typography.json +19 -82
- package/package.json +1 -1
- package/report.api.md +60 -2
- package/tmp/api-report-tmp.d.ts +49 -7
- package/dist/es2019/tokens/atlassian-typography/font-size.js +0 -31
- package/dist/es2019/tokens/atlassian-typography/font-weight.js +0 -19
- package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
- package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
- /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
- /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
- /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
- /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
- /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
- /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FontFamilyBaseToken, FontSizeBaseToken, FontWeightBaseToken, LetterSpacingBaseToken, LineHeightBaseToken } from '../../palettes/typography-palette';
|
|
2
|
+
import type { TypographyTokenSchema, ValueSchema } from '../../types';
|
|
3
|
+
declare const typography: ValueSchema<TypographyTokenSchema<{
|
|
4
|
+
fontWeight: FontWeightBaseToken;
|
|
5
|
+
fontFamily: FontFamilyBaseToken;
|
|
6
|
+
fontSize: FontSizeBaseToken;
|
|
7
|
+
lineHeight: LineHeightBaseToken;
|
|
8
|
+
letterSpacing: LetterSpacingBaseToken;
|
|
9
|
+
}>>;
|
|
10
|
+
export default typography;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FontFamilyBaseToken, FontSizeBaseToken, FontWeightBaseToken, LetterSpacingBaseToken, LineHeightBaseToken } from '../../palettes/typography-palette';
|
|
2
|
+
import type { TypographyTokenSchema, ValueSchema } from '../../types';
|
|
3
|
+
declare const typography: ValueSchema<TypographyTokenSchema<{
|
|
4
|
+
fontWeight: FontWeightBaseToken;
|
|
5
|
+
fontFamily: FontFamilyBaseToken;
|
|
6
|
+
fontSize: FontSizeBaseToken;
|
|
7
|
+
lineHeight: LineHeightBaseToken;
|
|
8
|
+
letterSpacing: LetterSpacingBaseToken;
|
|
9
|
+
}>>;
|
|
10
|
+
export default typography;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AttributeSchema, TypographyTokenSchema } from '../../../types';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```js
|
|
6
|
+
* {
|
|
7
|
+
* body: {
|
|
8
|
+
* value: {
|
|
9
|
+
* fontWeight: 500,
|
|
10
|
+
* fontSize: "16px",
|
|
11
|
+
* lineHeight: "22px",
|
|
12
|
+
* fontFamily: "Helvetica",
|
|
13
|
+
* fontStyle: "italic"
|
|
14
|
+
* },
|
|
15
|
+
* type: "typography"
|
|
16
|
+
*}
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const font: AttributeSchema<TypographyTokenSchema<any>>;
|
|
20
|
+
export default font;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InternalTokenIds } from './artifacts/types-internal';
|
|
2
2
|
import type { ShapePaletteToken } from './palettes/shape-palette';
|
|
3
3
|
import type { SpacingPaletteToken } from './palettes/spacing-scale';
|
|
4
|
-
export type Groups = 'raw' | 'paint' | 'shadow' | 'palette' | 'opacity' | 'spacing' | 'shape' | 'typography' | 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight';
|
|
4
|
+
export type Groups = 'raw' | 'paint' | 'shadow' | 'palette' | 'opacity' | 'spacing' | 'shape' | 'typography' | 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing';
|
|
5
5
|
export type ActiveTokenState = 'active';
|
|
6
6
|
export type DeprecatedTokenState = 'deprecated';
|
|
7
7
|
export type DeletedTokenState = 'deleted';
|
|
@@ -108,7 +108,8 @@ export type FontSizeToken<BaseToken> = DesignToken<BaseToken, 'fontSize'>;
|
|
|
108
108
|
export type FontWeightToken<BaseToken> = DesignToken<BaseToken, 'fontWeight'>;
|
|
109
109
|
export type FontFamilyToken<BaseToken> = DesignToken<BaseToken, 'fontFamily'>;
|
|
110
110
|
export type LineHeightToken<BaseToken> = DesignToken<BaseToken, 'lineHeight'>;
|
|
111
|
-
export type
|
|
111
|
+
export type LetterSpacingToken<BaseToken> = DesignToken<BaseToken, 'letterSpacing'>;
|
|
112
|
+
export type DeprecatedTypographyToken<BaseToken> = DesignToken<BaseToken, 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing'>;
|
|
112
113
|
export type RawToken = DesignToken<string, 'raw'>;
|
|
113
114
|
export interface PaletteColorTokenSchema<PaletteValues extends string> {
|
|
114
115
|
value: {
|
|
@@ -145,6 +146,9 @@ export interface FontFamilyPaletteTokenSchema<ScaleValues extends string> {
|
|
|
145
146
|
export interface LineHeightScaleTokenSchema<ScaleValues extends string> {
|
|
146
147
|
lineHeight: Record<ScaleValues, TypographySchemaValue>;
|
|
147
148
|
}
|
|
149
|
+
export interface LetterSpacingScaleTokenSchema<ScaleValues extends string> {
|
|
150
|
+
letterSpacing: Record<ScaleValues, TypographySchemaValue>;
|
|
151
|
+
}
|
|
148
152
|
export interface BackgroundColorTokenSchema<BaseToken> {
|
|
149
153
|
color: {
|
|
150
154
|
blanket: {
|
|
@@ -800,6 +804,56 @@ export interface SpacingTokenSchema {
|
|
|
800
804
|
'1000': SpacingToken;
|
|
801
805
|
};
|
|
802
806
|
}
|
|
807
|
+
/**
|
|
808
|
+
* Typography tokens are complex multi-palette ouputs
|
|
809
|
+
*/
|
|
810
|
+
export type TypographyToken<TPalette extends {
|
|
811
|
+
fontWeight: string;
|
|
812
|
+
fontSize: string;
|
|
813
|
+
lineHeight: string;
|
|
814
|
+
fontFamily: string;
|
|
815
|
+
letterSpacing: string;
|
|
816
|
+
}> = DesignToken<{
|
|
817
|
+
fontStyle: 'normal';
|
|
818
|
+
fontWeight: TPalette['fontWeight'];
|
|
819
|
+
fontFamily: TPalette['fontFamily'];
|
|
820
|
+
fontSize: TPalette['fontSize'];
|
|
821
|
+
lineHeight: TPalette['lineHeight'];
|
|
822
|
+
letterSpacing: TPalette['letterSpacing'];
|
|
823
|
+
}, 'typography'>;
|
|
824
|
+
/**
|
|
825
|
+
* The semantic interface for typography tokens
|
|
826
|
+
*/
|
|
827
|
+
export interface TypographyTokenSchema<TPalette extends {
|
|
828
|
+
fontWeight: string;
|
|
829
|
+
fontSize: string;
|
|
830
|
+
lineHeight: string;
|
|
831
|
+
fontFamily: string;
|
|
832
|
+
letterSpacing: string;
|
|
833
|
+
}> {
|
|
834
|
+
font: {
|
|
835
|
+
heading: {
|
|
836
|
+
xxl: TypographyToken<TPalette>;
|
|
837
|
+
xl: TypographyToken<TPalette>;
|
|
838
|
+
lg: TypographyToken<TPalette>;
|
|
839
|
+
md: TypographyToken<TPalette>;
|
|
840
|
+
sm: TypographyToken<TPalette>;
|
|
841
|
+
xs: TypographyToken<TPalette>;
|
|
842
|
+
xxs: TypographyToken<TPalette>;
|
|
843
|
+
};
|
|
844
|
+
ui: {
|
|
845
|
+
'[default]': TypographyToken<TPalette>;
|
|
846
|
+
sm: TypographyToken<TPalette>;
|
|
847
|
+
};
|
|
848
|
+
body: {
|
|
849
|
+
'[default]': TypographyToken<TPalette>;
|
|
850
|
+
sm: TypographyToken<TPalette>;
|
|
851
|
+
};
|
|
852
|
+
code: {
|
|
853
|
+
'[default]': TypographyToken<TPalette>;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
}
|
|
803
857
|
export interface ShapeTokenSchema {
|
|
804
858
|
border: {
|
|
805
859
|
width: {
|
|
@@ -819,47 +873,82 @@ export interface ShapeTokenSchema {
|
|
|
819
873
|
};
|
|
820
874
|
};
|
|
821
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* @private
|
|
878
|
+
* @deprecated probably
|
|
879
|
+
*/
|
|
822
880
|
export interface FontSizeTokenSchema<BaseToken> {
|
|
823
881
|
font: {
|
|
824
882
|
size: {
|
|
825
|
-
'050':
|
|
826
|
-
'075':
|
|
827
|
-
'100':
|
|
828
|
-
'200':
|
|
829
|
-
'300':
|
|
830
|
-
'400':
|
|
831
|
-
'500':
|
|
832
|
-
'600':
|
|
883
|
+
'050': DeprecatedTypographyToken<BaseToken>;
|
|
884
|
+
'075': DeprecatedTypographyToken<BaseToken>;
|
|
885
|
+
'100': DeprecatedTypographyToken<BaseToken>;
|
|
886
|
+
'200': DeprecatedTypographyToken<BaseToken>;
|
|
887
|
+
'300': DeprecatedTypographyToken<BaseToken>;
|
|
888
|
+
'400': DeprecatedTypographyToken<BaseToken>;
|
|
889
|
+
'500': DeprecatedTypographyToken<BaseToken>;
|
|
890
|
+
'600': DeprecatedTypographyToken<BaseToken>;
|
|
833
891
|
};
|
|
834
892
|
};
|
|
835
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* @private
|
|
896
|
+
* @deprecated probably
|
|
897
|
+
*/
|
|
836
898
|
export interface FontWeightTokenSchema<BaseToken> {
|
|
837
899
|
font: {
|
|
838
900
|
weight: {
|
|
839
|
-
regular:
|
|
840
|
-
medium:
|
|
841
|
-
semibold:
|
|
842
|
-
bold:
|
|
901
|
+
regular: DeprecatedTypographyToken<BaseToken>;
|
|
902
|
+
medium: DeprecatedTypographyToken<BaseToken>;
|
|
903
|
+
semibold: DeprecatedTypographyToken<BaseToken>;
|
|
904
|
+
bold: DeprecatedTypographyToken<BaseToken>;
|
|
843
905
|
};
|
|
844
906
|
};
|
|
845
907
|
}
|
|
846
908
|
export interface FontFamilyTokenSchema<BaseToken> {
|
|
847
909
|
font: {
|
|
848
910
|
family: {
|
|
849
|
-
|
|
850
|
-
|
|
911
|
+
/**
|
|
912
|
+
* @private
|
|
913
|
+
* @deprecated
|
|
914
|
+
*/
|
|
915
|
+
sans: DeprecatedTypographyToken<BaseToken>;
|
|
916
|
+
/**
|
|
917
|
+
* @private
|
|
918
|
+
* @deprecated
|
|
919
|
+
*/
|
|
920
|
+
monospace: DeprecatedTypographyToken<BaseToken>;
|
|
921
|
+
product: DeprecatedTypographyToken<BaseToken>;
|
|
922
|
+
brand: DeprecatedTypographyToken<BaseToken>;
|
|
923
|
+
code: DeprecatedTypographyToken<BaseToken>;
|
|
851
924
|
};
|
|
852
925
|
};
|
|
853
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* @private
|
|
929
|
+
* @deprecated probably
|
|
930
|
+
*/
|
|
854
931
|
export interface LineHeightTokenSchema<BaseToken> {
|
|
855
932
|
font: {
|
|
856
933
|
lineHeight: {
|
|
857
|
-
'
|
|
858
|
-
'
|
|
859
|
-
'
|
|
860
|
-
'
|
|
861
|
-
'
|
|
862
|
-
'
|
|
934
|
+
'1': DeprecatedTypographyToken<BaseToken>;
|
|
935
|
+
'100': DeprecatedTypographyToken<BaseToken>;
|
|
936
|
+
'200': DeprecatedTypographyToken<BaseToken>;
|
|
937
|
+
'300': DeprecatedTypographyToken<BaseToken>;
|
|
938
|
+
'400': DeprecatedTypographyToken<BaseToken>;
|
|
939
|
+
'500': DeprecatedTypographyToken<BaseToken>;
|
|
940
|
+
'600': DeprecatedTypographyToken<BaseToken>;
|
|
941
|
+
};
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
export interface LetterSpacingTokenSchema<BaseToken> {
|
|
945
|
+
font: {
|
|
946
|
+
letterSpacing: {
|
|
947
|
+
'0': DeprecatedTypographyToken<BaseToken>;
|
|
948
|
+
'100': DeprecatedTypographyToken<BaseToken>;
|
|
949
|
+
'200': DeprecatedTypographyToken<BaseToken>;
|
|
950
|
+
'300': DeprecatedTypographyToken<BaseToken>;
|
|
951
|
+
'400': DeprecatedTypographyToken<BaseToken>;
|
|
863
952
|
};
|
|
864
953
|
};
|
|
865
954
|
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Typography adg3",
|
|
3
|
+
"tokens": {
|
|
4
|
+
"Typography adg3/font.family.code": {
|
|
5
|
+
"attributes": {
|
|
6
|
+
"group": "fontFamily",
|
|
7
|
+
"state": "experimental",
|
|
8
|
+
"introduced": "1.14.0",
|
|
9
|
+
"description": "Helpful guidance goes here"
|
|
10
|
+
},
|
|
11
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
12
|
+
},
|
|
13
|
+
"Typography adg3/font.family.monospace": {
|
|
14
|
+
"attributes": {
|
|
15
|
+
"group": "fontFamily",
|
|
16
|
+
"state": "active",
|
|
17
|
+
"introduced": "0.10.33",
|
|
18
|
+
"description": "Helpful guidance goes here"
|
|
19
|
+
},
|
|
20
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
21
|
+
},
|
|
22
|
+
"Typography adg3/font.family.product": {
|
|
23
|
+
"attributes": {
|
|
24
|
+
"group": "fontFamily",
|
|
25
|
+
"state": "experimental",
|
|
26
|
+
"introduced": "1.14.0",
|
|
27
|
+
"description": "Helpful guidance goes here"
|
|
28
|
+
},
|
|
29
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
30
|
+
},
|
|
31
|
+
"Typography adg3/font.family.sans": {
|
|
32
|
+
"attributes": {
|
|
33
|
+
"group": "fontFamily",
|
|
34
|
+
"state": "active",
|
|
35
|
+
"introduced": "0.10.33",
|
|
36
|
+
"description": "Helpful guidance goes here"
|
|
37
|
+
},
|
|
38
|
+
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif"
|
|
39
|
+
},
|
|
40
|
+
"Typography adg3/font.family.brand": {
|
|
41
|
+
"attributes": {
|
|
42
|
+
"group": "fontFamily",
|
|
43
|
+
"state": "experimental",
|
|
44
|
+
"introduced": "1.14.0",
|
|
45
|
+
"description": "Helpful guidance goes here"
|
|
46
|
+
},
|
|
47
|
+
"value": "Charlie Sans"
|
|
48
|
+
},
|
|
49
|
+
"Typography adg3/font.weight.bold": {
|
|
50
|
+
"attributes": {
|
|
51
|
+
"group": "fontWeight",
|
|
52
|
+
"state": "active",
|
|
53
|
+
"introduced": "0.10.33",
|
|
54
|
+
"description": "Helpful guidance goes here"
|
|
55
|
+
},
|
|
56
|
+
"value": "700"
|
|
57
|
+
},
|
|
58
|
+
"Typography adg3/font.weight.medium": {
|
|
59
|
+
"attributes": {
|
|
60
|
+
"group": "fontWeight",
|
|
61
|
+
"state": "active",
|
|
62
|
+
"introduced": "0.10.33",
|
|
63
|
+
"description": "Helpful guidance goes here"
|
|
64
|
+
},
|
|
65
|
+
"value": "500"
|
|
66
|
+
},
|
|
67
|
+
"Typography adg3/font.weight.regular": {
|
|
68
|
+
"attributes": {
|
|
69
|
+
"group": "fontWeight",
|
|
70
|
+
"state": "active",
|
|
71
|
+
"introduced": "0.10.33",
|
|
72
|
+
"description": "Helpful guidance goes here"
|
|
73
|
+
},
|
|
74
|
+
"value": "400"
|
|
75
|
+
},
|
|
76
|
+
"Typography adg3/font.weight.semibold": {
|
|
77
|
+
"attributes": {
|
|
78
|
+
"group": "fontWeight",
|
|
79
|
+
"state": "active",
|
|
80
|
+
"introduced": "0.10.33",
|
|
81
|
+
"description": "Helpful guidance goes here"
|
|
82
|
+
},
|
|
83
|
+
"value": "600"
|
|
84
|
+
},
|
|
85
|
+
"Typography adg3/font.lineHeight.1": {
|
|
86
|
+
"attributes": {
|
|
87
|
+
"group": "lineHeight",
|
|
88
|
+
"state": "active",
|
|
89
|
+
"introduced": "0.10.33",
|
|
90
|
+
"description": "Used single-line text."
|
|
91
|
+
},
|
|
92
|
+
"value": "1"
|
|
93
|
+
},
|
|
94
|
+
"Typography adg3/font.lineHeight.100": {
|
|
95
|
+
"attributes": {
|
|
96
|
+
"group": "lineHeight",
|
|
97
|
+
"state": "active",
|
|
98
|
+
"introduced": "0.10.33",
|
|
99
|
+
"description": "Helpful guidance goes here"
|
|
100
|
+
},
|
|
101
|
+
"value": 16
|
|
102
|
+
},
|
|
103
|
+
"Typography adg3/font.lineHeight.200": {
|
|
104
|
+
"attributes": {
|
|
105
|
+
"group": "lineHeight",
|
|
106
|
+
"state": "active",
|
|
107
|
+
"introduced": "0.10.33",
|
|
108
|
+
"description": "Helpful guidance goes here"
|
|
109
|
+
},
|
|
110
|
+
"value": 20
|
|
111
|
+
},
|
|
112
|
+
"Typography adg3/font.lineHeight.300": {
|
|
113
|
+
"attributes": {
|
|
114
|
+
"group": "lineHeight",
|
|
115
|
+
"state": "active",
|
|
116
|
+
"introduced": "0.10.33",
|
|
117
|
+
"description": "Helpful guidance goes here"
|
|
118
|
+
},
|
|
119
|
+
"value": 24
|
|
120
|
+
},
|
|
121
|
+
"Typography adg3/font.lineHeight.400": {
|
|
122
|
+
"attributes": {
|
|
123
|
+
"group": "lineHeight",
|
|
124
|
+
"state": "active",
|
|
125
|
+
"introduced": "0.10.33",
|
|
126
|
+
"description": "Helpful guidance goes here"
|
|
127
|
+
},
|
|
128
|
+
"value": 28
|
|
129
|
+
},
|
|
130
|
+
"Typography adg3/font.lineHeight.500": {
|
|
131
|
+
"attributes": {
|
|
132
|
+
"group": "lineHeight",
|
|
133
|
+
"state": "active",
|
|
134
|
+
"introduced": "0.10.33",
|
|
135
|
+
"description": "Helpful guidance goes here"
|
|
136
|
+
},
|
|
137
|
+
"value": 32
|
|
138
|
+
},
|
|
139
|
+
"Typography adg3/font.lineHeight.600": {
|
|
140
|
+
"attributes": {
|
|
141
|
+
"group": "lineHeight",
|
|
142
|
+
"state": "active",
|
|
143
|
+
"introduced": "0.10.33",
|
|
144
|
+
"description": "Helpful guidance goes here"
|
|
145
|
+
},
|
|
146
|
+
"value": 40
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"renameMap": {}
|
|
150
|
+
}
|
|
@@ -1,113 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Typography",
|
|
3
3
|
"tokens": {
|
|
4
|
-
"Typography/font.family.
|
|
4
|
+
"Typography/font.family.code": {
|
|
5
5
|
"attributes": {
|
|
6
6
|
"group": "fontFamily",
|
|
7
|
-
"state": "
|
|
8
|
-
"introduced": "
|
|
7
|
+
"state": "experimental",
|
|
8
|
+
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "
|
|
11
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
12
12
|
},
|
|
13
|
-
"Typography/font.family.
|
|
13
|
+
"Typography/font.family.monospace": {
|
|
14
14
|
"attributes": {
|
|
15
15
|
"group": "fontFamily",
|
|
16
16
|
"state": "active",
|
|
17
17
|
"introduced": "0.10.33",
|
|
18
18
|
"description": "Helpful guidance goes here"
|
|
19
19
|
},
|
|
20
|
-
"value": "-
|
|
21
|
-
},
|
|
22
|
-
"Typography/font.weight.bold": {
|
|
23
|
-
"attributes": {
|
|
24
|
-
"group": "fontWeight",
|
|
25
|
-
"state": "active",
|
|
26
|
-
"introduced": "0.10.33",
|
|
27
|
-
"description": "Helpful guidance goes here"
|
|
28
|
-
},
|
|
29
|
-
"value": "700"
|
|
30
|
-
},
|
|
31
|
-
"Typography/font.weight.medium": {
|
|
32
|
-
"attributes": {
|
|
33
|
-
"group": "fontWeight",
|
|
34
|
-
"state": "active",
|
|
35
|
-
"introduced": "0.10.33",
|
|
36
|
-
"description": "Helpful guidance goes here"
|
|
37
|
-
},
|
|
38
|
-
"value": "500"
|
|
39
|
-
},
|
|
40
|
-
"Typography/font.weight.regular": {
|
|
41
|
-
"attributes": {
|
|
42
|
-
"group": "fontWeight",
|
|
43
|
-
"state": "active",
|
|
44
|
-
"introduced": "0.10.33",
|
|
45
|
-
"description": "Helpful guidance goes here"
|
|
46
|
-
},
|
|
47
|
-
"value": "400"
|
|
20
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
48
21
|
},
|
|
49
|
-
"Typography/font.
|
|
22
|
+
"Typography/font.family.product": {
|
|
50
23
|
"attributes": {
|
|
51
|
-
"group": "
|
|
52
|
-
"state": "
|
|
53
|
-
"introduced": "
|
|
54
|
-
"description": "Helpful guidance goes here"
|
|
55
|
-
},
|
|
56
|
-
"value": "600"
|
|
57
|
-
},
|
|
58
|
-
"Typography/font.lineHeight.100": {
|
|
59
|
-
"attributes": {
|
|
60
|
-
"group": "lineHeight",
|
|
61
|
-
"state": "active",
|
|
62
|
-
"introduced": "0.10.33",
|
|
63
|
-
"description": "Helpful guidance goes here"
|
|
64
|
-
},
|
|
65
|
-
"value": 16
|
|
66
|
-
},
|
|
67
|
-
"Typography/font.lineHeight.200": {
|
|
68
|
-
"attributes": {
|
|
69
|
-
"group": "lineHeight",
|
|
70
|
-
"state": "active",
|
|
71
|
-
"introduced": "0.10.33",
|
|
72
|
-
"description": "Helpful guidance goes here"
|
|
73
|
-
},
|
|
74
|
-
"value": 20
|
|
75
|
-
},
|
|
76
|
-
"Typography/font.lineHeight.300": {
|
|
77
|
-
"attributes": {
|
|
78
|
-
"group": "lineHeight",
|
|
79
|
-
"state": "active",
|
|
80
|
-
"introduced": "0.10.33",
|
|
81
|
-
"description": "Helpful guidance goes here"
|
|
82
|
-
},
|
|
83
|
-
"value": 24
|
|
84
|
-
},
|
|
85
|
-
"Typography/font.lineHeight.400": {
|
|
86
|
-
"attributes": {
|
|
87
|
-
"group": "lineHeight",
|
|
88
|
-
"state": "active",
|
|
89
|
-
"introduced": "0.10.33",
|
|
24
|
+
"group": "fontFamily",
|
|
25
|
+
"state": "experimental",
|
|
26
|
+
"introduced": "1.14.0",
|
|
90
27
|
"description": "Helpful guidance goes here"
|
|
91
28
|
},
|
|
92
|
-
"value":
|
|
29
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
93
30
|
},
|
|
94
|
-
"Typography/font.
|
|
31
|
+
"Typography/font.family.sans": {
|
|
95
32
|
"attributes": {
|
|
96
|
-
"group": "
|
|
33
|
+
"group": "fontFamily",
|
|
97
34
|
"state": "active",
|
|
98
35
|
"introduced": "0.10.33",
|
|
99
36
|
"description": "Helpful guidance goes here"
|
|
100
37
|
},
|
|
101
|
-
"value":
|
|
38
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
102
39
|
},
|
|
103
|
-
"Typography/font.
|
|
40
|
+
"Typography/font.family.brand": {
|
|
104
41
|
"attributes": {
|
|
105
|
-
"group": "
|
|
106
|
-
"state": "
|
|
107
|
-
"introduced": "
|
|
42
|
+
"group": "fontFamily",
|
|
43
|
+
"state": "experimental",
|
|
44
|
+
"introduced": "1.14.0",
|
|
108
45
|
"description": "Helpful guidance goes here"
|
|
109
46
|
},
|
|
110
|
-
"value":
|
|
47
|
+
"value": "Charlie Sans"
|
|
111
48
|
}
|
|
112
49
|
},
|
|
113
50
|
"renameMap": {}
|
package/package.json
CHANGED