polaris_tokens 2.4.0 → 2.5.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 +1 -1
- data/dist/duration.common.js +8 -0
- data/dist/duration.custom-properties.css +8 -0
- data/dist/duration.json +8 -0
- data/dist/duration.map.scss +20 -0
- data/dist/duration.raw.json +47 -0
- data/dist/duration.scss +6 -0
- data/dist/index.common.js +6 -0
- data/dist/index.custom-properties.css +6 -0
- data/dist/index.d.ts +6 -0
- data/dist/index.json +6 -0
- data/dist/index.map.scss +18 -0
- data/dist/index.raw.json +42 -0
- data/dist/index.scss +6 -0
- data/package.json +2 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937cabaf19f0f3d19205c5a75f52e9c9557358401843f25baddbbeea783a52cd
|
4
|
+
data.tar.gz: 476a9fa82bf637f27cc05682ed140e3d6da0582e6d632ca37e6cc8d63b21942f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f06999197c7e4a2af826c1638fc828a0bab73e0c698fad9f90dc3d8865f5cc1557664cd1ed80ce97a4c89734caa7b2cb56c2aff4ad7b53e1388f3d72086f8fd
|
7
|
+
data.tar.gz: d644981d826696dedb395d0f8b98c5f444a222e9af63f059c25d1bc796344e485e2c48784ac343689709ee5364930915b16c38d1159a77c44ea9361bc7822096
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<img src="https://user-images.githubusercontent.com/85783/39013335-ebf76f5e-43cb-11e8-81f2-706259125897.png" alt="" align="center" />
|
4
4
|
|
5
|
-
<h3 align="center">Colors, spacing, typography for all platforms</h3>
|
5
|
+
<h3 align="center">Colors, spacing, animation, and typography for all platforms</h3>
|
6
6
|
|
7
7
|
<p align="center"><em>JavaScript · JSON · CSS · SCSS · Android · Sketch · macOS · Adobe Swatch</em></p>
|
8
8
|
|
data/dist/duration.json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
$polaris-duration-map: (
|
2
|
+
'duration-none': (
|
3
|
+
0,
|
4
|
+
),
|
5
|
+
'duration-fast': (
|
6
|
+
100ms,
|
7
|
+
),
|
8
|
+
'duration-base': (
|
9
|
+
200ms,
|
10
|
+
),
|
11
|
+
'duration-slow': (
|
12
|
+
300ms,
|
13
|
+
),
|
14
|
+
'duration-slower': (
|
15
|
+
400ms,
|
16
|
+
),
|
17
|
+
'duration-slowest': (
|
18
|
+
500ms,
|
19
|
+
),
|
20
|
+
);
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"aliases": {},
|
3
|
+
"props": {
|
4
|
+
"duration-none": {
|
5
|
+
"type": "time",
|
6
|
+
"category": "time",
|
7
|
+
"name": "duration-none",
|
8
|
+
"value": 0,
|
9
|
+
"originalValue": 0
|
10
|
+
},
|
11
|
+
"duration-fast": {
|
12
|
+
"type": "time",
|
13
|
+
"category": "time",
|
14
|
+
"name": "duration-fast",
|
15
|
+
"value": "100ms",
|
16
|
+
"originalValue": "100ms"
|
17
|
+
},
|
18
|
+
"duration-base": {
|
19
|
+
"type": "time",
|
20
|
+
"category": "time",
|
21
|
+
"name": "duration-base",
|
22
|
+
"value": "200ms",
|
23
|
+
"originalValue": "200ms"
|
24
|
+
},
|
25
|
+
"duration-slow": {
|
26
|
+
"type": "time",
|
27
|
+
"category": "time",
|
28
|
+
"name": "duration-slow",
|
29
|
+
"value": "300ms",
|
30
|
+
"originalValue": "300ms"
|
31
|
+
},
|
32
|
+
"duration-slower": {
|
33
|
+
"type": "time",
|
34
|
+
"category": "time",
|
35
|
+
"name": "duration-slower",
|
36
|
+
"value": "400ms",
|
37
|
+
"originalValue": "400ms"
|
38
|
+
},
|
39
|
+
"duration-slowest": {
|
40
|
+
"type": "time",
|
41
|
+
"category": "time",
|
42
|
+
"name": "duration-slowest",
|
43
|
+
"value": "500ms",
|
44
|
+
"originalValue": "500ms"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
data/dist/duration.scss
ADDED
data/dist/index.common.js
CHANGED
@@ -57,6 +57,12 @@ module.exports = {
|
|
57
57
|
colorSkyLighter: 'rgb(249, 250, 251)',
|
58
58
|
colorBlack: 'rgb(0, 0, 0)',
|
59
59
|
colorWhite: 'rgb(255, 255, 255)',
|
60
|
+
durationNone: 0,
|
61
|
+
durationFast: 100,
|
62
|
+
durationBase: 200,
|
63
|
+
durationSlow: 300,
|
64
|
+
durationSlower: 400,
|
65
|
+
durationSlowest: 500,
|
60
66
|
spacingNone: 0,
|
61
67
|
spacingExtraTight: '4px',
|
62
68
|
spacingTight: '8px',
|
@@ -57,6 +57,12 @@
|
|
57
57
|
--color-sky-lighter: rgb(249, 250, 251);
|
58
58
|
--color-black: rgb(0, 0, 0);
|
59
59
|
--color-white: rgb(255, 255, 255);
|
60
|
+
--duration-none: 0;
|
61
|
+
--duration-fast: 100ms;
|
62
|
+
--duration-base: 200ms;
|
63
|
+
--duration-slow: 300ms;
|
64
|
+
--duration-slower: 400ms;
|
65
|
+
--duration-slowest: 500ms;
|
60
66
|
--spacing-none: 0;
|
61
67
|
--spacing-extra-tight: 4px;
|
62
68
|
--spacing-tight: 8px;
|
data/dist/index.d.ts
CHANGED
@@ -57,6 +57,12 @@ declare interface Tokens {
|
|
57
57
|
colorYellowLight: "rgb(255, 234, 138)";
|
58
58
|
colorYellowLighter: "rgb(252, 241, 205)";
|
59
59
|
colorYellowText: "rgb(89, 81, 48)";
|
60
|
+
durationBase: 200;
|
61
|
+
durationFast: 100;
|
62
|
+
durationNone: 0;
|
63
|
+
durationSlow: 300;
|
64
|
+
durationSlower: 400;
|
65
|
+
durationSlowest: 500;
|
60
66
|
fontStackBase: "-apple-system, BlinkMacSystemFont, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif";
|
61
67
|
fontStackMonospace: "Monaco, Consolas, 'Lucida Console', monospace";
|
62
68
|
spacingBase: "16px";
|
data/dist/index.json
CHANGED
@@ -57,6 +57,12 @@
|
|
57
57
|
"color-sky-lighter": "rgb(249, 250, 251)",
|
58
58
|
"color-black": "rgb(0, 0, 0)",
|
59
59
|
"color-white": "rgb(255, 255, 255)",
|
60
|
+
"duration-none": 0,
|
61
|
+
"duration-fast": 100,
|
62
|
+
"duration-base": 200,
|
63
|
+
"duration-slow": 300,
|
64
|
+
"duration-slower": 400,
|
65
|
+
"duration-slowest": 500,
|
60
66
|
"spacing-none": 0,
|
61
67
|
"spacing-extra-tight": "4px",
|
62
68
|
"spacing-tight": "8px",
|
data/dist/index.map.scss
CHANGED
@@ -173,6 +173,24 @@ $polaris-index-map: (
|
|
173
173
|
'color-white': (
|
174
174
|
rgb(255, 255, 255),
|
175
175
|
),
|
176
|
+
'duration-none': (
|
177
|
+
0,
|
178
|
+
),
|
179
|
+
'duration-fast': (
|
180
|
+
100ms,
|
181
|
+
),
|
182
|
+
'duration-base': (
|
183
|
+
200ms,
|
184
|
+
),
|
185
|
+
'duration-slow': (
|
186
|
+
300ms,
|
187
|
+
),
|
188
|
+
'duration-slower': (
|
189
|
+
400ms,
|
190
|
+
),
|
191
|
+
'duration-slowest': (
|
192
|
+
500ms,
|
193
|
+
),
|
176
194
|
'spacing-none': (
|
177
195
|
0,
|
178
196
|
),
|
data/dist/index.raw.json
CHANGED
@@ -582,6 +582,48 @@
|
|
582
582
|
"value": "rgb(255, 255, 255)",
|
583
583
|
"originalValue": "{!color-white}"
|
584
584
|
},
|
585
|
+
"duration-none": {
|
586
|
+
"type": "time",
|
587
|
+
"category": "time",
|
588
|
+
"name": "duration-none",
|
589
|
+
"value": 0,
|
590
|
+
"originalValue": 0
|
591
|
+
},
|
592
|
+
"duration-fast": {
|
593
|
+
"type": "time",
|
594
|
+
"category": "time",
|
595
|
+
"name": "duration-fast",
|
596
|
+
"value": "100ms",
|
597
|
+
"originalValue": "100ms"
|
598
|
+
},
|
599
|
+
"duration-base": {
|
600
|
+
"type": "time",
|
601
|
+
"category": "time",
|
602
|
+
"name": "duration-base",
|
603
|
+
"value": "200ms",
|
604
|
+
"originalValue": "200ms"
|
605
|
+
},
|
606
|
+
"duration-slow": {
|
607
|
+
"type": "time",
|
608
|
+
"category": "time",
|
609
|
+
"name": "duration-slow",
|
610
|
+
"value": "300ms",
|
611
|
+
"originalValue": "300ms"
|
612
|
+
},
|
613
|
+
"duration-slower": {
|
614
|
+
"type": "time",
|
615
|
+
"category": "time",
|
616
|
+
"name": "duration-slower",
|
617
|
+
"value": "400ms",
|
618
|
+
"originalValue": "400ms"
|
619
|
+
},
|
620
|
+
"duration-slowest": {
|
621
|
+
"type": "time",
|
622
|
+
"category": "time",
|
623
|
+
"name": "duration-slowest",
|
624
|
+
"value": "500ms",
|
625
|
+
"originalValue": "500ms"
|
626
|
+
},
|
585
627
|
"spacing-none": {
|
586
628
|
"type": "number",
|
587
629
|
"category": "spacing",
|
data/dist/index.scss
CHANGED
@@ -56,6 +56,12 @@ $color-sky-light: rgb(244, 246, 248);
|
|
56
56
|
$color-sky-lighter: rgb(249, 250, 251);
|
57
57
|
$color-black: rgb(0, 0, 0);
|
58
58
|
$color-white: rgb(255, 255, 255);
|
59
|
+
$duration-none: 0;
|
60
|
+
$duration-fast: 100ms;
|
61
|
+
$duration-base: 200ms;
|
62
|
+
$duration-slow: 300ms;
|
63
|
+
$duration-slower: 400ms;
|
64
|
+
$duration-slowest: 500ms;
|
59
65
|
$spacing-none: 0;
|
60
66
|
$spacing-extra-tight: 4px;
|
61
67
|
$spacing-tight: 8px;
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@shopify/polaris-tokens",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.5.0",
|
4
4
|
"description": "Design Tokens for the Polaris Design System",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -73,6 +73,7 @@
|
|
73
73
|
"immutable": "^3.8.2",
|
74
74
|
"js-yaml": "^3.12.1",
|
75
75
|
"lodash": "^4.17.11",
|
76
|
+
"ms": "^2.1.1",
|
76
77
|
"node-fetch": "^2.3.0",
|
77
78
|
"nodemon": "^1.18.9",
|
78
79
|
"npm-run-all": "^4.1.5",
|
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.5.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-04-
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Design Tokens for the Polaris Design System
|
14
14
|
email:
|
@@ -38,6 +38,12 @@ files:
|
|
38
38
|
- dist/colors.map.scss
|
39
39
|
- dist/colors.raw.json
|
40
40
|
- dist/colors.scss
|
41
|
+
- dist/duration.common.js
|
42
|
+
- dist/duration.custom-properties.css
|
43
|
+
- dist/duration.json
|
44
|
+
- dist/duration.map.scss
|
45
|
+
- dist/duration.raw.json
|
46
|
+
- dist/duration.scss
|
41
47
|
- dist/index.common.js
|
42
48
|
- dist/index.custom-properties.css
|
43
49
|
- dist/index.d.ts
|