@atlaskit/tokens 1.14.1 → 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 +12 -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 +26 -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/babel-plugin/plugin.js +34 -3
- package/dist/cjs/constants.js +1 -3
- 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 +26 -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/babel-plugin/plugin.js +34 -4
- package/dist/es2019/constants.js +0 -1
- 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 +26 -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/babel-plugin/plugin.js +34 -3
- package/dist/esm/constants.js +0 -1
- 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 +26 -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/babel-plugin/plugin.d.ts +3 -0
- package/dist/types/constants.d.ts +0 -1
- 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 +26 -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/babel-plugin/plugin.d.ts +3 -0
- package/dist/types-ts4.5/constants.d.ts +0 -1
- 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/cjs/version.json +0 -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/es2019/version.json +0 -7
- package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
- package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
- package/dist/esm/version.json +0 -7
- /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
|
@@ -1,23 +1,113 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::89e4530c84e484a163c9df048290ecf5>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
7
|
-
"value": "
|
|
7
|
+
"value": "Roboto Mono",
|
|
8
8
|
"attributes": {
|
|
9
9
|
"group": "typography"
|
|
10
10
|
},
|
|
11
11
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
|
-
"value": "
|
|
14
|
+
"value": "Roboto Mono",
|
|
15
15
|
"attributes": {
|
|
16
16
|
"group": "typography"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"name": "typography.fontFamily.
|
|
20
|
-
"path": ["typography", "fontFamily", "
|
|
19
|
+
"name": "typography.fontFamily.FontFamilyAndroidMono",
|
|
20
|
+
"path": ["typography", "fontFamily", "FontFamilyAndroidMono"]
|
|
21
|
+
}, {
|
|
22
|
+
"value": "Roboto",
|
|
23
|
+
"attributes": {
|
|
24
|
+
"group": "typography"
|
|
25
|
+
},
|
|
26
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
27
|
+
"isSource": true,
|
|
28
|
+
"original": {
|
|
29
|
+
"value": "Roboto",
|
|
30
|
+
"attributes": {
|
|
31
|
+
"group": "typography"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"name": "typography.fontFamily.FontFamilyAndroidSans",
|
|
35
|
+
"path": ["typography", "fontFamily", "FontFamilyAndroidSans"]
|
|
36
|
+
}, {
|
|
37
|
+
"value": "Charlie Sans",
|
|
38
|
+
"attributes": {
|
|
39
|
+
"group": "typography"
|
|
40
|
+
},
|
|
41
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
42
|
+
"isSource": true,
|
|
43
|
+
"original": {
|
|
44
|
+
"value": "Charlie Sans",
|
|
45
|
+
"attributes": {
|
|
46
|
+
"group": "typography"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "typography.fontFamily.FontFamilyCharlie",
|
|
50
|
+
"path": ["typography", "fontFamily", "FontFamilyCharlie"]
|
|
51
|
+
}, {
|
|
52
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
53
|
+
"attributes": {
|
|
54
|
+
"group": "typography"
|
|
55
|
+
},
|
|
56
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
57
|
+
"isSource": true,
|
|
58
|
+
"original": {
|
|
59
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"group": "typography"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"name": "typography.fontFamily.FontFamilyWebMono",
|
|
65
|
+
"path": ["typography", "fontFamily", "FontFamilyWebMono"]
|
|
66
|
+
}, {
|
|
67
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
|
|
68
|
+
"attributes": {
|
|
69
|
+
"group": "typography"
|
|
70
|
+
},
|
|
71
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
72
|
+
"isSource": true,
|
|
73
|
+
"original": {
|
|
74
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"group": "typography"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"name": "typography.fontFamily.FontFamilyWebSans",
|
|
80
|
+
"path": ["typography", "fontFamily", "FontFamilyWebSans"]
|
|
81
|
+
}, {
|
|
82
|
+
"value": "SF Mono",
|
|
83
|
+
"attributes": {
|
|
84
|
+
"group": "typography"
|
|
85
|
+
},
|
|
86
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
87
|
+
"isSource": true,
|
|
88
|
+
"original": {
|
|
89
|
+
"value": "SF Mono",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"group": "typography"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"name": "typography.fontFamily.FontFamilyiOSMono",
|
|
95
|
+
"path": ["typography", "fontFamily", "FontFamilyiOSMono"]
|
|
96
|
+
}, {
|
|
97
|
+
"value": "SF Pro",
|
|
98
|
+
"attributes": {
|
|
99
|
+
"group": "typography"
|
|
100
|
+
},
|
|
101
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
102
|
+
"isSource": true,
|
|
103
|
+
"original": {
|
|
104
|
+
"value": "SF Pro",
|
|
105
|
+
"attributes": {
|
|
106
|
+
"group": "typography"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"name": "typography.fontFamily.FontFamilyiOSSans",
|
|
110
|
+
"path": ["typography", "fontFamily", "FontFamilyiOSSans"]
|
|
21
111
|
}, {
|
|
22
112
|
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
|
|
23
113
|
"attributes": {
|
|
@@ -31,8 +121,8 @@ const tokens = [{
|
|
|
31
121
|
"group": "typography"
|
|
32
122
|
}
|
|
33
123
|
},
|
|
34
|
-
"name": "typography.fontFamily.
|
|
35
|
-
"path": ["typography", "fontFamily", "
|
|
124
|
+
"name": "typography.fontFamily.LegacyFontFamilyWebSans",
|
|
125
|
+
"path": ["typography", "fontFamily", "LegacyFontFamilyWebSans"]
|
|
36
126
|
}, {
|
|
37
127
|
"value": "11px",
|
|
38
128
|
"attributes": {
|
|
@@ -46,8 +136,8 @@ const tokens = [{
|
|
|
46
136
|
"group": "typography"
|
|
47
137
|
}
|
|
48
138
|
},
|
|
49
|
-
"name": "typography.fontSize.
|
|
50
|
-
"path": ["typography", "fontSize", "
|
|
139
|
+
"name": "typography.fontSize.FontSize11",
|
|
140
|
+
"path": ["typography", "fontSize", "FontSize11"]
|
|
51
141
|
}, {
|
|
52
142
|
"value": "12px",
|
|
53
143
|
"attributes": {
|
|
@@ -61,8 +151,8 @@ const tokens = [{
|
|
|
61
151
|
"group": "typography"
|
|
62
152
|
}
|
|
63
153
|
},
|
|
64
|
-
"name": "typography.fontSize.
|
|
65
|
-
"path": ["typography", "fontSize", "
|
|
154
|
+
"name": "typography.fontSize.FontSize12",
|
|
155
|
+
"path": ["typography", "fontSize", "FontSize12"]
|
|
66
156
|
}, {
|
|
67
157
|
"value": "14px",
|
|
68
158
|
"attributes": {
|
|
@@ -76,8 +166,8 @@ const tokens = [{
|
|
|
76
166
|
"group": "typography"
|
|
77
167
|
}
|
|
78
168
|
},
|
|
79
|
-
"name": "typography.fontSize.
|
|
80
|
-
"path": ["typography", "fontSize", "
|
|
169
|
+
"name": "typography.fontSize.FontSize14",
|
|
170
|
+
"path": ["typography", "fontSize", "FontSize14"]
|
|
81
171
|
}, {
|
|
82
172
|
"value": "16px",
|
|
83
173
|
"attributes": {
|
|
@@ -91,8 +181,8 @@ const tokens = [{
|
|
|
91
181
|
"group": "typography"
|
|
92
182
|
}
|
|
93
183
|
},
|
|
94
|
-
"name": "typography.fontSize.
|
|
95
|
-
"path": ["typography", "fontSize", "
|
|
184
|
+
"name": "typography.fontSize.FontSize16",
|
|
185
|
+
"path": ["typography", "fontSize", "FontSize16"]
|
|
96
186
|
}, {
|
|
97
187
|
"value": "20px",
|
|
98
188
|
"attributes": {
|
|
@@ -106,8 +196,8 @@ const tokens = [{
|
|
|
106
196
|
"group": "typography"
|
|
107
197
|
}
|
|
108
198
|
},
|
|
109
|
-
"name": "typography.fontSize.
|
|
110
|
-
"path": ["typography", "fontSize", "
|
|
199
|
+
"name": "typography.fontSize.FontSize20",
|
|
200
|
+
"path": ["typography", "fontSize", "FontSize20"]
|
|
111
201
|
}, {
|
|
112
202
|
"value": "24px",
|
|
113
203
|
"attributes": {
|
|
@@ -121,8 +211,68 @@ const tokens = [{
|
|
|
121
211
|
"group": "typography"
|
|
122
212
|
}
|
|
123
213
|
},
|
|
124
|
-
"name": "typography.fontSize.
|
|
125
|
-
"path": ["typography", "fontSize", "
|
|
214
|
+
"name": "typography.fontSize.FontSize24",
|
|
215
|
+
"path": ["typography", "fontSize", "FontSize24"]
|
|
216
|
+
}, {
|
|
217
|
+
"value": "28px",
|
|
218
|
+
"attributes": {
|
|
219
|
+
"group": "typography"
|
|
220
|
+
},
|
|
221
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
222
|
+
"isSource": true,
|
|
223
|
+
"original": {
|
|
224
|
+
"value": 28,
|
|
225
|
+
"attributes": {
|
|
226
|
+
"group": "typography"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"name": "typography.fontSize.FontSize28",
|
|
230
|
+
"path": ["typography", "fontSize", "FontSize28"]
|
|
231
|
+
}, {
|
|
232
|
+
"value": "36px",
|
|
233
|
+
"attributes": {
|
|
234
|
+
"group": "typography"
|
|
235
|
+
},
|
|
236
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
237
|
+
"isSource": true,
|
|
238
|
+
"original": {
|
|
239
|
+
"value": 36,
|
|
240
|
+
"attributes": {
|
|
241
|
+
"group": "typography"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"name": "typography.fontSize.FontSize36",
|
|
245
|
+
"path": ["typography", "fontSize", "FontSize36"]
|
|
246
|
+
}, {
|
|
247
|
+
"value": "48px",
|
|
248
|
+
"attributes": {
|
|
249
|
+
"group": "typography"
|
|
250
|
+
},
|
|
251
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
252
|
+
"isSource": true,
|
|
253
|
+
"original": {
|
|
254
|
+
"value": 48,
|
|
255
|
+
"attributes": {
|
|
256
|
+
"group": "typography"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"name": "typography.fontSize.FontSize48",
|
|
260
|
+
"path": ["typography", "fontSize", "FontSize48"]
|
|
261
|
+
}, {
|
|
262
|
+
"value": "0.875em",
|
|
263
|
+
"attributes": {
|
|
264
|
+
"group": "typography"
|
|
265
|
+
},
|
|
266
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
267
|
+
"isSource": true,
|
|
268
|
+
"original": {
|
|
269
|
+
"value": "0.875em",
|
|
270
|
+
"attributes": {
|
|
271
|
+
"group": "typography"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"name": "typography.fontSize.FontSizeCode",
|
|
275
|
+
"path": ["typography", "fontSize", "FontSizeCode"]
|
|
126
276
|
}, {
|
|
127
277
|
"value": "29px",
|
|
128
278
|
"attributes": {
|
|
@@ -136,8 +286,8 @@ const tokens = [{
|
|
|
136
286
|
"group": "typography"
|
|
137
287
|
}
|
|
138
288
|
},
|
|
139
|
-
"name": "typography.fontSize.
|
|
140
|
-
"path": ["typography", "fontSize", "
|
|
289
|
+
"name": "typography.fontSize.LegacyFontSize29",
|
|
290
|
+
"path": ["typography", "fontSize", "LegacyFontSize29"]
|
|
141
291
|
}, {
|
|
142
292
|
"value": "35px",
|
|
143
293
|
"attributes": {
|
|
@@ -151,23 +301,23 @@ const tokens = [{
|
|
|
151
301
|
"group": "typography"
|
|
152
302
|
}
|
|
153
303
|
},
|
|
154
|
-
"name": "typography.fontSize.
|
|
155
|
-
"path": ["typography", "fontSize", "
|
|
304
|
+
"name": "typography.fontSize.LegacyFontSize35",
|
|
305
|
+
"path": ["typography", "fontSize", "LegacyFontSize35"]
|
|
156
306
|
}, {
|
|
157
|
-
"value": "
|
|
307
|
+
"value": "400",
|
|
158
308
|
"attributes": {
|
|
159
309
|
"group": "typography"
|
|
160
310
|
},
|
|
161
311
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
162
312
|
"isSource": true,
|
|
163
313
|
"original": {
|
|
164
|
-
"value": "
|
|
314
|
+
"value": "400",
|
|
165
315
|
"attributes": {
|
|
166
316
|
"group": "typography"
|
|
167
317
|
}
|
|
168
318
|
},
|
|
169
|
-
"name": "typography.fontWeight.
|
|
170
|
-
"path": ["typography", "fontWeight", "
|
|
319
|
+
"name": "typography.fontWeight.FontWeight400",
|
|
320
|
+
"path": ["typography", "fontWeight", "FontWeight400"]
|
|
171
321
|
}, {
|
|
172
322
|
"value": "500",
|
|
173
323
|
"attributes": {
|
|
@@ -181,38 +331,128 @@ const tokens = [{
|
|
|
181
331
|
"group": "typography"
|
|
182
332
|
}
|
|
183
333
|
},
|
|
184
|
-
"name": "typography.fontWeight.
|
|
185
|
-
"path": ["typography", "fontWeight", "
|
|
334
|
+
"name": "typography.fontWeight.FontWeight500",
|
|
335
|
+
"path": ["typography", "fontWeight", "FontWeight500"]
|
|
186
336
|
}, {
|
|
187
|
-
"value": "
|
|
337
|
+
"value": "600",
|
|
188
338
|
"attributes": {
|
|
189
339
|
"group": "typography"
|
|
190
340
|
},
|
|
191
341
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
192
342
|
"isSource": true,
|
|
193
343
|
"original": {
|
|
194
|
-
"value": "
|
|
344
|
+
"value": "600",
|
|
195
345
|
"attributes": {
|
|
196
346
|
"group": "typography"
|
|
197
347
|
}
|
|
198
348
|
},
|
|
199
|
-
"name": "typography.fontWeight.
|
|
200
|
-
"path": ["typography", "fontWeight", "
|
|
349
|
+
"name": "typography.fontWeight.FontWeight600",
|
|
350
|
+
"path": ["typography", "fontWeight", "FontWeight600"]
|
|
201
351
|
}, {
|
|
202
|
-
"value": "
|
|
352
|
+
"value": "700",
|
|
203
353
|
"attributes": {
|
|
204
354
|
"group": "typography"
|
|
205
355
|
},
|
|
206
356
|
"filePath": "src/palettes/typography-palette.tsx",
|
|
207
357
|
"isSource": true,
|
|
208
358
|
"original": {
|
|
209
|
-
"value": "
|
|
359
|
+
"value": "700",
|
|
360
|
+
"attributes": {
|
|
361
|
+
"group": "typography"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"name": "typography.fontWeight.FontWeight700",
|
|
365
|
+
"path": ["typography", "fontWeight", "FontWeight700"]
|
|
366
|
+
}, {
|
|
367
|
+
"value": "0",
|
|
368
|
+
"attributes": {
|
|
369
|
+
"group": "typography"
|
|
370
|
+
},
|
|
371
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
372
|
+
"isSource": true,
|
|
373
|
+
"original": {
|
|
374
|
+
"value": "0",
|
|
375
|
+
"attributes": {
|
|
376
|
+
"group": "typography"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"name": "typography.letterSpacing.LetterSpacing0",
|
|
380
|
+
"path": ["typography", "letterSpacing", "LetterSpacing0"]
|
|
381
|
+
}, {
|
|
382
|
+
"value": "-0.003em",
|
|
383
|
+
"attributes": {
|
|
384
|
+
"group": "typography"
|
|
385
|
+
},
|
|
386
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
387
|
+
"isSource": true,
|
|
388
|
+
"original": {
|
|
389
|
+
"value": "-0.003em",
|
|
390
|
+
"attributes": {
|
|
391
|
+
"group": "typography"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"name": "typography.letterSpacing.LetterSpacing100",
|
|
395
|
+
"path": ["typography", "letterSpacing", "LetterSpacing100"]
|
|
396
|
+
}, {
|
|
397
|
+
"value": "-0.006em",
|
|
398
|
+
"attributes": {
|
|
399
|
+
"group": "typography"
|
|
400
|
+
},
|
|
401
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
402
|
+
"isSource": true,
|
|
403
|
+
"original": {
|
|
404
|
+
"value": "-0.006em",
|
|
405
|
+
"attributes": {
|
|
406
|
+
"group": "typography"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"name": "typography.letterSpacing.LetterSpacing200",
|
|
410
|
+
"path": ["typography", "letterSpacing", "LetterSpacing200"]
|
|
411
|
+
}, {
|
|
412
|
+
"value": "-0.008em",
|
|
413
|
+
"attributes": {
|
|
414
|
+
"group": "typography"
|
|
415
|
+
},
|
|
416
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
417
|
+
"isSource": true,
|
|
418
|
+
"original": {
|
|
419
|
+
"value": "-0.008em",
|
|
420
|
+
"attributes": {
|
|
421
|
+
"group": "typography"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"name": "typography.letterSpacing.LetterSpacing300",
|
|
425
|
+
"path": ["typography", "letterSpacing", "LetterSpacing300"]
|
|
426
|
+
}, {
|
|
427
|
+
"value": "-0.01em",
|
|
428
|
+
"attributes": {
|
|
429
|
+
"group": "typography"
|
|
430
|
+
},
|
|
431
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
432
|
+
"isSource": true,
|
|
433
|
+
"original": {
|
|
434
|
+
"value": "-0.01em",
|
|
435
|
+
"attributes": {
|
|
436
|
+
"group": "typography"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"name": "typography.letterSpacing.LetterSpacing400",
|
|
440
|
+
"path": ["typography", "letterSpacing", "LetterSpacing400"]
|
|
441
|
+
}, {
|
|
442
|
+
"value": "1",
|
|
443
|
+
"attributes": {
|
|
444
|
+
"group": "typography"
|
|
445
|
+
},
|
|
446
|
+
"filePath": "src/palettes/typography-palette.tsx",
|
|
447
|
+
"isSource": true,
|
|
448
|
+
"original": {
|
|
449
|
+
"value": "1",
|
|
210
450
|
"attributes": {
|
|
211
451
|
"group": "typography"
|
|
212
452
|
}
|
|
213
453
|
},
|
|
214
|
-
"name": "typography.
|
|
215
|
-
"path": ["typography", "
|
|
454
|
+
"name": "typography.lineHeight.LineHeight1",
|
|
455
|
+
"path": ["typography", "lineHeight", "LineHeight1"]
|
|
216
456
|
}, {
|
|
217
457
|
"value": "16px",
|
|
218
458
|
"attributes": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This allows users to compose their themes and only use the tokens that are requested.
|
|
7
7
|
* When a new theme is created, the import should automatically be added to the map
|
|
8
8
|
*
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::82c355c08254a28b0727a63e17ee7698>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
|
|
@@ -21,13 +21,15 @@ const themeImportsMap = {
|
|
|
21
21
|
'./themes/atlassian-legacy-dark'),
|
|
22
22
|
'spacing': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-spacing" */
|
|
23
23
|
'./themes/atlassian-spacing'),
|
|
24
|
-
'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
|
|
25
|
-
'./themes/atlassian-typography'),
|
|
24
|
+
'typography-adg3': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-adg3" */
|
|
25
|
+
'./themes/atlassian-typography-adg3'),
|
|
26
26
|
'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
|
|
27
27
|
'./themes/atlassian-shape'),
|
|
28
28
|
'light-new-input-border': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-new-input-border" */
|
|
29
29
|
'./themes/atlassian-light-new-input-border'),
|
|
30
30
|
'dark-new-input-border': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-new-input-border" */
|
|
31
|
-
'./themes/atlassian-dark-new-input-border')
|
|
31
|
+
'./themes/atlassian-dark-new-input-border'),
|
|
32
|
+
'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
|
|
33
|
+
'./themes/atlassian-typography')
|
|
32
34
|
};
|
|
33
35
|
export default themeImportsMap;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::5a962c81429544e05af6d55cf34c46a0>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
export default `
|
|
7
|
+
html[data-theme~="typography:typography-adg3"] {
|
|
8
|
+
--ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);
|
|
9
|
+
--ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);
|
|
10
|
+
--ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
|
|
11
|
+
--ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);
|
|
12
|
+
--ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);
|
|
13
|
+
--ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);
|
|
14
|
+
--ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);
|
|
15
|
+
--ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);
|
|
16
|
+
--ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);
|
|
17
|
+
--ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);
|
|
18
|
+
--ds-font-letterSpacing-0: 0;
|
|
19
|
+
--ds-font-letterSpacing-100: -0.003em;
|
|
20
|
+
--ds-font-letterSpacing-200: -0.006em;
|
|
21
|
+
--ds-font-letterSpacing-300: -0.008em;
|
|
22
|
+
--ds-font-letterSpacing-400: -0.01em;
|
|
23
|
+
--ds-font-ui: normal 400 0.875rem/1rem var(--ds-font-family-product);
|
|
24
|
+
--ds-font-ui-sm: normal 400 0.6875rem/1rem var(--ds-font-family-product);
|
|
25
|
+
--ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
26
|
+
--ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
27
|
+
--ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
|
|
28
|
+
--ds-font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
29
|
+
--ds-font-family-brand: Charlie Sans;
|
|
30
|
+
--ds-font-size-050: 0.6875rem;
|
|
31
|
+
--ds-font-size-075: 0.75rem;
|
|
32
|
+
--ds-font-size-100: 0.875rem;
|
|
33
|
+
--ds-font-size-200: 1rem;
|
|
34
|
+
--ds-font-size-300: 1.25rem;
|
|
35
|
+
--ds-font-size-400: 1.5rem;
|
|
36
|
+
--ds-font-size-500: 1.8125rem;
|
|
37
|
+
--ds-font-size-600: 2.1875rem;
|
|
38
|
+
--ds-font-weight-bold: 700;
|
|
39
|
+
--ds-font-weight-medium: 500;
|
|
40
|
+
--ds-font-weight-regular: 400;
|
|
41
|
+
--ds-font-weight-semibold: 600;
|
|
42
|
+
--ds-font-lineHeight-1: 1;
|
|
43
|
+
--ds-font-lineHeight-100: 1rem;
|
|
44
|
+
--ds-font-lineHeight-200: 1.25rem;
|
|
45
|
+
--ds-font-lineHeight-300: 1.5rem;
|
|
46
|
+
--ds-font-lineHeight-400: 1.75rem;
|
|
47
|
+
--ds-font-lineHeight-500: 2rem;
|
|
48
|
+
--ds-font-lineHeight-600: 2.5rem;
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::8a2c4f8f66783e1940d1aab250cf35a9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-theme~="typography:typography"] {
|
|
8
|
-
--ds-font-
|
|
9
|
-
--ds-font-
|
|
10
|
-
--ds-font-
|
|
11
|
-
--ds-font-
|
|
12
|
-
--ds-font-
|
|
13
|
-
--ds-font-
|
|
14
|
-
--ds-font-
|
|
15
|
-
--ds-font-
|
|
16
|
-
--ds-font-
|
|
17
|
-
--ds-font-
|
|
18
|
-
--ds-font-
|
|
19
|
-
--ds-font-
|
|
20
|
-
--ds-font-
|
|
21
|
-
--ds-font-
|
|
22
|
-
--ds-font-
|
|
23
|
-
--ds-font-
|
|
24
|
-
--ds-font-
|
|
25
|
-
--ds-font-
|
|
26
|
-
--ds-font-
|
|
27
|
-
--ds-font-
|
|
8
|
+
--ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);
|
|
9
|
+
--ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-sans);
|
|
10
|
+
--ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
|
|
11
|
+
--ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);
|
|
12
|
+
--ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);
|
|
13
|
+
--ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);
|
|
14
|
+
--ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);
|
|
15
|
+
--ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);
|
|
16
|
+
--ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);
|
|
17
|
+
--ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);
|
|
18
|
+
--ds-font-letterSpacing-0: 0;
|
|
19
|
+
--ds-font-letterSpacing-100: 0;
|
|
20
|
+
--ds-font-letterSpacing-200: 0;
|
|
21
|
+
--ds-font-letterSpacing-300: 0;
|
|
22
|
+
--ds-font-letterSpacing-400: 0;
|
|
23
|
+
--ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-sans);
|
|
24
|
+
--ds-font-ui-sm: normal 400 0.6875rem/1 var(--ds-font-family-sans);
|
|
25
|
+
--ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
26
|
+
--ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
27
|
+
--ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
|
|
28
|
+
--ds-font-family-sans: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
|
|
29
|
+
--ds-font-family-brand: Charlie Sans;
|
|
28
30
|
}
|
|
29
31
|
`;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
+
* DEPRECATED, PLEASE DO NOT USE.
|
|
5
|
+
* Default values can now be based on either light or legacy-light themes, whereas this only contains light theme values.
|
|
6
|
+
*
|
|
4
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
5
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
9
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::7b0a463a4cd5463b13d98c47582631db>>
|
|
8
11
|
* @codegenCommand yarn build tokens
|
|
9
12
|
*/
|
|
10
13
|
const defaultTokenValues = {
|
|
@@ -339,8 +342,28 @@ const defaultTokenValues = {
|
|
|
339
342
|
'space.600': '3rem',
|
|
340
343
|
'space.800': '4rem',
|
|
341
344
|
'space.1000': '5rem',
|
|
342
|
-
'font.
|
|
345
|
+
'font.body': 'normal 400 0.875rem/1.25rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
346
|
+
'font.body.sm': 'normal 400 0.6875rem/1.25rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
347
|
+
'font.code': 'normal 400 0.875em/1 ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
348
|
+
'font.heading.lg': 'normal 500 1.5rem/1.75rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
349
|
+
'font.heading.md': 'normal 500 1.25rem/1.5rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
350
|
+
'font.heading.sm': 'normal 600 1rem/1.25rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
351
|
+
'font.heading.xl': 'normal 600 1.8125rem/2rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
352
|
+
'font.heading.xs': 'normal 600 0.875rem/1rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
353
|
+
'font.heading.xxl': 'normal 500 2.1875rem/2.5rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
354
|
+
'font.heading.xxs': 'normal 600 0.75rem/1rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
355
|
+
'font.letterSpacing.0': '0',
|
|
356
|
+
'font.letterSpacing.100': '-0.003em',
|
|
357
|
+
'font.letterSpacing.200': '-0.006em',
|
|
358
|
+
'font.letterSpacing.300': '-0.008em',
|
|
359
|
+
'font.letterSpacing.400': '-0.01em',
|
|
360
|
+
'font.ui': 'normal 400 0.875rem/1rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
361
|
+
'font.ui.sm': 'normal 400 0.6875rem/1rem ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
362
|
+
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
363
|
+
'font.family.monospace': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
364
|
+
'font.family.product': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
343
365
|
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
366
|
+
'font.family.brand': 'Charlie Sans',
|
|
344
367
|
'font.size.050': '0.6875rem',
|
|
345
368
|
'font.size.075': '0.75rem',
|
|
346
369
|
'font.size.100': '0.875rem',
|
|
@@ -353,6 +376,7 @@ const defaultTokenValues = {
|
|
|
353
376
|
'font.weight.medium': '500',
|
|
354
377
|
'font.weight.regular': '400',
|
|
355
378
|
'font.weight.semibold': '600',
|
|
379
|
+
'font.lineHeight.1': '1',
|
|
356
380
|
'font.lineHeight.100': '1rem',
|
|
357
381
|
'font.lineHeight.200': '1.25rem',
|
|
358
382
|
'font.lineHeight.300': '1.5rem',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::941775f7937b33243f0409b0ddd4fcd1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -335,8 +335,28 @@ const tokens = {
|
|
|
335
335
|
'space.600': '--ds-space-600',
|
|
336
336
|
'space.800': '--ds-space-800',
|
|
337
337
|
'space.1000': '--ds-space-1000',
|
|
338
|
+
'font.body': '--ds-font-body',
|
|
339
|
+
'font.body.sm': '--ds-font-body-sm',
|
|
340
|
+
'font.code': '--ds-font-code',
|
|
341
|
+
'font.heading.lg': '--ds-font-heading-lg',
|
|
342
|
+
'font.heading.md': '--ds-font-heading-md',
|
|
343
|
+
'font.heading.sm': '--ds-font-heading-sm',
|
|
344
|
+
'font.heading.xl': '--ds-font-heading-xl',
|
|
345
|
+
'font.heading.xs': '--ds-font-heading-xs',
|
|
346
|
+
'font.heading.xxl': '--ds-font-heading-xxl',
|
|
347
|
+
'font.heading.xxs': '--ds-font-heading-xxs',
|
|
348
|
+
'font.letterSpacing.0': '--ds-font-letterSpacing-0',
|
|
349
|
+
'font.letterSpacing.100': '--ds-font-letterSpacing-100',
|
|
350
|
+
'font.letterSpacing.200': '--ds-font-letterSpacing-200',
|
|
351
|
+
'font.letterSpacing.300': '--ds-font-letterSpacing-300',
|
|
352
|
+
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
353
|
+
'font.ui': '--ds-font-ui',
|
|
354
|
+
'font.ui.sm': '--ds-font-ui-sm',
|
|
355
|
+
'font.family.code': '--ds-font-family-code',
|
|
338
356
|
'font.family.monospace': '--ds-font-family-monospace',
|
|
357
|
+
'font.family.product': '--ds-font-family-product',
|
|
339
358
|
'font.family.sans': '--ds-font-family-sans',
|
|
359
|
+
'font.family.brand': '--ds-font-family-brand',
|
|
340
360
|
'font.size.050': '--ds-font-size-050',
|
|
341
361
|
'font.size.075': '--ds-font-size-075',
|
|
342
362
|
'font.size.100': '--ds-font-size-100',
|
|
@@ -349,6 +369,7 @@ const tokens = {
|
|
|
349
369
|
'font.weight.medium': '--ds-font-weight-medium',
|
|
350
370
|
'font.weight.regular': '--ds-font-weight-regular',
|
|
351
371
|
'font.weight.semibold': '--ds-font-weight-semibold',
|
|
372
|
+
'font.lineHeight.1': '--ds-font-lineHeight-1',
|
|
352
373
|
'font.lineHeight.100': '--ds-font-lineHeight-100',
|
|
353
374
|
'font.lineHeight.200': '--ds-font-lineHeight-200',
|
|
354
375
|
'font.lineHeight.300': '--ds-font-lineHeight-300',
|