@atlaskit/tokens 2.5.0 → 3.0.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 +26 -0
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/cjs/artifacts/replacement-mapping.js +1 -67
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-modernized.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-refreshed.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +2 -24
- package/dist/cjs/artifacts/token-names.js +2 -24
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/es2019/artifacts/replacement-mapping.js +1 -67
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +1 -23
- package/dist/es2019/artifacts/themes/atlassian-typography-modernized.js +1 -8
- package/dist/es2019/artifacts/themes/atlassian-typography-refreshed.js +9 -16
- package/dist/es2019/artifacts/token-default-values.js +2 -24
- package/dist/es2019/artifacts/token-names.js +2 -24
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/esm/artifacts/replacement-mapping.js +1 -67
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-modernized.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-refreshed.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +2 -24
- package/dist/esm/artifacts/token-names.js +2 -24
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-modernized.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -23
- package/dist/types/artifacts/token-names.d.ts +1 -45
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -29
- package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -29
- package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -29
- package/dist/types/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types/types.d.ts +0 -56
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-modernized.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -23
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -45
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -29
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -29
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -29
- package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +0 -56
- package/figma/atlassian-typography-refreshed.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#102047](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102047)
|
|
8
|
+
[`3cc4b295175a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3cc4b295175a6) -
|
|
9
|
+
Removed deprecated tokens:
|
|
10
|
+
|
|
11
|
+
- `font.size.X`
|
|
12
|
+
- `font.lineHeight.X`
|
|
13
|
+
- `font.letterSpacing.X`
|
|
14
|
+
- `font.family.sans`
|
|
15
|
+
- `font.family.monospace`
|
|
16
|
+
|
|
17
|
+
Typography should be applied via composite tokens, i.e. `font.heading.X` and `font.body.X`
|
|
18
|
+
instead. Use `font.family.heading` or `font.family.body` instead of `font.family.sans`. Use
|
|
19
|
+
`font.family.code` instead of `font.family.monospace`.
|
|
20
|
+
|
|
21
|
+
## 2.5.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [#98010](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98010)
|
|
26
|
+
[`3f5da8c4a3240`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f5da8c4a3240) -
|
|
27
|
+
Adjusted bold weights for typography refreshed theme
|
|
28
|
+
|
|
3
29
|
## 2.5.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -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::e159597b9fc66518a84a3aeaf2f08709>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -414,6 +414,21 @@ var tokens = [{
|
|
|
414
414
|
},
|
|
415
415
|
"name": "typography.fontWeight.FontWeight600",
|
|
416
416
|
"path": ["typography", "fontWeight", "FontWeight600"]
|
|
417
|
+
}, {
|
|
418
|
+
"value": "653",
|
|
419
|
+
"attributes": {
|
|
420
|
+
"group": "fontWeight"
|
|
421
|
+
},
|
|
422
|
+
"filePath": "schema/palettes/typography-palette.tsx",
|
|
423
|
+
"isSource": true,
|
|
424
|
+
"original": {
|
|
425
|
+
"value": "653",
|
|
426
|
+
"attributes": {
|
|
427
|
+
"group": "fontWeight"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"name": "typography.fontWeight.FontWeight653",
|
|
431
|
+
"path": ["typography", "fontWeight", "FontWeight653"]
|
|
417
432
|
}, {
|
|
418
433
|
"value": "700",
|
|
419
434
|
"attributes": {
|
|
@@ -18,78 +18,12 @@ exports.default = void 0;
|
|
|
18
18
|
* These changes will then be picked up by our tooling which will attempt to
|
|
19
19
|
* migrate as many of these renames as possible.
|
|
20
20
|
*
|
|
21
|
-
* @codegen <<SignedSource::
|
|
21
|
+
* @codegen <<SignedSource::32dc903e7e4405ed9f0a75811b32c2e1>>
|
|
22
22
|
* @codegenCommand yarn build tokens
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
var replacementMapper = [{
|
|
26
26
|
"path": "border.width.0",
|
|
27
27
|
"state": "experimental"
|
|
28
|
-
}, {
|
|
29
|
-
"path": "font.letterSpacing.0",
|
|
30
|
-
"state": "deprecated"
|
|
31
|
-
}, {
|
|
32
|
-
"path": "font.letterSpacing.100",
|
|
33
|
-
"state": "deprecated"
|
|
34
|
-
}, {
|
|
35
|
-
"path": "font.letterSpacing.200",
|
|
36
|
-
"state": "deprecated"
|
|
37
|
-
}, {
|
|
38
|
-
"path": "font.letterSpacing.300",
|
|
39
|
-
"state": "deprecated"
|
|
40
|
-
}, {
|
|
41
|
-
"path": "font.letterSpacing.400",
|
|
42
|
-
"state": "deprecated"
|
|
43
|
-
}, {
|
|
44
|
-
"path": "font.family.monospace",
|
|
45
|
-
"state": "deprecated"
|
|
46
|
-
}, {
|
|
47
|
-
"path": "font.family.sans",
|
|
48
|
-
"state": "deprecated"
|
|
49
|
-
}, {
|
|
50
|
-
"path": "font.size.050",
|
|
51
|
-
"state": "deprecated"
|
|
52
|
-
}, {
|
|
53
|
-
"path": "font.size.075",
|
|
54
|
-
"state": "deprecated"
|
|
55
|
-
}, {
|
|
56
|
-
"path": "font.size.100",
|
|
57
|
-
"state": "deprecated"
|
|
58
|
-
}, {
|
|
59
|
-
"path": "font.size.200",
|
|
60
|
-
"state": "deprecated"
|
|
61
|
-
}, {
|
|
62
|
-
"path": "font.size.300",
|
|
63
|
-
"state": "deprecated"
|
|
64
|
-
}, {
|
|
65
|
-
"path": "font.size.400",
|
|
66
|
-
"state": "deprecated"
|
|
67
|
-
}, {
|
|
68
|
-
"path": "font.size.500",
|
|
69
|
-
"state": "deprecated"
|
|
70
|
-
}, {
|
|
71
|
-
"path": "font.size.600",
|
|
72
|
-
"state": "deprecated"
|
|
73
|
-
}, {
|
|
74
|
-
"path": "font.lineHeight.1",
|
|
75
|
-
"state": "deprecated"
|
|
76
|
-
}, {
|
|
77
|
-
"path": "font.lineHeight.100",
|
|
78
|
-
"state": "deprecated"
|
|
79
|
-
}, {
|
|
80
|
-
"path": "font.lineHeight.200",
|
|
81
|
-
"state": "deprecated"
|
|
82
|
-
}, {
|
|
83
|
-
"path": "font.lineHeight.300",
|
|
84
|
-
"state": "deprecated"
|
|
85
|
-
}, {
|
|
86
|
-
"path": "font.lineHeight.400",
|
|
87
|
-
"state": "deprecated"
|
|
88
|
-
}, {
|
|
89
|
-
"path": "font.lineHeight.500",
|
|
90
|
-
"state": "deprecated"
|
|
91
|
-
}, {
|
|
92
|
-
"path": "font.lineHeight.600",
|
|
93
|
-
"state": "deprecated"
|
|
94
28
|
}];
|
|
95
29
|
var _default = exports.default = replacementMapper;
|
|
@@ -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::0eab025fe6a1c066de1ae91979f5a92d>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 500 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 500 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 600 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 600 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.6875rem/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-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::38b6ba79bdb23bd72bf5db3990d1bfb2>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-modernized\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-modernized\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\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-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::3a02e93404c9c9524803d9df34cc862c>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-refreshed\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-refreshed\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem \"Atlassian Sans\", 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 \"Atlassian Sans\", 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 \"Atlassian Sans\", 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 \"Atlassian Sans\", 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 \"Atlassian Sans\", 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: 653;\n --ds-font-family-heading: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\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";
|
|
@@ -13,7 +13,7 @@ exports.default = void 0;
|
|
|
13
13
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
14
14
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
15
15
|
*
|
|
16
|
-
* @codegen <<SignedSource::
|
|
16
|
+
* @codegen <<SignedSource::d98211ddd81a0f8d0e1a644fd5f4394f>>
|
|
17
17
|
* @codegenCommand yarn build tokens
|
|
18
18
|
*/
|
|
19
19
|
var defaultTokenValues = {
|
|
@@ -442,11 +442,6 @@ var defaultTokenValues = {
|
|
|
442
442
|
'space.negative.250': '-1.25rem',
|
|
443
443
|
'space.negative.300': '-1.5rem',
|
|
444
444
|
'space.negative.400': '-2rem',
|
|
445
|
-
'font.letterSpacing.0': '0',
|
|
446
|
-
'font.letterSpacing.100': '-0.003em',
|
|
447
|
-
'font.letterSpacing.200': '-0.006em',
|
|
448
|
-
'font.letterSpacing.300': '-0.008em',
|
|
449
|
-
'font.letterSpacing.400': '-0.01em',
|
|
450
445
|
'font.heading.xxlarge': 'normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
451
446
|
'font.heading.xlarge': 'normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
452
447
|
'font.heading.large': 'normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
@@ -466,24 +461,7 @@ var defaultTokenValues = {
|
|
|
466
461
|
'font.family.heading': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
467
462
|
'font.family.body': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
468
463
|
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
469
|
-
'font.family.monospace': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
470
|
-
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
471
464
|
'font.family.brand.heading': '"Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
472
|
-
'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
|
|
473
|
-
'font.size.050': '0.6875rem',
|
|
474
|
-
'font.size.075': '0.75rem',
|
|
475
|
-
'font.size.100': '0.875rem',
|
|
476
|
-
'font.size.200': '1rem',
|
|
477
|
-
'font.size.300': '1.25rem',
|
|
478
|
-
'font.size.400': '1.5rem',
|
|
479
|
-
'font.size.500': '1.8125rem',
|
|
480
|
-
'font.size.600': '2.1875rem',
|
|
481
|
-
'font.lineHeight.1': '1',
|
|
482
|
-
'font.lineHeight.100': '1rem',
|
|
483
|
-
'font.lineHeight.200': '1.25rem',
|
|
484
|
-
'font.lineHeight.300': '1.5rem',
|
|
485
|
-
'font.lineHeight.400': '1.75rem',
|
|
486
|
-
'font.lineHeight.500': '2rem',
|
|
487
|
-
'font.lineHeight.600': '2.5rem'
|
|
465
|
+
'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
|
|
488
466
|
};
|
|
489
467
|
var _default = exports.default = defaultTokenValues;
|
|
@@ -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::02412877f3dbfda4dbaee7a917f24b6c>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = {
|
|
@@ -435,11 +435,6 @@ var tokens = {
|
|
|
435
435
|
'space.negative.250': '--ds-space-negative-250',
|
|
436
436
|
'space.negative.300': '--ds-space-negative-300',
|
|
437
437
|
'space.negative.400': '--ds-space-negative-400',
|
|
438
|
-
'font.letterSpacing.0': '--ds-font-letterSpacing-0',
|
|
439
|
-
'font.letterSpacing.100': '--ds-font-letterSpacing-100',
|
|
440
|
-
'font.letterSpacing.200': '--ds-font-letterSpacing-200',
|
|
441
|
-
'font.letterSpacing.300': '--ds-font-letterSpacing-300',
|
|
442
|
-
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
443
438
|
'font.heading.xxlarge': '--ds-font-heading-xxlarge',
|
|
444
439
|
'font.heading.xlarge': '--ds-font-heading-xlarge',
|
|
445
440
|
'font.heading.large': '--ds-font-heading-large',
|
|
@@ -459,24 +454,7 @@ var tokens = {
|
|
|
459
454
|
'font.family.heading': '--ds-font-family-heading',
|
|
460
455
|
'font.family.body': '--ds-font-family-body',
|
|
461
456
|
'font.family.code': '--ds-font-family-code',
|
|
462
|
-
'font.family.monospace': '--ds-font-family-monospace',
|
|
463
|
-
'font.family.sans': '--ds-font-family-sans',
|
|
464
457
|
'font.family.brand.heading': '--ds-font-family-brand-heading',
|
|
465
|
-
'font.family.brand.body': '--ds-font-family-brand-body'
|
|
466
|
-
'font.size.050': '--ds-font-size-050',
|
|
467
|
-
'font.size.075': '--ds-font-size-075',
|
|
468
|
-
'font.size.100': '--ds-font-size-100',
|
|
469
|
-
'font.size.200': '--ds-font-size-200',
|
|
470
|
-
'font.size.300': '--ds-font-size-300',
|
|
471
|
-
'font.size.400': '--ds-font-size-400',
|
|
472
|
-
'font.size.500': '--ds-font-size-500',
|
|
473
|
-
'font.size.600': '--ds-font-size-600',
|
|
474
|
-
'font.lineHeight.1': '--ds-font-lineHeight-1',
|
|
475
|
-
'font.lineHeight.100': '--ds-font-lineHeight-100',
|
|
476
|
-
'font.lineHeight.200': '--ds-font-lineHeight-200',
|
|
477
|
-
'font.lineHeight.300': '--ds-font-lineHeight-300',
|
|
478
|
-
'font.lineHeight.400': '--ds-font-lineHeight-400',
|
|
479
|
-
'font.lineHeight.500': '--ds-font-lineHeight-500',
|
|
480
|
-
'font.lineHeight.600': '--ds-font-lineHeight-600'
|
|
458
|
+
'font.family.brand.body': '--ds-font-family-brand-body'
|
|
481
459
|
};
|
|
482
460
|
var _default = exports.default = tokens;
|