@atlaskit/tokens 1.25.0 → 1.25.1
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 +171 -165
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +4 -5
- package/dist/cjs/artifacts/palettes-raw/updated-saturated-palette.js +1 -2
- package/dist/cjs/artifacts/replacement-mapping.js +1 -2
- package/dist/cjs/artifacts/theme-import-map.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -3
- package/dist/cjs/artifacts/token-default-values.js +14 -15
- package/dist/cjs/artifacts/token-names.js +12 -13
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +34 -35
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +35 -36
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +35 -36
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +1 -2
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +1 -2
- package/dist/cjs/constants.js +8 -16
- package/dist/cjs/custom-theme.js +2 -3
- package/dist/cjs/enable-global-theme.js +1 -2
- package/dist/cjs/get-global-theme.js +1 -2
- package/dist/cjs/get-ssr-auto-script.js +1 -2
- package/dist/cjs/get-theme-html-attrs.js +1 -2
- package/dist/cjs/get-theme-styles.js +2 -3
- package/dist/cjs/get-token-value.js +2 -3
- package/dist/cjs/get-token.js +2 -3
- package/dist/cjs/load-custom-theme-styles.js +1 -2
- package/dist/cjs/palettes/legacy-palette.js +1 -2
- package/dist/cjs/palettes/palette.js +1 -2
- package/dist/cjs/palettes/shape-palette.js +1 -2
- package/dist/cjs/palettes/spacing-scale.js +1 -2
- package/dist/cjs/palettes/typography-palette.js +2 -3
- package/dist/cjs/palettes/updated-saturated-palette.js +1 -2
- package/dist/cjs/set-global-theme.js +1 -2
- package/dist/cjs/theme-config.js +7 -12
- package/dist/cjs/theme-mutation-observer.js +2 -3
- package/dist/cjs/theme-state-transformer.js +3 -5
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-shape/shape.js +1 -2
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/theme.js +11 -12
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-size.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-weight.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/line-height.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +12 -13
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +12 -13
- package/dist/cjs/tokens/default/color/accent.js +1 -2
- package/dist/cjs/tokens/default/color/background.js +1 -2
- package/dist/cjs/tokens/default/color/border.js +1 -2
- package/dist/cjs/tokens/default/color/chart.js +1 -2
- package/dist/cjs/tokens/default/color/icon.js +1 -2
- package/dist/cjs/tokens/default/color/interaction.js +1 -2
- package/dist/cjs/tokens/default/color/skeleton.js +1 -2
- package/dist/cjs/tokens/default/color/text.js +1 -2
- package/dist/cjs/tokens/default/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/default/elevation/surface.js +1 -2
- package/dist/cjs/tokens/default/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/default/shape/shape.js +1 -2
- package/dist/cjs/tokens/default/spacing/spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/font-family.js +1 -2
- package/dist/cjs/tokens/default/typography/font-size.js +1 -2
- package/dist/cjs/tokens/default/typography/font-weight.js +1 -2
- package/dist/cjs/tokens/default/typography/font.js +11 -12
- package/dist/cjs/tokens/default/typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/line-height.js +1 -2
- package/dist/cjs/tokens/default/utility/utility.js +2 -3
- package/dist/cjs/use-theme-observer.js +1 -2
- package/dist/cjs/utils/color-detection.js +3 -5
- package/dist/cjs/utils/color-mode-listeners.js +1 -2
- package/dist/cjs/utils/color-utils.js +1 -2
- package/dist/cjs/utils/custom-theme-token-contrast-check.js +3 -5
- package/dist/cjs/utils/generate-custom-color-ramp.js +5 -9
- package/dist/cjs/utils/get-theme-preferences.js +3 -5
- package/dist/cjs/utils/hash.js +2 -3
- package/dist/cjs/utils/hct-color-utils/contrast.js +2 -3
- package/dist/cjs/utils/hct-color-utils/hct.js +7 -7
- package/dist/cjs/utils/theme-loading.js +3 -6
- package/dist/cjs/utils/token-ids.js +4 -7
- package/dist/cjs/utils/token-order.js +2 -3
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +13 -13
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +14 -14
- package/dist/es2019/artifacts/themes/atlassian-typography.js +14 -14
- package/dist/es2019/artifacts/token-default-values.js +13 -13
- package/dist/es2019/artifacts/token-names.js +11 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography-palette.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/es2019/tokens/default/typography/font.js +10 -10
- package/dist/es2019/utils/hct-color-utils/hct.js +3 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +13 -13
- package/dist/esm/artifacts/token-names.js +11 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/esm/custom-theme.js +1 -1
- package/dist/esm/get-theme-styles.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 +1 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/esm/tokens/default/typography/font.js +10 -10
- package/dist/esm/utils/hct-color-utils/hct.js +3 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +13 -13
- package/dist/types/artifacts/token-names.d.ts +21 -21
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types/types.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +13 -13
- package/dist/types-ts4.5/artifacts/token-names.d.ts +21 -21
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types-ts4.5/types.d.ts +10 -10
- package/figma/atlassian-typography-adg3.json +2 -2
- package/figma/atlassian-typography-minor3.json +3 -3
- package/figma/atlassian-typography.json +3 -3
- package/package.json +2 -1
- package/report.api.md +21 -20
- package/tmp/api-report-tmp.d.ts +20 -20
|
@@ -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::87a8cb620b538e3524b5031d5a012ecd>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -58,9 +58,9 @@ var tokens = [{
|
|
|
58
58
|
"letterSpacing": "LetterSpacing0"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"name": "font.body.
|
|
62
|
-
"path": ["font", "body", "
|
|
63
|
-
"cleanName": "font.body.
|
|
61
|
+
"name": "font.body.large",
|
|
62
|
+
"path": ["font", "body", "large"],
|
|
63
|
+
"cleanName": "font.body.large"
|
|
64
64
|
}, {
|
|
65
65
|
"attributes": {
|
|
66
66
|
"group": "typography",
|
|
@@ -87,9 +87,9 @@ var tokens = [{
|
|
|
87
87
|
"letterSpacing": "LetterSpacing0"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
-
"name": "font.body.
|
|
91
|
-
"path": ["font", "body", "
|
|
92
|
-
"cleanName": "font.body.
|
|
90
|
+
"name": "font.body.small",
|
|
91
|
+
"path": ["font", "body", "small"],
|
|
92
|
+
"cleanName": "font.body.small"
|
|
93
93
|
}, {
|
|
94
94
|
"attributes": {
|
|
95
95
|
"group": "typography",
|
|
@@ -145,9 +145,9 @@ var tokens = [{
|
|
|
145
145
|
"letterSpacing": "LetterSpacing0"
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
|
-
"name": "font.heading.
|
|
149
|
-
"path": ["font", "heading", "
|
|
150
|
-
"cleanName": "font.heading.
|
|
148
|
+
"name": "font.heading.large",
|
|
149
|
+
"path": ["font", "heading", "large"],
|
|
150
|
+
"cleanName": "font.heading.large"
|
|
151
151
|
}, {
|
|
152
152
|
"attributes": {
|
|
153
153
|
"group": "typography",
|
|
@@ -174,9 +174,9 @@ var tokens = [{
|
|
|
174
174
|
"letterSpacing": "LetterSpacing0"
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"name": "font.heading.
|
|
178
|
-
"path": ["font", "heading", "
|
|
179
|
-
"cleanName": "font.heading.
|
|
177
|
+
"name": "font.heading.medium",
|
|
178
|
+
"path": ["font", "heading", "medium"],
|
|
179
|
+
"cleanName": "font.heading.medium"
|
|
180
180
|
}, {
|
|
181
181
|
"attributes": {
|
|
182
182
|
"group": "typography",
|
|
@@ -203,9 +203,9 @@ var tokens = [{
|
|
|
203
203
|
"letterSpacing": "LetterSpacing0"
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
|
-
"name": "font.heading.
|
|
207
|
-
"path": ["font", "heading", "
|
|
208
|
-
"cleanName": "font.heading.
|
|
206
|
+
"name": "font.heading.small",
|
|
207
|
+
"path": ["font", "heading", "small"],
|
|
208
|
+
"cleanName": "font.heading.small"
|
|
209
209
|
}, {
|
|
210
210
|
"attributes": {
|
|
211
211
|
"group": "typography",
|
|
@@ -232,9 +232,9 @@ var tokens = [{
|
|
|
232
232
|
"letterSpacing": "LetterSpacing0"
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
|
-
"name": "font.heading.
|
|
236
|
-
"path": ["font", "heading", "
|
|
237
|
-
"cleanName": "font.heading.
|
|
235
|
+
"name": "font.heading.xlarge",
|
|
236
|
+
"path": ["font", "heading", "xlarge"],
|
|
237
|
+
"cleanName": "font.heading.xlarge"
|
|
238
238
|
}, {
|
|
239
239
|
"attributes": {
|
|
240
240
|
"group": "typography",
|
|
@@ -261,9 +261,9 @@ var tokens = [{
|
|
|
261
261
|
"letterSpacing": "LetterSpacing0"
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
|
-
"name": "font.heading.
|
|
265
|
-
"path": ["font", "heading", "
|
|
266
|
-
"cleanName": "font.heading.
|
|
264
|
+
"name": "font.heading.xsmall",
|
|
265
|
+
"path": ["font", "heading", "xsmall"],
|
|
266
|
+
"cleanName": "font.heading.xsmall"
|
|
267
267
|
}, {
|
|
268
268
|
"attributes": {
|
|
269
269
|
"group": "typography",
|
|
@@ -290,9 +290,9 @@ var tokens = [{
|
|
|
290
290
|
"letterSpacing": "LetterSpacing0"
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
|
-
"name": "font.heading.
|
|
294
|
-
"path": ["font", "heading", "
|
|
295
|
-
"cleanName": "font.heading.
|
|
293
|
+
"name": "font.heading.xxlarge",
|
|
294
|
+
"path": ["font", "heading", "xxlarge"],
|
|
295
|
+
"cleanName": "font.heading.xxlarge"
|
|
296
296
|
}, {
|
|
297
297
|
"attributes": {
|
|
298
298
|
"group": "typography",
|
|
@@ -319,9 +319,9 @@ var tokens = [{
|
|
|
319
319
|
"letterSpacing": "LetterSpacing0"
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
|
-
"name": "font.heading.
|
|
323
|
-
"path": ["font", "heading", "
|
|
324
|
-
"cleanName": "font.heading.
|
|
322
|
+
"name": "font.heading.xxsmall",
|
|
323
|
+
"path": ["font", "heading", "xxsmall"],
|
|
324
|
+
"cleanName": "font.heading.xxsmall"
|
|
325
325
|
}, {
|
|
326
326
|
"attributes": {
|
|
327
327
|
"group": "letterSpacing",
|
|
@@ -487,9 +487,9 @@ var tokens = [{
|
|
|
487
487
|
"letterSpacing": "LetterSpacing0"
|
|
488
488
|
}
|
|
489
489
|
},
|
|
490
|
-
"name": "font.ui.
|
|
491
|
-
"path": ["font", "ui", "
|
|
492
|
-
"cleanName": "font.ui.
|
|
490
|
+
"name": "font.ui.small",
|
|
491
|
+
"path": ["font", "ui", "small"],
|
|
492
|
+
"cleanName": "font.ui.small"
|
|
493
493
|
}, {
|
|
494
494
|
"attributes": {
|
|
495
495
|
"group": "fontFamily",
|
|
@@ -497,7 +497,7 @@ var tokens = [{
|
|
|
497
497
|
"introduced": "1.14.0",
|
|
498
498
|
"description": "Helpful guidance goes here"
|
|
499
499
|
},
|
|
500
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
500
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
501
501
|
"filePath": "src/tokens/atlassian-typography/font-family.tsx",
|
|
502
502
|
"isSource": true,
|
|
503
503
|
"original": {
|
|
@@ -541,7 +541,7 @@ var tokens = [{
|
|
|
541
541
|
"introduced": "1.14.0",
|
|
542
542
|
"description": "Helpful guidance goes here"
|
|
543
543
|
},
|
|
544
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
544
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
545
545
|
"filePath": "src/tokens/atlassian-typography/font-family.tsx",
|
|
546
546
|
"isSource": true,
|
|
547
547
|
"original": {
|
|
@@ -585,7 +585,7 @@ var tokens = [{
|
|
|
585
585
|
"introduced": "0.10.33",
|
|
586
586
|
"description": "Helpful guidance goes here"
|
|
587
587
|
},
|
|
588
|
-
"value": "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
588
|
+
"value": "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
589
589
|
"filePath": "src/tokens/atlassian-typography/font-family.tsx",
|
|
590
590
|
"isSource": true,
|
|
591
591
|
"original": {
|
package/dist/esm/custom-theme.js
CHANGED
|
@@ -23,7 +23,7 @@ export var CUSTOM_STYLE_ELEMENTS_SIZE_THRESHOLD = 10;
|
|
|
23
23
|
*/
|
|
24
24
|
export function getCustomThemeStyles(themeState) {
|
|
25
25
|
var _themeState$UNSAFE_th;
|
|
26
|
-
var brandColor = themeState === null || themeState === void 0
|
|
26
|
+
var brandColor = themeState === null || themeState === void 0 || (_themeState$UNSAFE_th = themeState.UNSAFE_themeOptions) === null || _themeState$UNSAFE_th === void 0 ? void 0 : _themeState$UNSAFE_th.brandColor;
|
|
27
27
|
var mode = (themeState === null || themeState === void 0 ? void 0 : themeState.colorMode) || themeStateDefaults['colorMode'];
|
|
28
28
|
var optionString = JSON.stringify(themeState === null || themeState === void 0 ? void 0 : themeState.UNSAFE_themeOptions);
|
|
29
29
|
var uniqueId = hash(optionString);
|
|
@@ -82,7 +82,7 @@ var getThemeStyles = /*#__PURE__*/function () {
|
|
|
82
82
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
83
83
|
while (1) switch (_context2.prev = _context2.next) {
|
|
84
84
|
case 0:
|
|
85
|
-
if (!(preferences !== 'all' && preferences !== null && preferences !== void 0 && preferences.UNSAFE_themeOptions && isValidBrandHex(preferences === null || preferences === void 0
|
|
85
|
+
if (!(preferences !== 'all' && preferences !== null && preferences !== void 0 && preferences.UNSAFE_themeOptions && isValidBrandHex(preferences === null || preferences === void 0 || (_preferences$UNSAFE_t = preferences.UNSAFE_themeOptions) === null || _preferences$UNSAFE_t === void 0 ? void 0 : _preferences$UNSAFE_t.brandColor))) {
|
|
86
86
|
_context2.next = 15;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
var name = "@atlaskit/tokens";
|
|
4
|
-
var version = "1.25.
|
|
4
|
+
var version = "1.25.1";
|
|
5
5
|
/**
|
|
6
6
|
* Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
|
|
7
7
|
* resulting CSS Custom Property.
|
package/dist/esm/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "1.25.
|
|
5
|
+
var version = "1.25.1";
|
|
6
6
|
/**
|
|
7
7
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
|
8
8
|
* This should be used to implement design decisions throughout your application.
|
|
@@ -141,7 +141,7 @@ var fontFamilyPalette = {
|
|
|
141
141
|
* @see https://fonts.google.com/knowledge/glossary/system_font_web_safe_font
|
|
142
142
|
*/
|
|
143
143
|
FontFamilyWebSans: {
|
|
144
|
-
value: "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
144
|
+
value: "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
145
145
|
attributes: {
|
|
146
146
|
group: 'fontFamily'
|
|
147
147
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var typography = {
|
|
2
2
|
font: {
|
|
3
3
|
heading: {
|
|
4
|
-
|
|
4
|
+
xxlarge: {
|
|
5
5
|
value: {
|
|
6
6
|
fontWeight: 'FontWeight700',
|
|
7
7
|
fontSize: 'FontSize36',
|
|
@@ -11,7 +11,7 @@ var typography = {
|
|
|
11
11
|
letterSpacing: 'LetterSpacing0'
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
xlarge: {
|
|
15
15
|
value: {
|
|
16
16
|
fontWeight: 'FontWeight700',
|
|
17
17
|
fontSize: 'FontSize28',
|
|
@@ -21,7 +21,7 @@ var typography = {
|
|
|
21
21
|
letterSpacing: 'LetterSpacing0'
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
large: {
|
|
25
25
|
value: {
|
|
26
26
|
fontWeight: 'FontWeight700',
|
|
27
27
|
fontSize: 'FontSize24',
|
|
@@ -31,7 +31,7 @@ var typography = {
|
|
|
31
31
|
letterSpacing: 'LetterSpacing0'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
medium: {
|
|
35
35
|
value: {
|
|
36
36
|
fontWeight: 'FontWeight700',
|
|
37
37
|
fontSize: 'FontSize20',
|
|
@@ -41,7 +41,7 @@ var typography = {
|
|
|
41
41
|
letterSpacing: 'LetterSpacing0'
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
|
|
44
|
+
small: {
|
|
45
45
|
value: {
|
|
46
46
|
fontWeight: 'FontWeight700',
|
|
47
47
|
fontSize: 'FontSize16',
|
|
@@ -51,7 +51,7 @@ var typography = {
|
|
|
51
51
|
letterSpacing: 'LetterSpacing0'
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
xsmall: {
|
|
55
55
|
value: {
|
|
56
56
|
fontWeight: 'FontWeight700',
|
|
57
57
|
fontSize: 'FontSize14',
|
|
@@ -61,7 +61,7 @@ var typography = {
|
|
|
61
61
|
letterSpacing: 'LetterSpacing0'
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
xxsmall: {
|
|
65
65
|
value: {
|
|
66
66
|
fontWeight: 'FontWeight700',
|
|
67
67
|
fontSize: 'FontSize12',
|
|
@@ -95,7 +95,7 @@ var typography = {
|
|
|
95
95
|
letterSpacing: 'LetterSpacing0'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
small: {
|
|
99
99
|
value: {
|
|
100
100
|
fontWeight: 'FontWeight400',
|
|
101
101
|
fontSize: 'FontSize12',
|
|
@@ -105,7 +105,7 @@ var typography = {
|
|
|
105
105
|
letterSpacing: 'LetterSpacing0'
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
large: {
|
|
109
109
|
value: {
|
|
110
110
|
fontWeight: 'FontWeight400',
|
|
111
111
|
fontSize: 'FontSize16',
|
|
@@ -127,7 +127,7 @@ var typography = {
|
|
|
127
127
|
letterSpacing: 'LetterSpacing0'
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
|
-
|
|
130
|
+
small: {
|
|
131
131
|
value: {
|
|
132
132
|
fontWeight: 'FontWeight400',
|
|
133
133
|
fontSize: 'FontSize12',
|
|
@@ -9,7 +9,7 @@ var utility = {
|
|
|
9
9
|
var typography = {
|
|
10
10
|
font: {
|
|
11
11
|
heading: {
|
|
12
|
-
|
|
12
|
+
xxlarge: {
|
|
13
13
|
value: {
|
|
14
14
|
fontWeight: 'FontWeight500',
|
|
15
15
|
fontSize: 'LegacyFontSize35',
|
|
@@ -19,7 +19,7 @@ var typography = {
|
|
|
19
19
|
letterSpacing: 'LetterSpacing400'
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
xlarge: {
|
|
23
23
|
value: {
|
|
24
24
|
fontWeight: 'FontWeight600',
|
|
25
25
|
fontSize: 'LegacyFontSize29',
|
|
@@ -29,7 +29,7 @@ var typography = {
|
|
|
29
29
|
letterSpacing: 'LetterSpacing400'
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
large: {
|
|
33
33
|
value: {
|
|
34
34
|
fontWeight: 'FontWeight500',
|
|
35
35
|
fontSize: 'FontSize24',
|
|
@@ -39,7 +39,7 @@ var typography = {
|
|
|
39
39
|
letterSpacing: 'LetterSpacing400'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
medium: {
|
|
43
43
|
value: {
|
|
44
44
|
fontWeight: 'FontWeight500',
|
|
45
45
|
fontSize: 'FontSize20',
|
|
@@ -49,7 +49,7 @@ var typography = {
|
|
|
49
49
|
letterSpacing: 'LetterSpacing300'
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
|
|
52
|
+
small: {
|
|
53
53
|
value: {
|
|
54
54
|
fontWeight: 'FontWeight600',
|
|
55
55
|
fontSize: 'FontSize16',
|
|
@@ -59,7 +59,7 @@ var typography = {
|
|
|
59
59
|
letterSpacing: 'LetterSpacing200'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
|
|
62
|
+
xsmall: {
|
|
63
63
|
value: {
|
|
64
64
|
fontWeight: 'FontWeight600',
|
|
65
65
|
fontSize: 'FontSize14',
|
|
@@ -69,7 +69,7 @@ var typography = {
|
|
|
69
69
|
letterSpacing: 'LetterSpacing100'
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
|
|
72
|
+
xxsmall: {
|
|
73
73
|
value: {
|
|
74
74
|
fontWeight: 'FontWeight600',
|
|
75
75
|
fontSize: 'FontSize12',
|
|
@@ -103,7 +103,7 @@ var typography = {
|
|
|
103
103
|
letterSpacing: 'LetterSpacing0'
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
|
|
106
|
+
large: {
|
|
107
107
|
value: {
|
|
108
108
|
fontWeight: 'FontWeight400',
|
|
109
109
|
fontSize: 'FontSize16',
|
|
@@ -113,7 +113,7 @@ var typography = {
|
|
|
113
113
|
letterSpacing: 'LetterSpacing0'
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
small: {
|
|
117
117
|
value: {
|
|
118
118
|
fontWeight: 'FontWeight400',
|
|
119
119
|
fontSize: 'LegacyFontSize11',
|
|
@@ -135,7 +135,7 @@ var typography = {
|
|
|
135
135
|
letterSpacing: 'LetterSpacing0'
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
-
|
|
138
|
+
small: {
|
|
139
139
|
value: {
|
|
140
140
|
fontWeight: 'FontWeight400',
|
|
141
141
|
fontSize: 'LegacyFontSize11',
|
|
@@ -9,7 +9,7 @@ var utility = {
|
|
|
9
9
|
var typography = {
|
|
10
10
|
font: {
|
|
11
11
|
heading: {
|
|
12
|
-
|
|
12
|
+
xxlarge: {
|
|
13
13
|
value: {
|
|
14
14
|
fontWeight: 'FontWeight700',
|
|
15
15
|
fontSize: 'FontSize32',
|
|
@@ -19,7 +19,7 @@ var typography = {
|
|
|
19
19
|
letterSpacing: 'LetterSpacing0'
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
xlarge: {
|
|
23
23
|
value: {
|
|
24
24
|
fontWeight: 'FontWeight700',
|
|
25
25
|
fontSize: 'FontSize28',
|
|
@@ -29,7 +29,7 @@ var typography = {
|
|
|
29
29
|
letterSpacing: 'LetterSpacing0'
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
large: {
|
|
33
33
|
value: {
|
|
34
34
|
fontWeight: 'FontWeight700',
|
|
35
35
|
fontSize: 'FontSize24',
|
|
@@ -39,7 +39,7 @@ var typography = {
|
|
|
39
39
|
letterSpacing: 'LetterSpacing0'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
medium: {
|
|
43
43
|
value: {
|
|
44
44
|
fontWeight: 'FontWeight700',
|
|
45
45
|
fontSize: 'FontSize20',
|
|
@@ -49,7 +49,7 @@ var typography = {
|
|
|
49
49
|
letterSpacing: 'LetterSpacing0'
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
|
|
52
|
+
small: {
|
|
53
53
|
value: {
|
|
54
54
|
fontWeight: 'FontWeight700',
|
|
55
55
|
fontSize: 'FontSize16',
|
|
@@ -59,7 +59,7 @@ var typography = {
|
|
|
59
59
|
letterSpacing: 'LetterSpacing0'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
|
|
62
|
+
xsmall: {
|
|
63
63
|
value: {
|
|
64
64
|
fontWeight: 'FontWeight700',
|
|
65
65
|
fontSize: 'FontSize14',
|
|
@@ -69,7 +69,7 @@ var typography = {
|
|
|
69
69
|
letterSpacing: 'LetterSpacing0'
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
|
|
72
|
+
xxsmall: {
|
|
73
73
|
value: {
|
|
74
74
|
fontWeight: 'FontWeight700',
|
|
75
75
|
fontSize: 'FontSize12',
|
|
@@ -103,7 +103,7 @@ var typography = {
|
|
|
103
103
|
letterSpacing: 'LetterSpacing0'
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
|
|
106
|
+
large: {
|
|
107
107
|
value: {
|
|
108
108
|
fontWeight: 'FontWeight400',
|
|
109
109
|
fontSize: 'FontSize16',
|
|
@@ -113,7 +113,7 @@ var typography = {
|
|
|
113
113
|
letterSpacing: 'LetterSpacing0'
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
small: {
|
|
117
117
|
value: {
|
|
118
118
|
fontWeight: 'FontWeight400',
|
|
119
119
|
fontSize: 'FontSize12',
|
|
@@ -135,7 +135,7 @@ var typography = {
|
|
|
135
135
|
letterSpacing: 'LetterSpacing0'
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
-
|
|
138
|
+
small: {
|
|
139
139
|
value: {
|
|
140
140
|
fontWeight: 'FontWeight400',
|
|
141
141
|
fontSize: 'FontSize12',
|
|
@@ -28,7 +28,7 @@ var font = {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
heading: {
|
|
31
|
-
|
|
31
|
+
xxlarge: {
|
|
32
32
|
attributes: {
|
|
33
33
|
group: 'typography',
|
|
34
34
|
state: 'experimental',
|
|
@@ -36,7 +36,7 @@ var font = {
|
|
|
36
36
|
description: 'TBD'
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
|
|
39
|
+
xlarge: {
|
|
40
40
|
attributes: {
|
|
41
41
|
group: 'typography',
|
|
42
42
|
state: 'experimental',
|
|
@@ -44,7 +44,7 @@ var font = {
|
|
|
44
44
|
description: 'TBD'
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
large: {
|
|
48
48
|
attributes: {
|
|
49
49
|
group: 'typography',
|
|
50
50
|
state: 'experimental',
|
|
@@ -52,7 +52,7 @@ var font = {
|
|
|
52
52
|
description: 'TBD'
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
medium: {
|
|
56
56
|
attributes: {
|
|
57
57
|
group: 'typography',
|
|
58
58
|
state: 'experimental',
|
|
@@ -60,7 +60,7 @@ var font = {
|
|
|
60
60
|
description: 'TBD'
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
|
|
63
|
+
small: {
|
|
64
64
|
attributes: {
|
|
65
65
|
group: 'typography',
|
|
66
66
|
state: 'experimental',
|
|
@@ -68,7 +68,7 @@ var font = {
|
|
|
68
68
|
description: 'TBD'
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
xsmall: {
|
|
72
72
|
attributes: {
|
|
73
73
|
group: 'typography',
|
|
74
74
|
state: 'experimental',
|
|
@@ -76,7 +76,7 @@ var font = {
|
|
|
76
76
|
description: 'TBD'
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
|
|
79
|
+
xxsmall: {
|
|
80
80
|
attributes: {
|
|
81
81
|
group: 'typography',
|
|
82
82
|
state: 'experimental',
|
|
@@ -86,7 +86,7 @@ var font = {
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
ui: {
|
|
89
|
-
|
|
89
|
+
small: {
|
|
90
90
|
attributes: {
|
|
91
91
|
group: 'typography',
|
|
92
92
|
state: 'experimental',
|
|
@@ -104,7 +104,7 @@ var font = {
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
body: {
|
|
107
|
-
|
|
107
|
+
large: {
|
|
108
108
|
attributes: {
|
|
109
109
|
group: 'typography',
|
|
110
110
|
state: 'experimental',
|
|
@@ -112,7 +112,7 @@ var font = {
|
|
|
112
112
|
description: 'Larger body font or default body font for text rich experiences.'
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
|
-
|
|
115
|
+
small: {
|
|
116
116
|
attributes: {
|
|
117
117
|
group: 'typography',
|
|
118
118
|
state: 'experimental',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
+
var _class2;
|
|
4
5
|
/**
|
|
5
6
|
* Below lines are copied from @material/material-color-utilities.
|
|
6
7
|
* Do not modify it.
|
|
@@ -1023,7 +1024,8 @@ export var ViewingConditions = /*#__PURE__*/function () {
|
|
|
1023
1024
|
}]);
|
|
1024
1025
|
return ViewingConditions;
|
|
1025
1026
|
}();
|
|
1027
|
+
_class2 = ViewingConditions;
|
|
1026
1028
|
/**
|
|
1027
1029
|
* sRGB-like viewing conditions.
|
|
1028
1030
|
*/
|
|
1029
|
-
_defineProperty(ViewingConditions, "DEFAULT",
|
|
1031
|
+
_defineProperty(ViewingConditions, "DEFAULT", _class2.make());
|
|
@@ -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::70935f0c6dc0ecb8df8e0eea44853fba>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::96cc62c830718e9d864db23c2575005d>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.6875rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 500 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 500 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 600 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 600 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: -0.003em;\n --ds-font-letterSpacing-200: -0.006em;\n --ds-font-letterSpacing-300: -0.008em;\n --ds-font-letterSpacing-400: -0.01em;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.6875rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n --ds-font-size-050: 0.6875rem;\n --ds-font-size-075: 0.75rem;\n --ds-font-size-100: 0.875rem;\n --ds-font-size-200: 1rem;\n --ds-font-size-300: 1.25rem;\n --ds-font-size-400: 1.5rem;\n --ds-font-size-500: 1.8125rem;\n --ds-font-size-600: 2.1875rem;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n --ds-font-lineHeight-1: 1;\n --ds-font-lineHeight-100: 1rem;\n --ds-font-lineHeight-200: 1.25rem;\n --ds-font-lineHeight-300: 1.5rem;\n --ds-font-lineHeight-400: 1.75rem;\n --ds-font-lineHeight-500: 2rem;\n --ds-font-lineHeight-600: 2.5rem;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::f49eba45b4716be1be41c0ca5a63069e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2.25rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
7
7
|
export default _default;
|