@atlaskit/tokens 1.56.1 → 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 +9 -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/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/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/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-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/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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.56.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#121959](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121959)
|
|
8
|
+
[`44763b631bec5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44763b631bec5) -
|
|
9
|
+
Renamed `typography-minor3` theme to `typography-modernized`. There are no visual changes, purely
|
|
10
|
+
just a rename.
|
|
11
|
+
|
|
3
12
|
## 1.56.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
16
16
|
* This allows users to compose their themes and only use the tokens that are requested.
|
|
17
17
|
* When a new theme is created, the import should automatically be added to the map
|
|
18
18
|
*
|
|
19
|
-
* @codegen <<SignedSource::
|
|
19
|
+
* @codegen <<SignedSource::1178d8004df8fd52edec31241e55e33a>>
|
|
20
20
|
* @codegenCommand yarn build tokens
|
|
21
21
|
*/
|
|
22
22
|
|
|
@@ -87,10 +87,10 @@ var themeImportsMap = {
|
|
|
87
87
|
'./themes/atlassian-shape'));
|
|
88
88
|
});
|
|
89
89
|
},
|
|
90
|
-
'typography-
|
|
90
|
+
'typography-modernized': function typographyModernized() {
|
|
91
91
|
return Promise.resolve().then(function () {
|
|
92
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-
|
|
93
|
-
'./themes/atlassian-typography-
|
|
92
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-modernized" */
|
|
93
|
+
'./themes/atlassian-typography-modernized'));
|
|
94
94
|
});
|
|
95
95
|
},
|
|
96
96
|
'light-brand-refresh': function lightBrandRefresh() {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
+
* @codegen <<SignedSource::af605e1d1296e40e5834bb2707cb59ee>>
|
|
10
|
+
* @codegenCommand yarn build tokens
|
|
11
|
+
*/
|
|
12
|
+
var _default = exports.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";
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::35d3625b04d052c37199113601e6c7ba>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -17,7 +17,7 @@ var tokens = [{
|
|
|
17
17
|
"description": "Text transform uppercase token used for backwards compatibility between new and old theming solutions"
|
|
18
18
|
},
|
|
19
19
|
"value": "uppercase",
|
|
20
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
20
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
21
21
|
"isSource": true,
|
|
22
22
|
"original": {
|
|
23
23
|
"attributes": {
|
|
@@ -40,7 +40,7 @@ var tokens = [{
|
|
|
40
40
|
"deprecated": "1.29.0"
|
|
41
41
|
},
|
|
42
42
|
"value": "0",
|
|
43
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
43
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
44
44
|
"isSource": true,
|
|
45
45
|
"original": {
|
|
46
46
|
"attributes": {
|
|
@@ -64,7 +64,7 @@ var tokens = [{
|
|
|
64
64
|
"deprecated": "1.29.0"
|
|
65
65
|
},
|
|
66
66
|
"value": "0",
|
|
67
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
67
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
68
68
|
"isSource": true,
|
|
69
69
|
"original": {
|
|
70
70
|
"attributes": {
|
|
@@ -88,7 +88,7 @@ var tokens = [{
|
|
|
88
88
|
"deprecated": "1.29.0"
|
|
89
89
|
},
|
|
90
90
|
"value": "0",
|
|
91
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
91
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
92
92
|
"isSource": true,
|
|
93
93
|
"original": {
|
|
94
94
|
"attributes": {
|
|
@@ -112,7 +112,7 @@ var tokens = [{
|
|
|
112
112
|
"deprecated": "1.29.0"
|
|
113
113
|
},
|
|
114
114
|
"value": "0",
|
|
115
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
115
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
116
116
|
"isSource": true,
|
|
117
117
|
"original": {
|
|
118
118
|
"attributes": {
|
|
@@ -136,7 +136,7 @@ var tokens = [{
|
|
|
136
136
|
"deprecated": "1.29.0"
|
|
137
137
|
},
|
|
138
138
|
"value": "0",
|
|
139
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
139
|
+
"filePath": "schema/themes/atlassian-typography-modernized/letter-spacing.tsx",
|
|
140
140
|
"isSource": true,
|
|
141
141
|
"original": {
|
|
142
142
|
"attributes": {
|
|
@@ -159,7 +159,7 @@ var tokens = [{
|
|
|
159
159
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H900 to Heading XXL."
|
|
160
160
|
},
|
|
161
161
|
"value": "normal 700 32px/36px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
162
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
162
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
163
163
|
"isSource": true,
|
|
164
164
|
"original": {
|
|
165
165
|
"attributes": {
|
|
@@ -188,7 +188,7 @@ var tokens = [{
|
|
|
188
188
|
"description": "For overlapping brand with product promotions, such as marketplace content. Migrate instances of H800 to Heading XL."
|
|
189
189
|
},
|
|
190
190
|
"value": "normal 700 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
191
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
191
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
192
192
|
"isSource": true,
|
|
193
193
|
"original": {
|
|
194
194
|
"attributes": {
|
|
@@ -217,7 +217,7 @@ var tokens = [{
|
|
|
217
217
|
"description": "Product page titles, such as forms. Migrate instances of H700 to Heading L."
|
|
218
218
|
},
|
|
219
219
|
"value": "normal 700 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
220
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
220
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
221
221
|
"isSource": true,
|
|
222
222
|
"original": {
|
|
223
223
|
"attributes": {
|
|
@@ -246,7 +246,7 @@ var tokens = [{
|
|
|
246
246
|
"description": "Headers in large components, such as modal dialogs. Migrate instances of H600 to Heading M."
|
|
247
247
|
},
|
|
248
248
|
"value": "normal 700 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
249
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
249
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
250
250
|
"isSource": true,
|
|
251
251
|
"original": {
|
|
252
252
|
"attributes": {
|
|
@@ -275,7 +275,7 @@ var tokens = [{
|
|
|
275
275
|
"description": "For headers in small components where space is limited. Migrate instances of H500 to Heading S."
|
|
276
276
|
},
|
|
277
277
|
"value": "normal 700 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
278
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
278
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
279
279
|
"isSource": true,
|
|
280
280
|
"original": {
|
|
281
281
|
"attributes": {
|
|
@@ -304,7 +304,7 @@ var tokens = [{
|
|
|
304
304
|
"description": "For headers in small components where space is limited. Migrate instances of H400 to Heading XS."
|
|
305
305
|
},
|
|
306
306
|
"value": "normal 700 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
307
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
307
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
308
308
|
"isSource": true,
|
|
309
309
|
"original": {
|
|
310
310
|
"attributes": {
|
|
@@ -333,7 +333,7 @@ var tokens = [{
|
|
|
333
333
|
"description": "For headers in fine print or tight spaces. Use sparingly. Migrate instances of H100, H200 and H300 to Heading XXS."
|
|
334
334
|
},
|
|
335
335
|
"value": "normal 700 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
336
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
336
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
337
337
|
"isSource": true,
|
|
338
338
|
"original": {
|
|
339
339
|
"attributes": {
|
|
@@ -362,7 +362,7 @@ var tokens = [{
|
|
|
362
362
|
"description": "For long-form text, such as in blogs."
|
|
363
363
|
},
|
|
364
364
|
"value": "normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
365
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
365
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
366
366
|
"isSource": true,
|
|
367
367
|
"original": {
|
|
368
368
|
"attributes": {
|
|
@@ -391,7 +391,7 @@ var tokens = [{
|
|
|
391
391
|
"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."
|
|
392
392
|
},
|
|
393
393
|
"value": "normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
394
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
394
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
395
395
|
"isSource": true,
|
|
396
396
|
"original": {
|
|
397
397
|
"attributes": {
|
|
@@ -420,7 +420,7 @@ var tokens = [{
|
|
|
420
420
|
"description": "Use in secondary level content such as fine print or semantic messaging. Use sparingly. Migrate instances of Small text to Body S."
|
|
421
421
|
},
|
|
422
422
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
423
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
423
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
424
424
|
"isSource": true,
|
|
425
425
|
"original": {
|
|
426
426
|
"attributes": {
|
|
@@ -449,7 +449,7 @@ var tokens = [{
|
|
|
449
449
|
"description": "UNSAFE - Do not use. Temporary 12px fontsize token. Will be deprecated and replaced with stable small token"
|
|
450
450
|
},
|
|
451
451
|
"value": "normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
452
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
452
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
453
453
|
"isSource": true,
|
|
454
454
|
"original": {
|
|
455
455
|
"attributes": {
|
|
@@ -478,7 +478,7 @@ var tokens = [{
|
|
|
478
478
|
"description": "For representing code only, either inline or in code blocks."
|
|
479
479
|
},
|
|
480
480
|
"value": "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
481
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
481
|
+
"filePath": "schema/themes/atlassian-typography-modernized/theme.tsx",
|
|
482
482
|
"isSource": true,
|
|
483
483
|
"original": {
|
|
484
484
|
"attributes": {
|
|
@@ -507,7 +507,7 @@ var tokens = [{
|
|
|
507
507
|
"description": "Default font weight for body text styles."
|
|
508
508
|
},
|
|
509
509
|
"value": "400",
|
|
510
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
510
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
511
511
|
"isSource": true,
|
|
512
512
|
"original": {
|
|
513
513
|
"attributes": {
|
|
@@ -529,7 +529,7 @@ var tokens = [{
|
|
|
529
529
|
"description": "For all text that may appear beside iconography, such as in a button."
|
|
530
530
|
},
|
|
531
531
|
"value": "500",
|
|
532
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
532
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
533
533
|
"isSource": true,
|
|
534
534
|
"original": {
|
|
535
535
|
"attributes": {
|
|
@@ -551,7 +551,7 @@ var tokens = [{
|
|
|
551
551
|
"description": "Use with caution as fallback fonts do not support this font weight and will default to bold weight."
|
|
552
552
|
},
|
|
553
553
|
"value": "600",
|
|
554
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
554
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
555
555
|
"isSource": true,
|
|
556
556
|
"original": {
|
|
557
557
|
"attributes": {
|
|
@@ -573,7 +573,7 @@ var tokens = [{
|
|
|
573
573
|
"description": "Use sparingly for emphasising text, such as in a lozenge."
|
|
574
574
|
},
|
|
575
575
|
"value": "700",
|
|
576
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
576
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-weight.tsx",
|
|
577
577
|
"isSource": true,
|
|
578
578
|
"original": {
|
|
579
579
|
"attributes": {
|
|
@@ -595,7 +595,7 @@ var tokens = [{
|
|
|
595
595
|
"description": "For our default product UI heading text."
|
|
596
596
|
},
|
|
597
597
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
598
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
598
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
599
599
|
"isSource": true,
|
|
600
600
|
"original": {
|
|
601
601
|
"attributes": {
|
|
@@ -617,7 +617,7 @@ var tokens = [{
|
|
|
617
617
|
"description": "For our default product UI body text."
|
|
618
618
|
},
|
|
619
619
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
620
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
620
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
621
621
|
"isSource": true,
|
|
622
622
|
"original": {
|
|
623
623
|
"attributes": {
|
|
@@ -639,7 +639,7 @@ var tokens = [{
|
|
|
639
639
|
"description": "For representing code only."
|
|
640
640
|
},
|
|
641
641
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
642
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
642
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
643
643
|
"isSource": true,
|
|
644
644
|
"original": {
|
|
645
645
|
"attributes": {
|
|
@@ -662,7 +662,7 @@ var tokens = [{
|
|
|
662
662
|
"deprecated": "1.29.0"
|
|
663
663
|
},
|
|
664
664
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
|
|
665
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
665
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
666
666
|
"isSource": true,
|
|
667
667
|
"original": {
|
|
668
668
|
"attributes": {
|
|
@@ -686,7 +686,7 @@ var tokens = [{
|
|
|
686
686
|
"deprecated": "1.29.0"
|
|
687
687
|
},
|
|
688
688
|
"value": "ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
689
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
689
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
690
690
|
"isSource": true,
|
|
691
691
|
"original": {
|
|
692
692
|
"attributes": {
|
|
@@ -709,7 +709,7 @@ var tokens = [{
|
|
|
709
709
|
"description": "For our brand heading text. Uses Charlie Display."
|
|
710
710
|
},
|
|
711
711
|
"value": "\"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
712
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
712
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
713
713
|
"isSource": true,
|
|
714
714
|
"original": {
|
|
715
715
|
"attributes": {
|
|
@@ -731,7 +731,7 @@ var tokens = [{
|
|
|
731
731
|
"description": "For our brand body text. Uses Charlie Text."
|
|
732
732
|
},
|
|
733
733
|
"value": "\"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
|
|
734
|
-
"filePath": "schema/themes/atlassian-typography-
|
|
734
|
+
"filePath": "schema/themes/atlassian-typography-modernized/font-family.tsx",
|
|
735
735
|
"isSource": true,
|
|
736
736
|
"original": {
|
|
737
737
|
"attributes": {
|
|
@@ -37,7 +37,7 @@ Object.defineProperty(exports, "spacing", {
|
|
|
37
37
|
Object.defineProperty(exports, "typography", {
|
|
38
38
|
enumerable: true,
|
|
39
39
|
get: function get() {
|
|
40
|
-
return
|
|
40
|
+
return _atlassianTypographyModernized.default;
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "typographyAdg3", {
|
|
@@ -50,6 +50,6 @@ var _atlassianLight = _interopRequireDefault(require("../artifacts/tokens-raw/at
|
|
|
50
50
|
var _atlassianLegacyLight = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-legacy-light"));
|
|
51
51
|
var _atlassianDark = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-dark"));
|
|
52
52
|
var _atlassianSpacing = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-spacing"));
|
|
53
|
-
var
|
|
53
|
+
var _atlassianTypographyModernized = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography-modernized"));
|
|
54
54
|
var _atlassianTypographyAdg = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-typography-adg3"));
|
|
55
55
|
var _atlassianShape = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-shape"));
|
package/dist/cjs/theme-config.js
CHANGED
|
@@ -44,7 +44,7 @@ var themeContrastModes = exports.themeContrastModes = ['more', 'no-preference',
|
|
|
44
44
|
*
|
|
45
45
|
* These ids must be kebab case
|
|
46
46
|
*/
|
|
47
|
-
var themeIds = exports.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-
|
|
47
|
+
var themeIds = exports.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'];
|
|
48
48
|
/**
|
|
49
49
|
* Theme override ids: the equivalent of themeIds for theme overrides.
|
|
50
50
|
* Theme overrides are temporary and there may not be any defined at times.
|
|
@@ -172,9 +172,9 @@ var themeConfig = {
|
|
|
172
172
|
type: 'shape'
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
|
-
'atlassian-typography-
|
|
176
|
-
id: 'typography-
|
|
177
|
-
displayName: 'Atlassian Typography (
|
|
175
|
+
'atlassian-typography-modernized': {
|
|
176
|
+
id: 'typography-modernized',
|
|
177
|
+
displayName: 'Atlassian Typography (Modernized)',
|
|
178
178
|
palette: 'typographyPalette',
|
|
179
179
|
attributes: {
|
|
180
180
|
type: 'typography'
|
|
@@ -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
|
|
|
@@ -33,8 +33,8 @@ const themeImportsMap = {
|
|
|
33
33
|
'./themes/atlassian-typography-adg3'),
|
|
34
34
|
'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
|
|
35
35
|
'./themes/atlassian-shape'),
|
|
36
|
-
'typography-
|
|
37
|
-
'./themes/atlassian-typography-
|
|
36
|
+
'typography-modernized': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-modernized" */
|
|
37
|
+
'./themes/atlassian-typography-modernized'),
|
|
38
38
|
'light-brand-refresh': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-brand-refresh" */
|
|
39
39
|
'./themes/atlassian-light-brand-refresh'),
|
|
40
40
|
'dark-brand-refresh': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-brand-refresh" */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::af605e1d1296e40e5834bb2707cb59ee>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
|
-
html[data-theme~="typography:typography-
|
|
7
|
+
html[data-theme~="typography:typography-modernized"] {
|
|
8
8
|
--ds-UNSAFE-textTransformUppercase: uppercase;
|
|
9
9
|
--ds-font-letterSpacing-0: 0;
|
|
10
10
|
--ds-font-letterSpacing-100: 0;
|