@atlaskit/tokens 1.49.0 → 1.50.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 +1589 -1591
- package/README.md +14 -8
- package/codemods/css-to-design-tokens/lib/colors.tsx +47 -49
- package/codemods/css-to-design-tokens/lib/declaration.tsx +26 -26
- package/codemods/css-to-design-tokens/lib/legacy-colors.tsx +326 -326
- package/codemods/css-to-design-tokens/lib/meta.tsx +116 -122
- package/codemods/css-to-design-tokens/lib/tokens.tsx +28 -35
- package/codemods/css-to-design-tokens/lib/value.tsx +70 -72
- package/codemods/css-to-design-tokens/transform.tsx +68 -72
- package/codemods/hypermod.config.tsx +5 -5
- package/codemods/remove-fallbacks-color/transform.tsx +16 -18
- package/codemods/theme-to-design-tokens/transform.tsx +505 -588
- package/codemods/theme-to-design-tokens/utils/ast-meta.tsx +139 -147
- package/codemods/theme-to-design-tokens/utils/ast.tsx +23 -34
- package/codemods/theme-to-design-tokens/utils/color.tsx +25 -26
- package/codemods/theme-to-design-tokens/utils/css-utils.tsx +27 -30
- package/codemods/theme-to-design-tokens/utils/fuzzy-search.tsx +272 -290
- package/codemods/theme-to-design-tokens/utils/legacy-colors.tsx +224 -224
- package/codemods/theme-to-design-tokens/utils/named-colors.tsx +148 -148
- package/codemods/theme-to-design-tokens/utils/string-utils.tsx +10 -16
- package/codemods/utils/tokens.tsx +371 -371
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/cjs/artifacts/theme-import-map.js +1 -1
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +1 -1
- package/dist/cjs/artifacts/token-names.js +1 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +1 -1
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/es2019/artifacts/theme-import-map.js +1 -1
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/es2019/artifacts/token-default-values.js +1 -1
- package/dist/es2019/artifacts/token-names.js +1 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
- package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
- package/dist/esm/artifacts/generated-pairs.js +1 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +45 -30
- package/dist/esm/artifacts/theme-import-map.js +1 -1
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +1 -1
- package/dist/esm/artifacts/token-names.js +1 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +20 -20
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +13 -13
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -1
- package/dist/types/artifacts/token-names.d.ts +1 -1
- 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/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/babel-plugin/plugin.d.ts +1 -1
- package/dist/types/custom-theme.d.ts +2 -2
- package/dist/types/enable-global-theme.d.ts +2 -2
- package/dist/types/entry-points/css-type-schema.codegen.d.ts +1 -1
- package/dist/types/entry-points/token-ids.d.ts +1 -1
- package/dist/types/get-global-theme.d.ts +1 -1
- package/dist/types/get-ssr-auto-script.d.ts +1 -1
- package/dist/types/get-theme-html-attrs.d.ts +1 -1
- package/dist/types/get-theme-styles.d.ts +1 -1
- package/dist/types/get-token.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/load-custom-theme-styles.d.ts +1 -1
- package/dist/types/set-global-theme.d.ts +2 -2
- package/dist/types/theme-state-transformer.d.ts +1 -1
- package/dist/types/utils/color-detection.d.ts +1 -1
- package/dist/types/utils/color-mode-listeners.d.ts +1 -1
- package/dist/types/utils/configure-page.d.ts +1 -1
- package/dist/types/utils/contrast-mode-listeners.d.ts +1 -1
- package/dist/types/utils/custom-theme-loading-utils.d.ts +1 -1
- package/dist/types/utils/custom-theme-token-contrast-check.d.ts +1 -1
- package/dist/types/utils/generate-custom-color-ramp.d.ts +2 -2
- package/dist/types/utils/get-increased-contrast-theme.d.ts +1 -1
- package/dist/types/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types/utils/theme-loading.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- 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 +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -1
- 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/types-internal.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types.d.ts +1 -1
- package/dist/types-ts4.5/babel-plugin/plugin.d.ts +1 -1
- package/dist/types-ts4.5/custom-theme.d.ts +2 -2
- package/dist/types-ts4.5/enable-global-theme.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/token-ids.d.ts +1 -1
- package/dist/types-ts4.5/get-global-theme.d.ts +1 -1
- package/dist/types-ts4.5/get-ssr-auto-script.d.ts +1 -1
- package/dist/types-ts4.5/get-theme-html-attrs.d.ts +1 -1
- package/dist/types-ts4.5/get-theme-styles.d.ts +1 -1
- package/dist/types-ts4.5/get-token.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/load-custom-theme-styles.d.ts +1 -1
- package/dist/types-ts4.5/set-global-theme.d.ts +2 -2
- package/dist/types-ts4.5/theme-state-transformer.d.ts +1 -1
- package/dist/types-ts4.5/utils/color-detection.d.ts +1 -1
- package/dist/types-ts4.5/utils/color-mode-listeners.d.ts +1 -1
- package/dist/types-ts4.5/utils/configure-page.d.ts +1 -1
- package/dist/types-ts4.5/utils/contrast-mode-listeners.d.ts +1 -1
- package/dist/types-ts4.5/utils/custom-theme-loading-utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +1 -1
- package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +2 -2
- package/dist/types-ts4.5/utils/get-increased-contrast-theme.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-theme-preferences.d.ts +1 -1
- package/dist/types-ts4.5/utils/theme-loading.d.ts +1 -1
- package/package.json +3 -5
- package/report.api.md +2071 -2090
|
@@ -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::d0f067fcc82edf831afe2fd039ca0a0c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -468,21 +468,6 @@ const tokens = [{
|
|
|
468
468
|
},
|
|
469
469
|
"name": "typography.letterSpacing.LetterSpacing400",
|
|
470
470
|
"path": ["typography", "letterSpacing", "LetterSpacing400"]
|
|
471
|
-
}, {
|
|
472
|
-
"value": "12px",
|
|
473
|
-
"attributes": {
|
|
474
|
-
"group": "lineHeight"
|
|
475
|
-
},
|
|
476
|
-
"filePath": "schema/palettes/typography-palette.tsx",
|
|
477
|
-
"isSource": true,
|
|
478
|
-
"original": {
|
|
479
|
-
"value": 12,
|
|
480
|
-
"attributes": {
|
|
481
|
-
"group": "lineHeight"
|
|
482
|
-
}
|
|
483
|
-
},
|
|
484
|
-
"name": "typography.lineHeight.LineHeight050",
|
|
485
|
-
"path": ["typography", "lineHeight", "LineHeight050"]
|
|
486
471
|
}, {
|
|
487
472
|
"value": "1",
|
|
488
473
|
"attributes": {
|
|
@@ -511,8 +496,8 @@ const tokens = [{
|
|
|
511
496
|
"group": "lineHeight"
|
|
512
497
|
}
|
|
513
498
|
},
|
|
514
|
-
"name": "typography.lineHeight.
|
|
515
|
-
"path": ["typography", "lineHeight", "
|
|
499
|
+
"name": "typography.lineHeight.LineHeight16",
|
|
500
|
+
"path": ["typography", "lineHeight", "LineHeight16"]
|
|
516
501
|
}, {
|
|
517
502
|
"value": "20px",
|
|
518
503
|
"attributes": {
|
|
@@ -526,8 +511,8 @@ const tokens = [{
|
|
|
526
511
|
"group": "lineHeight"
|
|
527
512
|
}
|
|
528
513
|
},
|
|
529
|
-
"name": "typography.lineHeight.
|
|
530
|
-
"path": ["typography", "lineHeight", "
|
|
514
|
+
"name": "typography.lineHeight.LineHeight20",
|
|
515
|
+
"path": ["typography", "lineHeight", "LineHeight20"]
|
|
531
516
|
}, {
|
|
532
517
|
"value": "24px",
|
|
533
518
|
"attributes": {
|
|
@@ -541,8 +526,8 @@ const tokens = [{
|
|
|
541
526
|
"group": "lineHeight"
|
|
542
527
|
}
|
|
543
528
|
},
|
|
544
|
-
"name": "typography.lineHeight.
|
|
545
|
-
"path": ["typography", "lineHeight", "
|
|
529
|
+
"name": "typography.lineHeight.LineHeight24",
|
|
530
|
+
"path": ["typography", "lineHeight", "LineHeight24"]
|
|
546
531
|
}, {
|
|
547
532
|
"value": "28px",
|
|
548
533
|
"attributes": {
|
|
@@ -556,8 +541,8 @@ const tokens = [{
|
|
|
556
541
|
"group": "lineHeight"
|
|
557
542
|
}
|
|
558
543
|
},
|
|
559
|
-
"name": "typography.lineHeight.
|
|
560
|
-
"path": ["typography", "lineHeight", "
|
|
544
|
+
"name": "typography.lineHeight.LineHeight28",
|
|
545
|
+
"path": ["typography", "lineHeight", "LineHeight28"]
|
|
561
546
|
}, {
|
|
562
547
|
"value": "32px",
|
|
563
548
|
"attributes": {
|
|
@@ -571,8 +556,8 @@ const tokens = [{
|
|
|
571
556
|
"group": "lineHeight"
|
|
572
557
|
}
|
|
573
558
|
},
|
|
574
|
-
"name": "typography.lineHeight.
|
|
575
|
-
"path": ["typography", "lineHeight", "
|
|
559
|
+
"name": "typography.lineHeight.LineHeight32",
|
|
560
|
+
"path": ["typography", "lineHeight", "LineHeight32"]
|
|
576
561
|
}, {
|
|
577
562
|
"value": "36px",
|
|
578
563
|
"attributes": {
|
|
@@ -586,8 +571,8 @@ const tokens = [{
|
|
|
586
571
|
"group": "lineHeight"
|
|
587
572
|
}
|
|
588
573
|
},
|
|
589
|
-
"name": "typography.lineHeight.
|
|
590
|
-
"path": ["typography", "lineHeight", "
|
|
574
|
+
"name": "typography.lineHeight.LineHeight36",
|
|
575
|
+
"path": ["typography", "lineHeight", "LineHeight36"]
|
|
591
576
|
}, {
|
|
592
577
|
"value": "40px",
|
|
593
578
|
"attributes": {
|
|
@@ -601,7 +586,37 @@ const tokens = [{
|
|
|
601
586
|
"group": "lineHeight"
|
|
602
587
|
}
|
|
603
588
|
},
|
|
604
|
-
"name": "typography.lineHeight.
|
|
605
|
-
"path": ["typography", "lineHeight", "
|
|
589
|
+
"name": "typography.lineHeight.LineHeight40",
|
|
590
|
+
"path": ["typography", "lineHeight", "LineHeight40"]
|
|
591
|
+
}, {
|
|
592
|
+
"value": "48px",
|
|
593
|
+
"attributes": {
|
|
594
|
+
"group": "lineHeight"
|
|
595
|
+
},
|
|
596
|
+
"filePath": "schema/palettes/typography-palette.tsx",
|
|
597
|
+
"isSource": true,
|
|
598
|
+
"original": {
|
|
599
|
+
"value": 48,
|
|
600
|
+
"attributes": {
|
|
601
|
+
"group": "lineHeight"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"name": "typography.lineHeight.LineHeight48",
|
|
605
|
+
"path": ["typography", "lineHeight", "LineHeight48"]
|
|
606
|
+
}, {
|
|
607
|
+
"value": "56px",
|
|
608
|
+
"attributes": {
|
|
609
|
+
"group": "lineHeight"
|
|
610
|
+
},
|
|
611
|
+
"filePath": "schema/palettes/typography-palette.tsx",
|
|
612
|
+
"isSource": true,
|
|
613
|
+
"original": {
|
|
614
|
+
"value": 56,
|
|
615
|
+
"attributes": {
|
|
616
|
+
"group": "lineHeight"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"name": "typography.lineHeight.LineHeight56",
|
|
620
|
+
"path": ["typography", "lineHeight", "LineHeight56"]
|
|
606
621
|
}];
|
|
607
622
|
export default tokens;
|
|
@@ -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::b40de5ef0f17e1889f99be077c365e02>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
|
|
@@ -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::0d78dffc736e342c95d1285f45359dd6>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
@@ -16,7 +16,7 @@ html[data-theme~="typography:typography-minor3"] {
|
|
|
16
16
|
--ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
17
17
|
--ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
18
18
|
--ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
19
|
-
--ds-font-heading-xsmall: normal 700 0.875rem/
|
|
19
|
+
--ds-font-heading-xsmall: normal 700 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
20
20
|
--ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
21
21
|
--ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
22
22
|
--ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
8
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
9
9
|
*
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::2fa3f52c4d7435cd0f92feb235c7ca68>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
const defaultTokenValues = {
|
|
@@ -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::25d54efb80cdfa2dff073292bd28bbcb>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -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::f7c730817ba1e1c9992dce2fbc46dc93>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -167,7 +167,7 @@ const tokens = [{
|
|
|
167
167
|
"value": {
|
|
168
168
|
"fontWeight": "FontWeight500",
|
|
169
169
|
"fontSize": "LegacyFontSize35",
|
|
170
|
-
"lineHeight": "
|
|
170
|
+
"lineHeight": "LineHeight40",
|
|
171
171
|
"fontFamily": "FontFamilyWebSans",
|
|
172
172
|
"fontStyle": "normal",
|
|
173
173
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -198,7 +198,7 @@ const tokens = [{
|
|
|
198
198
|
"value": {
|
|
199
199
|
"fontWeight": "FontWeight600",
|
|
200
200
|
"fontSize": "LegacyFontSize29",
|
|
201
|
-
"lineHeight": "
|
|
201
|
+
"lineHeight": "LineHeight32",
|
|
202
202
|
"fontFamily": "FontFamilyWebSans",
|
|
203
203
|
"fontStyle": "normal",
|
|
204
204
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -229,7 +229,7 @@ const tokens = [{
|
|
|
229
229
|
"value": {
|
|
230
230
|
"fontWeight": "FontWeight500",
|
|
231
231
|
"fontSize": "FontSize24",
|
|
232
|
-
"lineHeight": "
|
|
232
|
+
"lineHeight": "LineHeight28",
|
|
233
233
|
"fontFamily": "FontFamilyWebSans",
|
|
234
234
|
"fontStyle": "normal",
|
|
235
235
|
"letterSpacing": "LetterSpacing400"
|
|
@@ -260,7 +260,7 @@ const tokens = [{
|
|
|
260
260
|
"value": {
|
|
261
261
|
"fontWeight": "FontWeight500",
|
|
262
262
|
"fontSize": "FontSize20",
|
|
263
|
-
"lineHeight": "
|
|
263
|
+
"lineHeight": "LineHeight24",
|
|
264
264
|
"fontFamily": "FontFamilyWebSans",
|
|
265
265
|
"fontStyle": "normal",
|
|
266
266
|
"letterSpacing": "LetterSpacing300"
|
|
@@ -289,7 +289,7 @@ const tokens = [{
|
|
|
289
289
|
"value": {
|
|
290
290
|
"fontWeight": "FontWeight600",
|
|
291
291
|
"fontSize": "FontSize16",
|
|
292
|
-
"lineHeight": "
|
|
292
|
+
"lineHeight": "LineHeight20",
|
|
293
293
|
"fontFamily": "FontFamilyWebSans",
|
|
294
294
|
"fontStyle": "normal",
|
|
295
295
|
"letterSpacing": "LetterSpacing200"
|
|
@@ -318,7 +318,7 @@ const tokens = [{
|
|
|
318
318
|
"value": {
|
|
319
319
|
"fontWeight": "FontWeight600",
|
|
320
320
|
"fontSize": "FontSize14",
|
|
321
|
-
"lineHeight": "
|
|
321
|
+
"lineHeight": "LineHeight16",
|
|
322
322
|
"fontFamily": "FontFamilyWebSans",
|
|
323
323
|
"fontStyle": "normal",
|
|
324
324
|
"letterSpacing": "LetterSpacing100"
|
|
@@ -347,7 +347,7 @@ const tokens = [{
|
|
|
347
347
|
"value": {
|
|
348
348
|
"fontWeight": "FontWeight600",
|
|
349
349
|
"fontSize": "FontSize12",
|
|
350
|
-
"lineHeight": "
|
|
350
|
+
"lineHeight": "LineHeight16",
|
|
351
351
|
"fontFamily": "FontFamilyWebSans",
|
|
352
352
|
"fontStyle": "normal",
|
|
353
353
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -376,7 +376,7 @@ const tokens = [{
|
|
|
376
376
|
"value": {
|
|
377
377
|
"fontWeight": "FontWeight400",
|
|
378
378
|
"fontSize": "FontSize16",
|
|
379
|
-
"lineHeight": "
|
|
379
|
+
"lineHeight": "LineHeight24",
|
|
380
380
|
"fontFamily": "FontFamilyWebSans",
|
|
381
381
|
"fontStyle": "normal",
|
|
382
382
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -405,7 +405,7 @@ const tokens = [{
|
|
|
405
405
|
"value": {
|
|
406
406
|
"fontWeight": "FontWeight400",
|
|
407
407
|
"fontSize": "FontSize14",
|
|
408
|
-
"lineHeight": "
|
|
408
|
+
"lineHeight": "LineHeight20",
|
|
409
409
|
"fontFamily": "FontFamilyWebSans",
|
|
410
410
|
"fontStyle": "normal",
|
|
411
411
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -434,7 +434,7 @@ const tokens = [{
|
|
|
434
434
|
"value": {
|
|
435
435
|
"fontWeight": "FontWeight400",
|
|
436
436
|
"fontSize": "LegacyFontSize11",
|
|
437
|
-
"lineHeight": "
|
|
437
|
+
"lineHeight": "LineHeight16",
|
|
438
438
|
"fontFamily": "FontFamilyWebSans",
|
|
439
439
|
"fontStyle": "normal",
|
|
440
440
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -463,7 +463,7 @@ const tokens = [{
|
|
|
463
463
|
"value": {
|
|
464
464
|
"fontWeight": "FontWeight400",
|
|
465
465
|
"fontSize": "FontSize12",
|
|
466
|
-
"lineHeight": "
|
|
466
|
+
"lineHeight": "LineHeight16",
|
|
467
467
|
"fontFamily": "FontFamilyWebSans",
|
|
468
468
|
"fontStyle": "normal",
|
|
469
469
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -944,7 +944,7 @@ const tokens = [{
|
|
|
944
944
|
"group": "lineHeight",
|
|
945
945
|
"state": "deprecated",
|
|
946
946
|
"introduced": "0.10.33",
|
|
947
|
-
"description": "
|
|
947
|
+
"description": "Helpful guidance goes here",
|
|
948
948
|
"deprecated": "1.29.0"
|
|
949
949
|
},
|
|
950
950
|
"value": "1",
|
|
@@ -955,7 +955,7 @@ const tokens = [{
|
|
|
955
955
|
"group": "lineHeight",
|
|
956
956
|
"state": "deprecated",
|
|
957
957
|
"introduced": "0.10.33",
|
|
958
|
-
"description": "
|
|
958
|
+
"description": "Helpful guidance goes here",
|
|
959
959
|
"deprecated": "1.29.0"
|
|
960
960
|
},
|
|
961
961
|
"value": "LineHeight1"
|
|
@@ -982,7 +982,7 @@ const tokens = [{
|
|
|
982
982
|
"description": "Helpful guidance goes here",
|
|
983
983
|
"deprecated": "1.29.0"
|
|
984
984
|
},
|
|
985
|
-
"value": "
|
|
985
|
+
"value": "LineHeight16"
|
|
986
986
|
},
|
|
987
987
|
"name": "font.lineHeight.100",
|
|
988
988
|
"path": ["font", "lineHeight", "100"],
|
|
@@ -1006,7 +1006,7 @@ const tokens = [{
|
|
|
1006
1006
|
"description": "Helpful guidance goes here",
|
|
1007
1007
|
"deprecated": "1.29.0"
|
|
1008
1008
|
},
|
|
1009
|
-
"value": "
|
|
1009
|
+
"value": "LineHeight20"
|
|
1010
1010
|
},
|
|
1011
1011
|
"name": "font.lineHeight.200",
|
|
1012
1012
|
"path": ["font", "lineHeight", "200"],
|
|
@@ -1030,7 +1030,7 @@ const tokens = [{
|
|
|
1030
1030
|
"description": "Helpful guidance goes here",
|
|
1031
1031
|
"deprecated": "1.29.0"
|
|
1032
1032
|
},
|
|
1033
|
-
"value": "
|
|
1033
|
+
"value": "LineHeight24"
|
|
1034
1034
|
},
|
|
1035
1035
|
"name": "font.lineHeight.300",
|
|
1036
1036
|
"path": ["font", "lineHeight", "300"],
|
|
@@ -1054,7 +1054,7 @@ const tokens = [{
|
|
|
1054
1054
|
"description": "Helpful guidance goes here",
|
|
1055
1055
|
"deprecated": "1.29.0"
|
|
1056
1056
|
},
|
|
1057
|
-
"value": "
|
|
1057
|
+
"value": "LineHeight28"
|
|
1058
1058
|
},
|
|
1059
1059
|
"name": "font.lineHeight.400",
|
|
1060
1060
|
"path": ["font", "lineHeight", "400"],
|
|
@@ -1078,7 +1078,7 @@ const tokens = [{
|
|
|
1078
1078
|
"description": "Helpful guidance goes here",
|
|
1079
1079
|
"deprecated": "1.29.0"
|
|
1080
1080
|
},
|
|
1081
|
-
"value": "
|
|
1081
|
+
"value": "LineHeight32"
|
|
1082
1082
|
},
|
|
1083
1083
|
"name": "font.lineHeight.500",
|
|
1084
1084
|
"path": ["font", "lineHeight", "500"],
|
|
@@ -1102,7 +1102,7 @@ const tokens = [{
|
|
|
1102
1102
|
"description": "Helpful guidance goes here",
|
|
1103
1103
|
"deprecated": "1.29.0"
|
|
1104
1104
|
},
|
|
1105
|
-
"value": "
|
|
1105
|
+
"value": "LineHeight40"
|
|
1106
1106
|
},
|
|
1107
1107
|
"name": "font.lineHeight.600",
|
|
1108
1108
|
"path": ["font", "lineHeight", "600"],
|
|
@@ -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::12bdee9d76f2380829d25e57e552d655>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -167,7 +167,7 @@ const tokens = [{
|
|
|
167
167
|
"value": {
|
|
168
168
|
"fontWeight": "FontWeight700",
|
|
169
169
|
"fontSize": "FontSize32",
|
|
170
|
-
"lineHeight": "
|
|
170
|
+
"lineHeight": "LineHeight36",
|
|
171
171
|
"fontFamily": "FontFamilyWebSans",
|
|
172
172
|
"fontStyle": "normal",
|
|
173
173
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -198,7 +198,7 @@ const tokens = [{
|
|
|
198
198
|
"value": {
|
|
199
199
|
"fontWeight": "FontWeight700",
|
|
200
200
|
"fontSize": "FontSize28",
|
|
201
|
-
"lineHeight": "
|
|
201
|
+
"lineHeight": "LineHeight32",
|
|
202
202
|
"fontFamily": "FontFamilyWebSans",
|
|
203
203
|
"fontStyle": "normal",
|
|
204
204
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -229,7 +229,7 @@ const tokens = [{
|
|
|
229
229
|
"value": {
|
|
230
230
|
"fontWeight": "FontWeight700",
|
|
231
231
|
"fontSize": "FontSize24",
|
|
232
|
-
"lineHeight": "
|
|
232
|
+
"lineHeight": "LineHeight28",
|
|
233
233
|
"fontFamily": "FontFamilyWebSans",
|
|
234
234
|
"fontStyle": "normal",
|
|
235
235
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -260,7 +260,7 @@ const tokens = [{
|
|
|
260
260
|
"value": {
|
|
261
261
|
"fontWeight": "FontWeight700",
|
|
262
262
|
"fontSize": "FontSize20",
|
|
263
|
-
"lineHeight": "
|
|
263
|
+
"lineHeight": "LineHeight24",
|
|
264
264
|
"fontFamily": "FontFamilyWebSans",
|
|
265
265
|
"fontStyle": "normal",
|
|
266
266
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -289,7 +289,7 @@ const tokens = [{
|
|
|
289
289
|
"value": {
|
|
290
290
|
"fontWeight": "FontWeight700",
|
|
291
291
|
"fontSize": "FontSize16",
|
|
292
|
-
"lineHeight": "
|
|
292
|
+
"lineHeight": "LineHeight20",
|
|
293
293
|
"fontFamily": "FontFamilyWebSans",
|
|
294
294
|
"fontStyle": "normal",
|
|
295
295
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -305,7 +305,7 @@ const tokens = [{
|
|
|
305
305
|
"introduced": "1.14.0",
|
|
306
306
|
"description": "For headers in small components where space is limited. Migrate instances of H400 to Heading XS."
|
|
307
307
|
},
|
|
308
|
-
"value": "normal 700 14px/
|
|
308
|
+
"value": "normal 700 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
309
309
|
"filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
|
|
310
310
|
"isSource": true,
|
|
311
311
|
"original": {
|
|
@@ -318,7 +318,7 @@ const tokens = [{
|
|
|
318
318
|
"value": {
|
|
319
319
|
"fontWeight": "FontWeight700",
|
|
320
320
|
"fontSize": "FontSize14",
|
|
321
|
-
"lineHeight": "
|
|
321
|
+
"lineHeight": "LineHeight20",
|
|
322
322
|
"fontFamily": "FontFamilyWebSans",
|
|
323
323
|
"fontStyle": "normal",
|
|
324
324
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -347,7 +347,7 @@ const tokens = [{
|
|
|
347
347
|
"value": {
|
|
348
348
|
"fontWeight": "FontWeight700",
|
|
349
349
|
"fontSize": "FontSize12",
|
|
350
|
-
"lineHeight": "
|
|
350
|
+
"lineHeight": "LineHeight16",
|
|
351
351
|
"fontFamily": "FontFamilyWebSans",
|
|
352
352
|
"fontStyle": "normal",
|
|
353
353
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -376,7 +376,7 @@ const tokens = [{
|
|
|
376
376
|
"value": {
|
|
377
377
|
"fontWeight": "FontWeight400",
|
|
378
378
|
"fontSize": "FontSize16",
|
|
379
|
-
"lineHeight": "
|
|
379
|
+
"lineHeight": "LineHeight24",
|
|
380
380
|
"fontFamily": "FontFamilyWebSans",
|
|
381
381
|
"fontStyle": "normal",
|
|
382
382
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -405,7 +405,7 @@ const tokens = [{
|
|
|
405
405
|
"value": {
|
|
406
406
|
"fontWeight": "FontWeight400",
|
|
407
407
|
"fontSize": "FontSize14",
|
|
408
|
-
"lineHeight": "
|
|
408
|
+
"lineHeight": "LineHeight20",
|
|
409
409
|
"fontFamily": "FontFamilyWebSans",
|
|
410
410
|
"fontStyle": "normal",
|
|
411
411
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -434,7 +434,7 @@ const tokens = [{
|
|
|
434
434
|
"value": {
|
|
435
435
|
"fontWeight": "FontWeight400",
|
|
436
436
|
"fontSize": "FontSize12",
|
|
437
|
-
"lineHeight": "
|
|
437
|
+
"lineHeight": "LineHeight16",
|
|
438
438
|
"fontFamily": "FontFamilyWebSans",
|
|
439
439
|
"fontStyle": "normal",
|
|
440
440
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -463,7 +463,7 @@ const tokens = [{
|
|
|
463
463
|
"value": {
|
|
464
464
|
"fontWeight": "FontWeight400",
|
|
465
465
|
"fontSize": "FontSize12",
|
|
466
|
-
"lineHeight": "
|
|
466
|
+
"lineHeight": "LineHeight16",
|
|
467
467
|
"fontFamily": "FontFamilyWebSans",
|
|
468
468
|
"fontStyle": "normal",
|
|
469
469
|
"letterSpacing": "LetterSpacing0"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their values, used for contrast checking when generating custom themes
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::023110f136ad929098f2d5a341b7ad7c>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
var tokenValues = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their values, used for contrast checking when generating custom themes
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9975d8c2d3b07e5b405782c2d24fab5f>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
var tokenValues = {
|