@atlaskit/tokens 1.56.0 → 1.56.2
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 +17 -0
- package/dist/cjs/artifacts/theme-import-map.js +4 -4
- package/dist/cjs/artifacts/themes/atlassian-typography-modernized.js +12 -0
- package/dist/cjs/artifacts/tokens-raw/{atlassian-typography-minor3.js → atlassian-typography-modernized.js} +30 -30
- package/dist/cjs/entry-points/tokens-raw.js +2 -2
- package/dist/cjs/theme-config.js +4 -4
- package/dist/cjs/utils/get-theme-preferences.js +1 -1
- package/dist/es2019/artifacts/theme-import-map.js +3 -3
- package/dist/es2019/artifacts/themes/{atlassian-typography-minor3.js → atlassian-typography-modernized.js} +2 -2
- package/dist/es2019/artifacts/tokens-raw/{atlassian-typography-minor3.js → atlassian-typography-modernized.js} +30 -30
- package/dist/es2019/entry-points/tokens-raw.js +1 -1
- package/dist/es2019/theme-config.js +4 -4
- package/dist/es2019/utils/get-theme-preferences.js +1 -1
- package/dist/esm/artifacts/theme-import-map.js +4 -4
- package/dist/esm/artifacts/themes/atlassian-typography-modernized.js +6 -0
- package/dist/esm/artifacts/tokens-raw/{atlassian-typography-minor3.js → atlassian-typography-modernized.js} +30 -30
- package/dist/esm/entry-points/tokens-raw.js +1 -1
- package/dist/esm/theme-config.js +4 -4
- package/dist/esm/utils/get-theme-preferences.js +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-modernized.d.ts +7 -0
- package/dist/types/artifacts/tokens-raw/{atlassian-typography-minor3.d.ts → atlassian-typography-modernized.d.ts} +1 -1
- package/dist/types/entry-points/tokens-raw.d.ts +1 -1
- package/dist/types/theme-config.d.ts +4 -4
- package/dist/types/utils/get-theme-preferences.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-modernized.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/{atlassian-typography-minor3.d.ts → atlassian-typography-modernized.d.ts} +1 -1
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
- package/dist/types-ts4.5/theme-config.d.ts +4 -4
- package/dist/types-ts4.5/utils/get-theme-preferences.d.ts +1 -1
- package/figma/{atlassian-typography-minor3.json → atlassian-typography-modernized.json} +10 -10
- package/package.json +1 -1
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +0 -12
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +0 -6
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +0 -7
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +0 -7
|
@@ -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::35d3625b04d052c37199113601e6c7ba>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -11,7 +11,7 @@ const tokens = [{
|
|
|
11
11
|
"description": "Text transform uppercase token used for backwards compatibility between new and old theming solutions"
|
|
12
12
|
},
|
|
13
13
|
"value": "uppercase",
|
|
14
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
14
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
15
15
|
"isSource": true,
|
|
16
16
|
"original": {
|
|
17
17
|
"attributes": {
|
|
@@ -34,7 +34,7 @@ const tokens = [{
|
|
|
34
34
|
"deprecated": "1.29.0"
|
|
35
35
|
},
|
|
36
36
|
"value": "0",
|
|
37
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
37
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
38
38
|
"isSource": true,
|
|
39
39
|
"original": {
|
|
40
40
|
"attributes": {
|
|
@@ -58,7 +58,7 @@ const tokens = [{
|
|
|
58
58
|
"deprecated": "1.29.0"
|
|
59
59
|
},
|
|
60
60
|
"value": "0",
|
|
61
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
61
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
64
|
"attributes": {
|
|
@@ -82,7 +82,7 @@ const tokens = [{
|
|
|
82
82
|
"deprecated": "1.29.0"
|
|
83
83
|
},
|
|
84
84
|
"value": "0",
|
|
85
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
85
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
86
86
|
"isSource": true,
|
|
87
87
|
"original": {
|
|
88
88
|
"attributes": {
|
|
@@ -106,7 +106,7 @@ const tokens = [{
|
|
|
106
106
|
"deprecated": "1.29.0"
|
|
107
107
|
},
|
|
108
108
|
"value": "0",
|
|
109
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
109
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
110
110
|
"isSource": true,
|
|
111
111
|
"original": {
|
|
112
112
|
"attributes": {
|
|
@@ -130,7 +130,7 @@ const tokens = [{
|
|
|
130
130
|
"deprecated": "1.29.0"
|
|
131
131
|
},
|
|
132
132
|
"value": "0",
|
|
133
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
133
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
134
134
|
"isSource": true,
|
|
135
135
|
"original": {
|
|
136
136
|
"attributes": {
|
|
@@ -153,7 +153,7 @@ const tokens = [{
|
|
|
153
153
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H900 to Heading XXL."
|
|
154
154
|
},
|
|
155
155
|
"value": "normal 700 32px/36px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
156
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
156
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
157
157
|
"isSource": true,
|
|
158
158
|
"original": {
|
|
159
159
|
"attributes": {
|
|
@@ -182,7 +182,7 @@ const tokens = [{
|
|
|
182
182
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H800 to Heading XL."
|
|
183
183
|
},
|
|
184
184
|
"value": "normal 700 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
185
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
185
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
186
186
|
"isSource": true,
|
|
187
187
|
"original": {
|
|
188
188
|
"attributes": {
|
|
@@ -211,7 +211,7 @@ const tokens = [{
|
|
|
211
211
|
"description": "Product page titles, such as forms. Migrate instances of H700 to Heading L."
|
|
212
212
|
},
|
|
213
213
|
"value": "normal 700 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
214
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
214
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
215
215
|
"isSource": true,
|
|
216
216
|
"original": {
|
|
217
217
|
"attributes": {
|
|
@@ -240,7 +240,7 @@ const tokens = [{
|
|
|
240
240
|
"description": "Headers in large components, such as modal dialogs. Migrate instances of H600 to Heading M."
|
|
241
241
|
},
|
|
242
242
|
"value": "normal 700 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
243
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
243
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
244
244
|
"isSource": true,
|
|
245
245
|
"original": {
|
|
246
246
|
"attributes": {
|
|
@@ -269,7 +269,7 @@ const tokens = [{
|
|
|
269
269
|
"description": "For headers in small components where space is limited. Migrate instances of H500 to Heading S."
|
|
270
270
|
},
|
|
271
271
|
"value": "normal 700 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
272
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
272
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
273
273
|
"isSource": true,
|
|
274
274
|
"original": {
|
|
275
275
|
"attributes": {
|
|
@@ -298,7 +298,7 @@ const tokens = [{
|
|
|
298
298
|
"description": "For headers in small components where space is limited. Migrate instances of H400 to Heading XS."
|
|
299
299
|
},
|
|
300
300
|
"value": "normal 700 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
301
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
301
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
302
302
|
"isSource": true,
|
|
303
303
|
"original": {
|
|
304
304
|
"attributes": {
|
|
@@ -327,7 +327,7 @@ const tokens = [{
|
|
|
327
327
|
"description": "For headers in fine print or tight spaces. Use sparingly. Migrate instances of H100, H200 and H300 to Heading XXS."
|
|
328
328
|
},
|
|
329
329
|
"value": "normal 700 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
330
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
330
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
331
331
|
"isSource": true,
|
|
332
332
|
"original": {
|
|
333
333
|
"attributes": {
|
|
@@ -356,7 +356,7 @@ const tokens = [{
|
|
|
356
356
|
"description": "For long-form text, such as in blogs."
|
|
357
357
|
},
|
|
358
358
|
"value": "normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
359
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
359
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
360
360
|
"isSource": true,
|
|
361
361
|
"original": {
|
|
362
362
|
"attributes": {
|
|
@@ -385,7 +385,7 @@ const tokens = [{
|
|
|
385
385
|
"description": "Use in short descriptions or labels. The default size for text in components. Migrate instances of Paragraph Default and UI Text to Body M."
|
|
386
386
|
},
|
|
387
387
|
"value": "normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
388
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
388
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
389
389
|
"isSource": true,
|
|
390
390
|
"original": {
|
|
391
391
|
"attributes": {
|
|
@@ -414,7 +414,7 @@ const tokens = [{
|
|
|
414
414
|
"description": "Use in secondary level content such as fine print or semantic messaging. Use sparingly. Migrate instances of Small text to Body S."
|
|
415
415
|
},
|
|
416
416
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
417
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
417
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
418
418
|
"isSource": true,
|
|
419
419
|
"original": {
|
|
420
420
|
"attributes": {
|
|
@@ -443,7 +443,7 @@ const tokens = [{
|
|
|
443
443
|
"description": "UNSAFE - Do not use. Temporary 12px fontsize token. Will be deprecated and replaced with stable small token"
|
|
444
444
|
},
|
|
445
445
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
446
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
446
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
447
447
|
"isSource": true,
|
|
448
448
|
"original": {
|
|
449
449
|
"attributes": {
|
|
@@ -472,7 +472,7 @@ const tokens = [{
|
|
|
472
472
|
"description": "For representing code only, either inline or in code blocks."
|
|
473
473
|
},
|
|
474
474
|
"value": "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
475
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
475
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
476
476
|
"isSource": true,
|
|
477
477
|
"original": {
|
|
478
478
|
"attributes": {
|
|
@@ -501,7 +501,7 @@ const tokens = [{
|
|
|
501
501
|
"description": "Default font weight for body text styles."
|
|
502
502
|
},
|
|
503
503
|
"value": "400",
|
|
504
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
504
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
505
505
|
"isSource": true,
|
|
506
506
|
"original": {
|
|
507
507
|
"attributes": {
|
|
@@ -523,7 +523,7 @@ const tokens = [{
|
|
|
523
523
|
"description": "For all text that may appear beside iconography, such as in a button."
|
|
524
524
|
},
|
|
525
525
|
"value": "500",
|
|
526
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
526
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
527
527
|
"isSource": true,
|
|
528
528
|
"original": {
|
|
529
529
|
"attributes": {
|
|
@@ -545,7 +545,7 @@ const tokens = [{
|
|
|
545
545
|
"description": "Use with caution as fallback fonts do not support this font weight and will default to bold weight."
|
|
546
546
|
},
|
|
547
547
|
"value": "600",
|
|
548
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
548
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
549
549
|
"isSource": true,
|
|
550
550
|
"original": {
|
|
551
551
|
"attributes": {
|
|
@@ -567,7 +567,7 @@ const tokens = [{
|
|
|
567
567
|
"description": "Use sparingly for emphasising text, such as in a lozenge."
|
|
568
568
|
},
|
|
569
569
|
"value": "700",
|
|
570
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
570
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
571
571
|
"isSource": true,
|
|
572
572
|
"original": {
|
|
573
573
|
"attributes": {
|
|
@@ -589,7 +589,7 @@ const tokens = [{
|
|
|
589
589
|
"description": "For our default product UI heading text."
|
|
590
590
|
},
|
|
591
591
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
592
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
592
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
593
593
|
"isSource": true,
|
|
594
594
|
"original": {
|
|
595
595
|
"attributes": {
|
|
@@ -611,7 +611,7 @@ const tokens = [{
|
|
|
611
611
|
"description": "For our default product UI body text."
|
|
612
612
|
},
|
|
613
613
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
614
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
614
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
615
615
|
"isSource": true,
|
|
616
616
|
"original": {
|
|
617
617
|
"attributes": {
|
|
@@ -633,7 +633,7 @@ const tokens = [{
|
|
|
633
633
|
"description": "For representing code only."
|
|
634
634
|
},
|
|
635
635
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
636
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
636
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
637
637
|
"isSource": true,
|
|
638
638
|
"original": {
|
|
639
639
|
"attributes": {
|
|
@@ -656,7 +656,7 @@ const tokens = [{
|
|
|
656
656
|
"deprecated": "1.29.0"
|
|
657
657
|
},
|
|
658
658
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
659
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
659
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
660
660
|
"isSource": true,
|
|
661
661
|
"original": {
|
|
662
662
|
"attributes": {
|
|
@@ -680,7 +680,7 @@ const tokens = [{
|
|
|
680
680
|
"deprecated": "1.29.0"
|
|
681
681
|
},
|
|
682
682
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
683
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
683
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
684
684
|
"isSource": true,
|
|
685
685
|
"original": {
|
|
686
686
|
"attributes": {
|
|
@@ -703,7 +703,7 @@ const tokens = [{
|
|
|
703
703
|
"description": "For our brand heading text. Uses Charlie Display."
|
|
704
704
|
},
|
|
705
705
|
"value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
706
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
706
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
707
707
|
"isSource": true,
|
|
708
708
|
"original": {
|
|
709
709
|
"attributes": {
|
|
@@ -725,7 +725,7 @@ const tokens = [{
|
|
|
725
725
|
"description": "For our brand body text. Uses Charlie Text."
|
|
726
726
|
},
|
|
727
727
|
"value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
728
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
728
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
729
729
|
"isSource": true,
|
|
730
730
|
"original": {
|
|
731
731
|
"attributes": {
|
|
@@ -2,6 +2,6 @@ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
|
|
|
2
2
|
export { default as legacyLightTokens } from '../artifacts/tokens-raw/atlassian-legacy-light';
|
|
3
3
|
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
4
4
|
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
5
|
-
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography-
|
|
5
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography-modernized';
|
|
6
6
|
export { default as typographyAdg3 } from '../artifacts/tokens-raw/atlassian-typography-adg3';
|
|
7
7
|
export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
|
|
@@ -38,7 +38,7 @@ export const themeContrastModes = ['more', 'no-preference', 'auto'];
|
|
|
38
38
|
*
|
|
39
39
|
* These ids must be kebab case
|
|
40
40
|
*/
|
|
41
|
-
export const themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-
|
|
41
|
+
export const themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-modernized'];
|
|
42
42
|
/**
|
|
43
43
|
* Theme override ids: the equivalent of themeIds for theme overrides.
|
|
44
44
|
* Theme overrides are temporary and there may not be any defined at times.
|
|
@@ -166,9 +166,9 @@ const themeConfig = {
|
|
|
166
166
|
type: 'shape'
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
|
-
'atlassian-typography-
|
|
170
|
-
id: 'typography-
|
|
171
|
-
displayName: 'Atlassian Typography (
|
|
169
|
+
'atlassian-typography-modernized': {
|
|
170
|
+
id: 'typography-modernized',
|
|
171
|
+
displayName: 'Atlassian Typography (Modernized)',
|
|
172
172
|
palette: 'typographyPalette',
|
|
173
173
|
attributes: {
|
|
174
174
|
type: 'typography'
|
|
@@ -38,7 +38,7 @@ export const getThemePreferences = themeState => {
|
|
|
38
38
|
});
|
|
39
39
|
return [...new Set(themePreferences)];
|
|
40
40
|
};
|
|
41
|
-
export const getThemeOverridePreferences =
|
|
41
|
+
export const getThemeOverridePreferences = _themeState => {
|
|
42
42
|
const themeOverridePreferences = [];
|
|
43
43
|
return [...new Set(themeOverridePreferences)];
|
|
44
44
|
};
|
|
@@ -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::1178d8004df8fd52edec31241e55e33a>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
|
|
@@ -55,9 +55,9 @@ var themeImportsMap = {
|
|
|
55
55
|
return import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
|
|
56
56
|
'./themes/atlassian-shape');
|
|
57
57
|
},
|
|
58
|
-
'typography-
|
|
59
|
-
return import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-
|
|
60
|
-
'./themes/atlassian-typography-
|
|
58
|
+
'typography-modernized': function typographyModernized() {
|
|
59
|
+
return import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-modernized" */
|
|
60
|
+
'./themes/atlassian-typography-modernized');
|
|
61
61
|
},
|
|
62
62
|
'light-brand-refresh': function lightBrandRefresh() {
|
|
63
63
|
return import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-brand-refresh" */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::af605e1d1296e40e5834bb2707cb59ee>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
export default "\nhtml[data-theme~=\"typography:typography-modernized\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\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-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --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;\n --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;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --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;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 700;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"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-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n}\n";
|
|
@@ -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::35d3625b04d052c37199113601e6c7ba>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -11,7 +11,7 @@ var tokens = [{
|
|
|
11
11
|
"description": "Text transform uppercase token used for backwards compatibility between new and old theming solutions"
|
|
12
12
|
},
|
|
13
13
|
"value": "uppercase",
|
|
14
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
14
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
15
15
|
"isSource": true,
|
|
16
16
|
"original": {
|
|
17
17
|
"attributes": {
|
|
@@ -34,7 +34,7 @@ var tokens = [{
|
|
|
34
34
|
"deprecated": "1.29.0"
|
|
35
35
|
},
|
|
36
36
|
"value": "0",
|
|
37
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
37
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
38
38
|
"isSource": true,
|
|
39
39
|
"original": {
|
|
40
40
|
"attributes": {
|
|
@@ -58,7 +58,7 @@ var tokens = [{
|
|
|
58
58
|
"deprecated": "1.29.0"
|
|
59
59
|
},
|
|
60
60
|
"value": "0",
|
|
61
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
61
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
64
|
"attributes": {
|
|
@@ -82,7 +82,7 @@ var tokens = [{
|
|
|
82
82
|
"deprecated": "1.29.0"
|
|
83
83
|
},
|
|
84
84
|
"value": "0",
|
|
85
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
85
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
86
86
|
"isSource": true,
|
|
87
87
|
"original": {
|
|
88
88
|
"attributes": {
|
|
@@ -106,7 +106,7 @@ var tokens = [{
|
|
|
106
106
|
"deprecated": "1.29.0"
|
|
107
107
|
},
|
|
108
108
|
"value": "0",
|
|
109
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
109
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
110
110
|
"isSource": true,
|
|
111
111
|
"original": {
|
|
112
112
|
"attributes": {
|
|
@@ -130,7 +130,7 @@ var tokens = [{
|
|
|
130
130
|
"deprecated": "1.29.0"
|
|
131
131
|
},
|
|
132
132
|
"value": "0",
|
|
133
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
133
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
134
134
|
"isSource": true,
|
|
135
135
|
"original": {
|
|
136
136
|
"attributes": {
|
|
@@ -153,7 +153,7 @@ var tokens = [{
|
|
|
153
153
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H900 to Heading XXL."
|
|
154
154
|
},
|
|
155
155
|
"value": "normal 700 32px/36px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
156
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
156
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
157
157
|
"isSource": true,
|
|
158
158
|
"original": {
|
|
159
159
|
"attributes": {
|
|
@@ -182,7 +182,7 @@ var tokens = [{
|
|
|
182
182
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H800 to Heading XL."
|
|
183
183
|
},
|
|
184
184
|
"value": "normal 700 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
185
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
185
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
186
186
|
"isSource": true,
|
|
187
187
|
"original": {
|
|
188
188
|
"attributes": {
|
|
@@ -211,7 +211,7 @@ var tokens = [{
|
|
|
211
211
|
"description": "Product page titles, such as forms. Migrate instances of H700 to Heading L."
|
|
212
212
|
},
|
|
213
213
|
"value": "normal 700 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
214
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
214
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
215
215
|
"isSource": true,
|
|
216
216
|
"original": {
|
|
217
217
|
"attributes": {
|
|
@@ -240,7 +240,7 @@ var tokens = [{
|
|
|
240
240
|
"description": "Headers in large components, such as modal dialogs. Migrate instances of H600 to Heading M."
|
|
241
241
|
},
|
|
242
242
|
"value": "normal 700 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
243
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
243
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
244
244
|
"isSource": true,
|
|
245
245
|
"original": {
|
|
246
246
|
"attributes": {
|
|
@@ -269,7 +269,7 @@ var tokens = [{
|
|
|
269
269
|
"description": "For headers in small components where space is limited. Migrate instances of H500 to Heading S."
|
|
270
270
|
},
|
|
271
271
|
"value": "normal 700 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
272
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
272
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
273
273
|
"isSource": true,
|
|
274
274
|
"original": {
|
|
275
275
|
"attributes": {
|
|
@@ -298,7 +298,7 @@ var tokens = [{
|
|
|
298
298
|
"description": "For headers in small components where space is limited. Migrate instances of H400 to Heading XS."
|
|
299
299
|
},
|
|
300
300
|
"value": "normal 700 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
301
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
301
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
302
302
|
"isSource": true,
|
|
303
303
|
"original": {
|
|
304
304
|
"attributes": {
|
|
@@ -327,7 +327,7 @@ var tokens = [{
|
|
|
327
327
|
"description": "For headers in fine print or tight spaces. Use sparingly. Migrate instances of H100, H200 and H300 to Heading XXS."
|
|
328
328
|
},
|
|
329
329
|
"value": "normal 700 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
330
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
330
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
331
331
|
"isSource": true,
|
|
332
332
|
"original": {
|
|
333
333
|
"attributes": {
|
|
@@ -356,7 +356,7 @@ var tokens = [{
|
|
|
356
356
|
"description": "For long-form text, such as in blogs."
|
|
357
357
|
},
|
|
358
358
|
"value": "normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
359
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
359
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
360
360
|
"isSource": true,
|
|
361
361
|
"original": {
|
|
362
362
|
"attributes": {
|
|
@@ -385,7 +385,7 @@ var tokens = [{
|
|
|
385
385
|
"description": "Use in short descriptions or labels. The default size for text in components. Migrate instances of Paragraph Default and UI Text to Body M."
|
|
386
386
|
},
|
|
387
387
|
"value": "normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
388
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
388
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
389
389
|
"isSource": true,
|
|
390
390
|
"original": {
|
|
391
391
|
"attributes": {
|
|
@@ -414,7 +414,7 @@ var tokens = [{
|
|
|
414
414
|
"description": "Use in secondary level content such as fine print or semantic messaging. Use sparingly. Migrate instances of Small text to Body S."
|
|
415
415
|
},
|
|
416
416
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
417
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
417
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
418
418
|
"isSource": true,
|
|
419
419
|
"original": {
|
|
420
420
|
"attributes": {
|
|
@@ -443,7 +443,7 @@ var tokens = [{
|
|
|
443
443
|
"description": "UNSAFE - Do not use. Temporary 12px fontsize token. Will be deprecated and replaced with stable small token"
|
|
444
444
|
},
|
|
445
445
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
446
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
446
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
447
447
|
"isSource": true,
|
|
448
448
|
"original": {
|
|
449
449
|
"attributes": {
|
|
@@ -472,7 +472,7 @@ var tokens = [{
|
|
|
472
472
|
"description": "For representing code only, either inline or in code blocks."
|
|
473
473
|
},
|
|
474
474
|
"value": "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
475
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
475
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
476
476
|
"isSource": true,
|
|
477
477
|
"original": {
|
|
478
478
|
"attributes": {
|
|
@@ -501,7 +501,7 @@ var tokens = [{
|
|
|
501
501
|
"description": "Default font weight for body text styles."
|
|
502
502
|
},
|
|
503
503
|
"value": "400",
|
|
504
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
504
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
505
505
|
"isSource": true,
|
|
506
506
|
"original": {
|
|
507
507
|
"attributes": {
|
|
@@ -523,7 +523,7 @@ var tokens = [{
|
|
|
523
523
|
"description": "For all text that may appear beside iconography, such as in a button."
|
|
524
524
|
},
|
|
525
525
|
"value": "500",
|
|
526
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
526
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
527
527
|
"isSource": true,
|
|
528
528
|
"original": {
|
|
529
529
|
"attributes": {
|
|
@@ -545,7 +545,7 @@ var tokens = [{
|
|
|
545
545
|
"description": "Use with caution as fallback fonts do not support this font weight and will default to bold weight."
|
|
546
546
|
},
|
|
547
547
|
"value": "600",
|
|
548
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
548
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
549
549
|
"isSource": true,
|
|
550
550
|
"original": {
|
|
551
551
|
"attributes": {
|
|
@@ -567,7 +567,7 @@ var tokens = [{
|
|
|
567
567
|
"description": "Use sparingly for emphasising text, such as in a lozenge."
|
|
568
568
|
},
|
|
569
569
|
"value": "700",
|
|
570
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
570
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
571
571
|
"isSource": true,
|
|
572
572
|
"original": {
|
|
573
573
|
"attributes": {
|
|
@@ -589,7 +589,7 @@ var tokens = [{
|
|
|
589
589
|
"description": "For our default product UI heading text."
|
|
590
590
|
},
|
|
591
591
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
592
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
592
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
593
593
|
"isSource": true,
|
|
594
594
|
"original": {
|
|
595
595
|
"attributes": {
|
|
@@ -611,7 +611,7 @@ var tokens = [{
|
|
|
611
611
|
"description": "For our default product UI body text."
|
|
612
612
|
},
|
|
613
613
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
614
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
614
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
615
615
|
"isSource": true,
|
|
616
616
|
"original": {
|
|
617
617
|
"attributes": {
|
|
@@ -633,7 +633,7 @@ var tokens = [{
|
|
|
633
633
|
"description": "For representing code only."
|
|
634
634
|
},
|
|
635
635
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
636
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
636
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
637
637
|
"isSource": true,
|
|
638
638
|
"original": {
|
|
639
639
|
"attributes": {
|
|
@@ -656,7 +656,7 @@ var tokens = [{
|
|
|
656
656
|
"deprecated": "1.29.0"
|
|
657
657
|
},
|
|
658
658
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
659
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
659
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
660
660
|
"isSource": true,
|
|
661
661
|
"original": {
|
|
662
662
|
"attributes": {
|
|
@@ -680,7 +680,7 @@ var tokens = [{
|
|
|
680
680
|
"deprecated": "1.29.0"
|
|
681
681
|
},
|
|
682
682
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
683
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
683
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
684
684
|
"isSource": true,
|
|
685
685
|
"original": {
|
|
686
686
|
"attributes": {
|
|
@@ -703,7 +703,7 @@ var tokens = [{
|
|
|
703
703
|
"description": "For our brand heading text. Uses Charlie Display."
|
|
704
704
|
},
|
|
705
705
|
"value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
706
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
706
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
707
707
|
"isSource": true,
|
|
708
708
|
"original": {
|
|
709
709
|
"attributes": {
|
|
@@ -725,7 +725,7 @@ var tokens = [{
|
|
|
725
725
|
"description": "For our brand body text. Uses Charlie Text."
|
|
726
726
|
},
|
|
727
727
|
"value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
728
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
728
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
729
729
|
"isSource": true,
|
|
730
730
|
"original": {
|
|
731
731
|
"attributes": {
|
|
@@ -2,6 +2,6 @@ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
|
|
|
2
2
|
export { default as legacyLightTokens } from '../artifacts/tokens-raw/atlassian-legacy-light';
|
|
3
3
|
export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
|
|
4
4
|
export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
|
|
5
|
-
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography-
|
|
5
|
+
export { default as typography } from '../artifacts/tokens-raw/atlassian-typography-modernized';
|
|
6
6
|
export { default as typographyAdg3 } from '../artifacts/tokens-raw/atlassian-typography-adg3';
|
|
7
7
|
export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
|
package/dist/esm/theme-config.js
CHANGED
|
@@ -38,7 +38,7 @@ export var themeContrastModes = ['more', 'no-preference', 'auto'];
|
|
|
38
38
|
*
|
|
39
39
|
* These ids must be kebab case
|
|
40
40
|
*/
|
|
41
|
-
export var themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-
|
|
41
|
+
export var themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-modernized'];
|
|
42
42
|
/**
|
|
43
43
|
* Theme override ids: the equivalent of themeIds for theme overrides.
|
|
44
44
|
* Theme overrides are temporary and there may not be any defined at times.
|
|
@@ -166,9 +166,9 @@ var themeConfig = {
|
|
|
166
166
|
type: 'shape'
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
|
-
'atlassian-typography-
|
|
170
|
-
id: 'typography-
|
|
171
|
-
displayName: 'Atlassian Typography (
|
|
169
|
+
'atlassian-typography-modernized': {
|
|
170
|
+
id: 'typography-modernized',
|
|
171
|
+
displayName: 'Atlassian Typography (Modernized)',
|
|
172
172
|
palette: 'typographyPalette',
|
|
173
173
|
attributes: {
|
|
174
174
|
type: 'typography'
|