@atlaskit/tokens 1.26.1 → 1.28.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.
Files changed (131) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  3. package/dist/cjs/artifacts/palettes-raw/palette.js +77 -77
  4. package/dist/cjs/artifacts/theme-import-map.js +1 -13
  5. package/dist/cjs/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
  6. package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
  7. package/dist/cjs/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
  8. package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
  9. package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
  10. package/dist/cjs/artifacts/token-default-values.js +101 -101
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +115 -115
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +109 -109
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -9
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +17 -9
  17. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +17 -9
  18. package/dist/cjs/get-token-value.js +1 -1
  19. package/dist/cjs/get-token.js +1 -1
  20. package/dist/cjs/theme-config.js +1 -25
  21. package/dist/cjs/utils/get-theme-preferences.js +0 -13
  22. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  23. package/dist/es2019/artifacts/palettes-raw/palette.js +77 -77
  24. package/dist/es2019/artifacts/theme-import-map.js +1 -5
  25. package/dist/es2019/artifacts/themes/atlassian-dark-increased-contrast.js +115 -115
  26. package/dist/es2019/artifacts/themes/atlassian-dark.js +109 -109
  27. package/dist/es2019/artifacts/themes/atlassian-light-increased-contrast.js +124 -124
  28. package/dist/es2019/artifacts/themes/atlassian-light.js +101 -101
  29. package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +7 -1
  30. package/dist/es2019/artifacts/token-default-values.js +101 -101
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +115 -115
  33. package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
  34. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +109 -109
  35. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -9
  36. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +17 -9
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +17 -9
  38. package/dist/es2019/get-token-value.js +1 -1
  39. package/dist/es2019/get-token.js +1 -1
  40. package/dist/es2019/theme-config.js +1 -25
  41. package/dist/es2019/utils/get-theme-preferences.js +0 -13
  42. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  43. package/dist/esm/artifacts/palettes-raw/palette.js +77 -77
  44. package/dist/esm/artifacts/theme-import-map.js +1 -9
  45. package/dist/esm/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
  46. package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
  47. package/dist/esm/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
  48. package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
  49. package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
  50. package/dist/esm/artifacts/token-default-values.js +101 -101
  51. package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
  52. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +115 -115
  53. package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
  54. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +109 -109
  55. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +17 -9
  56. package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +17 -9
  57. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +17 -9
  58. package/dist/esm/get-token-value.js +1 -1
  59. package/dist/esm/get-token.js +1 -1
  60. package/dist/esm/theme-config.js +1 -25
  61. package/dist/esm/utils/get-theme-preferences.js +0 -13
  62. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  63. package/dist/types/artifacts/palettes-raw/palette.d.ts +1 -1
  64. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  65. package/dist/types/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
  66. package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
  67. package/dist/types/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
  68. package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
  69. package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  70. package/dist/types/artifacts/token-default-values.d.ts +101 -101
  71. package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
  72. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  73. package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
  74. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  75. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +36 -1
  76. package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +36 -1
  77. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +36 -1
  78. package/dist/types/theme-config.d.ts +4 -4
  79. package/dist/types/types.d.ts +10 -3
  80. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  81. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +1 -1
  82. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  83. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
  84. package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
  85. package/dist/types-ts4.5/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
  86. package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
  87. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
  88. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +101 -101
  89. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
  90. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  91. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
  92. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  93. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +36 -1
  94. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +36 -1
  95. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +36 -1
  96. package/dist/types-ts4.5/theme-config.d.ts +4 -8
  97. package/dist/types-ts4.5/types.d.ts +10 -3
  98. package/figma/atlassian-dark-increased-contrast.json +114 -114
  99. package/figma/atlassian-dark.json +108 -108
  100. package/figma/atlassian-light-increased-contrast.json +123 -123
  101. package/figma/atlassian-light.json +100 -100
  102. package/package.json +1 -4
  103. package/report.api.md +59 -20
  104. package/tmp/api-report-tmp.d.ts +53 -7
  105. package/dist/cjs/artifacts/palettes-raw/updated-saturated-palette.js +0 -2257
  106. package/dist/cjs/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -12
  107. package/dist/cjs/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -12
  108. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8683
  109. package/dist/cjs/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8645
  110. package/dist/es2019/artifacts/palettes-raw/updated-saturated-palette.js +0 -2251
  111. package/dist/es2019/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -399
  112. package/dist/es2019/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -399
  113. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8677
  114. package/dist/es2019/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8639
  115. package/dist/esm/artifacts/palettes-raw/updated-saturated-palette.js +0 -2251
  116. package/dist/esm/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -6
  117. package/dist/esm/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -6
  118. package/dist/esm/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8677
  119. package/dist/esm/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8639
  120. package/dist/types/artifacts/palettes-raw/updated-saturated-palette.d.ts +0 -41
  121. package/dist/types/artifacts/themes/atlassian-dark-saturated-palette-changes.d.ts +0 -7
  122. package/dist/types/artifacts/themes/atlassian-light-saturated-palette-changes.d.ts +0 -7
  123. package/dist/types/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.d.ts +0 -109
  124. package/dist/types/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.d.ts +0 -89
  125. package/dist/types-ts4.5/artifacts/palettes-raw/updated-saturated-palette.d.ts +0 -41
  126. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-saturated-palette-changes.d.ts +0 -7
  127. package/dist/types-ts4.5/artifacts/themes/atlassian-light-saturated-palette-changes.d.ts +0 -7
  128. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.d.ts +0 -109
  129. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.d.ts +0 -89
  130. package/figma/atlassian-dark-saturated-palette-changes.json +0 -3540
  131. package/figma/atlassian-light-saturated-palette-changes.json +0 -3519
@@ -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::9a936afc84b1d60e754307860c256a05>>
3
+ * @codegen <<SignedSource::c3c9d9a9e8c21403ff2d0c99bb6419c2>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -146,7 +146,8 @@ const tokens = [{
146
146
  "group": "typography",
147
147
  "state": "experimental",
148
148
  "introduced": "1.14.0",
149
- "description": "TBD"
149
+ "description": "TBD",
150
+ "responsiveSmallerVariant": "font.heading.medium"
150
151
  },
151
152
  "value": "normal 500 24px/28px var(--ds-font-family-heading)",
152
153
  "filePath": "schema/themes/atlassian-typography-adg3/theme.tsx",
@@ -156,7 +157,8 @@ const tokens = [{
156
157
  "group": "typography",
157
158
  "state": "experimental",
158
159
  "introduced": "1.14.0",
159
- "description": "TBD"
160
+ "description": "TBD",
161
+ "responsiveSmallerVariant": "font.heading.medium"
160
162
  },
161
163
  "value": {
162
164
  "fontWeight": "FontWeight500",
@@ -175,7 +177,8 @@ const tokens = [{
175
177
  "group": "typography",
176
178
  "state": "experimental",
177
179
  "introduced": "1.14.0",
178
- "description": "TBD"
180
+ "description": "TBD",
181
+ "responsiveSmallerVariant": "font.heading.small"
179
182
  },
180
183
  "value": "normal 500 20px/24px var(--ds-font-family-heading)",
181
184
  "filePath": "schema/themes/atlassian-typography-adg3/theme.tsx",
@@ -185,7 +188,8 @@ const tokens = [{
185
188
  "group": "typography",
186
189
  "state": "experimental",
187
190
  "introduced": "1.14.0",
188
- "description": "TBD"
191
+ "description": "TBD",
192
+ "responsiveSmallerVariant": "font.heading.small"
189
193
  },
190
194
  "value": {
191
195
  "fontWeight": "FontWeight500",
@@ -233,7 +237,8 @@ const tokens = [{
233
237
  "group": "typography",
234
238
  "state": "experimental",
235
239
  "introduced": "1.14.0",
236
- "description": "TBD"
240
+ "description": "TBD",
241
+ "responsiveSmallerVariant": "font.heading.large"
237
242
  },
238
243
  "value": "normal 600 29px/32px var(--ds-font-family-heading)",
239
244
  "filePath": "schema/themes/atlassian-typography-adg3/theme.tsx",
@@ -243,7 +248,8 @@ const tokens = [{
243
248
  "group": "typography",
244
249
  "state": "experimental",
245
250
  "introduced": "1.14.0",
246
- "description": "TBD"
251
+ "description": "TBD",
252
+ "responsiveSmallerVariant": "font.heading.large"
247
253
  },
248
254
  "value": {
249
255
  "fontWeight": "FontWeight600",
@@ -291,7 +297,8 @@ const tokens = [{
291
297
  "group": "typography",
292
298
  "state": "experimental",
293
299
  "introduced": "1.14.0",
294
- "description": "TBD"
300
+ "description": "TBD",
301
+ "responsiveSmallerVariant": "font.heading.xlarge"
295
302
  },
296
303
  "value": "normal 500 35px/40px var(--ds-font-family-heading)",
297
304
  "filePath": "schema/themes/atlassian-typography-adg3/theme.tsx",
@@ -301,7 +308,8 @@ const tokens = [{
301
308
  "group": "typography",
302
309
  "state": "experimental",
303
310
  "introduced": "1.14.0",
304
- "description": "TBD"
311
+ "description": "TBD",
312
+ "responsiveSmallerVariant": "font.heading.xlarge"
305
313
  },
306
314
  "value": {
307
315
  "fontWeight": "FontWeight500",
@@ -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::4197cb73414458032918015469216944>>
3
+ * @codegen <<SignedSource::1ae3b7bd31e38fb0fcdff9803f28c2f0>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -146,7 +146,8 @@ const tokens = [{
146
146
  "group": "typography",
147
147
  "state": "experimental",
148
148
  "introduced": "1.14.0",
149
- "description": "TBD"
149
+ "description": "TBD",
150
+ "responsiveSmallerVariant": "font.heading.medium"
150
151
  },
151
152
  "value": "normal 700 24px/28px var(--ds-font-family-heading)",
152
153
  "filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
@@ -156,7 +157,8 @@ const tokens = [{
156
157
  "group": "typography",
157
158
  "state": "experimental",
158
159
  "introduced": "1.14.0",
159
- "description": "TBD"
160
+ "description": "TBD",
161
+ "responsiveSmallerVariant": "font.heading.medium"
160
162
  },
161
163
  "value": {
162
164
  "fontWeight": "FontWeight700",
@@ -175,7 +177,8 @@ const tokens = [{
175
177
  "group": "typography",
176
178
  "state": "experimental",
177
179
  "introduced": "1.14.0",
178
- "description": "TBD"
180
+ "description": "TBD",
181
+ "responsiveSmallerVariant": "font.heading.small"
179
182
  },
180
183
  "value": "normal 700 20px/24px var(--ds-font-family-heading)",
181
184
  "filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
@@ -185,7 +188,8 @@ const tokens = [{
185
188
  "group": "typography",
186
189
  "state": "experimental",
187
190
  "introduced": "1.14.0",
188
- "description": "TBD"
191
+ "description": "TBD",
192
+ "responsiveSmallerVariant": "font.heading.small"
189
193
  },
190
194
  "value": {
191
195
  "fontWeight": "FontWeight700",
@@ -233,7 +237,8 @@ const tokens = [{
233
237
  "group": "typography",
234
238
  "state": "experimental",
235
239
  "introduced": "1.14.0",
236
- "description": "TBD"
240
+ "description": "TBD",
241
+ "responsiveSmallerVariant": "font.heading.large"
237
242
  },
238
243
  "value": "normal 700 28px/32px var(--ds-font-family-heading)",
239
244
  "filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
@@ -243,7 +248,8 @@ const tokens = [{
243
248
  "group": "typography",
244
249
  "state": "experimental",
245
250
  "introduced": "1.14.0",
246
- "description": "TBD"
251
+ "description": "TBD",
252
+ "responsiveSmallerVariant": "font.heading.large"
247
253
  },
248
254
  "value": {
249
255
  "fontWeight": "FontWeight700",
@@ -291,7 +297,8 @@ const tokens = [{
291
297
  "group": "typography",
292
298
  "state": "experimental",
293
299
  "introduced": "1.14.0",
294
- "description": "TBD"
300
+ "description": "TBD",
301
+ "responsiveSmallerVariant": "font.heading.xlarge"
295
302
  },
296
303
  "value": "normal 700 32px/36px var(--ds-font-family-heading)",
297
304
  "filePath": "schema/themes/atlassian-typography-minor3/theme.tsx",
@@ -301,7 +308,8 @@ const tokens = [{
301
308
  "group": "typography",
302
309
  "state": "experimental",
303
310
  "introduced": "1.14.0",
304
- "description": "TBD"
311
+ "description": "TBD",
312
+ "responsiveSmallerVariant": "font.heading.xlarge"
305
313
  },
306
314
  "value": {
307
315
  "fontWeight": "FontWeight700",
@@ -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::ecd63bab60b9c05c08973d35cc1989df>>
3
+ * @codegen <<SignedSource::e95de29cabce142a19e4a4c6780c2555>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -124,7 +124,8 @@ const tokens = [{
124
124
  "group": "typography",
125
125
  "state": "experimental",
126
126
  "introduced": "1.14.0",
127
- "description": "TBD"
127
+ "description": "TBD",
128
+ "responsiveSmallerVariant": "font.heading.medium"
128
129
  },
129
130
  "value": "normal 700 24px/28px var(--ds-font-family-heading)",
130
131
  "filePath": "schema/themes/atlassian-typography/theme.tsx",
@@ -134,7 +135,8 @@ const tokens = [{
134
135
  "group": "typography",
135
136
  "state": "experimental",
136
137
  "introduced": "1.14.0",
137
- "description": "TBD"
138
+ "description": "TBD",
139
+ "responsiveSmallerVariant": "font.heading.medium"
138
140
  },
139
141
  "value": {
140
142
  "fontWeight": "FontWeight700",
@@ -153,7 +155,8 @@ const tokens = [{
153
155
  "group": "typography",
154
156
  "state": "experimental",
155
157
  "introduced": "1.14.0",
156
- "description": "TBD"
158
+ "description": "TBD",
159
+ "responsiveSmallerVariant": "font.heading.small"
157
160
  },
158
161
  "value": "normal 700 20px/24px var(--ds-font-family-heading)",
159
162
  "filePath": "schema/themes/atlassian-typography/theme.tsx",
@@ -163,7 +166,8 @@ const tokens = [{
163
166
  "group": "typography",
164
167
  "state": "experimental",
165
168
  "introduced": "1.14.0",
166
- "description": "TBD"
169
+ "description": "TBD",
170
+ "responsiveSmallerVariant": "font.heading.small"
167
171
  },
168
172
  "value": {
169
173
  "fontWeight": "FontWeight700",
@@ -211,7 +215,8 @@ const tokens = [{
211
215
  "group": "typography",
212
216
  "state": "experimental",
213
217
  "introduced": "1.14.0",
214
- "description": "TBD"
218
+ "description": "TBD",
219
+ "responsiveSmallerVariant": "font.heading.large"
215
220
  },
216
221
  "value": "normal 700 28px/32px var(--ds-font-family-heading)",
217
222
  "filePath": "schema/themes/atlassian-typography/theme.tsx",
@@ -221,7 +226,8 @@ const tokens = [{
221
226
  "group": "typography",
222
227
  "state": "experimental",
223
228
  "introduced": "1.14.0",
224
- "description": "TBD"
229
+ "description": "TBD",
230
+ "responsiveSmallerVariant": "font.heading.large"
225
231
  },
226
232
  "value": {
227
233
  "fontWeight": "FontWeight700",
@@ -269,7 +275,8 @@ const tokens = [{
269
275
  "group": "typography",
270
276
  "state": "experimental",
271
277
  "introduced": "1.14.0",
272
- "description": "TBD"
278
+ "description": "TBD",
279
+ "responsiveSmallerVariant": "font.heading.xlarge"
273
280
  },
274
281
  "value": "normal 700 36px/40px var(--ds-font-family-heading)",
275
282
  "filePath": "schema/themes/atlassian-typography/theme.tsx",
@@ -279,7 +286,8 @@ const tokens = [{
279
286
  "group": "typography",
280
287
  "state": "experimental",
281
288
  "introduced": "1.14.0",
282
- "description": "TBD"
289
+ "description": "TBD",
290
+ "responsiveSmallerVariant": "font.heading.xlarge"
283
291
  },
284
292
  "value": {
285
293
  "fontWeight": "FontWeight700",
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  const name = "@atlaskit/tokens";
4
- const version = "1.26.1";
4
+ const version = "1.28.0";
5
5
  /**
6
6
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
7
7
  * resulting CSS Custom Property.
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  const name = "@atlaskit/tokens";
5
- const version = "1.26.1";
5
+ const version = "1.28.0";
6
6
  /**
7
7
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
8
8
  * This should be used to implement design decisions throughout your application.
@@ -43,7 +43,7 @@ export const themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-incr
43
43
  * Theme override ids: the equivalent of themeIds for theme overrides.
44
44
  * Theme overrides are temporary and there may not be any defined at times.
45
45
  */
46
- export const themeOverrideIds = ['light-new-input-border', 'dark-new-input-border', 'light-saturated-palette-changes', 'dark-saturated-palette-changes'];
46
+ export const themeOverrideIds = ['light-new-input-border', 'dark-new-input-border'];
47
47
  export const themeIdsWithOverrides = [...themeIds, ...themeOverrideIds];
48
48
 
49
49
  /**
@@ -166,30 +166,6 @@ const themeConfig = {
166
166
  mode: 'dark'
167
167
  }
168
168
  },
169
- 'atlassian-light-saturated-palette-changes': {
170
- id: 'light-saturated-palette-changes',
171
- displayName: 'Light Theme Saturated Palette Change',
172
- palette: 'updatedSaturatedPalette',
173
- override: 'light',
174
- extends: 'light',
175
- attributes: {
176
- type: 'color',
177
- mode: 'light',
178
- extends: 'light'
179
- }
180
- },
181
- 'atlassian-dark-saturated-palette-changes': {
182
- id: 'dark-saturated-palette-changes',
183
- displayName: 'Dark Theme Saturated Palette Change',
184
- palette: 'updatedSaturatedPalette',
185
- override: 'dark',
186
- extends: 'dark',
187
- attributes: {
188
- type: 'color',
189
- mode: 'dark',
190
- extends: 'dark'
191
- }
192
- },
193
169
  'atlassian-typography': {
194
170
  id: 'typography',
195
171
  displayName: 'Atlassian Typography (Minor Second)',
@@ -31,19 +31,6 @@ export const getThemePreferences = themeState => {
31
31
  }
32
32
  }
33
33
  }
34
-
35
- // Replace light/dark theme with new palette if feature flag is on
36
- if (getBooleanFF('platform.design-system-team.saturated-palette-changes_asoro')) {
37
- // Iterate over themePreferences and swap out light/dark with new palette
38
- themePreferences.forEach((themeId, index) => {
39
- if (themeId === 'light') {
40
- themePreferences[index] = 'light-saturated-palette-changes';
41
- }
42
- if (themeId === 'dark') {
43
- themePreferences[index] = 'dark-saturated-palette-changes';
44
- }
45
- });
46
- }
47
34
  [shape, spacing, typography].forEach(themeId => {
48
35
  if (themeId) {
49
36
  themePreferences.push(themeId);
@@ -3,13 +3,13 @@
3
3
  *
4
4
  * Token names mapped to their values, used for contrast checking when generating custom themes
5
5
  *
6
- * @codegen <<SignedSource::5aed53e696137cdd59ece99fb9755c09>>
6
+ * @codegen <<SignedSource::0c8d4e0653f1a4cd9a80fac95331fd7a>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  var tokenValues = {
10
10
  'color.text.brand': '#579DFF',
11
11
  'elevation.surface.overlay': '#282E33',
12
- 'color.background.selected': '#092957',
12
+ 'color.background.selected': '#1C2B41',
13
13
  'color.text.selected': '#579DFF',
14
14
  'color.border.brand': '#579DFF',
15
15
  'color.chart.brand': '#388BFF',