polaris_tokens 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/dist/color-filters.color-map.scss +2 -2
- data/dist/color-filters.common.js +1 -1
- data/dist/color-filters.custom-properties.css +2 -2
- data/dist/color-filters.json +1 -1
- data/dist/color-filters.map.scss +2 -2
- data/dist/color-filters.raw.json +1 -1
- data/dist/color-filters.scss +2 -2
- data/dist/colors.ios.json +527 -0
- data/package.json +13 -20
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca7b9d452449d8ec67030b25a883e95ebbf97187ede3aa88f70df5e95700dcde
|
4
|
+
data.tar.gz: e4ff03ecb989b2500b248ce4965e8b181b268530f75f8da2aaef849c1d963364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 734ba17c5c1964d6cf20f1d27c2a428bc444a92543d334732871566aa6507d5eb08cb2557b308eea5ab4c2df40ff354eff5cb23b9d3398d2ec2c4cefdb16f79d
|
7
|
+
data.tar.gz: 4f289b9cbdbf90b56ff05ece10b0e0fb636f124eed18b32837b61d0d9b7a737635f0b1da3defe20d657db6475f1639e9dfad0c5544fde0666eda4f8b244bf86b
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<h3 align="center">Colors, spacing, animation, and typography for all platforms</h3>
|
6
6
|
|
7
|
-
<p align="center"><em>JavaScript · JSON · CSS · SCSS · Android · Sketch · macOS · Adobe Swatch</em></p>
|
7
|
+
<p align="center"><em>JavaScript · JSON · CSS · SCSS · Android · Sketch · macOS · iOS · Adobe Swatch</em></p>
|
8
8
|
|
9
9
|
<div align="center" markdown="1">
|
10
10
|
|
@@ -125,7 +125,7 @@ polaris_colors['color-blue-lighter'] # "rgb(235, 245, 250)"
|
|
125
125
|
|
126
126
|
### CSS Filters
|
127
127
|
|
128
|
-
Color tokens include a [CSS Filter](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) (`filter`) value as part of
|
128
|
+
Color tokens include a [CSS Filter](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) (`filter`) value as part of their metadata. When this filter is applied to an element, it will change that element’s color to _approximate_ the target token color.
|
129
129
|
|
130
130
|
```
|
131
131
|
<div>
|
@@ -34,8 +34,8 @@ $polaris-color-filters: (
|
|
34
34
|
hue-rotate(195deg) brightness(97%) contrast(102%),
|
35
35
|
'dark': brightness(0) saturate(100%) invert(22%) sepia(70%) saturate(1308%)
|
36
36
|
hue-rotate(182deg) brightness(94%) contrast(101%),
|
37
|
-
'base': brightness(0) saturate(100%) invert(
|
38
|
-
hue-rotate(
|
37
|
+
'base': brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%)
|
38
|
+
hue-rotate(190deg) brightness(99%) contrast(101%),
|
39
39
|
'light': brightness(0) saturate(100%) invert(80%) sepia(7%) saturate(1832%)
|
40
40
|
hue-rotate(178deg) brightness(108%) contrast(96%),
|
41
41
|
'lighter': brightness(0) saturate(100%) invert(100%) sepia(94%)
|
@@ -30,7 +30,7 @@ module.exports = {
|
|
30
30
|
colorBlueDark:
|
31
31
|
'brightness(0) saturate(100%) invert(22%) sepia(70%) saturate(1308%) hue-rotate(182deg) brightness(94%) contrast(101%)',
|
32
32
|
colorBlue:
|
33
|
-
'brightness(0) saturate(100%) invert(
|
33
|
+
'brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%) hue-rotate(190deg) brightness(99%) contrast(101%)',
|
34
34
|
colorBlueLight:
|
35
35
|
'brightness(0) saturate(100%) invert(80%) sepia(7%) saturate(1832%) hue-rotate(178deg) brightness(108%) contrast(96%)',
|
36
36
|
colorBlueLighter:
|
@@ -29,8 +29,8 @@
|
|
29
29
|
saturate(5606%) hue-rotate(195deg) brightness(97%) contrast(102%);
|
30
30
|
--color-blue-dark: brightness(0) saturate(100%) invert(22%) sepia(70%)
|
31
31
|
saturate(1308%) hue-rotate(182deg) brightness(94%) contrast(101%);
|
32
|
-
--color-blue: brightness(0) saturate(100%) invert(
|
33
|
-
saturate(
|
32
|
+
--color-blue: brightness(0) saturate(100%) invert(19%) sepia(98%)
|
33
|
+
saturate(2885%) hue-rotate(190deg) brightness(99%) contrast(101%);
|
34
34
|
--color-blue-light: brightness(0) saturate(100%) invert(80%) sepia(7%)
|
35
35
|
saturate(1832%) hue-rotate(178deg) brightness(108%) contrast(96%);
|
36
36
|
--color-blue-lighter: brightness(0) saturate(100%) invert(100%) sepia(94%)
|
data/dist/color-filters.json
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
"color-blue-text": "brightness(0) saturate(100%) invert(27%) sepia(13%) saturate(709%) hue-rotate(158deg) brightness(96%) contrast(89%)",
|
15
15
|
"color-blue-darker": "brightness(0) saturate(100%) invert(5%) sepia(33%) saturate(5606%) hue-rotate(195deg) brightness(97%) contrast(102%)",
|
16
16
|
"color-blue-dark": "brightness(0) saturate(100%) invert(22%) sepia(70%) saturate(1308%) hue-rotate(182deg) brightness(94%) contrast(101%)",
|
17
|
-
"color-blue": "brightness(0) saturate(100%) invert(
|
17
|
+
"color-blue": "brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%) hue-rotate(190deg) brightness(99%) contrast(101%)",
|
18
18
|
"color-blue-light": "brightness(0) saturate(100%) invert(80%) sepia(7%) saturate(1832%) hue-rotate(178deg) brightness(108%) contrast(96%)",
|
19
19
|
"color-blue-lighter": "brightness(0) saturate(100%) invert(100%) sepia(94%) saturate(686%) hue-rotate(175deg) brightness(103%) contrast(96%)",
|
20
20
|
"color-teal-text": "brightness(0) saturate(100%) invert(31%) sepia(11%) saturate(665%) hue-rotate(128deg) brightness(94%) contrast(93%)",
|
data/dist/color-filters.map.scss
CHANGED
@@ -60,8 +60,8 @@ $polaris-color-filters-map: (
|
|
60
60
|
hue-rotate(182deg) brightness(94%) contrast(101%),
|
61
61
|
),
|
62
62
|
'color-blue': (
|
63
|
-
brightness(0) saturate(100%) invert(
|
64
|
-
hue-rotate(
|
63
|
+
brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%)
|
64
|
+
hue-rotate(190deg) brightness(99%) contrast(101%),
|
65
65
|
),
|
66
66
|
'color-blue-light': (
|
67
67
|
brightness(0) saturate(100%) invert(80%) sepia(7%) saturate(1832%)
|
data/dist/color-filters.raw.json
CHANGED
@@ -285,7 +285,7 @@
|
|
285
285
|
"type": "color",
|
286
286
|
"category": "background-color",
|
287
287
|
"name": "color-blue",
|
288
|
-
"value": "brightness(0) saturate(100%) invert(
|
288
|
+
"value": "brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%) hue-rotate(190deg) brightness(99%) contrast(101%)",
|
289
289
|
"originalValue": "{!color-blue}"
|
290
290
|
},
|
291
291
|
"color-blue-light": {
|
data/dist/color-filters.scss
CHANGED
@@ -28,8 +28,8 @@ $color-blue-darker: brightness(0) saturate(100%) invert(5%) sepia(33%)
|
|
28
28
|
saturate(5606%) hue-rotate(195deg) brightness(97%) contrast(102%);
|
29
29
|
$color-blue-dark: brightness(0) saturate(100%) invert(22%) sepia(70%)
|
30
30
|
saturate(1308%) hue-rotate(182deg) brightness(94%) contrast(101%);
|
31
|
-
$color-blue: brightness(0) saturate(100%) invert(
|
32
|
-
hue-rotate(
|
31
|
+
$color-blue: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%)
|
32
|
+
hue-rotate(190deg) brightness(99%) contrast(101%);
|
33
33
|
$color-blue-light: brightness(0) saturate(100%) invert(80%) sepia(7%)
|
34
34
|
saturate(1832%) hue-rotate(178deg) brightness(108%) contrast(96%);
|
35
35
|
$color-blue-lighter: brightness(0) saturate(100%) invert(100%) sepia(94%)
|
@@ -0,0 +1,527 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"name": "purpleText",
|
4
|
+
"rgba": {
|
5
|
+
"r": 0.3137254901960784,
|
6
|
+
"g": 0.28627450980392155,
|
7
|
+
"b": 0.35294117647058826,
|
8
|
+
"a": 1
|
9
|
+
},
|
10
|
+
"hex": "#50495aff"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "purpleDarker",
|
14
|
+
"rgba": {"r": 0.13725490196078433, "g": 0, "b": 0.3176470588235294, "a": 1},
|
15
|
+
"hex": "#230051ff"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "purpleDark",
|
19
|
+
"rgba": {
|
20
|
+
"r": 0.3137254901960784,
|
21
|
+
"g": 0.1411764705882353,
|
22
|
+
"b": 0.5607843137254902,
|
23
|
+
"a": 1
|
24
|
+
},
|
25
|
+
"hex": "#50248fff"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "purple",
|
29
|
+
"rgba": {
|
30
|
+
"r": 0.611764705882353,
|
31
|
+
"g": 0.41568627450980394,
|
32
|
+
"b": 0.8705882352941177,
|
33
|
+
"a": 1
|
34
|
+
},
|
35
|
+
"hex": "#9c6adeff"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "purpleLight",
|
39
|
+
"rgba": {"r": 0.8901960784313725, "g": 0.8156862745098039, "b": 1, "a": 1},
|
40
|
+
"hex": "#e3d0ffff"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "purpleLighter",
|
44
|
+
"rgba": {
|
45
|
+
"r": 0.9647058823529412,
|
46
|
+
"g": 0.9411764705882353,
|
47
|
+
"b": 0.9921568627450981,
|
48
|
+
"a": 1
|
49
|
+
},
|
50
|
+
"hex": "#f6f0fdff"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "indigoText",
|
54
|
+
"rgba": {
|
55
|
+
"r": 0.24313725490196078,
|
56
|
+
"g": 0.2549019607843137,
|
57
|
+
"b": 0.3333333333333333,
|
58
|
+
"a": 1
|
59
|
+
},
|
60
|
+
"hex": "#3e4155ff"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"name": "indigoDarker",
|
64
|
+
"rgba": {
|
65
|
+
"r": 0,
|
66
|
+
"g": 0.023529411764705882,
|
67
|
+
"b": 0.2235294117647059,
|
68
|
+
"a": 1
|
69
|
+
},
|
70
|
+
"hex": "#000639ff"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"name": "indigoDark",
|
74
|
+
"rgba": {
|
75
|
+
"r": 0.12549019607843137,
|
76
|
+
"g": 0.1803921568627451,
|
77
|
+
"b": 0.47058823529411764,
|
78
|
+
"a": 1
|
79
|
+
},
|
80
|
+
"hex": "#202e78ff"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"name": "indigo",
|
84
|
+
"rgba": {
|
85
|
+
"r": 0.3607843137254902,
|
86
|
+
"g": 0.41568627450980394,
|
87
|
+
"b": 0.7686274509803922,
|
88
|
+
"a": 1
|
89
|
+
},
|
90
|
+
"hex": "#5c6ac4ff"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"name": "indigoLight",
|
94
|
+
"rgba": {
|
95
|
+
"r": 0.7019607843137254,
|
96
|
+
"g": 0.7372549019607844,
|
97
|
+
"b": 0.9607843137254902,
|
98
|
+
"a": 1
|
99
|
+
},
|
100
|
+
"hex": "#b3bcf5ff"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"name": "indigoLighter",
|
104
|
+
"rgba": {
|
105
|
+
"r": 0.9568627450980393,
|
106
|
+
"g": 0.9607843137254902,
|
107
|
+
"b": 0.9803921568627451,
|
108
|
+
"a": 1
|
109
|
+
},
|
110
|
+
"hex": "#f4f5faff"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"name": "blueText",
|
114
|
+
"rgba": {
|
115
|
+
"r": 0.24313725490196078,
|
116
|
+
"g": 0.3058823529411765,
|
117
|
+
"b": 0.3411764705882353,
|
118
|
+
"a": 1
|
119
|
+
},
|
120
|
+
"hex": "#3e4e57ff"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"name": "blueDarker",
|
124
|
+
"rgba": {"r": 0, "g": 0.0784313725490196, "b": 0.1607843137254902, "a": 1},
|
125
|
+
"hex": "#001429ff"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"name": "blueDark",
|
129
|
+
"rgba": {
|
130
|
+
"r": 0.03137254901960784,
|
131
|
+
"g": 0.3058823529411765,
|
132
|
+
"b": 0.5411764705882353,
|
133
|
+
"a": 1
|
134
|
+
},
|
135
|
+
"hex": "#084e8aff"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"name": "blue",
|
139
|
+
"rgba": {"r": 0, "g": 0.43529411764705883, "b": 0.7333333333333333, "a": 1},
|
140
|
+
"hex": "#006fbbff"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"name": "blueLight",
|
144
|
+
"rgba": {
|
145
|
+
"r": 0.7058823529411765,
|
146
|
+
"g": 0.8823529411764706,
|
147
|
+
"b": 0.9803921568627451,
|
148
|
+
"a": 1
|
149
|
+
},
|
150
|
+
"hex": "#b4e1faff"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"name": "blueLighter",
|
154
|
+
"rgba": {
|
155
|
+
"r": 0.9215686274509803,
|
156
|
+
"g": 0.9607843137254902,
|
157
|
+
"b": 0.9803921568627451,
|
158
|
+
"a": 1
|
159
|
+
},
|
160
|
+
"hex": "#ebf5faff"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"name": "tealText",
|
164
|
+
"rgba": {
|
165
|
+
"r": 0.25098039215686274,
|
166
|
+
"g": 0.3254901960784314,
|
167
|
+
"b": 0.3215686274509804,
|
168
|
+
"a": 1
|
169
|
+
},
|
170
|
+
"hex": "#405352ff"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"name": "tealDarker",
|
174
|
+
"rgba": {
|
175
|
+
"r": 0,
|
176
|
+
"g": 0.19215686274509805,
|
177
|
+
"b": 0.20784313725490197,
|
178
|
+
"a": 1
|
179
|
+
},
|
180
|
+
"hex": "#003135ff"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"name": "tealDark",
|
184
|
+
"rgba": {"r": 0, "g": 0.5176470588235295, "b": 0.5568627450980392, "a": 1},
|
185
|
+
"hex": "#00848eff"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"name": "teal",
|
189
|
+
"rgba": {
|
190
|
+
"r": 0.2784313725490196,
|
191
|
+
"g": 0.7568627450980392,
|
192
|
+
"b": 0.7490196078431373,
|
193
|
+
"a": 1
|
194
|
+
},
|
195
|
+
"hex": "#47c1bfff"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "tealLight",
|
199
|
+
"rgba": {
|
200
|
+
"r": 0.7176470588235294,
|
201
|
+
"g": 0.9254901960784314,
|
202
|
+
"b": 0.9254901960784314,
|
203
|
+
"a": 1
|
204
|
+
},
|
205
|
+
"hex": "#b7ececff"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"name": "tealLighter",
|
209
|
+
"rgba": {
|
210
|
+
"r": 0.8784313725490196,
|
211
|
+
"g": 0.9607843137254902,
|
212
|
+
"b": 0.9607843137254902,
|
213
|
+
"a": 1
|
214
|
+
},
|
215
|
+
"hex": "#e0f5f5ff"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"name": "greenText",
|
219
|
+
"rgba": {
|
220
|
+
"r": 0.2549019607843137,
|
221
|
+
"g": 0.30980392156862746,
|
222
|
+
"b": 0.24313725490196078,
|
223
|
+
"a": 1
|
224
|
+
},
|
225
|
+
"hex": "#414f3eff"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"name": "greenDarker",
|
229
|
+
"rgba": {
|
230
|
+
"r": 0.09019607843137255,
|
231
|
+
"g": 0.21176470588235294,
|
232
|
+
"b": 0.18823529411764706,
|
233
|
+
"a": 1
|
234
|
+
},
|
235
|
+
"hex": "#173630ff"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"name": "greenDark",
|
239
|
+
"rgba": {
|
240
|
+
"r": 0.06274509803921569,
|
241
|
+
"g": 0.5019607843137255,
|
242
|
+
"b": 0.2627450980392157,
|
243
|
+
"a": 1
|
244
|
+
},
|
245
|
+
"hex": "#108043ff"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"name": "green",
|
249
|
+
"rgba": {
|
250
|
+
"r": 0.3137254901960784,
|
251
|
+
"g": 0.7215686274509804,
|
252
|
+
"b": 0.23529411764705882,
|
253
|
+
"a": 1
|
254
|
+
},
|
255
|
+
"hex": "#50b83cff"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"name": "greenLight",
|
259
|
+
"rgba": {
|
260
|
+
"r": 0.7333333333333333,
|
261
|
+
"g": 0.8980392156862745,
|
262
|
+
"b": 0.7019607843137254,
|
263
|
+
"a": 1
|
264
|
+
},
|
265
|
+
"hex": "#bbe5b3ff"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"name": "greenLighter",
|
269
|
+
"rgba": {
|
270
|
+
"r": 0.8901960784313725,
|
271
|
+
"g": 0.9450980392156862,
|
272
|
+
"b": 0.8745098039215686,
|
273
|
+
"a": 1
|
274
|
+
},
|
275
|
+
"hex": "#e3f1dfff"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"name": "yellowText",
|
279
|
+
"rgba": {
|
280
|
+
"r": 0.34901960784313724,
|
281
|
+
"g": 0.3176470588235294,
|
282
|
+
"b": 0.18823529411764706,
|
283
|
+
"a": 1
|
284
|
+
},
|
285
|
+
"hex": "#595130ff"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"name": "yellowDarker",
|
289
|
+
"rgba": {"r": 0.3411764705882353, "g": 0.23137254901960785, "b": 0, "a": 1},
|
290
|
+
"hex": "#573b00ff"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"name": "yellowDark",
|
294
|
+
"rgba": {
|
295
|
+
"r": 0.5411764705882353,
|
296
|
+
"g": 0.3803921568627451,
|
297
|
+
"b": 0.08627450980392157,
|
298
|
+
"a": 1
|
299
|
+
},
|
300
|
+
"hex": "#8a6116ff"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"name": "yellow",
|
304
|
+
"rgba": {"r": 0.9333333333333333, "g": 0.7607843137254902, "b": 0, "a": 1},
|
305
|
+
"hex": "#eec200ff"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"name": "yellowLight",
|
309
|
+
"rgba": {"r": 1, "g": 0.9176470588235294, "b": 0.5411764705882353, "a": 1},
|
310
|
+
"hex": "#ffea8aff"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"name": "yellowLighter",
|
314
|
+
"rgba": {
|
315
|
+
"r": 0.9882352941176471,
|
316
|
+
"g": 0.9450980392156862,
|
317
|
+
"b": 0.803921568627451,
|
318
|
+
"a": 1
|
319
|
+
},
|
320
|
+
"hex": "#fcf1cdff"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"name": "orangeText",
|
324
|
+
"rgba": {
|
325
|
+
"r": 0.34901960784313724,
|
326
|
+
"g": 0.26666666666666666,
|
327
|
+
"b": 0.18823529411764706,
|
328
|
+
"a": 1
|
329
|
+
},
|
330
|
+
"hex": "#594430ff"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"name": "orangeDarker",
|
334
|
+
"rgba": {
|
335
|
+
"r": 0.2901960784313726,
|
336
|
+
"g": 0.08235294117647059,
|
337
|
+
"b": 0.01568627450980392,
|
338
|
+
"a": 1
|
339
|
+
},
|
340
|
+
"hex": "#4a1504ff"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"name": "orangeDark",
|
344
|
+
"rgba": {
|
345
|
+
"r": 0.7529411764705882,
|
346
|
+
"g": 0.3411764705882353,
|
347
|
+
"b": 0.09019607843137255,
|
348
|
+
"a": 1
|
349
|
+
},
|
350
|
+
"hex": "#c05717ff"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"name": "orange",
|
354
|
+
"rgba": {
|
355
|
+
"r": 0.9568627450980393,
|
356
|
+
"g": 0.5764705882352941,
|
357
|
+
"b": 0.25882352941176473,
|
358
|
+
"a": 1
|
359
|
+
},
|
360
|
+
"hex": "#f49342ff"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"name": "orangeLight",
|
364
|
+
"rgba": {"r": 1, "g": 0.7725490196078432, "b": 0.5450980392156862, "a": 1},
|
365
|
+
"hex": "#ffc58bff"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"name": "orangeLighter",
|
369
|
+
"rgba": {
|
370
|
+
"r": 0.9882352941176471,
|
371
|
+
"g": 0.9215686274509803,
|
372
|
+
"b": 0.8588235294117647,
|
373
|
+
"a": 1
|
374
|
+
},
|
375
|
+
"hex": "#fcebdbff"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"name": "redText",
|
379
|
+
"rgba": {
|
380
|
+
"r": 0.34509803921568627,
|
381
|
+
"g": 0.23529411764705882,
|
382
|
+
"b": 0.20784313725490197,
|
383
|
+
"a": 1
|
384
|
+
},
|
385
|
+
"hex": "#583c35ff"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"name": "redDarker",
|
389
|
+
"rgba": {
|
390
|
+
"r": 0.2,
|
391
|
+
"g": 0.00392156862745098,
|
392
|
+
"b": 0.00392156862745098,
|
393
|
+
"a": 1
|
394
|
+
},
|
395
|
+
"hex": "#330101ff"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"name": "redDark",
|
399
|
+
"rgba": {
|
400
|
+
"r": 0.7490196078431373,
|
401
|
+
"g": 0.027450980392156862,
|
402
|
+
"b": 0.06666666666666667,
|
403
|
+
"a": 1
|
404
|
+
},
|
405
|
+
"hex": "#bf0711ff"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"name": "red",
|
409
|
+
"rgba": {
|
410
|
+
"r": 0.8705882352941177,
|
411
|
+
"g": 0.21176470588235294,
|
412
|
+
"b": 0.09411764705882353,
|
413
|
+
"a": 1
|
414
|
+
},
|
415
|
+
"hex": "#de3618ff"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"name": "redLight",
|
419
|
+
"rgba": {
|
420
|
+
"r": 0.996078431372549,
|
421
|
+
"g": 0.6784313725490196,
|
422
|
+
"b": 0.6039215686274509,
|
423
|
+
"a": 1
|
424
|
+
},
|
425
|
+
"hex": "#fead9aff"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"name": "redLighter",
|
429
|
+
"rgba": {
|
430
|
+
"r": 0.984313725490196,
|
431
|
+
"g": 0.9176470588235294,
|
432
|
+
"b": 0.8980392156862745,
|
433
|
+
"a": 1
|
434
|
+
},
|
435
|
+
"hex": "#fbeae5ff"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"name": "ink",
|
439
|
+
"rgba": {
|
440
|
+
"r": 0.12941176470588237,
|
441
|
+
"g": 0.16862745098039217,
|
442
|
+
"b": 0.21176470588235294,
|
443
|
+
"a": 1
|
444
|
+
},
|
445
|
+
"hex": "#212b36ff"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"name": "inkLight",
|
449
|
+
"rgba": {
|
450
|
+
"r": 0.27058823529411763,
|
451
|
+
"g": 0.30980392156862746,
|
452
|
+
"b": 0.3568627450980392,
|
453
|
+
"a": 1
|
454
|
+
},
|
455
|
+
"hex": "#454f5bff"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"name": "inkLighter",
|
459
|
+
"rgba": {
|
460
|
+
"r": 0.38823529411764707,
|
461
|
+
"g": 0.45098039215686275,
|
462
|
+
"b": 0.5058823529411764,
|
463
|
+
"a": 1
|
464
|
+
},
|
465
|
+
"hex": "#637381ff"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"name": "inkLightest",
|
469
|
+
"rgba": {
|
470
|
+
"r": 0.5686274509803921,
|
471
|
+
"g": 0.6196078431372549,
|
472
|
+
"b": 0.6705882352941176,
|
473
|
+
"a": 1
|
474
|
+
},
|
475
|
+
"hex": "#919eabff"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"name": "skyDark",
|
479
|
+
"rgba": {
|
480
|
+
"r": 0.7686274509803922,
|
481
|
+
"g": 0.803921568627451,
|
482
|
+
"b": 0.8352941176470589,
|
483
|
+
"a": 1
|
484
|
+
},
|
485
|
+
"hex": "#c4cdd5ff"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"name": "sky",
|
489
|
+
"rgba": {
|
490
|
+
"r": 0.8745098039215686,
|
491
|
+
"g": 0.8901960784313725,
|
492
|
+
"b": 0.9098039215686274,
|
493
|
+
"a": 1
|
494
|
+
},
|
495
|
+
"hex": "#dfe3e8ff"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"name": "skyLight",
|
499
|
+
"rgba": {
|
500
|
+
"r": 0.9568627450980393,
|
501
|
+
"g": 0.9647058823529412,
|
502
|
+
"b": 0.9725490196078431,
|
503
|
+
"a": 1
|
504
|
+
},
|
505
|
+
"hex": "#f4f6f8ff"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"name": "skyLighter",
|
509
|
+
"rgba": {
|
510
|
+
"r": 0.9764705882352941,
|
511
|
+
"g": 0.9803921568627451,
|
512
|
+
"b": 0.984313725490196,
|
513
|
+
"a": 1
|
514
|
+
},
|
515
|
+
"hex": "#f9fafbff"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"name": "black",
|
519
|
+
"rgba": {"r": 0, "g": 0, "b": 0, "a": 1},
|
520
|
+
"hex": "#000000ff"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"name": "white",
|
524
|
+
"rgba": {"r": 1, "g": 1, "b": 1, "a": 1},
|
525
|
+
"hex": "#ffffffff"
|
526
|
+
}
|
527
|
+
]
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@shopify/polaris-tokens",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.7.0",
|
4
4
|
"description": "Design Tokens for the Polaris Design System",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -8,7 +8,6 @@
|
|
8
8
|
"test": "sewing-kit test",
|
9
9
|
"test-watch": "nodemon --exec 'npm-run-all dist test' --watch ./tokens --watch ./formats --watch ./gulpfile.js --watch ./scripts",
|
10
10
|
"clean": "rimraf ./dist",
|
11
|
-
"get-tokens-from-invision-dsm": "node ./scripts/get-tokens-from-invision-dsm.js",
|
12
11
|
"predist": "yarn clean",
|
13
12
|
"dist": "npm-run-all dist:**",
|
14
13
|
"dist-ci": "npm-run-all dist:* dist:*:*",
|
@@ -54,33 +53,27 @@
|
|
54
53
|
},
|
55
54
|
"homepage": "https://github.com/Shopify/polaris-tokens#readme",
|
56
55
|
"devDependencies": {
|
57
|
-
"@shopify/sewing-kit": "^0.
|
58
|
-
"ase-util": "^1.0.
|
56
|
+
"@shopify/sewing-kit": "^0.106.1",
|
57
|
+
"ase-util": "^1.0.3",
|
59
58
|
"ase-utils": "^0.1.1",
|
60
|
-
"browser-sync": "^2.26.
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"gray-matter": "^4.0.1",
|
64
|
-
"gulp": "^3.9.1",
|
65
|
-
"gulp-load-plugins": "^1.5.0",
|
59
|
+
"browser-sync": "^2.26.7",
|
60
|
+
"gulp": "^4.0.2",
|
61
|
+
"gulp-load-plugins": "^2.0.1",
|
66
62
|
"gulp-plumber": "^1.2.1",
|
67
63
|
"gulp-rename": "^1.4.0",
|
68
64
|
"gulp-restart": "^0.1.1",
|
69
65
|
"gulp-sass": "^4.0.2",
|
70
|
-
"gulp-sourcemaps": "^2.6.
|
66
|
+
"gulp-sourcemaps": "^2.6.5",
|
71
67
|
"gulp-theo": "^2.0.0",
|
72
68
|
"http-server": "^0.11.1",
|
73
69
|
"immutable": "^3.8.2",
|
74
|
-
"
|
75
|
-
"
|
76
|
-
"
|
77
|
-
"node-fetch": "^2.3.0",
|
78
|
-
"nodemon": "^1.18.9",
|
70
|
+
"lodash": "^4.17.15",
|
71
|
+
"ms": "^2.1.2",
|
72
|
+
"nodemon": "^1.19.2",
|
79
73
|
"npm-run-all": "^4.1.5",
|
80
|
-
"renamer": "^1.1.
|
81
|
-
"rimraf": "^
|
82
|
-
"
|
83
|
-
"theo": "8.1.1",
|
74
|
+
"renamer": "^1.1.3",
|
75
|
+
"rimraf": "^3.0.0",
|
76
|
+
"theo": "8.1.4",
|
84
77
|
"tinycolor2": "^1.4.1",
|
85
78
|
"xml": "^1.0.1"
|
86
79
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polaris_tokens
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Design Tokens for the Polaris Design System
|
14
14
|
email:
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- dist/colors.color-map.scss
|
35
35
|
- dist/colors.common.js
|
36
36
|
- dist/colors.custom-properties.css
|
37
|
+
- dist/colors.ios.json
|
37
38
|
- dist/colors.json
|
38
39
|
- dist/colors.map.scss
|
39
40
|
- dist/colors.raw.json
|
@@ -91,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
- !ruby/object:Gem::Version
|
92
93
|
version: '0'
|
93
94
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.7.6
|
95
|
+
rubygems_version: 3.0.3
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Design Tokens for the Polaris Design System
|