1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7 |
|
8 |
|
9 |
|
10 | ## [2.18.0] - 2021-01-26
|
11 |
|
12 | - Added prefixed CSS custom properties output for colors ([#174](https://github.com/Shopify/polaris-tokens/pull/174), [#175](https://github.com/Shopify/polaris-tokens/pull/175))
|
13 |
|
14 | ## [2.17.0] - 2021-01-13
|
15 |
|
16 | - Froze and deprecated design tokens in `./dist`. In a future version, this directory may be moved to `./dist-legacy` ([#170](https://github.com/Shopify/polaris-tokens/pull/170))
|
17 |
|
18 | ## [2.16.0] - 2020-12-17
|
19 |
|
20 | - Added textPrimary with hovered and pressed variations ([#164](https://github.com/Shopify/polaris-tokens/pull/164))
|
21 |
|
22 | ## [2.15.0] - 2020-11-07
|
23 |
|
24 | - Changed borderShadow value ([#157](https://github.com/Shopify/polaris-tokens/pull/157))
|
25 |
|
26 | ## [2.14.0] - 2020-11-01
|
27 |
|
28 | - Adds states for surfaceNeutral ([#155](https://github.com/Shopify/polaris-tokens/pull/155))
|
29 | - Changed dark mode values for some subdued borders ([#156](https://github.com/Shopify/polaris-tokens/pull/156))
|
30 |
|
31 | ## [2.13.1] - 2020-11-01
|
32 |
|
33 | - Moved mistaken border variants to surface variants ([#154](https://github.com/Shopify/polaris-tokens/pull/154))
|
34 |
|
35 | ## [2.13.0] - 2020-11-01
|
36 |
|
37 | - Add subdued variants to warning, highlight, and success ([#153](https://github.com/Shopify/polaris-tokens/pull/153))
|
38 |
|
39 | ## [2.12.9] - 2020-09-11
|
40 |
|
41 | - Update action secondary depressed color / add border depressed ([#150](https://github.com/Shopify/polaris-tokens/pull/150))
|
42 |
|
43 | ## [2.12.8] - 2020-09-10
|
44 |
|
45 | - Add icon and action colors to color-filters-map ([#149](https://github.com/Shopify/polaris-tokens/pull/149))
|
46 |
|
47 | ## [2.12.7] - 2020-09-09
|
48 |
|
49 | - Updates the onSurface background name ([#147](https://github.com/Shopify/polaris-tokens/pull/147))
|
50 |
|
51 | ## [2.12.6] - 2020-09-09
|
52 |
|
53 | - Added background under onSurface ([#146](https://github.com/Shopify/polaris-tokens/pull/146))
|
54 |
|
55 | ## [2.12.5] - 2020-09-08
|
56 |
|
57 | - Updated borderSubdued and added borderShadow, borderShadowSubdued, and divider colors ([#145](https://github.com/Shopify/polaris-tokens/pull/145))
|
58 |
|
59 | ## [2.12.4] - 2020-08-27
|
60 |
|
61 | - Updated background, surface, and action colors ([#140](https://github.com/Shopify/polaris-tokens/pull/140))
|
62 |
|
63 | ## [2.12.3] - 2020-04-07
|
64 |
|
65 | - Updated the font stack so that Segoe UI comes before Roboto. ([#131](https://github.com/Shopify/polaris-tokens/pull/131))
|
66 |
|
67 | ## [2.12.2] - 2020-03-25
|
68 |
|
69 | - Loosened the type of the first argument of `color-factory` to account for stricter merge checks in Typescript 3.8 ([#130](https://github.com/Shopify/polaris-tokens/pull/130))
|
70 |
|
71 | ## [2.12.1] - 2020-03-18
|
72 |
|
73 | - Adjusted Figma metadata for variants. Adjusted description of one variant. ([#126](https://github.com/Shopify/polaris-tokens/pull/126))
|
74 |
|
75 | ## [2.12.0] - 2020-03-13
|
76 |
|
77 | - Added variants for border subdued roles ([#123](https://github.com/Shopify/polaris-tokens/pull/123))
|
78 |
|
79 | ## [2.11.0] - 2020-03-11
|
80 |
|
81 | - Added missing variants ([#121](https://github.com/Shopify/polaris-tokens/pull/121))
|
82 | - Updated hover variants ([#120](https://github.com/Shopify/polaris-tokens/pull/120))
|
83 | - Updated color variants to use `saturationAdjustmentFn` instead of `saturation` ([#119](https://github.com/Shopify/polaris-tokens/pull/119))
|
84 |
|
85 | ## [2.10.0] - 2020-03-05
|
86 |
|
87 | - Removed `borderSecondary`, `borderSecondaryHovered`, and `borderSecondaryDisabled` color variants from the `secondary` role in favor of `border` and the newly added `borderHovered` and `borderDisabled` color variants in the `onSurface` role ([#115](https://github.com/Shopify/polaris-tokens/pull/115))
|
88 | - Note: This is technically a breaking change although we will continue to ship as minor and patch versions until the new color system is enabled by default in production
|
89 |
|
90 | ## [2.9.0] - 2020-03-03
|
91 |
|
92 | - Added Figma color name metadata ([#110](https://github.com/Shopify/polaris-tokens/pull/110))
|
93 |
|
94 | ## [2.8.2] - 2020-02-27
|
95 |
|
96 | - Fixed an issue where dev environment utils and types were exported ([#113](https://github.com/Shopify/polaris-tokens/pull/113))
|
97 |
|
98 | ## [2.8.1] - 2020-02-27
|
99 |
|
100 | - Updated color variants to match Figma ([#108](https://github.com/Shopify/polaris-tokens/pull/108))
|
101 | - Updated `interactiveCritical` description ([#107](https://github.com/Shopify/polaris-tokens/pull/107))
|
102 |
|
103 | ## [2.8.0] - 2020-02-20
|
104 |
|
105 | - Added color factory and built modern tokens ([#105](https://github.com/Shopify/polaris-tokens/pull/105))
|
106 | - Added surface disabled variant and updated other variant configs ([#101](https://github.com/Shopify/polaris-tokens/pull/101))
|
107 | - Added TypeScript build for modern tokens, and shifted directory structures to differentiate between legacy and modern tokens ([#97](https://github.com/Shopify/polaris-tokens/pull/97))
|
108 | - Updated variant names and descriptions ([#96](https://github.com/Shopify/polaris-tokens/pull/96))
|
109 | - Added decorative icon variants ([#94](https://github.com/Shopify/polaris-tokens/pull/94))
|
110 | - Built changes from previous release, and added textOnInteractive variant ([#93](https://github.com/Shopify/polaris-tokens/pull/93))
|
111 | - Fixed an issue where legacy themes caused the color factory to throw ([#92](https://github.com/Shopify/polaris-tokens/pull/92))
|
112 | - Updated color variants for consistency with changes in Polaris React ([#91](https://github.com/Shopify/polaris-tokens/pull/91))
|
113 | - Marked the config as optional and the colors as partial ([dd3d8fc](https://github.com/Shopify/polaris-tokens/commit/dd3d8fc05572fb03e764a85a0519bbd3dde11855))
|
114 | - Added the Color Factory. Long live the Color Factory! ([#89](https://github.com/Shopify/polaris-tokens/pull/89))
|
115 |
|
116 | ## [2.7.0] - 2019-10-28
|
117 |
|
118 | - Updated filter for the Blue color ([#64](https://github.com/Shopify/polaris-tokens/pull/64))
|
119 | - Removed reliance on the Invision DSM import script (colors are now directly managed in `tokens/colors.yml`) ([#66](https://github.com/Shopify/polaris-tokens/pull/66))
|
120 | - Added a JSON color export for iOS ([`colors.ios.json`](/dist/colors.ios.json)) ([#86](https://github.com/Shopify/polaris-tokens/pull/86))
|
121 |
|
122 | ## [2.6.0] - 2019-06-06
|
123 |
|
124 | - Update `color-blue` to `#006fbb` from `#007ace` for accessibility ([#63](https://github.com/Shopify/polaris-tokens/pull/63))
|
125 | - Add missing `colorYellowDark` values from ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
|
126 |
|
127 | ## [2.5.0] - 2019-04-19
|
128 |
|
129 | - Duration tokens (with `type: time`) are treated as unitless and converted to milliseconds in JavaScript formats
|
130 |
|
131 | ## [2.4.0] - 2019-04-04
|
132 |
|
133 | - Added color names to the Sketch palette ([#53](https://github.com/Shopify/polaris-tokens/pull/53))
|
134 | - Fixed a bug where the font family value was wrapped in quotes ([#58](https://github.com/Shopify/polaris-tokens/pull/58))
|
135 |
|
136 | ## [2.3.0] - 2019-02-19
|
137 |
|
138 | - Added spacing-map format, usable as `spacing.spacing-map.scss` ([#52](https://github.com/Shopify/polaris-tokens/pull/52))
|
139 |
|
140 | ## [2.2.0] - 2019-02-19
|
141 |
|
142 | - Updated devDependencies ([#45](https://github.com/Shopify/polaris-tokens/pull/45))
|
143 | - Added `base-tight` to the spacing map ([#48](https://github.com/Shopify/polaris-tokens/pull/48))
|
144 |
|
145 | ## [2.1.1] - 2019-01-04
|
146 |
|
147 | - No changes in this version (re-publishing as the 2.1.0 Gem release failed)
|
148 |
|
149 | ## [2.1.0] - 2019-01-04
|
150 |
|
151 | - Updated `color-yellow-dark` for accessibility ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
|
152 | - Documented how to import tokens using ES Modules ([#37](https://github.com/Shopify/polaris-tokens/pull/37))
|
153 | - Updated Node.js to v10
|
154 | - Updated Node.js & Ruby dependencies
|
155 | - Reformatted files using sewing-kit
|
156 |
|
157 | ## [2.0.0] - 2018-10-23
|
158 |
|
159 | - **Breaking:** renamed `colors.android-colors.xml` to `colors.android.xml`
|
160 | - **Breaking:** removed `-base` suffix from base color token names (fixes [#16](https://github.com/Shopify/polaris-tokens/issues/16))
|
161 |
|
162 | Upgrade path:
|
163 |
|
164 | - CSS: remove `-base`. For example: `var(--color-ink-base)` → `var(--color-ink)`.
|
165 | - Sass: remove `-base`. For example: `$color-ink-base` → `$color-ink`.
|
166 | - JSON: remove `-base`. For example: `tokens['color-ink-base']` → `tokens['color-ink']`.
|
167 | - Android: remove `_base`. For example: `polaris_color_blue_base` → `polaris_color_blue`.
|
168 | - JavaScript: remove `Base`. For example: `colorPurpleBase` → `colorPurple`.
|
169 |
|
170 | - Updated dependencies, including Theo to from `^7.0.1` to `8.0.0-beta.2`
|
171 | - Updated the Android token format to enable it to format other properties than just colors
|
172 |
|
173 | ## [1.3.1] - 2018-07-09
|
174 |
|
175 | - Updated devDependencies, including [Prettier](https://prettier.io/). This reformatted SCSS files in `./dist/` but didn’t impact the tokens themselves.
|
176 |
|
177 | ## [1.3.0] - 2018-06-29
|
178 |
|
179 | - Added [`colors.android-colors.xml`](https://github.com/Shopify/polaris-tokens/blob/main/dist/colors.android-colors.xml), for Android apps
|
180 |
|
181 | ## [1.2.0] - 2018-05-30
|
182 |
|
183 | - `ase` and `clr` palettes: removed the `color-` prefix from color names
|
184 | - Updated devDependencies
|
185 |
|
186 | ## [1.1.0] - 2018-04-24
|
187 |
|
188 | Polaris tokens are now available as both a [npm package](https://www.npmjs.com/package/@shopify/polaris-tokens) and a [Ruby gem](https://rubygems.org/gems/polaris_tokens)! Check the [README](https://github.com/Shopify/polaris-tokens/blob/main/README.md) for installation and usage instructions for both.
|
189 |
|
190 | ## 1.0.0 - 2018-04-13
|
191 |
|
192 | First stable release 🎉
|
193 |
|
194 | Color design tokens are now used in:
|
195 |
|
196 | - `Shopify/shopify`
|
197 | - `Shopify/polaris-styleguide`
|
198 | - `Shopify/polaris-react` (`@shopify/polaris` v2 on npm)
|
199 |
|
200 | [unreleased]: https://github.com/Shopify/polaris-tokens/compare/v2.18.0...HEAD
|
201 | [2.18.0]: https://github.com/Shopify/polaris-tokens/compare/v2.17.0..v2.18.0
|
202 | [2.17.0]: https://github.com/Shopify/polaris-tokens/compare/v2.16.0..v2.17.0
|
203 | [2.16.0]: https://github.com/Shopify/polaris-tokens/compare/v2.15.0..v2.16.0
|
204 | [2.15.0]: https://github.com/Shopify/polaris-tokens/compare/v2.14.0..v2.15.0
|
205 | [2.14.0]: https://github.com/Shopify/polaris-tokens/compare/v2.13.1..v2.14.0
|
206 | [2.13.1]: https://github.com/Shopify/polaris-tokens/compare/v2.13.0..v2.13.1
|
207 | [2.13.0]: https://github.com/Shopify/polaris-tokens/compare/v2.12.9..v2.13.0
|
208 | [2.12.9]: https://github.com/Shopify/polaris-tokens/compare/v2.12.8..v2.12.9
|
209 | [2.12.8]: https://github.com/Shopify/polaris-tokens/compare/v2.12.7..v2.12.8
|
210 | [2.12.7]: https://github.com/Shopify/polaris-tokens/compare/v2.12.6..v2.12.7
|
211 | [2.12.6]: https://github.com/Shopify/polaris-tokens/compare/v2.12.5..v2.12.6
|
212 | [2.12.5]: https://github.com/Shopify/polaris-tokens/compare/v2.12.4..v2.12.5
|
213 | [2.12.4]: https://github.com/Shopify/polaris-tokens/compare/v2.12.3..v2.12.4
|
214 | [2.12.3]: https://github.com/Shopify/polaris-tokens/compare/v2.12.2..v2.12.3
|
215 | [2.12.2]: https://github.com/Shopify/polaris-tokens/compare/v2.12.1...v2.12.2
|
216 | [2.12.1]: https://github.com/Shopify/polaris-tokens/compare/v2.12.0...v2.12.1
|
217 | [2.12.0]: https://github.com/Shopify/polaris-tokens/compare/v2.11.0...v2.12.0
|
218 | [2.11.0]: https://github.com/Shopify/polaris-tokens/compare/v2.10.0...v2.11.0
|
219 | [2.10.0]: https://github.com/Shopify/polaris-tokens/compare/v2.9.0...v2.10.0
|
220 | [2.9.0]: https://github.com/Shopify/polaris-tokens/compare/v2.8.2...v2.9.0
|
221 | [2.8.2]: https://github.com/Shopify/polaris-tokens/compare/v2.8.1...v2.8.2
|
222 | [2.8.1]: https://github.com/Shopify/polaris-tokens/compare/v2.8.0...v2.8.1
|
223 | [2.8.0]: https://github.com/Shopify/polaris-tokens/compare/v2.7.0...v2.8.0
|
224 | [2.7.0]: https://github.com/Shopify/polaris-tokens/compare/v2.6.0...v2.7.0
|
225 | [2.6.0]: https://github.com/Shopify/polaris-tokens/compare/v2.5.0...v2.6.0
|
226 | [2.5.0]: https://github.com/Shopify/polaris-tokens/compare/v2.4.0...v2.5.0
|
227 | [2.4.0]: https://github.com/Shopify/polaris-tokens/compare/v2.3.0...v2.4.0
|
228 | [2.3.0]: https://github.com/Shopify/polaris-tokens/compare/v2.2.0...v2.3.0
|
229 | [2.2.0]: https://github.com/Shopify/polaris-tokens/compare/v2.1.1...v2.2.0
|
230 | [2.1.1]: https://github.com/Shopify/polaris-tokens/compare/v2.1.0...v2.1.1
|
231 | [2.1.0]: https://github.com/Shopify/polaris-tokens/compare/v2.0.0...v2.1.0
|
232 | [2.0.0]: https://github.com/Shopify/polaris-tokens/compare/v1.3.1...v2.0.0
|
233 | [1.3.1]: https://github.com/Shopify/polaris-tokens/compare/v1.3.0...v1.3.1
|
234 | [1.3.0]: https://github.com/Shopify/polaris-tokens/compare/v1.2.0...v1.3.0
|
235 | [1.2.0]: https://github.com/Shopify/polaris-tokens/compare/v1.1.0...v1.2.0
|
236 | [1.1.0]: https://github.com/Shopify/polaris-tokens/compare/v1.0.0...v1.1.0
|