@atlaskit/tokens 1.11.3 → 1.13.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 (181) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +25 -0
  3. package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +25 -0
  4. package/dist/cjs/artifacts/generated-pairs.js +2 -2
  5. package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
  6. package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +2 -2
  7. package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +2 -2
  8. package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
  9. package/dist/cjs/artifacts/token-default-values.js +7 -1
  10. package/dist/cjs/artifacts/token-names.js +7 -1
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +137 -5
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +137 -5
  15. package/dist/cjs/constants.js +3 -1
  16. package/dist/cjs/custom-theme.js +108 -0
  17. package/dist/cjs/get-token-value.js +1 -1
  18. package/dist/cjs/get-token.js +1 -1
  19. package/dist/cjs/set-global-theme.js +156 -59
  20. package/dist/cjs/tokens/atlassian-dark/color/background.js +22 -0
  21. package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +22 -0
  22. package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +22 -0
  23. package/dist/cjs/tokens/atlassian-light/color/background.js +22 -0
  24. package/dist/cjs/tokens/default/color/background.js +54 -2
  25. package/dist/cjs/utils/color-utils.js +178 -0
  26. package/dist/cjs/utils/custom-theme-loading-utils.js +47 -0
  27. package/dist/cjs/utils/custom-theme-token-contrast-check.js +74 -0
  28. package/dist/cjs/utils/generate-custom-color-ramp.js +222 -0
  29. package/dist/cjs/utils/hash.js +17 -0
  30. package/dist/cjs/utils/hct-color-utils/color-utils.js +310 -0
  31. package/dist/cjs/utils/hct-color-utils/contrast.js +188 -0
  32. package/dist/cjs/utils/hct-color-utils/hct.js +1036 -0
  33. package/dist/cjs/utils/hct-color-utils/index.js +32 -0
  34. package/dist/cjs/utils/hct-color-utils/math-utils.js +159 -0
  35. package/dist/cjs/utils/theme-loading.js +1 -1
  36. package/dist/cjs/utils/theme-state-transformer.js +1 -1
  37. package/dist/cjs/version.json +1 -1
  38. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +18 -0
  39. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +18 -0
  40. package/dist/es2019/artifacts/generated-pairs.js +2 -2
  41. package/dist/es2019/artifacts/themes/atlassian-dark.js +7 -1
  42. package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +7 -1
  43. package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +7 -1
  44. package/dist/es2019/artifacts/themes/atlassian-light.js +7 -1
  45. package/dist/es2019/artifacts/token-default-values.js +7 -1
  46. package/dist/es2019/artifacts/token-names.js +7 -1
  47. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +137 -5
  48. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
  49. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
  50. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +137 -5
  51. package/dist/es2019/constants.js +1 -0
  52. package/dist/es2019/custom-theme.js +77 -0
  53. package/dist/es2019/get-token-value.js +1 -1
  54. package/dist/es2019/get-token.js +1 -1
  55. package/dist/es2019/set-global-theme.js +67 -13
  56. package/dist/es2019/tokens/atlassian-dark/color/background.js +22 -0
  57. package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +22 -0
  58. package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +22 -0
  59. package/dist/es2019/tokens/atlassian-light/color/background.js +22 -0
  60. package/dist/es2019/tokens/default/color/background.js +54 -2
  61. package/dist/es2019/utils/color-utils.js +154 -0
  62. package/dist/es2019/utils/custom-theme-loading-utils.js +31 -0
  63. package/dist/es2019/utils/custom-theme-token-contrast-check.js +68 -0
  64. package/dist/es2019/utils/generate-custom-color-ramp.js +198 -0
  65. package/dist/es2019/utils/hash.js +10 -0
  66. package/dist/es2019/utils/hct-color-utils/color-utils.js +286 -0
  67. package/dist/es2019/utils/hct-color-utils/contrast.js +161 -0
  68. package/dist/es2019/utils/hct-color-utils/hct.js +931 -0
  69. package/dist/es2019/utils/hct-color-utils/index.js +3 -0
  70. package/dist/es2019/utils/hct-color-utils/math-utils.js +145 -0
  71. package/dist/es2019/utils/theme-loading.js +2 -2
  72. package/dist/es2019/utils/theme-state-transformer.js +3 -1
  73. package/dist/es2019/version.json +1 -1
  74. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +18 -0
  75. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +18 -0
  76. package/dist/esm/artifacts/generated-pairs.js +2 -2
  77. package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
  78. package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +2 -2
  79. package/dist/esm/artifacts/themes/atlassian-legacy-light.js +2 -2
  80. package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
  81. package/dist/esm/artifacts/token-default-values.js +7 -1
  82. package/dist/esm/artifacts/token-names.js +7 -1
  83. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +137 -5
  84. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
  85. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
  86. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +137 -5
  87. package/dist/esm/constants.js +1 -0
  88. package/dist/esm/custom-theme.js +98 -0
  89. package/dist/esm/get-token-value.js +1 -1
  90. package/dist/esm/get-token.js +1 -1
  91. package/dist/esm/set-global-theme.js +149 -60
  92. package/dist/esm/tokens/atlassian-dark/color/background.js +22 -0
  93. package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +22 -0
  94. package/dist/esm/tokens/atlassian-legacy-light/color/background.js +22 -0
  95. package/dist/esm/tokens/atlassian-light/color/background.js +22 -0
  96. package/dist/esm/tokens/default/color/background.js +54 -2
  97. package/dist/esm/utils/color-utils.js +162 -0
  98. package/dist/esm/utils/custom-theme-loading-utils.js +38 -0
  99. package/dist/esm/utils/custom-theme-token-contrast-check.js +65 -0
  100. package/dist/esm/utils/generate-custom-color-ramp.js +211 -0
  101. package/dist/esm/utils/hash.js +10 -0
  102. package/dist/esm/utils/hct-color-utils/color-utils.js +285 -0
  103. package/dist/esm/utils/hct-color-utils/contrast.js +181 -0
  104. package/dist/esm/utils/hct-color-utils/hct.js +1029 -0
  105. package/dist/esm/utils/hct-color-utils/index.js +3 -0
  106. package/dist/esm/utils/hct-color-utils/math-utils.js +145 -0
  107. package/dist/esm/utils/theme-loading.js +2 -2
  108. package/dist/esm/utils/theme-state-transformer.js +1 -1
  109. package/dist/esm/version.json +1 -1
  110. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +18 -0
  111. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +18 -0
  112. package/dist/types/artifacts/generated-pairs.d.ts +1 -1
  113. package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
  114. package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
  115. package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
  116. package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
  117. package/dist/types/artifacts/token-default-values.d.ts +7 -1
  118. package/dist/types/artifacts/token-names.d.ts +13 -1
  119. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  120. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  121. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  122. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  123. package/dist/types/artifacts/types-internal.d.ts +2 -2
  124. package/dist/types/artifacts/types.d.ts +2 -2
  125. package/dist/types/constants.d.ts +1 -0
  126. package/dist/types/custom-theme.d.ts +30 -0
  127. package/dist/types/index.d.ts +1 -0
  128. package/dist/types/set-global-theme.d.ts +9 -3
  129. package/dist/types/types.d.ts +10 -0
  130. package/dist/types/utils/color-utils.d.ts +10 -0
  131. package/dist/types/utils/custom-theme-loading-utils.d.ts +11 -0
  132. package/dist/types/utils/custom-theme-token-contrast-check.d.ts +20 -0
  133. package/dist/types/utils/generate-custom-color-ramp.d.ts +19 -0
  134. package/dist/types/utils/hash.d.ts +1 -0
  135. package/dist/types/utils/hct-color-utils/color-utils.d.ts +131 -0
  136. package/dist/types/utils/hct-color-utils/contrast.d.ts +78 -0
  137. package/dist/types/utils/hct-color-utils/hct.d.ts +137 -0
  138. package/dist/types/utils/hct-color-utils/index.d.ts +3 -0
  139. package/dist/types/utils/hct-color-utils/math-utils.d.ts +86 -0
  140. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +18 -0
  141. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +18 -0
  142. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
  143. package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
  144. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
  145. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
  146. package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
  147. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +7 -1
  148. package/dist/types-ts4.5/artifacts/token-names.d.ts +13 -1
  149. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  150. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  151. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  152. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  153. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  154. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  155. package/dist/types-ts4.5/constants.d.ts +1 -0
  156. package/dist/types-ts4.5/custom-theme.d.ts +30 -0
  157. package/dist/types-ts4.5/index.d.ts +1 -0
  158. package/dist/types-ts4.5/set-global-theme.d.ts +9 -3
  159. package/dist/types-ts4.5/types.d.ts +10 -0
  160. package/dist/types-ts4.5/utils/color-utils.d.ts +27 -0
  161. package/dist/types-ts4.5/utils/custom-theme-loading-utils.d.ts +11 -0
  162. package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +20 -0
  163. package/dist/types-ts4.5/utils/generate-custom-color-ramp.d.ts +19 -0
  164. package/dist/types-ts4.5/utils/hash.d.ts +1 -0
  165. package/dist/types-ts4.5/utils/hct-color-utils/color-utils.d.ts +131 -0
  166. package/dist/types-ts4.5/utils/hct-color-utils/contrast.d.ts +78 -0
  167. package/dist/types-ts4.5/utils/hct-color-utils/hct.d.ts +137 -0
  168. package/dist/types-ts4.5/utils/hct-color-utils/index.d.ts +3 -0
  169. package/dist/types-ts4.5/utils/hct-color-utils/math-utils.d.ts +86 -0
  170. package/figma/atlassian-dark.json +56 -2
  171. package/figma/atlassian-legacy-dark.json +56 -2
  172. package/figma/atlassian-legacy-light.json +56 -2
  173. package/figma/atlassian-light.json +56 -2
  174. package/package.json +36 -37
  175. package/report.api.md +48 -1
  176. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -902
  177. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
  178. package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
  179. package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
  180. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
  181. package/tmp/api-report-tmp.d.ts +0 -1132
@@ -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::0752455125a2970afd988a456ef7a00b>>
9
+ * @codegen <<SignedSource::6601df15e45294ebfb575b1b034a2aa7>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -3133,6 +3133,72 @@ var tokens = [{
3133
3133
  "name": "color.background.selected.bold.pressed",
3134
3134
  "path": ["color", "background", "selected", "bold", "pressed"],
3135
3135
  "cleanName": "color.background.selected.bold.pressed"
3136
+ }, {
3137
+ "attributes": {
3138
+ "group": "paint",
3139
+ "state": "active",
3140
+ "introduced": "1.13.0",
3141
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3142
+ },
3143
+ "value": "#0747A6",
3144
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3145
+ "isSource": true,
3146
+ "original": {
3147
+ "attributes": {
3148
+ "group": "paint",
3149
+ "state": "active",
3150
+ "introduced": "1.13.0",
3151
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3152
+ },
3153
+ "value": "B500"
3154
+ },
3155
+ "name": "color.background.brand.subtlest.[default]",
3156
+ "path": ["color", "background", "brand", "subtlest", "[default]"],
3157
+ "cleanName": "color.background.brand.subtlest"
3158
+ }, {
3159
+ "attributes": {
3160
+ "group": "paint",
3161
+ "state": "active",
3162
+ "introduced": "1.13.0",
3163
+ "description": "Hovered state of color.background.brand.subtlest."
3164
+ },
3165
+ "value": "#0052CC",
3166
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3167
+ "isSource": true,
3168
+ "original": {
3169
+ "attributes": {
3170
+ "group": "paint",
3171
+ "state": "active",
3172
+ "introduced": "1.13.0",
3173
+ "description": "Hovered state of color.background.brand.subtlest."
3174
+ },
3175
+ "value": "B400"
3176
+ },
3177
+ "name": "color.background.brand.subtlest.hovered",
3178
+ "path": ["color", "background", "brand", "subtlest", "hovered"],
3179
+ "cleanName": "color.background.brand.subtlest.hovered"
3180
+ }, {
3181
+ "attributes": {
3182
+ "group": "paint",
3183
+ "state": "active",
3184
+ "introduced": "1.13.0",
3185
+ "description": "Pressed state of color.background.brand.subtlest"
3186
+ },
3187
+ "value": "#0747A6",
3188
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3189
+ "isSource": true,
3190
+ "original": {
3191
+ "attributes": {
3192
+ "group": "paint",
3193
+ "state": "active",
3194
+ "introduced": "1.13.0",
3195
+ "description": "Pressed state of color.background.brand.subtlest"
3196
+ },
3197
+ "value": "B500"
3198
+ },
3199
+ "name": "color.background.brand.subtlest.pressed",
3200
+ "path": ["color", "background", "brand", "subtlest", "pressed"],
3201
+ "cleanName": "color.background.brand.subtlest.pressed"
3136
3202
  }, {
3137
3203
  "attributes": {
3138
3204
  "group": "paint",
@@ -3160,7 +3226,7 @@ var tokens = [{
3160
3226
  "group": "paint",
3161
3227
  "state": "active",
3162
3228
  "introduced": "0.6.0",
3163
- "description": "Hovered state of color.background.brand.bold"
3229
+ "description": "Hovered state of color.background.brand.bold."
3164
3230
  },
3165
3231
  "value": "#0065FF",
3166
3232
  "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
@@ -3170,7 +3236,7 @@ var tokens = [{
3170
3236
  "group": "paint",
3171
3237
  "state": "active",
3172
3238
  "introduced": "0.6.0",
3173
- "description": "Hovered state of color.background.brand.bold"
3239
+ "description": "Hovered state of color.background.brand.bold."
3174
3240
  },
3175
3241
  "value": "B300"
3176
3242
  },
@@ -3182,7 +3248,7 @@ var tokens = [{
3182
3248
  "group": "paint",
3183
3249
  "state": "active",
3184
3250
  "introduced": "0.6.0",
3185
- "description": "Pressed state of color.background.brand.bold"
3251
+ "description": "Pressed state of color.background.brand.bold."
3186
3252
  },
3187
3253
  "value": "#0747A6",
3188
3254
  "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
@@ -3192,13 +3258,79 @@ var tokens = [{
3192
3258
  "group": "paint",
3193
3259
  "state": "active",
3194
3260
  "introduced": "0.6.0",
3195
- "description": "Pressed state of color.background.brand.bold"
3261
+ "description": "Pressed state of color.background.brand.bold."
3196
3262
  },
3197
3263
  "value": "B500"
3198
3264
  },
3199
3265
  "name": "color.background.brand.bold.pressed",
3200
3266
  "path": ["color", "background", "brand", "bold", "pressed"],
3201
3267
  "cleanName": "color.background.brand.bold.pressed"
3268
+ }, {
3269
+ "attributes": {
3270
+ "group": "paint",
3271
+ "state": "active",
3272
+ "introduced": "1.13.0",
3273
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3274
+ },
3275
+ "value": "#B3D4FF",
3276
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3277
+ "isSource": true,
3278
+ "original": {
3279
+ "attributes": {
3280
+ "group": "paint",
3281
+ "state": "active",
3282
+ "introduced": "1.13.0",
3283
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3284
+ },
3285
+ "value": "B75"
3286
+ },
3287
+ "name": "color.background.brand.boldest.[default]",
3288
+ "path": ["color", "background", "brand", "boldest", "[default]"],
3289
+ "cleanName": "color.background.brand.boldest"
3290
+ }, {
3291
+ "attributes": {
3292
+ "group": "paint",
3293
+ "state": "active",
3294
+ "introduced": "1.13.0",
3295
+ "description": "Hovered state of color.background.brand.boldest."
3296
+ },
3297
+ "value": "#DEEBFF",
3298
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3299
+ "isSource": true,
3300
+ "original": {
3301
+ "attributes": {
3302
+ "group": "paint",
3303
+ "state": "active",
3304
+ "introduced": "1.13.0",
3305
+ "description": "Hovered state of color.background.brand.boldest."
3306
+ },
3307
+ "value": "B50"
3308
+ },
3309
+ "name": "color.background.brand.boldest.hovered",
3310
+ "path": ["color", "background", "brand", "boldest", "hovered"],
3311
+ "cleanName": "color.background.brand.boldest.hovered"
3312
+ }, {
3313
+ "attributes": {
3314
+ "group": "paint",
3315
+ "state": "active",
3316
+ "introduced": "1.13.0",
3317
+ "description": "Pressed state of color.background.brand.boldest."
3318
+ },
3319
+ "value": "#4C9AFF",
3320
+ "filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
3321
+ "isSource": true,
3322
+ "original": {
3323
+ "attributes": {
3324
+ "group": "paint",
3325
+ "state": "active",
3326
+ "introduced": "1.13.0",
3327
+ "description": "Pressed state of color.background.brand.boldest."
3328
+ },
3329
+ "value": "B100"
3330
+ },
3331
+ "name": "color.background.brand.boldest.pressed",
3332
+ "path": ["color", "background", "brand", "boldest", "pressed"],
3333
+ "cleanName": "color.background.brand.boldest.pressed"
3202
3334
  }, {
3203
3335
  "attributes": {
3204
3336
  "group": "paint",
@@ -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::0b9efb6f5e343e1cbb90bf2ead8a25da>>
9
+ * @codegen <<SignedSource::8b7aab21b157bced2314e03774c8445e>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -3133,6 +3133,72 @@ var tokens = [{
3133
3133
  "name": "color.background.selected.bold.pressed",
3134
3134
  "path": ["color", "background", "selected", "bold", "pressed"],
3135
3135
  "cleanName": "color.background.selected.bold.pressed"
3136
+ }, {
3137
+ "attributes": {
3138
+ "group": "paint",
3139
+ "state": "active",
3140
+ "introduced": "1.13.0",
3141
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3142
+ },
3143
+ "value": "#B3D4FF",
3144
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3145
+ "isSource": true,
3146
+ "original": {
3147
+ "attributes": {
3148
+ "group": "paint",
3149
+ "state": "active",
3150
+ "introduced": "1.13.0",
3151
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3152
+ },
3153
+ "value": "B75"
3154
+ },
3155
+ "name": "color.background.brand.subtlest.[default]",
3156
+ "path": ["color", "background", "brand", "subtlest", "[default]"],
3157
+ "cleanName": "color.background.brand.subtlest"
3158
+ }, {
3159
+ "attributes": {
3160
+ "group": "paint",
3161
+ "state": "active",
3162
+ "introduced": "1.13.0",
3163
+ "description": "Hovered state of color.background.brand.subtlest."
3164
+ },
3165
+ "value": "#DEEBFF",
3166
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3167
+ "isSource": true,
3168
+ "original": {
3169
+ "attributes": {
3170
+ "group": "paint",
3171
+ "state": "active",
3172
+ "introduced": "1.13.0",
3173
+ "description": "Hovered state of color.background.brand.subtlest."
3174
+ },
3175
+ "value": "B50"
3176
+ },
3177
+ "name": "color.background.brand.subtlest.hovered",
3178
+ "path": ["color", "background", "brand", "subtlest", "hovered"],
3179
+ "cleanName": "color.background.brand.subtlest.hovered"
3180
+ }, {
3181
+ "attributes": {
3182
+ "group": "paint",
3183
+ "state": "active",
3184
+ "introduced": "1.13.0",
3185
+ "description": "Pressed state of color.background.brand.subtlest"
3186
+ },
3187
+ "value": "#4C9AFF",
3188
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3189
+ "isSource": true,
3190
+ "original": {
3191
+ "attributes": {
3192
+ "group": "paint",
3193
+ "state": "active",
3194
+ "introduced": "1.13.0",
3195
+ "description": "Pressed state of color.background.brand.subtlest"
3196
+ },
3197
+ "value": "B100"
3198
+ },
3199
+ "name": "color.background.brand.subtlest.pressed",
3200
+ "path": ["color", "background", "brand", "subtlest", "pressed"],
3201
+ "cleanName": "color.background.brand.subtlest.pressed"
3136
3202
  }, {
3137
3203
  "attributes": {
3138
3204
  "group": "paint",
@@ -3160,7 +3226,7 @@ var tokens = [{
3160
3226
  "group": "paint",
3161
3227
  "state": "active",
3162
3228
  "introduced": "0.6.0",
3163
- "description": "Hovered state of color.background.brand.bold"
3229
+ "description": "Hovered state of color.background.brand.bold."
3164
3230
  },
3165
3231
  "value": "#0065FF",
3166
3232
  "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
@@ -3170,7 +3236,7 @@ var tokens = [{
3170
3236
  "group": "paint",
3171
3237
  "state": "active",
3172
3238
  "introduced": "0.6.0",
3173
- "description": "Hovered state of color.background.brand.bold"
3239
+ "description": "Hovered state of color.background.brand.bold."
3174
3240
  },
3175
3241
  "value": "B300"
3176
3242
  },
@@ -3182,7 +3248,7 @@ var tokens = [{
3182
3248
  "group": "paint",
3183
3249
  "state": "active",
3184
3250
  "introduced": "0.6.0",
3185
- "description": "Pressed state of color.background.brand.bold"
3251
+ "description": "Pressed state of color.background.brand.bold."
3186
3252
  },
3187
3253
  "value": "#0747A6",
3188
3254
  "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
@@ -3192,13 +3258,79 @@ var tokens = [{
3192
3258
  "group": "paint",
3193
3259
  "state": "active",
3194
3260
  "introduced": "0.6.0",
3195
- "description": "Pressed state of color.background.brand.bold"
3261
+ "description": "Pressed state of color.background.brand.bold."
3196
3262
  },
3197
3263
  "value": "B500"
3198
3264
  },
3199
3265
  "name": "color.background.brand.bold.pressed",
3200
3266
  "path": ["color", "background", "brand", "bold", "pressed"],
3201
3267
  "cleanName": "color.background.brand.bold.pressed"
3268
+ }, {
3269
+ "attributes": {
3270
+ "group": "paint",
3271
+ "state": "active",
3272
+ "introduced": "1.13.0",
3273
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3274
+ },
3275
+ "value": "#0747A6",
3276
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3277
+ "isSource": true,
3278
+ "original": {
3279
+ "attributes": {
3280
+ "group": "paint",
3281
+ "state": "active",
3282
+ "introduced": "1.13.0",
3283
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3284
+ },
3285
+ "value": "B500"
3286
+ },
3287
+ "name": "color.background.brand.boldest.[default]",
3288
+ "path": ["color", "background", "brand", "boldest", "[default]"],
3289
+ "cleanName": "color.background.brand.boldest"
3290
+ }, {
3291
+ "attributes": {
3292
+ "group": "paint",
3293
+ "state": "active",
3294
+ "introduced": "1.13.0",
3295
+ "description": "Hovered state of color.background.brand.boldest."
3296
+ },
3297
+ "value": "#0052CC",
3298
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3299
+ "isSource": true,
3300
+ "original": {
3301
+ "attributes": {
3302
+ "group": "paint",
3303
+ "state": "active",
3304
+ "introduced": "1.13.0",
3305
+ "description": "Hovered state of color.background.brand.boldest."
3306
+ },
3307
+ "value": "B400"
3308
+ },
3309
+ "name": "color.background.brand.boldest.hovered",
3310
+ "path": ["color", "background", "brand", "boldest", "hovered"],
3311
+ "cleanName": "color.background.brand.boldest.hovered"
3312
+ }, {
3313
+ "attributes": {
3314
+ "group": "paint",
3315
+ "state": "active",
3316
+ "introduced": "1.13.0",
3317
+ "description": "Pressed state of color.background.brand.boldest."
3318
+ },
3319
+ "value": "#0747A6",
3320
+ "filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
3321
+ "isSource": true,
3322
+ "original": {
3323
+ "attributes": {
3324
+ "group": "paint",
3325
+ "state": "active",
3326
+ "introduced": "1.13.0",
3327
+ "description": "Pressed state of color.background.brand.boldest."
3328
+ },
3329
+ "value": "B500"
3330
+ },
3331
+ "name": "color.background.brand.boldest.pressed",
3332
+ "path": ["color", "background", "brand", "boldest", "pressed"],
3333
+ "cleanName": "color.background.brand.boldest.pressed"
3202
3334
  }, {
3203
3335
  "attributes": {
3204
3336
  "group": "paint",
@@ -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::d67f95200a3e54c2a2adadc78198392e>>
9
+ * @codegen <<SignedSource::c96324369c8a09e129803eff1f33d1e8>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -3133,6 +3133,72 @@ var tokens = [{
3133
3133
  "name": "color.background.selected.bold.pressed",
3134
3134
  "path": ["color", "background", "selected", "bold", "pressed"],
3135
3135
  "cleanName": "color.background.selected.bold.pressed"
3136
+ }, {
3137
+ "attributes": {
3138
+ "group": "paint",
3139
+ "state": "active",
3140
+ "introduced": "1.13.0",
3141
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3142
+ },
3143
+ "value": "#E9F2FF",
3144
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3145
+ "isSource": true,
3146
+ "original": {
3147
+ "attributes": {
3148
+ "group": "paint",
3149
+ "state": "active",
3150
+ "introduced": "1.13.0",
3151
+ "description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
3152
+ },
3153
+ "value": "Blue100"
3154
+ },
3155
+ "name": "color.background.brand.subtlest.[default]",
3156
+ "path": ["color", "background", "brand", "subtlest", "[default]"],
3157
+ "cleanName": "color.background.brand.subtlest"
3158
+ }, {
3159
+ "attributes": {
3160
+ "group": "paint",
3161
+ "state": "active",
3162
+ "introduced": "1.13.0",
3163
+ "description": "Hovered state of color.background.brand.subtlest."
3164
+ },
3165
+ "value": "#CCE0FF",
3166
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3167
+ "isSource": true,
3168
+ "original": {
3169
+ "attributes": {
3170
+ "group": "paint",
3171
+ "state": "active",
3172
+ "introduced": "1.13.0",
3173
+ "description": "Hovered state of color.background.brand.subtlest."
3174
+ },
3175
+ "value": "Blue200"
3176
+ },
3177
+ "name": "color.background.brand.subtlest.hovered",
3178
+ "path": ["color", "background", "brand", "subtlest", "hovered"],
3179
+ "cleanName": "color.background.brand.subtlest.hovered"
3180
+ }, {
3181
+ "attributes": {
3182
+ "group": "paint",
3183
+ "state": "active",
3184
+ "introduced": "1.13.0",
3185
+ "description": "Pressed state of color.background.brand.subtlest"
3186
+ },
3187
+ "value": "#85B8FF",
3188
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3189
+ "isSource": true,
3190
+ "original": {
3191
+ "attributes": {
3192
+ "group": "paint",
3193
+ "state": "active",
3194
+ "introduced": "1.13.0",
3195
+ "description": "Pressed state of color.background.brand.subtlest"
3196
+ },
3197
+ "value": "Blue300"
3198
+ },
3199
+ "name": "color.background.brand.subtlest.pressed",
3200
+ "path": ["color", "background", "brand", "subtlest", "pressed"],
3201
+ "cleanName": "color.background.brand.subtlest.pressed"
3136
3202
  }, {
3137
3203
  "attributes": {
3138
3204
  "group": "paint",
@@ -3160,7 +3226,7 @@ var tokens = [{
3160
3226
  "group": "paint",
3161
3227
  "state": "active",
3162
3228
  "introduced": "0.6.0",
3163
- "description": "Hovered state of color.background.brand.bold"
3229
+ "description": "Hovered state of color.background.brand.bold."
3164
3230
  },
3165
3231
  "value": "#0055CC",
3166
3232
  "filePath": "src/tokens/atlassian-light/color/background.tsx",
@@ -3170,7 +3236,7 @@ var tokens = [{
3170
3236
  "group": "paint",
3171
3237
  "state": "active",
3172
3238
  "introduced": "0.6.0",
3173
- "description": "Hovered state of color.background.brand.bold"
3239
+ "description": "Hovered state of color.background.brand.bold."
3174
3240
  },
3175
3241
  "value": "Blue800"
3176
3242
  },
@@ -3182,7 +3248,7 @@ var tokens = [{
3182
3248
  "group": "paint",
3183
3249
  "state": "active",
3184
3250
  "introduced": "0.6.0",
3185
- "description": "Pressed state of color.background.brand.bold"
3251
+ "description": "Pressed state of color.background.brand.bold."
3186
3252
  },
3187
3253
  "value": "#09326C",
3188
3254
  "filePath": "src/tokens/atlassian-light/color/background.tsx",
@@ -3192,13 +3258,79 @@ var tokens = [{
3192
3258
  "group": "paint",
3193
3259
  "state": "active",
3194
3260
  "introduced": "0.6.0",
3195
- "description": "Pressed state of color.background.brand.bold"
3261
+ "description": "Pressed state of color.background.brand.bold."
3196
3262
  },
3197
3263
  "value": "Blue900"
3198
3264
  },
3199
3265
  "name": "color.background.brand.bold.pressed",
3200
3266
  "path": ["color", "background", "brand", "bold", "pressed"],
3201
3267
  "cleanName": "color.background.brand.bold.pressed"
3268
+ }, {
3269
+ "attributes": {
3270
+ "group": "paint",
3271
+ "state": "active",
3272
+ "introduced": "1.13.0",
3273
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3274
+ },
3275
+ "value": "#092957",
3276
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3277
+ "isSource": true,
3278
+ "original": {
3279
+ "attributes": {
3280
+ "group": "paint",
3281
+ "state": "active",
3282
+ "introduced": "1.13.0",
3283
+ "description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
3284
+ },
3285
+ "value": "Blue1000"
3286
+ },
3287
+ "name": "color.background.brand.boldest.[default]",
3288
+ "path": ["color", "background", "brand", "boldest", "[default]"],
3289
+ "cleanName": "color.background.brand.boldest"
3290
+ }, {
3291
+ "attributes": {
3292
+ "group": "paint",
3293
+ "state": "active",
3294
+ "introduced": "1.13.0",
3295
+ "description": "Hovered state of color.background.brand.boldest."
3296
+ },
3297
+ "value": "#09326C",
3298
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3299
+ "isSource": true,
3300
+ "original": {
3301
+ "attributes": {
3302
+ "group": "paint",
3303
+ "state": "active",
3304
+ "introduced": "1.13.0",
3305
+ "description": "Hovered state of color.background.brand.boldest."
3306
+ },
3307
+ "value": "Blue900"
3308
+ },
3309
+ "name": "color.background.brand.boldest.hovered",
3310
+ "path": ["color", "background", "brand", "boldest", "hovered"],
3311
+ "cleanName": "color.background.brand.boldest.hovered"
3312
+ }, {
3313
+ "attributes": {
3314
+ "group": "paint",
3315
+ "state": "active",
3316
+ "introduced": "1.13.0",
3317
+ "description": "Pressed state of color.background.brand.boldest."
3318
+ },
3319
+ "value": "#0055CC",
3320
+ "filePath": "src/tokens/atlassian-light/color/background.tsx",
3321
+ "isSource": true,
3322
+ "original": {
3323
+ "attributes": {
3324
+ "group": "paint",
3325
+ "state": "active",
3326
+ "introduced": "1.13.0",
3327
+ "description": "Pressed state of color.background.brand.boldest."
3328
+ },
3329
+ "value": "Blue800"
3330
+ },
3331
+ "name": "color.background.brand.boldest.pressed",
3332
+ "path": ["color", "background", "brand", "boldest", "pressed"],
3333
+ "cleanName": "color.background.brand.boldest.pressed"
3202
3334
  }, {
3203
3335
  "attributes": {
3204
3336
  "group": "paint",
@@ -3,11 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.TOKEN_NOT_FOUND_CSS_VAR = exports.THEME_DATA_ATTRIBUTE = exports.DEFAULT_THEME = exports.CSS_VAR_FULL = exports.CSS_PREFIX = exports.COLOR_MODE_ATTRIBUTE = void 0;
6
+ exports.TOKEN_NOT_FOUND_CSS_VAR = exports.THEME_DATA_ATTRIBUTE = exports.DEFAULT_THEME = exports.CUSTOM_THEME_ATTRIBUTE = exports.CSS_VAR_FULL = exports.CSS_PREFIX = exports.COLOR_MODE_ATTRIBUTE = void 0;
7
7
  var THEME_DATA_ATTRIBUTE = 'data-theme';
8
8
  exports.THEME_DATA_ATTRIBUTE = THEME_DATA_ATTRIBUTE;
9
9
  var COLOR_MODE_ATTRIBUTE = 'data-color-mode';
10
10
  exports.COLOR_MODE_ATTRIBUTE = COLOR_MODE_ATTRIBUTE;
11
+ var CUSTOM_THEME_ATTRIBUTE = 'data-custom-theme';
12
+ exports.CUSTOM_THEME_ATTRIBUTE = CUSTOM_THEME_ATTRIBUTE;
11
13
  var DEFAULT_THEME = 'light';
12
14
  exports.DEFAULT_THEME = DEFAULT_THEME;
13
15
  var CSS_PREFIX = 'ds';