@atlaskit/tokens 1.14.2 → 1.15.1

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.
Files changed (174) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  3. package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  4. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +313 -43
  5. package/dist/cjs/artifacts/theme-import-map.js +16 -4
  6. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +13 -0
  7. package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +13 -0
  8. package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
  9. package/dist/cjs/artifacts/token-default-values.js +23 -2
  10. package/dist/cjs/artifacts/token-names.js +22 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1084 -0
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +666 -0
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +465 -253
  14. package/dist/cjs/entry-points/tokens-raw.js +2 -2
  15. package/dist/cjs/get-token-value.js +1 -1
  16. package/dist/cjs/get-token.js +1 -1
  17. package/dist/cjs/palettes/typography-palette.js +133 -16
  18. package/dist/cjs/theme-config.js +20 -4
  19. package/dist/cjs/tokens/atlassian-typography/font-family.js +11 -2
  20. package/dist/cjs/tokens/atlassian-typography/letter-spacing.js +29 -0
  21. package/dist/cjs/tokens/atlassian-typography/theme.js +140 -0
  22. package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +29 -0
  23. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.js +8 -8
  24. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.js +4 -4
  25. package/dist/cjs/tokens/atlassian-typography-adg3/letter-spacing.js +29 -0
  26. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  27. package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +140 -0
  28. package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +29 -0
  29. package/dist/cjs/tokens/atlassian-typography-minor3/letter-spacing.js +29 -0
  30. package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +140 -0
  31. package/dist/cjs/tokens/default/typography/font-family.js +24 -0
  32. package/dist/cjs/tokens/default/typography/font.js +133 -0
  33. package/dist/cjs/tokens/default/typography/letter-spacing.js +54 -0
  34. package/dist/cjs/tokens/default/typography/line-height.js +8 -0
  35. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  36. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  37. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +313 -43
  38. package/dist/es2019/artifacts/theme-import-map.js +8 -4
  39. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +50 -0
  40. package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +31 -0
  41. package/dist/es2019/artifacts/themes/atlassian-typography.js +23 -21
  42. package/dist/es2019/artifacts/token-default-values.js +23 -2
  43. package/dist/es2019/artifacts/token-names.js +22 -1
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +659 -0
  46. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +465 -253
  47. package/dist/es2019/entry-points/tokens-raw.js +1 -1
  48. package/dist/es2019/get-token-value.js +1 -1
  49. package/dist/es2019/get-token.js +1 -1
  50. package/dist/es2019/palettes/typography-palette.js +135 -17
  51. package/dist/es2019/theme-config.js +20 -4
  52. package/dist/es2019/tokens/atlassian-typography/font-family.js +11 -2
  53. package/dist/es2019/tokens/atlassian-typography/letter-spacing.js +22 -0
  54. package/dist/es2019/tokens/atlassian-typography/theme.js +133 -0
  55. package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +22 -0
  56. package/dist/es2019/tokens/atlassian-typography-adg3/font-size.js +31 -0
  57. package/dist/es2019/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  58. package/dist/es2019/tokens/atlassian-typography-adg3/letter-spacing.js +22 -0
  59. package/dist/es2019/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  60. package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +133 -0
  61. package/dist/es2019/tokens/atlassian-typography-minor3/font-family.js +22 -0
  62. package/dist/es2019/tokens/atlassian-typography-minor3/letter-spacing.js +22 -0
  63. package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +133 -0
  64. package/dist/es2019/tokens/default/typography/font-family.js +24 -0
  65. package/dist/es2019/tokens/default/typography/font.js +126 -0
  66. package/dist/es2019/tokens/default/typography/letter-spacing.js +47 -0
  67. package/dist/es2019/tokens/default/typography/line-height.js +8 -0
  68. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  69. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  70. package/dist/esm/artifacts/palettes-raw/typography-palette.js +313 -43
  71. package/dist/esm/artifacts/theme-import-map.js +12 -4
  72. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +6 -0
  73. package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +6 -0
  74. package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
  75. package/dist/esm/artifacts/token-default-values.js +23 -2
  76. package/dist/esm/artifacts/token-names.js +22 -1
  77. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  78. package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +659 -0
  79. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +465 -253
  80. package/dist/esm/entry-points/tokens-raw.js +1 -1
  81. package/dist/esm/get-token-value.js +1 -1
  82. package/dist/esm/get-token.js +1 -1
  83. package/dist/esm/palettes/typography-palette.js +133 -16
  84. package/dist/esm/theme-config.js +20 -4
  85. package/dist/esm/tokens/atlassian-typography/font-family.js +11 -2
  86. package/dist/esm/tokens/atlassian-typography/letter-spacing.js +22 -0
  87. package/dist/esm/tokens/atlassian-typography/theme.js +133 -0
  88. package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +22 -0
  89. package/dist/esm/tokens/atlassian-typography-adg3/font-size.js +31 -0
  90. package/dist/esm/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  91. package/dist/esm/tokens/atlassian-typography-adg3/letter-spacing.js +22 -0
  92. package/dist/esm/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +4 -1
  93. package/dist/esm/tokens/atlassian-typography-adg3/theme.js +133 -0
  94. package/dist/esm/tokens/atlassian-typography-minor3/font-family.js +22 -0
  95. package/dist/esm/tokens/atlassian-typography-minor3/letter-spacing.js +22 -0
  96. package/dist/esm/tokens/atlassian-typography-minor3/theme.js +133 -0
  97. package/dist/esm/tokens/default/typography/font-family.js +24 -0
  98. package/dist/esm/tokens/default/typography/font.js +126 -0
  99. package/dist/esm/tokens/default/typography/letter-spacing.js +47 -0
  100. package/dist/esm/tokens/default/typography/line-height.js +8 -0
  101. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  102. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  103. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  104. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  105. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  106. package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +7 -0
  107. package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
  108. package/dist/types/artifacts/token-default-values.d.ts +23 -2
  109. package/dist/types/artifacts/token-names.d.ts +43 -1
  110. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  111. package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +137 -0
  112. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  113. package/dist/types/artifacts/types-internal.d.ts +2 -2
  114. package/dist/types/artifacts/types.d.ts +2 -2
  115. package/dist/types/entry-points/tokens-raw.d.ts +1 -1
  116. package/dist/types/index.d.ts +1 -1
  117. package/dist/types/palettes/typography-palette.d.ts +8 -6
  118. package/dist/types/theme-config.d.ts +4 -4
  119. package/dist/types/tokens/atlassian-typography/letter-spacing.d.ts +4 -0
  120. package/dist/types/tokens/atlassian-typography/theme.d.ts +10 -0
  121. package/dist/types/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  122. package/dist/types/tokens/atlassian-typography-adg3/letter-spacing.d.ts +4 -0
  123. package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  124. package/dist/types/tokens/atlassian-typography-minor3/font-family.d.ts +4 -0
  125. package/dist/types/tokens/atlassian-typography-minor3/letter-spacing.d.ts +4 -0
  126. package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +10 -0
  127. package/dist/types/tokens/default/typography/font.d.ts +20 -0
  128. package/dist/types/tokens/default/typography/letter-spacing.d.ts +4 -0
  129. package/dist/types/types.d.ts +111 -22
  130. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  131. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  132. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  133. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  134. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  135. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +7 -0
  136. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
  137. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +23 -2
  138. package/dist/types-ts4.5/artifacts/token-names.d.ts +43 -1
  139. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  140. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +137 -0
  141. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  142. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  143. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  144. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
  145. package/dist/types-ts4.5/index.d.ts +1 -1
  146. package/dist/types-ts4.5/palettes/typography-palette.d.ts +8 -6
  147. package/dist/types-ts4.5/theme-config.d.ts +7 -3
  148. package/dist/types-ts4.5/tokens/atlassian-typography/letter-spacing.d.ts +4 -0
  149. package/dist/types-ts4.5/tokens/atlassian-typography/theme.d.ts +10 -0
  150. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  151. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/letter-spacing.d.ts +4 -0
  152. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  153. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/font-family.d.ts +4 -0
  154. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/letter-spacing.d.ts +4 -0
  155. package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +10 -0
  156. package/dist/types-ts4.5/tokens/default/typography/font.d.ts +20 -0
  157. package/dist/types-ts4.5/tokens/default/typography/letter-spacing.d.ts +4 -0
  158. package/dist/types-ts4.5/types.d.ts +111 -22
  159. package/figma/atlassian-typography-adg3.json +150 -0
  160. package/figma/atlassian-typography-minor3.json +51 -0
  161. package/figma/atlassian-typography.json +19 -82
  162. package/package.json +1 -2
  163. package/report.api.md +87 -2
  164. package/tmp/api-report-tmp.d.ts +65 -7
  165. package/dist/es2019/tokens/atlassian-typography/font-size.js +0 -31
  166. package/dist/es2019/tokens/atlassian-typography/font-weight.js +0 -19
  167. package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
  168. package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
  169. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  170. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  171. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
  172. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  173. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  174. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
@@ -1,53 +1,128 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::62a42989e49ca7f7856827fb9ea059d6>>
3
+ * @codegen <<SignedSource::c5a499034468ced262952ef968c2fd67>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
7
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
7
+ "value": "Roboto Mono",
8
8
  "attributes": {
9
9
  "group": "typography"
10
10
  },
11
11
  "filePath": "src/palettes/typography-palette.tsx",
12
12
  "isSource": true,
13
13
  "original": {
14
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
14
+ "value": "Roboto Mono",
15
15
  "attributes": {
16
16
  "group": "typography"
17
17
  }
18
18
  },
19
- "name": "typography.fontFamily.FontFamilyMonospace",
20
- "path": ["typography", "fontFamily", "FontFamilyMonospace"]
19
+ "name": "typography.fontFamily.FontFamilyAndroidMono",
20
+ "path": ["typography", "fontFamily", "FontFamilyAndroidMono"]
21
21
  }, {
22
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
22
+ "value": "Roboto",
23
23
  "attributes": {
24
24
  "group": "typography"
25
25
  },
26
26
  "filePath": "src/palettes/typography-palette.tsx",
27
27
  "isSource": true,
28
28
  "original": {
29
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
29
+ "value": "Roboto",
30
30
  "attributes": {
31
31
  "group": "typography"
32
32
  }
33
33
  },
34
- "name": "typography.fontFamily.FontFamilySans",
35
- "path": ["typography", "fontFamily", "FontFamilySans"]
34
+ "name": "typography.fontFamily.FontFamilyAndroidSans",
35
+ "path": ["typography", "fontFamily", "FontFamilyAndroidSans"]
36
36
  }, {
37
- "value": "11px",
37
+ "value": "Charlie Sans",
38
38
  "attributes": {
39
39
  "group": "typography"
40
40
  },
41
41
  "filePath": "src/palettes/typography-palette.tsx",
42
42
  "isSource": true,
43
43
  "original": {
44
- "value": 11,
44
+ "value": "Charlie Sans",
45
+ "attributes": {
46
+ "group": "typography"
47
+ }
48
+ },
49
+ "name": "typography.fontFamily.FontFamilyCharlie",
50
+ "path": ["typography", "fontFamily", "FontFamilyCharlie"]
51
+ }, {
52
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
53
+ "attributes": {
54
+ "group": "typography"
55
+ },
56
+ "filePath": "src/palettes/typography-palette.tsx",
57
+ "isSource": true,
58
+ "original": {
59
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace",
45
60
  "attributes": {
46
61
  "group": "typography"
47
62
  }
48
63
  },
49
- "name": "typography.fontSize.FontSize050",
50
- "path": ["typography", "fontSize", "FontSize050"]
64
+ "name": "typography.fontFamily.FontFamilyWebMono",
65
+ "path": ["typography", "fontFamily", "FontFamilyWebMono"]
66
+ }, {
67
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
68
+ "attributes": {
69
+ "group": "typography"
70
+ },
71
+ "filePath": "src/palettes/typography-palette.tsx",
72
+ "isSource": true,
73
+ "original": {
74
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif",
75
+ "attributes": {
76
+ "group": "typography"
77
+ }
78
+ },
79
+ "name": "typography.fontFamily.FontFamilyWebSans",
80
+ "path": ["typography", "fontFamily", "FontFamilyWebSans"]
81
+ }, {
82
+ "value": "SF Mono",
83
+ "attributes": {
84
+ "group": "typography"
85
+ },
86
+ "filePath": "src/palettes/typography-palette.tsx",
87
+ "isSource": true,
88
+ "original": {
89
+ "value": "SF Mono",
90
+ "attributes": {
91
+ "group": "typography"
92
+ }
93
+ },
94
+ "name": "typography.fontFamily.FontFamilyiOSMono",
95
+ "path": ["typography", "fontFamily", "FontFamilyiOSMono"]
96
+ }, {
97
+ "value": "SF Pro",
98
+ "attributes": {
99
+ "group": "typography"
100
+ },
101
+ "filePath": "src/palettes/typography-palette.tsx",
102
+ "isSource": true,
103
+ "original": {
104
+ "value": "SF Pro",
105
+ "attributes": {
106
+ "group": "typography"
107
+ }
108
+ },
109
+ "name": "typography.fontFamily.FontFamilyiOSSans",
110
+ "path": ["typography", "fontFamily", "FontFamilyiOSSans"]
111
+ }, {
112
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
113
+ "attributes": {
114
+ "group": "typography"
115
+ },
116
+ "filePath": "src/palettes/typography-palette.tsx",
117
+ "isSource": true,
118
+ "original": {
119
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
120
+ "attributes": {
121
+ "group": "typography"
122
+ }
123
+ },
124
+ "name": "typography.fontFamily.LegacyFontFamilyWebSans",
125
+ "path": ["typography", "fontFamily", "LegacyFontFamilyWebSans"]
51
126
  }, {
52
127
  "value": "12px",
53
128
  "attributes": {
@@ -61,8 +136,8 @@ const tokens = [{
61
136
  "group": "typography"
62
137
  }
63
138
  },
64
- "name": "typography.fontSize.FontSize075",
65
- "path": ["typography", "fontSize", "FontSize075"]
139
+ "name": "typography.fontSize.FontSize12",
140
+ "path": ["typography", "fontSize", "FontSize12"]
66
141
  }, {
67
142
  "value": "14px",
68
143
  "attributes": {
@@ -76,8 +151,8 @@ const tokens = [{
76
151
  "group": "typography"
77
152
  }
78
153
  },
79
- "name": "typography.fontSize.FontSize100",
80
- "path": ["typography", "fontSize", "FontSize100"]
154
+ "name": "typography.fontSize.FontSize14",
155
+ "path": ["typography", "fontSize", "FontSize14"]
81
156
  }, {
82
157
  "value": "16px",
83
158
  "attributes": {
@@ -91,8 +166,8 @@ const tokens = [{
91
166
  "group": "typography"
92
167
  }
93
168
  },
94
- "name": "typography.fontSize.FontSize200",
95
- "path": ["typography", "fontSize", "FontSize200"]
169
+ "name": "typography.fontSize.FontSize16",
170
+ "path": ["typography", "fontSize", "FontSize16"]
96
171
  }, {
97
172
  "value": "20px",
98
173
  "attributes": {
@@ -106,8 +181,8 @@ const tokens = [{
106
181
  "group": "typography"
107
182
  }
108
183
  },
109
- "name": "typography.fontSize.FontSize300",
110
- "path": ["typography", "fontSize", "FontSize300"]
184
+ "name": "typography.fontSize.FontSize20",
185
+ "path": ["typography", "fontSize", "FontSize20"]
111
186
  }, {
112
187
  "value": "24px",
113
188
  "attributes": {
@@ -121,8 +196,98 @@ const tokens = [{
121
196
  "group": "typography"
122
197
  }
123
198
  },
124
- "name": "typography.fontSize.FontSize400",
125
- "path": ["typography", "fontSize", "FontSize400"]
199
+ "name": "typography.fontSize.FontSize24",
200
+ "path": ["typography", "fontSize", "FontSize24"]
201
+ }, {
202
+ "value": "28px",
203
+ "attributes": {
204
+ "group": "typography"
205
+ },
206
+ "filePath": "src/palettes/typography-palette.tsx",
207
+ "isSource": true,
208
+ "original": {
209
+ "value": 28,
210
+ "attributes": {
211
+ "group": "typography"
212
+ }
213
+ },
214
+ "name": "typography.fontSize.FontSize28",
215
+ "path": ["typography", "fontSize", "FontSize28"]
216
+ }, {
217
+ "value": "32px",
218
+ "attributes": {
219
+ "group": "typography"
220
+ },
221
+ "filePath": "src/palettes/typography-palette.tsx",
222
+ "isSource": true,
223
+ "original": {
224
+ "value": 32,
225
+ "attributes": {
226
+ "group": "typography"
227
+ }
228
+ },
229
+ "name": "typography.fontSize.FontSize32",
230
+ "path": ["typography", "fontSize", "FontSize32"]
231
+ }, {
232
+ "value": "36px",
233
+ "attributes": {
234
+ "group": "typography"
235
+ },
236
+ "filePath": "src/palettes/typography-palette.tsx",
237
+ "isSource": true,
238
+ "original": {
239
+ "value": 36,
240
+ "attributes": {
241
+ "group": "typography"
242
+ }
243
+ },
244
+ "name": "typography.fontSize.FontSize36",
245
+ "path": ["typography", "fontSize", "FontSize36"]
246
+ }, {
247
+ "value": "48px",
248
+ "attributes": {
249
+ "group": "typography"
250
+ },
251
+ "filePath": "src/palettes/typography-palette.tsx",
252
+ "isSource": true,
253
+ "original": {
254
+ "value": 48,
255
+ "attributes": {
256
+ "group": "typography"
257
+ }
258
+ },
259
+ "name": "typography.fontSize.FontSize48",
260
+ "path": ["typography", "fontSize", "FontSize48"]
261
+ }, {
262
+ "value": "0.875em",
263
+ "attributes": {
264
+ "group": "typography"
265
+ },
266
+ "filePath": "src/palettes/typography-palette.tsx",
267
+ "isSource": true,
268
+ "original": {
269
+ "value": "0.875em",
270
+ "attributes": {
271
+ "group": "typography"
272
+ }
273
+ },
274
+ "name": "typography.fontSize.FontSizeCode",
275
+ "path": ["typography", "fontSize", "FontSizeCode"]
276
+ }, {
277
+ "value": "11px",
278
+ "attributes": {
279
+ "group": "typography"
280
+ },
281
+ "filePath": "src/palettes/typography-palette.tsx",
282
+ "isSource": true,
283
+ "original": {
284
+ "value": 11,
285
+ "attributes": {
286
+ "group": "typography"
287
+ }
288
+ },
289
+ "name": "typography.fontSize.LegacyFontSize11",
290
+ "path": ["typography", "fontSize", "LegacyFontSize11"]
126
291
  }, {
127
292
  "value": "29px",
128
293
  "attributes": {
@@ -136,8 +301,8 @@ const tokens = [{
136
301
  "group": "typography"
137
302
  }
138
303
  },
139
- "name": "typography.fontSize.FontSize500",
140
- "path": ["typography", "fontSize", "FontSize500"]
304
+ "name": "typography.fontSize.LegacyFontSize29",
305
+ "path": ["typography", "fontSize", "LegacyFontSize29"]
141
306
  }, {
142
307
  "value": "35px",
143
308
  "attributes": {
@@ -151,23 +316,23 @@ const tokens = [{
151
316
  "group": "typography"
152
317
  }
153
318
  },
154
- "name": "typography.fontSize.FontSize600",
155
- "path": ["typography", "fontSize", "FontSize600"]
319
+ "name": "typography.fontSize.LegacyFontSize35",
320
+ "path": ["typography", "fontSize", "LegacyFontSize35"]
156
321
  }, {
157
- "value": "700",
322
+ "value": "400",
158
323
  "attributes": {
159
324
  "group": "typography"
160
325
  },
161
326
  "filePath": "src/palettes/typography-palette.tsx",
162
327
  "isSource": true,
163
328
  "original": {
164
- "value": "700",
329
+ "value": "400",
165
330
  "attributes": {
166
331
  "group": "typography"
167
332
  }
168
333
  },
169
- "name": "typography.fontWeight.FontWeightBold",
170
- "path": ["typography", "fontWeight", "FontWeightBold"]
334
+ "name": "typography.fontWeight.FontWeight400",
335
+ "path": ["typography", "fontWeight", "FontWeight400"]
171
336
  }, {
172
337
  "value": "500",
173
338
  "attributes": {
@@ -181,38 +346,128 @@ const tokens = [{
181
346
  "group": "typography"
182
347
  }
183
348
  },
184
- "name": "typography.fontWeight.FontWeightMedium",
185
- "path": ["typography", "fontWeight", "FontWeightMedium"]
349
+ "name": "typography.fontWeight.FontWeight500",
350
+ "path": ["typography", "fontWeight", "FontWeight500"]
186
351
  }, {
187
- "value": "400",
352
+ "value": "600",
188
353
  "attributes": {
189
354
  "group": "typography"
190
355
  },
191
356
  "filePath": "src/palettes/typography-palette.tsx",
192
357
  "isSource": true,
193
358
  "original": {
194
- "value": "400",
359
+ "value": "600",
195
360
  "attributes": {
196
361
  "group": "typography"
197
362
  }
198
363
  },
199
- "name": "typography.fontWeight.FontWeightRegular",
200
- "path": ["typography", "fontWeight", "FontWeightRegular"]
364
+ "name": "typography.fontWeight.FontWeight600",
365
+ "path": ["typography", "fontWeight", "FontWeight600"]
201
366
  }, {
202
- "value": "600",
367
+ "value": "700",
203
368
  "attributes": {
204
369
  "group": "typography"
205
370
  },
206
371
  "filePath": "src/palettes/typography-palette.tsx",
207
372
  "isSource": true,
208
373
  "original": {
209
- "value": "600",
374
+ "value": "700",
375
+ "attributes": {
376
+ "group": "typography"
377
+ }
378
+ },
379
+ "name": "typography.fontWeight.FontWeight700",
380
+ "path": ["typography", "fontWeight", "FontWeight700"]
381
+ }, {
382
+ "value": "0",
383
+ "attributes": {
384
+ "group": "typography"
385
+ },
386
+ "filePath": "src/palettes/typography-palette.tsx",
387
+ "isSource": true,
388
+ "original": {
389
+ "value": "0",
210
390
  "attributes": {
211
391
  "group": "typography"
212
392
  }
213
393
  },
214
- "name": "typography.fontWeight.FontWeightSemiBold",
215
- "path": ["typography", "fontWeight", "FontWeightSemiBold"]
394
+ "name": "typography.letterSpacing.LetterSpacing0",
395
+ "path": ["typography", "letterSpacing", "LetterSpacing0"]
396
+ }, {
397
+ "value": "-0.003em",
398
+ "attributes": {
399
+ "group": "typography"
400
+ },
401
+ "filePath": "src/palettes/typography-palette.tsx",
402
+ "isSource": true,
403
+ "original": {
404
+ "value": "-0.003em",
405
+ "attributes": {
406
+ "group": "typography"
407
+ }
408
+ },
409
+ "name": "typography.letterSpacing.LetterSpacing100",
410
+ "path": ["typography", "letterSpacing", "LetterSpacing100"]
411
+ }, {
412
+ "value": "-0.006em",
413
+ "attributes": {
414
+ "group": "typography"
415
+ },
416
+ "filePath": "src/palettes/typography-palette.tsx",
417
+ "isSource": true,
418
+ "original": {
419
+ "value": "-0.006em",
420
+ "attributes": {
421
+ "group": "typography"
422
+ }
423
+ },
424
+ "name": "typography.letterSpacing.LetterSpacing200",
425
+ "path": ["typography", "letterSpacing", "LetterSpacing200"]
426
+ }, {
427
+ "value": "-0.008em",
428
+ "attributes": {
429
+ "group": "typography"
430
+ },
431
+ "filePath": "src/palettes/typography-palette.tsx",
432
+ "isSource": true,
433
+ "original": {
434
+ "value": "-0.008em",
435
+ "attributes": {
436
+ "group": "typography"
437
+ }
438
+ },
439
+ "name": "typography.letterSpacing.LetterSpacing300",
440
+ "path": ["typography", "letterSpacing", "LetterSpacing300"]
441
+ }, {
442
+ "value": "-0.01em",
443
+ "attributes": {
444
+ "group": "typography"
445
+ },
446
+ "filePath": "src/palettes/typography-palette.tsx",
447
+ "isSource": true,
448
+ "original": {
449
+ "value": "-0.01em",
450
+ "attributes": {
451
+ "group": "typography"
452
+ }
453
+ },
454
+ "name": "typography.letterSpacing.LetterSpacing400",
455
+ "path": ["typography", "letterSpacing", "LetterSpacing400"]
456
+ }, {
457
+ "value": "1",
458
+ "attributes": {
459
+ "group": "typography"
460
+ },
461
+ "filePath": "src/palettes/typography-palette.tsx",
462
+ "isSource": true,
463
+ "original": {
464
+ "value": "1",
465
+ "attributes": {
466
+ "group": "typography"
467
+ }
468
+ },
469
+ "name": "typography.lineHeight.LineHeight1",
470
+ "path": ["typography", "lineHeight", "LineHeight1"]
216
471
  }, {
217
472
  "value": "16px",
218
473
  "attributes": {
@@ -289,19 +544,34 @@ const tokens = [{
289
544
  "name": "typography.lineHeight.LineHeight500",
290
545
  "path": ["typography", "lineHeight", "LineHeight500"]
291
546
  }, {
292
- "value": "40px",
547
+ "value": "36px",
293
548
  "attributes": {
294
549
  "group": "typography"
295
550
  },
296
551
  "filePath": "src/palettes/typography-palette.tsx",
297
552
  "isSource": true,
298
553
  "original": {
299
- "value": 40,
554
+ "value": 36,
300
555
  "attributes": {
301
556
  "group": "typography"
302
557
  }
303
558
  },
304
559
  "name": "typography.lineHeight.LineHeight600",
305
560
  "path": ["typography", "lineHeight", "LineHeight600"]
561
+ }, {
562
+ "value": "40px",
563
+ "attributes": {
564
+ "group": "typography"
565
+ },
566
+ "filePath": "src/palettes/typography-palette.tsx",
567
+ "isSource": true,
568
+ "original": {
569
+ "value": 40,
570
+ "attributes": {
571
+ "group": "typography"
572
+ }
573
+ },
574
+ "name": "typography.lineHeight.LineHeight700",
575
+ "path": ["typography", "lineHeight", "LineHeight700"]
306
576
  }];
307
577
  export default tokens;
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::de402397f676704af035feafc2b4f3c3>>
9
+ * @codegen <<SignedSource::1e1c80a5700235c55449aa23948418be>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
 
@@ -21,13 +21,17 @@ const themeImportsMap = {
21
21
  './themes/atlassian-legacy-dark'),
22
22
  'spacing': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-spacing" */
23
23
  './themes/atlassian-spacing'),
24
- 'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
25
- './themes/atlassian-typography'),
24
+ 'typography-adg3': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-adg3" */
25
+ './themes/atlassian-typography-adg3'),
26
26
  'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */
27
27
  './themes/atlassian-shape'),
28
28
  'light-new-input-border': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-new-input-border" */
29
29
  './themes/atlassian-light-new-input-border'),
30
30
  'dark-new-input-border': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-new-input-border" */
31
- './themes/atlassian-dark-new-input-border')
31
+ './themes/atlassian-dark-new-input-border'),
32
+ 'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
33
+ './themes/atlassian-typography'),
34
+ 'typography-minor3': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-minor3" */
35
+ './themes/atlassian-typography-minor3')
32
36
  };
33
37
  export default themeImportsMap;
@@ -0,0 +1,50 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::5a962c81429544e05af6d55cf34c46a0>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default `
7
+ html[data-theme~="typography:typography-adg3"] {
8
+ --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);
9
+ --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);
10
+ --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
11
+ --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);
12
+ --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);
13
+ --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);
14
+ --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);
15
+ --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);
16
+ --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);
17
+ --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);
18
+ --ds-font-letterSpacing-0: 0;
19
+ --ds-font-letterSpacing-100: -0.003em;
20
+ --ds-font-letterSpacing-200: -0.006em;
21
+ --ds-font-letterSpacing-300: -0.008em;
22
+ --ds-font-letterSpacing-400: -0.01em;
23
+ --ds-font-ui: normal 400 0.875rem/1rem var(--ds-font-family-product);
24
+ --ds-font-ui-sm: normal 400 0.6875rem/1rem var(--ds-font-family-product);
25
+ --ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
26
+ --ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
27
+ --ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
28
+ --ds-font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
29
+ --ds-font-family-brand: Charlie Sans;
30
+ --ds-font-size-050: 0.6875rem;
31
+ --ds-font-size-075: 0.75rem;
32
+ --ds-font-size-100: 0.875rem;
33
+ --ds-font-size-200: 1rem;
34
+ --ds-font-size-300: 1.25rem;
35
+ --ds-font-size-400: 1.5rem;
36
+ --ds-font-size-500: 1.8125rem;
37
+ --ds-font-size-600: 2.1875rem;
38
+ --ds-font-weight-bold: 700;
39
+ --ds-font-weight-medium: 500;
40
+ --ds-font-weight-regular: 400;
41
+ --ds-font-weight-semibold: 600;
42
+ --ds-font-lineHeight-1: 1;
43
+ --ds-font-lineHeight-100: 1rem;
44
+ --ds-font-lineHeight-200: 1.25rem;
45
+ --ds-font-lineHeight-300: 1.5rem;
46
+ --ds-font-lineHeight-400: 1.75rem;
47
+ --ds-font-lineHeight-500: 2rem;
48
+ --ds-font-lineHeight-600: 2.5rem;
49
+ }
50
+ `;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::88719508da65fd1b7ad398cc0681c4c5>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default `
7
+ html[data-theme~="typography:typography-minor3"] {
8
+ --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);
9
+ --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);
10
+ --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
11
+ --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);
12
+ --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);
13
+ --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);
14
+ --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);
15
+ --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);
16
+ --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-sans);
17
+ --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);
18
+ --ds-font-letterSpacing-0: 0;
19
+ --ds-font-letterSpacing-100: 0;
20
+ --ds-font-letterSpacing-200: 0;
21
+ --ds-font-letterSpacing-300: 0;
22
+ --ds-font-letterSpacing-400: 0;
23
+ --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-sans);
24
+ --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);
25
+ --ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
26
+ --ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
27
+ --ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
28
+ --ds-font-family-sans: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
29
+ --ds-font-family-brand: Charlie Sans;
30
+ }
31
+ `;
@@ -1,29 +1,31 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::3e4dc097014124b77e69b832281f37ed>>
3
+ * @codegen <<SignedSource::ce2e1e115aa9ff0027981ef8ba658c64>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  export default `
7
7
  html[data-theme~="typography:typography"] {
8
- --ds-font-family-monospace: "SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace;
9
- --ds-font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
10
- --ds-font-size-050: 0.6875rem;
11
- --ds-font-size-075: 0.75rem;
12
- --ds-font-size-100: 0.875rem;
13
- --ds-font-size-200: 1rem;
14
- --ds-font-size-300: 1.25rem;
15
- --ds-font-size-400: 1.5rem;
16
- --ds-font-size-500: 1.8125rem;
17
- --ds-font-size-600: 2.1875rem;
18
- --ds-font-weight-bold: 700;
19
- --ds-font-weight-medium: 500;
20
- --ds-font-weight-regular: 400;
21
- --ds-font-weight-semibold: 600;
22
- --ds-font-lineHeight-100: 1rem;
23
- --ds-font-lineHeight-200: 1.25rem;
24
- --ds-font-lineHeight-300: 1.5rem;
25
- --ds-font-lineHeight-400: 1.75rem;
26
- --ds-font-lineHeight-500: 2rem;
27
- --ds-font-lineHeight-600: 2.5rem;
8
+ --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);
9
+ --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);
10
+ --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
11
+ --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);
12
+ --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);
13
+ --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);
14
+ --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);
15
+ --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);
16
+ --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);
17
+ --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);
18
+ --ds-font-letterSpacing-0: 0;
19
+ --ds-font-letterSpacing-100: 0;
20
+ --ds-font-letterSpacing-200: 0;
21
+ --ds-font-letterSpacing-300: 0;
22
+ --ds-font-letterSpacing-400: 0;
23
+ --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-sans);
24
+ --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);
25
+ --ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
26
+ --ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
27
+ --ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
28
+ --ds-font-family-sans: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
29
+ --ds-font-family-brand: Charlie Sans;
28
30
  }
29
31
  `;