@atlaskit/tokens 1.21.1 → 1.22.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 +6 -0
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +17 -15
- package/dist/cjs/artifacts/token-names.js +4 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography/theme.js +13 -13
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/cjs/tokens/default/typography/font-family.js +9 -1
- package/dist/cjs/tokens/default/utility/utility.js +8 -0
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography.js +16 -15
- package/dist/es2019/artifacts/token-default-values.js +17 -15
- package/dist/es2019/artifacts/token-names.js +4 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +13 -13
- package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/es2019/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/es2019/tokens/default/typography/font-family.js +9 -1
- package/dist/es2019/tokens/default/utility/utility.js +8 -0
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +17 -15
- package/dist/esm/artifacts/token-names.js +4 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +13 -13
- package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/esm/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/esm/tokens/default/typography/font-family.js +9 -1
- package/dist/esm/tokens/default/utility/utility.js +8 -0
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +17 -15
- package/dist/types/artifacts/token-names.d.ts +7 -3
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types/types.d.ts +16 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +17 -15
- package/dist/types-ts4.5/artifacts/token-names.d.ts +7 -3
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types-ts4.5/types.d.ts +16 -2
- package/figma/atlassian-typography-adg3.json +15 -6
- package/figma/atlassian-typography-minor3.json +15 -6
- package/figma/atlassian-typography.json +15 -6
- package/package.json +1 -1
- package/report.api.md +41 -3
- package/tmp/api-report-tmp.d.ts +34 -5
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
const utility = {
|
|
2
|
+
// @ts-expect-error in complete utility theme
|
|
3
|
+
UNSAFE: {
|
|
4
|
+
textTransformUppercase: {
|
|
5
|
+
value: 'uppercase'
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
};
|
|
1
9
|
const typography = {
|
|
2
10
|
font: {
|
|
3
11
|
heading: {
|
|
@@ -6,7 +14,7 @@ const typography = {
|
|
|
6
14
|
fontWeight: 'FontWeight700',
|
|
7
15
|
fontSize: 'FontSize32',
|
|
8
16
|
lineHeight: 'LineHeight600',
|
|
9
|
-
fontFamily: '
|
|
17
|
+
fontFamily: 'font.family.heading',
|
|
10
18
|
fontStyle: 'normal',
|
|
11
19
|
letterSpacing: 'LetterSpacing0'
|
|
12
20
|
}
|
|
@@ -16,7 +24,7 @@ const typography = {
|
|
|
16
24
|
fontWeight: 'FontWeight700',
|
|
17
25
|
fontSize: 'FontSize28',
|
|
18
26
|
lineHeight: 'LineHeight500',
|
|
19
|
-
fontFamily: '
|
|
27
|
+
fontFamily: 'font.family.heading',
|
|
20
28
|
fontStyle: 'normal',
|
|
21
29
|
letterSpacing: 'LetterSpacing0'
|
|
22
30
|
}
|
|
@@ -26,7 +34,7 @@ const typography = {
|
|
|
26
34
|
fontWeight: 'FontWeight700',
|
|
27
35
|
fontSize: 'FontSize24',
|
|
28
36
|
lineHeight: 'LineHeight400',
|
|
29
|
-
fontFamily: '
|
|
37
|
+
fontFamily: 'font.family.heading',
|
|
30
38
|
fontStyle: 'normal',
|
|
31
39
|
letterSpacing: 'LetterSpacing0'
|
|
32
40
|
}
|
|
@@ -36,7 +44,7 @@ const typography = {
|
|
|
36
44
|
fontWeight: 'FontWeight700',
|
|
37
45
|
fontSize: 'FontSize20',
|
|
38
46
|
lineHeight: 'LineHeight300',
|
|
39
|
-
fontFamily: '
|
|
47
|
+
fontFamily: 'font.family.heading',
|
|
40
48
|
fontStyle: 'normal',
|
|
41
49
|
letterSpacing: 'LetterSpacing0'
|
|
42
50
|
}
|
|
@@ -46,7 +54,7 @@ const typography = {
|
|
|
46
54
|
fontWeight: 'FontWeight700',
|
|
47
55
|
fontSize: 'FontSize16',
|
|
48
56
|
lineHeight: 'LineHeight200',
|
|
49
|
-
fontFamily: '
|
|
57
|
+
fontFamily: 'font.family.heading',
|
|
50
58
|
fontStyle: 'normal',
|
|
51
59
|
letterSpacing: 'LetterSpacing0'
|
|
52
60
|
}
|
|
@@ -56,7 +64,7 @@ const typography = {
|
|
|
56
64
|
fontWeight: 'FontWeight700',
|
|
57
65
|
fontSize: 'FontSize14',
|
|
58
66
|
lineHeight: 'LineHeight100',
|
|
59
|
-
fontFamily: '
|
|
67
|
+
fontFamily: 'font.family.heading',
|
|
60
68
|
fontStyle: 'normal',
|
|
61
69
|
letterSpacing: 'LetterSpacing0'
|
|
62
70
|
}
|
|
@@ -66,7 +74,7 @@ const typography = {
|
|
|
66
74
|
fontWeight: 'FontWeight700',
|
|
67
75
|
fontSize: 'FontSize12',
|
|
68
76
|
lineHeight: 'LineHeight100',
|
|
69
|
-
fontFamily: '
|
|
77
|
+
fontFamily: 'font.family.heading',
|
|
70
78
|
fontStyle: 'normal',
|
|
71
79
|
letterSpacing: 'LetterSpacing0'
|
|
72
80
|
}
|
|
@@ -78,7 +86,7 @@ const typography = {
|
|
|
78
86
|
fontWeight: 'FontWeight400',
|
|
79
87
|
fontSize: 'FontSizeCode',
|
|
80
88
|
lineHeight: 'LineHeight1',
|
|
81
|
-
fontFamily: '
|
|
89
|
+
fontFamily: 'font.family.code',
|
|
82
90
|
fontStyle: 'normal',
|
|
83
91
|
letterSpacing: 'LetterSpacing0'
|
|
84
92
|
}
|
|
@@ -90,7 +98,7 @@ const typography = {
|
|
|
90
98
|
fontWeight: 'FontWeight400',
|
|
91
99
|
fontSize: 'FontSize14',
|
|
92
100
|
lineHeight: 'LineHeight200',
|
|
93
|
-
fontFamily: '
|
|
101
|
+
fontFamily: 'font.family.body',
|
|
94
102
|
fontStyle: 'normal',
|
|
95
103
|
letterSpacing: 'LetterSpacing0'
|
|
96
104
|
}
|
|
@@ -100,7 +108,7 @@ const typography = {
|
|
|
100
108
|
fontWeight: 'FontWeight400',
|
|
101
109
|
fontSize: 'FontSize16',
|
|
102
110
|
lineHeight: 'LineHeight300',
|
|
103
|
-
fontFamily: '
|
|
111
|
+
fontFamily: 'font.family.body',
|
|
104
112
|
fontStyle: 'normal',
|
|
105
113
|
letterSpacing: 'LetterSpacing0'
|
|
106
114
|
}
|
|
@@ -110,7 +118,7 @@ const typography = {
|
|
|
110
118
|
fontWeight: 'FontWeight400',
|
|
111
119
|
fontSize: 'FontSize12',
|
|
112
120
|
lineHeight: 'LineHeight200',
|
|
113
|
-
fontFamily: '
|
|
121
|
+
fontFamily: 'font.family.body',
|
|
114
122
|
fontStyle: 'normal',
|
|
115
123
|
letterSpacing: 'LetterSpacing0'
|
|
116
124
|
}
|
|
@@ -122,7 +130,7 @@ const typography = {
|
|
|
122
130
|
fontWeight: 'FontWeight400',
|
|
123
131
|
fontSize: 'FontSize14',
|
|
124
132
|
lineHeight: 'LineHeight1',
|
|
125
|
-
fontFamily: '
|
|
133
|
+
fontFamily: 'font.family.body',
|
|
126
134
|
fontStyle: 'normal',
|
|
127
135
|
letterSpacing: 'LetterSpacing0'
|
|
128
136
|
}
|
|
@@ -132,7 +140,7 @@ const typography = {
|
|
|
132
140
|
fontWeight: 'FontWeight400',
|
|
133
141
|
fontSize: 'FontSize12',
|
|
134
142
|
lineHeight: 'LineHeight1',
|
|
135
|
-
fontFamily: '
|
|
143
|
+
fontFamily: 'font.family.body',
|
|
136
144
|
fontStyle: 'normal',
|
|
137
145
|
letterSpacing: 'LetterSpacing0'
|
|
138
146
|
}
|
|
@@ -140,4 +148,7 @@ const typography = {
|
|
|
140
148
|
}
|
|
141
149
|
}
|
|
142
150
|
};
|
|
143
|
-
export default
|
|
151
|
+
export default {
|
|
152
|
+
font: typography.font,
|
|
153
|
+
utility
|
|
154
|
+
};
|
|
@@ -33,7 +33,15 @@ const font = {
|
|
|
33
33
|
description: 'Helpful guidance goes here'
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
|
|
36
|
+
heading: {
|
|
37
|
+
attributes: {
|
|
38
|
+
group: 'fontFamily',
|
|
39
|
+
state: 'experimental',
|
|
40
|
+
introduced: '1.14.0',
|
|
41
|
+
description: 'Helpful guidance goes here'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
body: {
|
|
37
45
|
attributes: {
|
|
38
46
|
group: 'fontFamily',
|
|
39
47
|
state: 'experimental',
|
|
@@ -7,6 +7,14 @@ const utility = {
|
|
|
7
7
|
introduced: '0.1.1',
|
|
8
8
|
description: 'Transparent token used for backwards compatibility between new and old theming solutions'
|
|
9
9
|
}
|
|
10
|
+
},
|
|
11
|
+
textTransformUppercase: {
|
|
12
|
+
attributes: {
|
|
13
|
+
group: 'raw',
|
|
14
|
+
state: 'active',
|
|
15
|
+
introduced: '1.20.1',
|
|
16
|
+
description: 'Text transform uppercase token used for backwards compatibility between new and old theming solutions'
|
|
17
|
+
}
|
|
10
18
|
}
|
|
11
19
|
},
|
|
12
20
|
elevation: {
|
|
@@ -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::86a1df1a5baba529610e15ed684ea4b8>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
export default "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
6
|
+
export default "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: -0.003em;\n --ds-font-letterSpacing-200: -0.006em;\n --ds-font-letterSpacing-300: -0.008em;\n --ds-font-letterSpacing-400: -0.01em;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.6875rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n --ds-font-size-050: 0.6875rem;\n --ds-font-size-075: 0.75rem;\n --ds-font-size-100: 0.875rem;\n --ds-font-size-200: 1rem;\n --ds-font-size-300: 1.25rem;\n --ds-font-size-400: 1.5rem;\n --ds-font-size-500: 1.8125rem;\n --ds-font-size-600: 2.1875rem;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n --ds-font-lineHeight-1: 1;\n --ds-font-lineHeight-100: 1rem;\n --ds-font-lineHeight-200: 1.25rem;\n --ds-font-lineHeight-300: 1.5rem;\n --ds-font-lineHeight-400: 1.75rem;\n --ds-font-lineHeight-500: 2rem;\n --ds-font-lineHeight-600: 2.5rem;\n}\n";
|
|
@@ -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::0975666a75bd15b63756e59298935cf5>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
export default "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
6
|
+
export default "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\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::349dc9dd4c283b60434a93a228019eb8>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
export default "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-
|
|
6
|
+
export default "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
8
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
9
9
|
*
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::2ed9c3b5219514c1dd5c348fb4647ed3>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var defaultTokenValues = {
|
|
@@ -396,6 +396,7 @@ var defaultTokenValues = {
|
|
|
396
396
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
397
397
|
'opacity.disabled': '0.4',
|
|
398
398
|
'opacity.loading': '0.2',
|
|
399
|
+
'utility.UNSAFE.textTransformUppercase': 'uppercase',
|
|
399
400
|
'utility.UNSAFE.transparent': 'transparent',
|
|
400
401
|
'utility.elevation.surface.current': '#FFFFFF',
|
|
401
402
|
'border.radius.050': '0.125rem',
|
|
@@ -432,27 +433,28 @@ var defaultTokenValues = {
|
|
|
432
433
|
'space.negative.250': '-1.25rem',
|
|
433
434
|
'space.negative.300': '-1.5rem',
|
|
434
435
|
'space.negative.400': '-2rem',
|
|
435
|
-
'font.body': 'normal 400 0.875rem/1.25rem
|
|
436
|
-
'font.body.lg': 'normal 400 1rem/1.5rem
|
|
437
|
-
'font.body.sm': 'normal 400 0.6875rem/1.25rem
|
|
438
|
-
'font.code': 'normal 400 0.875em/1
|
|
439
|
-
'font.heading.lg': 'normal 500 1.5rem/1.75rem
|
|
440
|
-
'font.heading.md': 'normal 500 1.25rem/1.5rem
|
|
441
|
-
'font.heading.sm': 'normal 600 1rem/1.25rem
|
|
442
|
-
'font.heading.xl': 'normal 600 1.8125rem/2rem
|
|
443
|
-
'font.heading.xs': 'normal 600 0.875rem/1rem
|
|
444
|
-
'font.heading.xxl': 'normal 500 2.1875rem/2.5rem
|
|
445
|
-
'font.heading.xxs': 'normal 600 0.75rem/1rem
|
|
436
|
+
'font.body': 'normal 400 0.875rem/1.25rem var(--ds-font-family-body)',
|
|
437
|
+
'font.body.lg': 'normal 400 1rem/1.5rem var(--ds-font-family-body)',
|
|
438
|
+
'font.body.sm': 'normal 400 0.6875rem/1.25rem var(--ds-font-family-body)',
|
|
439
|
+
'font.code': 'normal 400 0.875em/1 var(--ds-font-family-code)',
|
|
440
|
+
'font.heading.lg': 'normal 500 1.5rem/1.75rem var(--ds-font-family-heading)',
|
|
441
|
+
'font.heading.md': 'normal 500 1.25rem/1.5rem var(--ds-font-family-heading)',
|
|
442
|
+
'font.heading.sm': 'normal 600 1rem/1.25rem var(--ds-font-family-heading)',
|
|
443
|
+
'font.heading.xl': 'normal 600 1.8125rem/2rem var(--ds-font-family-heading)',
|
|
444
|
+
'font.heading.xs': 'normal 600 0.875rem/1rem var(--ds-font-family-heading)',
|
|
445
|
+
'font.heading.xxl': 'normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)',
|
|
446
|
+
'font.heading.xxs': 'normal 600 0.75rem/1rem var(--ds-font-family-heading)',
|
|
446
447
|
'font.letterSpacing.0': '0',
|
|
447
448
|
'font.letterSpacing.100': '-0.003em',
|
|
448
449
|
'font.letterSpacing.200': '-0.006em',
|
|
449
450
|
'font.letterSpacing.300': '-0.008em',
|
|
450
451
|
'font.letterSpacing.400': '-0.01em',
|
|
451
|
-
'font.ui': 'normal 400 0.875rem/1
|
|
452
|
-
'font.ui.sm': 'normal 400 0.6875rem/1
|
|
452
|
+
'font.ui': 'normal 400 0.875rem/1 var(--ds-font-family-body)',
|
|
453
|
+
'font.ui.sm': 'normal 400 0.6875rem/1 var(--ds-font-family-body)',
|
|
454
|
+
'font.family.body': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
453
455
|
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
456
|
+
'font.family.heading': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
454
457
|
'font.family.monospace': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
455
|
-
'font.family.product': 'ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif',
|
|
456
458
|
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
457
459
|
'font.family.brand': 'Charlie Sans',
|
|
458
460
|
'font.size.050': '0.6875rem',
|
|
@@ -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::9b8fdc7df9d7269fb27f22c5e06d7743>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = {
|
|
@@ -389,6 +389,7 @@ var tokens = {
|
|
|
389
389
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
390
390
|
'opacity.disabled': '--ds-opacity-disabled',
|
|
391
391
|
'opacity.loading': '--ds-opacity-loading',
|
|
392
|
+
'utility.UNSAFE.textTransformUppercase': '--ds-UNSAFE-textTransformUppercase',
|
|
392
393
|
'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
|
|
393
394
|
'utility.elevation.surface.current': '--ds-elevation-surface-current',
|
|
394
395
|
'border.radius.050': '--ds-border-radius-050',
|
|
@@ -443,9 +444,10 @@ var tokens = {
|
|
|
443
444
|
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
444
445
|
'font.ui': '--ds-font-ui',
|
|
445
446
|
'font.ui.sm': '--ds-font-ui-sm',
|
|
447
|
+
'font.family.body': '--ds-font-family-body',
|
|
446
448
|
'font.family.code': '--ds-font-family-code',
|
|
449
|
+
'font.family.heading': '--ds-font-family-heading',
|
|
447
450
|
'font.family.monospace': '--ds-font-family-monospace',
|
|
448
|
-
'font.family.product': '--ds-font-family-product',
|
|
449
451
|
'font.family.sans': '--ds-font-family-sans',
|
|
450
452
|
'font.family.brand': '--ds-font-family-brand',
|
|
451
453
|
'font.size.050': '--ds-font-size-050',
|