@atlaskit/tokens 1.26.1 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +108 -0
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/cjs/artifacts/palettes-raw/palette.js +77 -77
- package/dist/cjs/artifacts/theme-import-map.js +1 -13
- package/dist/cjs/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +101 -101
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +115 -115
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +109 -109
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/theme-config.js +1 -25
- package/dist/cjs/utils/get-theme-preferences.js +0 -13
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/es2019/artifacts/palettes-raw/palette.js +77 -77
- package/dist/es2019/artifacts/theme-import-map.js +1 -5
- package/dist/es2019/artifacts/themes/atlassian-dark-increased-contrast.js +115 -115
- package/dist/es2019/artifacts/themes/atlassian-dark.js +109 -109
- package/dist/es2019/artifacts/themes/atlassian-light-increased-contrast.js +124 -124
- package/dist/es2019/artifacts/themes/atlassian-light.js +101 -101
- package/dist/es2019/artifacts/token-default-values.js +101 -101
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +115 -115
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +109 -109
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/theme-config.js +1 -25
- package/dist/es2019/utils/get-theme-preferences.js +0 -13
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
- package/dist/esm/artifacts/palettes-raw/palette.js +77 -77
- package/dist/esm/artifacts/theme-import-map.js +1 -9
- package/dist/esm/artifacts/themes/atlassian-dark-increased-contrast.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light-increased-contrast.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +101 -101
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-increased-contrast.js +115 -115
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +115 -115
- package/dist/esm/artifacts/tokens-raw/atlassian-light-increased-contrast.js +124 -124
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +109 -109
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/theme-config.js +1 -25
- package/dist/esm/utils/get-theme-preferences.js +0 -13
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +101 -101
- package/dist/types/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/theme-config.d.ts +4 -4
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-increased-contrast.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-increased-contrast.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +101 -101
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/theme-config.d.ts +4 -8
- package/figma/atlassian-dark-increased-contrast.json +114 -114
- package/figma/atlassian-dark.json +108 -108
- package/figma/atlassian-light-increased-contrast.json +123 -123
- package/figma/atlassian-light.json +100 -100
- package/package.json +1 -4
- package/report.api.md +2 -9
- package/tmp/api-report-tmp.d.ts +4 -4
- package/dist/cjs/artifacts/palettes-raw/updated-saturated-palette.js +0 -2257
- package/dist/cjs/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -12
- package/dist/cjs/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -12
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8683
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8645
- package/dist/es2019/artifacts/palettes-raw/updated-saturated-palette.js +0 -2251
- package/dist/es2019/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -399
- package/dist/es2019/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -399
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8677
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8639
- package/dist/esm/artifacts/palettes-raw/updated-saturated-palette.js +0 -2251
- package/dist/esm/artifacts/themes/atlassian-dark-saturated-palette-changes.js +0 -6
- package/dist/esm/artifacts/themes/atlassian-light-saturated-palette-changes.js +0 -6
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +0 -8677
- package/dist/esm/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +0 -8639
- package/dist/types/artifacts/palettes-raw/updated-saturated-palette.d.ts +0 -41
- package/dist/types/artifacts/themes/atlassian-dark-saturated-palette-changes.d.ts +0 -7
- package/dist/types/artifacts/themes/atlassian-light-saturated-palette-changes.d.ts +0 -7
- package/dist/types/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.d.ts +0 -109
- package/dist/types/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.d.ts +0 -89
- package/dist/types-ts4.5/artifacts/palettes-raw/updated-saturated-palette.d.ts +0 -41
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-saturated-palette-changes.d.ts +0 -7
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-saturated-palette-changes.d.ts +0 -7
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.d.ts +0 -109
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.d.ts +0 -89
- package/figma/atlassian-dark-saturated-palette-changes.json +0 -3540
- package/figma/atlassian-light-saturated-palette-changes.json +0 -3519
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.27.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#41516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41516) [`e6f589d4777`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6f589d4777) - [ux] This version releases changes that were feature flagged in version 1.25.0; they include minor adjustments to our color palette and design tokens.
|
|
8
|
+
|
|
9
|
+
These changes make certain colors more distinguishable, improves the visual appearance of warning and yellow accent backgrounds, and reduces saturation for subtle backgrounds in dark mode.
|
|
10
|
+
|
|
11
|
+
#### Palette changes
|
|
12
|
+
|
|
13
|
+
##### All saturated palettes
|
|
14
|
+
|
|
15
|
+
- Saturation for `1000` shades reduced for all saturated palettes to reduce eye strain when placed against subtle UI in dark mode
|
|
16
|
+
|
|
17
|
+
##### Red
|
|
18
|
+
|
|
19
|
+
- Saturation reduced on entire scale
|
|
20
|
+
- Hue adjusted to create more separation from orange
|
|
21
|
+
|
|
22
|
+
##### Orange
|
|
23
|
+
|
|
24
|
+
- Saturation reduced on entire scale
|
|
25
|
+
- Hue adjusted to create more separation from yellow
|
|
26
|
+
|
|
27
|
+
##### Lime
|
|
28
|
+
|
|
29
|
+
- Saturation for `100` shades reduced
|
|
30
|
+
|
|
31
|
+
##### Green
|
|
32
|
+
|
|
33
|
+
- Saturation for `100` shades reduced
|
|
34
|
+
|
|
35
|
+
##### Teal
|
|
36
|
+
|
|
37
|
+
- Hue adjusted to create more separation from green
|
|
38
|
+
|
|
39
|
+
##### All palette changes
|
|
40
|
+
|
|
41
|
+
- `Red100` has changed from `#FFEDEB` to `#ffeceb`
|
|
42
|
+
- `Red200` has changed from `#FFD2CC` to `#ffd5d2`
|
|
43
|
+
- `Red300` has changed from `#FF9C8F` to `#fd9891`
|
|
44
|
+
- `Red400` has changed from `#F87462` to `#f87168`
|
|
45
|
+
- `Red500` has changed from `#EF5C48` to `#f15b50`
|
|
46
|
+
- `Red600` has changed from `#E34935` to `#e2483d`
|
|
47
|
+
- `Red700` has changed from `#CA3521` to `#c9372c`
|
|
48
|
+
- `Red800` has changed from `#AE2A19` to `#ae2e24`
|
|
49
|
+
- `Red900` has changed from `#601E16` to `#5d1f1a`
|
|
50
|
+
- `Red1000` has changed from `#4F1C16` to `#42221F`
|
|
51
|
+
- `Orange100` has changed from `#FFF4E5` to `#fff3eb`
|
|
52
|
+
- `Orange200` has changed from `#FFE2BD` to `#fedec8`
|
|
53
|
+
- `Orange300` has changed from `#FEC57B` to `#fec195`
|
|
54
|
+
- `Orange400` has changed from `#FAA53D` to `#fea362`
|
|
55
|
+
- `Orange500` has changed from `#F18D13` to `#f38a3f`
|
|
56
|
+
- `Orange600` has changed from `#D97008` to `#e56910`
|
|
57
|
+
- `Orange700` has changed from `#B65C02` to `#c25100`
|
|
58
|
+
- `Orange800` has changed from `#974F0C` to `#A54800`
|
|
59
|
+
- `Orange900` has changed from `#5F3811` to `#702e00`
|
|
60
|
+
- `Orange1000` has changed from `#4A2B0F` to `#38291e`
|
|
61
|
+
- `Yellow1000` has changed from `#3F3102` to `#332E1B`
|
|
62
|
+
- `Lime100` has changed from `#EEFBDA` to `#EFFFD6`
|
|
63
|
+
- `Lime1000` has changed from `#2A3818` to `#28311B`
|
|
64
|
+
- `Green100` has changed from `#DFFCF0` to `#DCFFF1`
|
|
65
|
+
- `Green1000` has changed from `#143C2B` to `#1C3329`
|
|
66
|
+
- `Teal100` has changed from `#E3FAFC` to `#E7F9FF`
|
|
67
|
+
- `Teal200` has changed from `#C1F0F5` to `#C6EDFB`
|
|
68
|
+
- `Teal300` has changed from `#8BDBE5` to `#9DD9EE`
|
|
69
|
+
- `Teal400` has changed from `#60C6D2` to `#6CC3E0`
|
|
70
|
+
- `Teal500` has changed from `#37B4C3` to `#42B2D7`
|
|
71
|
+
- `Teal600` has changed from `#1D9AAA` to `#2898BD`
|
|
72
|
+
- `Teal700` has changed from `#1D7F8C` to `#227D9B`
|
|
73
|
+
- `Teal800` has changed from `#206B74` to `#206A83`
|
|
74
|
+
- `Teal900` has changed from `#1D474C` to `#164555`
|
|
75
|
+
- `Teal1000` has changed from `#15373B` to `#1E3137`
|
|
76
|
+
- `Blue1000` has changed from `#092957` to `#1C2B41`
|
|
77
|
+
- `Purple1000` has changed from `#2B2451` to `#2B273F`
|
|
78
|
+
- `Magenta1000` has changed from `#421F34` to `#3D2232`
|
|
79
|
+
|
|
80
|
+
#### Token changes
|
|
81
|
+
|
|
82
|
+
##### Yellow accent backgrounds
|
|
83
|
+
|
|
84
|
+
Mapped to lighter shades to create differentiation with orange, and increase vibrancy:
|
|
85
|
+
|
|
86
|
+
- \[Light theme\] `color.background.yellow.subtle`: `Yellow400` → `Yellow300`
|
|
87
|
+
- \[Light theme\] `color.background.accent.yellow.subtle.hovered`: `Yellow300` → `Yellow400`
|
|
88
|
+
- \[Light theme\] `color.background.accent.yellow.subtle.pressed`: `Yellow200` → `Yellow500`
|
|
89
|
+
|
|
90
|
+
##### Bold warning backgrounds
|
|
91
|
+
|
|
92
|
+
Mapped to lighter shades to increase vibrancy:
|
|
93
|
+
|
|
94
|
+
- \[Light theme\] `color.background.warning.bold`: `Yellow400` → `Yellow300`
|
|
95
|
+
- \[Dark mode\]: `color.background.warning.bold`: `Yellow400` → `Yellow300`
|
|
96
|
+
- \[Light theme\] `color.background.warning.bold.hovered`: `Yellow500` → `Yellow400`
|
|
97
|
+
- \[Dark mode\]: `color.background.warning.bold.hovered`: `Yellow300` → `Yellow400`
|
|
98
|
+
- \[Light theme\] `color.background.warning.bold.pressed`: `Yellow600` → `Yellow500`
|
|
99
|
+
- \[Dark mode\]: `color.background.warning.bold.pressed`: `Yellow200` → `Yellow500`
|
|
100
|
+
|
|
101
|
+
##### Icon:
|
|
102
|
+
|
|
103
|
+
Mapped red/danger icons to darker shades to create distinction between orange and red icons:
|
|
104
|
+
|
|
105
|
+
- \[Light theme\]: `color.icon.accent.red`: `Red600` → `Red700`
|
|
106
|
+
- \[Dark theme\]: `color.icon.accent.red`: `Red500` → `Red600`
|
|
107
|
+
- \[Dark theme\]: `color.icon.accent.yellow`: `Yellow500` → `Yellow300`
|
|
108
|
+
- \[Light theme\]: `color.icon.danger`: `Red600` → `Red700`
|
|
109
|
+
- \[Dark theme\]: `color.icon.warning`: `Yellow500` → `Yellow300`
|
|
110
|
+
|
|
3
111
|
## 1.26.1
|
|
4
112
|
|
|
5
113
|
### Patch Changes
|
|
@@ -9,13 +9,13 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* Token names mapped to their values, used for contrast checking when generating custom themes
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::0c8d4e0653f1a4cd9a80fac95331fd7a>>
|
|
13
13
|
* @codegenCommand yarn build tokens
|
|
14
14
|
*/
|
|
15
15
|
var tokenValues = {
|
|
16
16
|
'color.text.brand': '#579DFF',
|
|
17
17
|
'elevation.surface.overlay': '#282E33',
|
|
18
|
-
'color.background.selected': '#
|
|
18
|
+
'color.background.selected': '#1C2B41',
|
|
19
19
|
'color.text.selected': '#579DFF',
|
|
20
20
|
'color.border.brand': '#579DFF',
|
|
21
21
|
'color.chart.brand': '#388BFF',
|