UNPKG

5.06 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
8<!-- ## [Unreleased] -->
9
10## [2.7.0] - 2019-10-28
11
12- Updated filter for the Blue color ([#64](https://github.com/Shopify/polaris-tokens/pull/64))
13- 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))
14- Added a JSON color export for iOS ([`colors.ios.json`](/dist/colors.ios.json)) ([#86](https://github.com/Shopify/polaris-tokens/pull/86))
15
16## [2.6.0] - 2019-06-06
17
18- Update `color-blue` to `#006fbb` from `#007ace` for accessibility ([#63](https://github.com/Shopify/polaris-tokens/pull/63))
19- Add missing `colorYellowDark` values from ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
20
21## [2.5.0] - 2019-04-19
22
23- Duration tokens (with `type: time`) are treated as unitless and converted to milliseconds in JavaScript formats
24
25## [2.4.0] - 2019-04-04
26
27- Added color names to the Sketch palette ([#53](https://github.com/Shopify/polaris-tokens/pull/53))
28- Fixed a bug where the font family value was wrapped in quotes ([#58](https://github.com/Shopify/polaris-tokens/pull/58))
29
30## [2.3.0] - 2019-02-19
31
32- Added spacing-map format, usable as `spacing.spacing-map.scss` ([#52](https://github.com/Shopify/polaris-tokens/pull/52))
33
34## [2.2.0] - 2019-02-19
35
36- Updated devDependencies ([#45](https://github.com/Shopify/polaris-tokens/pull/45))
37- Added `base-tight` to the spacing map ([#48](https://github.com/Shopify/polaris-tokens/pull/48))
38
39## [2.1.1] - 2019-01-04
40
41- No changes in this version (re-publishing as the 2.1.0 Gem release failed)
42
43## [2.1.0] - 2019-01-04
44
45- Updated `color-yellow-dark` for accessibility ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
46- Documented how to import tokens using ES Modules ([#37](https://github.com/Shopify/polaris-tokens/pull/37))
47- Updated Node.js to v10
48- Updated Node.js & Ruby dependencies
49- Reformatted files using sewing-kit
50
51## [2.0.0] - 2018-10-23
52
53- **Breaking:** renamed `colors.android-colors.xml` to `colors.android.xml`
54- **Breaking:** removed `-base` suffix from base color token names (fixes [#16](https://github.com/Shopify/polaris-tokens/issues/16))
55
56 Upgrade path:
57
58 - CSS: remove `-base`. For example: `var(--color-ink-base)``var(--color-ink)`.
59 - Sass: remove `-base`. For example: `$color-ink-base``$color-ink`.
60 - JSON: remove `-base`. For example: `tokens['color-ink-base']``tokens['color-ink']`.
61 - Android: remove `_base`. For example: `polaris_color_blue_base``polaris_color_blue`.
62 - JavaScript: remove `Base`. For example: `colorPurpleBase``colorPurple`.
63
64- Updated dependencies, including Theo to from `^7.0.1` to `8.0.0-beta.2`
65- Updated the Android token format to enable it to format other properties than just colors
66
67## [1.3.1] - 2018-07-09
68
69- Updated devDependencies, including [Prettier](https://prettier.io/). This reformatted SCSS files in `./dist/` but didn’t impact the tokens themselves.
70
71## [1.3.0] - 2018-06-29
72
73- Added [`colors.android-colors.xml`](https://github.com/Shopify/polaris-tokens/blob/master/dist/colors.android-colors.xml), for Android apps
74
75## [1.2.0] - 2018-05-30
76
77- `ase` and `clr` palettes: removed the `color-` prefix from color names
78- Updated devDependencies
79
80## [1.1.0] - 2018-04-24
81
82Polaris 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/master/README.md) for installation and usage instructions for both.
83
84## 1.0.0 - 2018-04-13
85
86First stable release 🎉
87
88Color design tokens are now used in:
89
90- `Shopify/shopify`
91- `Shopify/polaris-styleguide`
92- `Shopify/polaris-react` (`@shopify/polaris` v2 on npm)
93
94[unreleased]: https://github.com/Shopify/polaris-tokens/compare/v2.7.0...HEAD
95[2.7.0]: https://github.com/Shopify/polaris-tokens/compare/v2.6.0...v2.7.0
96[2.6.0]: https://github.com/Shopify/polaris-tokens/compare/v2.5.0...v2.6.0
97[2.5.0]: https://github.com/Shopify/polaris-tokens/compare/v2.4.0...v2.5.0
98[2.4.0]: https://github.com/Shopify/polaris-tokens/compare/v2.3.0...v2.4.0
99[2.3.0]: https://github.com/Shopify/polaris-tokens/compare/v2.2.0...v2.3.0
100[2.2.0]: https://github.com/Shopify/polaris-tokens/compare/v2.1.1...v2.2.0
101[2.1.1]: https://github.com/Shopify/polaris-tokens/compare/v2.1.0...v2.1.1
102[2.1.0]: https://github.com/Shopify/polaris-tokens/compare/v2.0.0...v2.1.0
103[2.0.0]: https://github.com/Shopify/polaris-tokens/compare/v1.3.1...v2.0.0
104[1.3.1]: https://github.com/Shopify/polaris-tokens/compare/v1.3.0...v1.3.1
105[1.3.0]: https://github.com/Shopify/polaris-tokens/compare/v1.2.0...v1.3.0
106[1.2.0]: https://github.com/Shopify/polaris-tokens/compare/v1.1.0...v1.2.0
107[1.1.0]: https://github.com/Shopify/polaris-tokens/compare/v1.0.0...v1.1.0