@wistia/vhs-design-tokens 1.5.0 → 1.5.1-beta.25608ee5.5f8a5b7
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/dist/css/design-tokens.css +73 -66
- package/dist/js/colorMetadata.js +662 -633
- package/dist/js/designTokens.js +73 -50
- package/dist/scss/_design-tokens.scss +73 -66
- package/index.d.ts +26 -28
- package/package.json +8 -8
package/dist/js/designTokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Feb 2024 14:20:51 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -12,30 +12,30 @@ module.exports = {
|
|
|
12
12
|
xl: '90em',
|
|
13
13
|
},
|
|
14
14
|
color: {
|
|
15
|
-
brandBlue100: '#
|
|
16
|
-
brandBlue200: '#
|
|
17
|
-
brandBlue300: '#
|
|
18
|
-
brandBlue400: '#
|
|
19
|
-
brandBlue500: '#
|
|
20
|
-
brandBlue600: '#
|
|
21
|
-
brandBlue700: '#
|
|
22
|
-
brandBlue800: '#
|
|
23
|
-
purple100: '#
|
|
24
|
-
purple200: '#
|
|
25
|
-
purple300: '#
|
|
26
|
-
purple400: '#
|
|
27
|
-
purple500: '#
|
|
28
|
-
purple600: '#
|
|
29
|
-
purple700: '#
|
|
30
|
-
purple800: '#
|
|
31
|
-
green100: '#
|
|
32
|
-
green200: '#
|
|
33
|
-
green300: '#
|
|
34
|
-
green400: '#
|
|
35
|
-
green500: '#
|
|
36
|
-
green600: '#
|
|
37
|
-
green700: '#
|
|
38
|
-
green800: '#
|
|
15
|
+
brandBlue100: '#f7f8ff',
|
|
16
|
+
brandBlue200: '#ccd5ff',
|
|
17
|
+
brandBlue300: '#99abff',
|
|
18
|
+
brandBlue400: '#6b84ff',
|
|
19
|
+
brandBlue500: '#2949e5',
|
|
20
|
+
brandBlue600: '#1f3399',
|
|
21
|
+
brandBlue700: '#222d66',
|
|
22
|
+
brandBlue800: '#000934',
|
|
23
|
+
purple100: '#fdf7ff',
|
|
24
|
+
purple200: '#f9e5ff',
|
|
25
|
+
purple300: '#f2caff',
|
|
26
|
+
purple400: '#e093fa',
|
|
27
|
+
purple500: '#d65cff',
|
|
28
|
+
purple600: '#ac12e0',
|
|
29
|
+
purple700: '#752e8c',
|
|
30
|
+
purple800: '#39004d',
|
|
31
|
+
green100: '#f4fff2',
|
|
32
|
+
green200: '#dfffd9',
|
|
33
|
+
green300: '#b0e5a5',
|
|
34
|
+
green400: '#76d962',
|
|
35
|
+
green500: '#44b62d',
|
|
36
|
+
green600: '#268713',
|
|
37
|
+
green700: '#38662e',
|
|
38
|
+
green800: '#093300',
|
|
39
39
|
blue100: '#e9f5ff',
|
|
40
40
|
blue200: '#c7e7ff',
|
|
41
41
|
blue300: '#91ceff',
|
|
@@ -44,30 +44,30 @@ module.exports = {
|
|
|
44
44
|
blue600: '#1b7fde',
|
|
45
45
|
blue700: '#165fac',
|
|
46
46
|
blue800: '#0d407a',
|
|
47
|
-
pink100: '#
|
|
48
|
-
pink200: '#
|
|
49
|
-
pink300: '#
|
|
50
|
-
pink400: '#
|
|
51
|
-
pink500: '#
|
|
52
|
-
pink600: '#
|
|
53
|
-
pink700: '#
|
|
54
|
-
pink800: '#
|
|
55
|
-
red100: '#
|
|
56
|
-
red200: '#
|
|
57
|
-
red300: '#
|
|
58
|
-
red400: '#
|
|
59
|
-
red500: '#
|
|
60
|
-
red600: '#
|
|
61
|
-
red700: '#
|
|
62
|
-
red800: '#
|
|
63
|
-
yellow100: '#
|
|
64
|
-
yellow200: '#
|
|
65
|
-
yellow300: '#
|
|
66
|
-
yellow400: '#
|
|
67
|
-
yellow500: '#
|
|
68
|
-
yellow600: '#
|
|
69
|
-
yellow700: '#
|
|
70
|
-
yellow800: '#
|
|
47
|
+
pink100: '#fff8fc',
|
|
48
|
+
pink200: '#ffe5f4',
|
|
49
|
+
pink300: '#ffc7e8',
|
|
50
|
+
pink400: '#ff8cd0',
|
|
51
|
+
pink500: '#ff40b3',
|
|
52
|
+
pink600: '#e0128e',
|
|
53
|
+
pink700: '#661f4a',
|
|
54
|
+
pink800: '#4d002e',
|
|
55
|
+
red100: '#fff7f9',
|
|
56
|
+
red200: '#ffccd5',
|
|
57
|
+
red300: '#ff99ab',
|
|
58
|
+
red400: '#ff6682',
|
|
59
|
+
red500: '#ff2b51',
|
|
60
|
+
red600: '#d60027',
|
|
61
|
+
red700: '#99001c',
|
|
62
|
+
red800: '#660013',
|
|
63
|
+
yellow100: '#fffff0',
|
|
64
|
+
yellow200: '#eff18d',
|
|
65
|
+
yellow300: '#e8ec1e',
|
|
66
|
+
yellow400: '#d9dc25',
|
|
67
|
+
yellow500: '#bcbf19',
|
|
68
|
+
yellow600: '#9ea00f',
|
|
69
|
+
yellow700: '#7c7e07',
|
|
70
|
+
yellow800: '#4a4d00',
|
|
71
71
|
grey100: '#f8f8f9',
|
|
72
72
|
grey200: '#ebebed',
|
|
73
73
|
grey300: '#dedee1',
|
|
@@ -79,7 +79,30 @@ module.exports = {
|
|
|
79
79
|
grey900: '#37373c',
|
|
80
80
|
grey1000: '#1f1f22',
|
|
81
81
|
grey1100: '#0b0d0e',
|
|
82
|
-
|
|
82
|
+
error100: '#ffecec',
|
|
83
|
+
error200: '#ffcaca',
|
|
84
|
+
error300: '#ff9a9a',
|
|
85
|
+
error400: '#ff6962',
|
|
86
|
+
error500: '#fa4040',
|
|
87
|
+
error600: '#d63727',
|
|
88
|
+
error700: '#aa0d15',
|
|
89
|
+
error800: '#860011',
|
|
90
|
+
success100: '#e6f9f3',
|
|
91
|
+
success200: '#bfefe0',
|
|
92
|
+
success300: '#81e0c1',
|
|
93
|
+
success400: '#41d0a3',
|
|
94
|
+
success500: '#00c185',
|
|
95
|
+
success600: '#00966e',
|
|
96
|
+
success700: '#047063',
|
|
97
|
+
success800: '#025050',
|
|
98
|
+
warning100: '#fff8e6',
|
|
99
|
+
warning200: '#ffefc8',
|
|
100
|
+
warning300: '#ffdf96',
|
|
101
|
+
warning400: '#ffce5a',
|
|
102
|
+
warning500: '#fabe1f',
|
|
103
|
+
warning600: '#dc9601',
|
|
104
|
+
warning700: '#be7200',
|
|
105
|
+
warning800: '#b45101',
|
|
83
106
|
},
|
|
84
107
|
duration: {
|
|
85
108
|
productive: {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Mon, 12 Feb 2024 14:20:51 GMT
|
|
4
4
|
|
|
5
5
|
$breakpoint-xs: 0em;
|
|
6
6
|
$breakpoint-sm: 37.5em;
|
|
7
7
|
$breakpoint-md: 56.5625em;
|
|
8
8
|
$breakpoint-lg: 77.5em;
|
|
9
9
|
$breakpoint-xl: 90em;
|
|
10
|
-
$color-brand-blue-100: #
|
|
11
|
-
$color-brand-blue-200: #
|
|
12
|
-
$color-brand-blue-300: #
|
|
13
|
-
$color-brand-blue-400: #
|
|
14
|
-
$color-brand-blue-500: #
|
|
15
|
-
$color-brand-blue-600: #
|
|
16
|
-
$color-brand-blue-700: #
|
|
17
|
-
$color-brand-blue-800: #
|
|
18
|
-
$color-purple-100: #
|
|
19
|
-
$color-purple-200: #
|
|
20
|
-
$color-purple-300: #
|
|
21
|
-
$color-purple-400: #
|
|
22
|
-
$color-purple-500: #
|
|
23
|
-
$color-purple-600: #
|
|
24
|
-
$color-purple-700: #
|
|
25
|
-
$color-purple-800: #
|
|
26
|
-
$color-green-100: #
|
|
27
|
-
$color-green-200: #
|
|
28
|
-
$color-green-300: #
|
|
29
|
-
$color-green-400: #
|
|
30
|
-
$color-green-500: #
|
|
31
|
-
$color-green-600: #
|
|
32
|
-
$color-green-700: #
|
|
33
|
-
$color-green-800: #
|
|
10
|
+
$color-brand-blue-100: #f7f8ff;
|
|
11
|
+
$color-brand-blue-200: #ccd5ff;
|
|
12
|
+
$color-brand-blue-300: #99abff;
|
|
13
|
+
$color-brand-blue-400: #6b84ff;
|
|
14
|
+
$color-brand-blue-500: #2949e5;
|
|
15
|
+
$color-brand-blue-600: #1f3399;
|
|
16
|
+
$color-brand-blue-700: #222d66;
|
|
17
|
+
$color-brand-blue-800: #000934;
|
|
18
|
+
$color-purple-100: #fdf7ff;
|
|
19
|
+
$color-purple-200: #f9e5ff;
|
|
20
|
+
$color-purple-300: #f2caff;
|
|
21
|
+
$color-purple-400: #e093fa;
|
|
22
|
+
$color-purple-500: #d65cff;
|
|
23
|
+
$color-purple-600: #ac12e0;
|
|
24
|
+
$color-purple-700: #752e8c;
|
|
25
|
+
$color-purple-800: #39004d;
|
|
26
|
+
$color-green-100: #f4fff2;
|
|
27
|
+
$color-green-200: #dfffd9;
|
|
28
|
+
$color-green-300: #b0e5a5;
|
|
29
|
+
$color-green-400: #76d962;
|
|
30
|
+
$color-green-500: #44b62d;
|
|
31
|
+
$color-green-600: #268713;
|
|
32
|
+
$color-green-700: #38662e;
|
|
33
|
+
$color-green-800: #093300;
|
|
34
34
|
$color-blue-100: #e9f5ff;
|
|
35
35
|
$color-blue-200: #c7e7ff;
|
|
36
36
|
$color-blue-300: #91ceff;
|
|
@@ -39,30 +39,30 @@ $color-blue-500: #229fff;
|
|
|
39
39
|
$color-blue-600: #1b7fde;
|
|
40
40
|
$color-blue-700: #165fac;
|
|
41
41
|
$color-blue-800: #0d407a;
|
|
42
|
-
$color-pink-100: #
|
|
43
|
-
$color-pink-200: #
|
|
44
|
-
$color-pink-300: #
|
|
45
|
-
$color-pink-400: #
|
|
46
|
-
$color-pink-500: #
|
|
47
|
-
$color-pink-600: #
|
|
48
|
-
$color-pink-700: #
|
|
49
|
-
$color-pink-800: #
|
|
50
|
-
$color-red-100: #
|
|
51
|
-
$color-red-200: #
|
|
52
|
-
$color-red-300: #
|
|
53
|
-
$color-red-400: #
|
|
54
|
-
$color-red-500: #
|
|
55
|
-
$color-red-600: #
|
|
56
|
-
$color-red-700: #
|
|
57
|
-
$color-red-800: #
|
|
58
|
-
$color-yellow-100: #
|
|
59
|
-
$color-yellow-200: #
|
|
60
|
-
$color-yellow-300: #
|
|
61
|
-
$color-yellow-400: #
|
|
62
|
-
$color-yellow-500: #
|
|
63
|
-
$color-yellow-600: #
|
|
64
|
-
$color-yellow-700: #
|
|
65
|
-
$color-yellow-800: #
|
|
42
|
+
$color-pink-100: #fff8fc;
|
|
43
|
+
$color-pink-200: #ffe5f4;
|
|
44
|
+
$color-pink-300: #ffc7e8;
|
|
45
|
+
$color-pink-400: #ff8cd0;
|
|
46
|
+
$color-pink-500: #ff40b3;
|
|
47
|
+
$color-pink-600: #e0128e;
|
|
48
|
+
$color-pink-700: #661f4a;
|
|
49
|
+
$color-pink-800: #4d002e;
|
|
50
|
+
$color-red-100: #fff7f9;
|
|
51
|
+
$color-red-200: #ffccd5;
|
|
52
|
+
$color-red-300: #ff99ab;
|
|
53
|
+
$color-red-400: #ff6682;
|
|
54
|
+
$color-red-500: #ff2b51;
|
|
55
|
+
$color-red-600: #d60027;
|
|
56
|
+
$color-red-700: #99001c;
|
|
57
|
+
$color-red-800: #660013;
|
|
58
|
+
$color-yellow-100: #fffff0;
|
|
59
|
+
$color-yellow-200: #eff18d;
|
|
60
|
+
$color-yellow-300: #e8ec1e;
|
|
61
|
+
$color-yellow-400: #d9dc25;
|
|
62
|
+
$color-yellow-500: #bcbf19;
|
|
63
|
+
$color-yellow-600: #9ea00f;
|
|
64
|
+
$color-yellow-700: #7c7e07;
|
|
65
|
+
$color-yellow-800: #4a4d00;
|
|
66
66
|
$color-grey-100: #f8f8f9;
|
|
67
67
|
$color-grey-200: #ebebed;
|
|
68
68
|
$color-grey-300: #dedee1;
|
|
@@ -74,23 +74,30 @@ $color-grey-800: #4a4a51;
|
|
|
74
74
|
$color-grey-900: #37373c;
|
|
75
75
|
$color-grey-1000: #1f1f22;
|
|
76
76
|
$color-grey-1100: #0b0d0e;
|
|
77
|
-
$color-
|
|
78
|
-
$color-
|
|
79
|
-
$color-
|
|
80
|
-
$color-
|
|
81
|
-
$color-
|
|
82
|
-
$color-
|
|
83
|
-
$color-
|
|
84
|
-
$color-
|
|
85
|
-
$color-
|
|
86
|
-
$color-
|
|
87
|
-
$color-
|
|
88
|
-
$color-
|
|
89
|
-
$color-
|
|
90
|
-
$color-
|
|
91
|
-
$color-
|
|
92
|
-
$color-
|
|
93
|
-
$color-
|
|
77
|
+
$color-error-100: #ffecec;
|
|
78
|
+
$color-error-200: #ffcaca;
|
|
79
|
+
$color-error-300: #ff9a9a;
|
|
80
|
+
$color-error-400: #ff6962;
|
|
81
|
+
$color-error-500: #fa4040;
|
|
82
|
+
$color-error-600: #d63727;
|
|
83
|
+
$color-error-700: #aa0d15;
|
|
84
|
+
$color-error-800: #860011;
|
|
85
|
+
$color-success-100: #e6f9f3;
|
|
86
|
+
$color-success-200: #bfefe0;
|
|
87
|
+
$color-success-300: #81e0c1;
|
|
88
|
+
$color-success-400: #41d0a3;
|
|
89
|
+
$color-success-500: #00c185;
|
|
90
|
+
$color-success-600: #00966e;
|
|
91
|
+
$color-success-700: #047063;
|
|
92
|
+
$color-success-800: #025050;
|
|
93
|
+
$color-warning-100: #fff8e6;
|
|
94
|
+
$color-warning-200: #ffefc8;
|
|
95
|
+
$color-warning-300: #ffdf96;
|
|
96
|
+
$color-warning-400: #ffce5a;
|
|
97
|
+
$color-warning-500: #fabe1f;
|
|
98
|
+
$color-warning-600: #dc9601;
|
|
99
|
+
$color-warning-700: #be7200;
|
|
100
|
+
$color-warning-800: #b45101;
|
|
94
101
|
$duration-productive-fast: 70ms;
|
|
95
102
|
$duration-productive-moderate: 110ms;
|
|
96
103
|
$duration-productive-slow: 150ms;
|
package/index.d.ts
CHANGED
|
@@ -132,34 +132,32 @@ declare module '@wistia/vhs-design-tokens' {
|
|
|
132
132
|
readonly grey1000: CSSHexString;
|
|
133
133
|
readonly grey1100: CSSHexString;
|
|
134
134
|
|
|
135
|
-
readonly
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
success800: CSSHexString;
|
|
162
|
-
};
|
|
135
|
+
readonly error100: CSSHexString;
|
|
136
|
+
readonly error200: CSSHexString;
|
|
137
|
+
readonly error300: CSSHexString;
|
|
138
|
+
readonly error400: CSSHexString;
|
|
139
|
+
readonly error500: CSSHexString;
|
|
140
|
+
readonly error600: CSSHexString;
|
|
141
|
+
readonly error700: CSSHexString;
|
|
142
|
+
readonly error800: CSSHexString;
|
|
143
|
+
|
|
144
|
+
readonly warning100: CSSHexString;
|
|
145
|
+
readonly warning200: CSSHexString;
|
|
146
|
+
readonly warning300: CSSHexString;
|
|
147
|
+
readonly warning400: CSSHexString;
|
|
148
|
+
readonly warning500: CSSHexString;
|
|
149
|
+
readonly warning600: CSSHexString;
|
|
150
|
+
readonly warning700: CSSHexString;
|
|
151
|
+
readonly warning800: CSSHexString;
|
|
152
|
+
|
|
153
|
+
readonly success100: CSSHexString;
|
|
154
|
+
readonly success200: CSSHexString;
|
|
155
|
+
readonly success300: CSSHexString;
|
|
156
|
+
readonly success400: CSSHexString;
|
|
157
|
+
readonly success500: CSSHexString;
|
|
158
|
+
readonly success600: CSSHexString;
|
|
159
|
+
readonly success700: CSSHexString;
|
|
160
|
+
readonly success800: CSSHexString;
|
|
163
161
|
}
|
|
164
162
|
|
|
165
163
|
export type FontWeightNumbers = 1 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs-design-tokens",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1-beta.25608ee5.5f8a5b7",
|
|
4
4
|
"description": "VHS design tokens",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"@karibash/pixel-units": "^2.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@commitlint/cli": "^18.
|
|
30
|
-
"@commitlint/config-conventional": "^18.
|
|
31
|
-
"@wistia/eslint-config": "^0.
|
|
32
|
-
"eslint": "^8.
|
|
33
|
-
"husky": "^
|
|
29
|
+
"@commitlint/cli": "^18.6.0",
|
|
30
|
+
"@commitlint/config-conventional": "^18.6.0",
|
|
31
|
+
"@wistia/eslint-config": "^0.30.0",
|
|
32
|
+
"eslint": "^8.56.0",
|
|
33
|
+
"husky": "^9.0.10",
|
|
34
34
|
"js-yaml": "^4.1.0",
|
|
35
35
|
"onchange": "^7.1.0",
|
|
36
36
|
"prettier": "^2.8.8",
|
|
37
|
-
"style-dictionary": "^3.
|
|
37
|
+
"style-dictionary": "^3.9.2"
|
|
38
38
|
},
|
|
39
39
|
"author": "Wistia Engineering",
|
|
40
40
|
"license": "UNLICENSED",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"url": "https://github.com/wistia/vhs-design-tokens/issues"
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://github.com/wistia/vhs-design-tokens#readme",
|
|
49
|
-
"packageManager": "yarn@4.0.
|
|
49
|
+
"packageManager": "yarn@4.0.2"
|
|
50
50
|
}
|