@wistia/vhs-design-tokens 1.3.2 → 1.4.0-beta.21e6bd69.c268332
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 25 Aug 2023 19:31:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
--font-weight-extra-bold: 800;
|
|
101
101
|
--font-size-default: 16px;
|
|
102
102
|
--font-size-small: 14px;
|
|
103
|
+
--shadow-elevation0: none;
|
|
103
104
|
--shadow-elevation1: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
104
105
|
--shadow-elevation2: 0 0 64px 0 rgba(0, 0, 0, 0.08);
|
|
105
106
|
--spacing-space01: 4px;
|
package/dist/js/colorMetadata.js
CHANGED
package/dist/js/designTokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 25 Aug 2023 19:31:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -127,6 +127,7 @@ module.exports = {
|
|
|
127
127
|
},
|
|
128
128
|
},
|
|
129
129
|
shadow: {
|
|
130
|
+
elevation0: 'none',
|
|
130
131
|
elevation1: '0 2px 4px rgba(0, 0, 0, 0.1)',
|
|
131
132
|
elevation2: '0 0 64px 0 rgba(0, 0, 0, 0.08)',
|
|
132
133
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Fri, 25 Aug 2023 19:31:36 GMT
|
|
4
4
|
|
|
5
5
|
$breakpoint-xs: 0em;
|
|
6
6
|
$breakpoint-sm: 37.5em;
|
|
@@ -98,6 +98,7 @@ $font-weight-bold: 700;
|
|
|
98
98
|
$font-weight-extra-bold: 800;
|
|
99
99
|
$font-size-default: 16px;
|
|
100
100
|
$font-size-small: 14px;
|
|
101
|
+
$shadow-elevation0: none;
|
|
101
102
|
$shadow-elevation1: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
102
103
|
$shadow-elevation2: 0 0 64px 0 rgba(0, 0, 0, 0.08);
|
|
103
104
|
$spacing-space01: 4px;
|
|
@@ -110,4 +111,4 @@ $spacing-space07: 48px;
|
|
|
110
111
|
$spacing-space08: 64px;
|
|
111
112
|
$spacing-space09: 80px;
|
|
112
113
|
$spacing-space10: 96px;
|
|
113
|
-
$spacing-space11: 120px;
|
|
114
|
+
$spacing-space11: 120px;
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Unit } from '@karibash/pixel-units';
|
|
2
2
|
|
|
3
3
|
declare module '@wistia/vhs-design-tokens' {
|
|
4
|
+
export type CSSHexString = `#${string}`;
|
|
5
|
+
|
|
4
6
|
export interface Breakpoints {
|
|
5
7
|
readonly xs: Unit<'em'>;
|
|
6
8
|
readonly sm: Unit<'em'>;
|
|
@@ -38,6 +40,7 @@ declare module '@wistia/vhs-design-tokens' {
|
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
export interface Shadows {
|
|
43
|
+
readonly elevation0: string;
|
|
41
44
|
readonly elevation1: string;
|
|
42
45
|
readonly elevation2: string;
|
|
43
46
|
}
|
|
@@ -53,8 +56,6 @@ declare module '@wistia/vhs-design-tokens' {
|
|
|
53
56
|
readonly exit: EasingValue;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
|
-
export type CSSHexString = `#${string}`;
|
|
57
|
-
|
|
58
59
|
export interface Colors {
|
|
59
60
|
readonly brandBlue100: CSSHexString;
|
|
60
61
|
readonly brandBlue200: CSSHexString;
|
|
@@ -133,7 +134,7 @@ declare module '@wistia/vhs-design-tokens' {
|
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
export type FontWeightNumbers = 1 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
|
136
|
-
export type FontWeightStrings =
|
|
137
|
+
export type FontWeightStrings = 'normal' | 'bold' | 'lighter' | 'bolder' | 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset';
|
|
137
138
|
export type FontWeight = FontWeightNumbers | FontWeightStrings;
|
|
138
139
|
|
|
139
140
|
export interface Fonts {
|
|
@@ -167,5 +168,5 @@ declare module '@wistia/vhs-design-tokens' {
|
|
|
167
168
|
readonly easing: Easings;
|
|
168
169
|
readonly font: Fonts;
|
|
169
170
|
readonly color: Colors;
|
|
170
|
-
}
|
|
171
|
+
};
|
|
171
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs-design-tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-beta.21e6bd69.c268332",
|
|
4
4
|
"description": "VHS design tokens",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@karibash/pixel-units": "^2.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@commitlint/cli": "^17.0
|
|
29
|
-
"@commitlint/config-conventional": "^17.0
|
|
30
|
-
"@wistia/eslint-config": "^0.
|
|
31
|
-
"husky": "^8.0.
|
|
28
|
+
"@commitlint/cli": "^17.3.0",
|
|
29
|
+
"@commitlint/config-conventional": "^17.3.0",
|
|
30
|
+
"@wistia/eslint-config": "^0.19.3",
|
|
31
|
+
"husky": "^8.0.2",
|
|
32
32
|
"js-yaml": "^4.1.0",
|
|
33
33
|
"onchange": "^7.1.0",
|
|
34
34
|
"style-dictionary": "^3.7.1"
|