@wonderflow/themes 8.0.0 → 9.5.1
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/themes/dark.css +5 -3
- package/dist/themes/dark.json +4 -2
- package/dist/themes/light.css +3 -1
- package/dist/themes/light.json +2 -0
- package/dist/themes.css +13 -9
- package/package.json +17 -17
package/dist/themes/dark.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 06 Jul 2022 15:06:42 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--global-foreground: hsl(220
|
|
7
|
+
--global-foreground: hsl(220 16% 85%);
|
|
8
8
|
--global-background: hsl(0 0% 0%);
|
|
9
9
|
--global-interactive-text: hsl(206 72% 67%);
|
|
10
10
|
--global-interactive-text-hover: hsl(200 100% 83%);
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--dimmed-5: hsl(221 9% 49%);
|
|
26
26
|
--dimmed-6: hsl(220 12% 66%);
|
|
27
27
|
--dimmed-7: hsl(220 19% 91%);
|
|
28
|
+
--dimmed-8: hsl(210 20% 98%);
|
|
29
|
+
--dimmed-9: hsl(0 0% 100%);
|
|
28
30
|
--highlight-gray-background: hsl(218 11% 14%);
|
|
29
31
|
--highlight-gray-foreground: hsl(220 12% 66%);
|
|
30
32
|
--highlight-yellow-background: hsl(22 100% 19%);
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
--highlight-blue-foreground: hsl(200 100% 83%);
|
|
36
38
|
--highlight-red-background: hsl(350 100% 15%);
|
|
37
39
|
--highlight-red-foreground: hsl(351 100% 81%);
|
|
38
|
-
--highlight-cyan-background: hsl(
|
|
40
|
+
--highlight-cyan-background: hsl(186 67% 18%);
|
|
39
41
|
--highlight-cyan-foreground: hsl(187 57% 58%);
|
|
40
42
|
--highlight-purple-background: hsl(298 41% 25%);
|
|
41
43
|
--highlight-purple-foreground: hsl(298 47% 75%);
|
package/dist/themes/dark.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"global-foreground": "hsl(220
|
|
2
|
+
"global-foreground": "hsl(220 16% 85%)",
|
|
3
3
|
"global-background": "hsl(0 0% 0%)",
|
|
4
4
|
"global-interactive-text": "hsl(206 72% 67%)",
|
|
5
5
|
"global-interactive-text-hover": "hsl(200 100% 83%)",
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
"dimmed-5": "hsl(221 9% 49%)",
|
|
21
21
|
"dimmed-6": "hsl(220 12% 66%)",
|
|
22
22
|
"dimmed-7": "hsl(220 19% 91%)",
|
|
23
|
+
"dimmed-8": "hsl(210 20% 98%)",
|
|
24
|
+
"dimmed-9": "hsl(0 0% 100%)",
|
|
23
25
|
"highlight-gray-background": "hsl(218 11% 14%)",
|
|
24
26
|
"highlight-gray-foreground": "hsl(220 12% 66%)",
|
|
25
27
|
"highlight-yellow-background": "hsl(22 100% 19%)",
|
|
@@ -30,7 +32,7 @@
|
|
|
30
32
|
"highlight-blue-foreground": "hsl(200 100% 83%)",
|
|
31
33
|
"highlight-red-background": "hsl(350 100% 15%)",
|
|
32
34
|
"highlight-red-foreground": "hsl(351 100% 81%)",
|
|
33
|
-
"highlight-cyan-background": "hsl(
|
|
35
|
+
"highlight-cyan-background": "hsl(186 67% 18%)",
|
|
34
36
|
"highlight-cyan-foreground": "hsl(187 57% 58%)",
|
|
35
37
|
"highlight-purple-background": "hsl(298 41% 25%)",
|
|
36
38
|
"highlight-purple-foreground": "hsl(298 47% 75%)",
|
package/dist/themes/light.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 06 Jul 2022 15:06:37 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--dimmed-5: hsl(221 9% 49%);
|
|
26
26
|
--dimmed-6: hsl(221 10% 39%);
|
|
27
27
|
--dimmed-7: hsl(221 10% 30%);
|
|
28
|
+
--dimmed-8: hsl(219 13% 22%);
|
|
29
|
+
--dimmed-9: hsl(218 11% 14%);
|
|
28
30
|
--highlight-gray-background: hsl(220 19% 91%);
|
|
29
31
|
--highlight-gray-foreground: hsl(221 10% 39%);
|
|
30
32
|
--highlight-yellow-background: hsl(60 100% 89%);
|
package/dist/themes/light.json
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
"dimmed-5": "hsl(221 9% 49%)",
|
|
21
21
|
"dimmed-6": "hsl(221 10% 39%)",
|
|
22
22
|
"dimmed-7": "hsl(221 10% 30%)",
|
|
23
|
+
"dimmed-8": "hsl(219 13% 22%)",
|
|
24
|
+
"dimmed-9": "hsl(218 11% 14%)",
|
|
23
25
|
"highlight-gray-background": "hsl(220 19% 91%)",
|
|
24
26
|
"highlight-gray-foreground": "hsl(221 10% 39%)",
|
|
25
27
|
"highlight-yellow-background": "hsl(60 100% 89%)",
|
package/dist/themes.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: var(--global-foreground);
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Wed, 06 Jul 2022 15:06:37 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
--dimmed-5: hsl(221 9% 49%);
|
|
30
30
|
--dimmed-6: hsl(221 10% 39%);
|
|
31
31
|
--dimmed-7: hsl(221 10% 30%);
|
|
32
|
+
--dimmed-8: hsl(219 13% 22%);
|
|
33
|
+
--dimmed-9: hsl(218 11% 14%);
|
|
32
34
|
--highlight-gray-background: hsl(220 19% 91%);
|
|
33
35
|
--highlight-gray-foreground: hsl(221 10% 39%);
|
|
34
36
|
--highlight-yellow-background: hsl(60 100% 89%);
|
|
@@ -58,17 +60,16 @@
|
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
}
|
|
61
|
-
|
|
62
63
|
@media (prefers-color-scheme: dark) {
|
|
63
64
|
:root:not([data-theme='light']) {
|
|
64
65
|
color: var(--global-foreground);
|
|
65
66
|
/**
|
|
66
67
|
* Do not edit directly
|
|
67
|
-
* Generated on
|
|
68
|
+
* Generated on Wed, 06 Jul 2022 15:06:42 GMT
|
|
68
69
|
*/
|
|
69
70
|
|
|
70
71
|
|
|
71
|
-
--global-foreground: hsl(220
|
|
72
|
+
--global-foreground: hsl(220 16% 85%);
|
|
72
73
|
--global-background: hsl(0 0% 0%);
|
|
73
74
|
--global-interactive-text: hsl(206 72% 67%);
|
|
74
75
|
--global-interactive-text-hover: hsl(200 100% 83%);
|
|
@@ -89,6 +90,8 @@
|
|
|
89
90
|
--dimmed-5: hsl(221 9% 49%);
|
|
90
91
|
--dimmed-6: hsl(220 12% 66%);
|
|
91
92
|
--dimmed-7: hsl(220 19% 91%);
|
|
93
|
+
--dimmed-8: hsl(210 20% 98%);
|
|
94
|
+
--dimmed-9: hsl(0 0% 100%);
|
|
92
95
|
--highlight-gray-background: hsl(218 11% 14%);
|
|
93
96
|
--highlight-gray-foreground: hsl(220 12% 66%);
|
|
94
97
|
--highlight-yellow-background: hsl(22 100% 19%);
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
--highlight-blue-foreground: hsl(200 100% 83%);
|
|
100
103
|
--highlight-red-background: hsl(350 100% 15%);
|
|
101
104
|
--highlight-red-foreground: hsl(351 100% 81%);
|
|
102
|
-
--highlight-cyan-background: hsl(
|
|
105
|
+
--highlight-cyan-background: hsl(186 67% 18%);
|
|
103
106
|
--highlight-cyan-foreground: hsl(187 57% 58%);
|
|
104
107
|
--highlight-purple-background: hsl(298 41% 25%);
|
|
105
108
|
--highlight-purple-foreground: hsl(298 47% 75%);
|
|
@@ -119,17 +122,16 @@
|
|
|
119
122
|
|
|
120
123
|
}
|
|
121
124
|
}
|
|
122
|
-
|
|
123
125
|
[data-theme='dark'],
|
|
124
126
|
:root[data-theme='dark'] {
|
|
125
127
|
color: var(--global-foreground);
|
|
126
128
|
/**
|
|
127
129
|
* Do not edit directly
|
|
128
|
-
* Generated on
|
|
130
|
+
* Generated on Wed, 06 Jul 2022 15:06:42 GMT
|
|
129
131
|
*/
|
|
130
132
|
|
|
131
133
|
|
|
132
|
-
--global-foreground: hsl(220
|
|
134
|
+
--global-foreground: hsl(220 16% 85%);
|
|
133
135
|
--global-background: hsl(0 0% 0%);
|
|
134
136
|
--global-interactive-text: hsl(206 72% 67%);
|
|
135
137
|
--global-interactive-text-hover: hsl(200 100% 83%);
|
|
@@ -150,6 +152,8 @@
|
|
|
150
152
|
--dimmed-5: hsl(221 9% 49%);
|
|
151
153
|
--dimmed-6: hsl(220 12% 66%);
|
|
152
154
|
--dimmed-7: hsl(220 19% 91%);
|
|
155
|
+
--dimmed-8: hsl(210 20% 98%);
|
|
156
|
+
--dimmed-9: hsl(0 0% 100%);
|
|
153
157
|
--highlight-gray-background: hsl(218 11% 14%);
|
|
154
158
|
--highlight-gray-foreground: hsl(220 12% 66%);
|
|
155
159
|
--highlight-yellow-background: hsl(22 100% 19%);
|
|
@@ -160,7 +164,7 @@
|
|
|
160
164
|
--highlight-blue-foreground: hsl(200 100% 83%);
|
|
161
165
|
--highlight-red-background: hsl(350 100% 15%);
|
|
162
166
|
--highlight-red-foreground: hsl(351 100% 81%);
|
|
163
|
-
--highlight-cyan-background: hsl(
|
|
167
|
+
--highlight-cyan-background: hsl(186 67% 18%);
|
|
164
168
|
--highlight-cyan-foreground: hsl(187 57% 58%);
|
|
165
169
|
--highlight-purple-background: hsl(298 41% 25%);
|
|
166
170
|
--highlight-purple-foreground: hsl(298 47% 75%);
|
package/package.json
CHANGED
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wonderflow/themes",
|
|
3
3
|
"description": "Wanda design system themes",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "9.5.1",
|
|
5
5
|
"author": "Wonderflow",
|
|
6
6
|
"main": "dist/themes.css",
|
|
7
7
|
"style": "dist/themes.css",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": "./dist/themes.css",
|
|
10
|
-
"./dark.css": "./dist/themes/dark.css",
|
|
11
|
-
"./light.css": "./dist/themes/light.css",
|
|
12
|
-
"./dark.json": "./dist/themes/dark.json",
|
|
13
|
-
"./light.json": "./dist/themes/light.json"
|
|
14
|
-
},
|
|
15
8
|
"files": [
|
|
16
9
|
"dist"
|
|
17
10
|
],
|
|
18
11
|
"publishConfig": {
|
|
19
12
|
"access": "public"
|
|
20
13
|
},
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"yargs": "17.4.1"
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/themes.css",
|
|
16
|
+
"./dark.css": "./dist/themes/dark.css",
|
|
17
|
+
"./light.css": "./dist/themes/light.css",
|
|
18
|
+
"./dark.json": "./dist/themes/dark.json",
|
|
19
|
+
"./light.json": "./dist/themes/light.json"
|
|
28
20
|
},
|
|
29
21
|
"scripts": {
|
|
30
|
-
"
|
|
31
|
-
"build
|
|
22
|
+
"prebuild": "rimraf dist",
|
|
23
|
+
"build": "run-s build:light build:dark build:combine",
|
|
32
24
|
"build:combine": "ts-node src/combine",
|
|
33
25
|
"build:light": "ts-node src/index --name light",
|
|
34
26
|
"build:dark": "ts-node src/index --name dark",
|
|
@@ -48,5 +40,13 @@
|
|
|
48
40
|
],
|
|
49
41
|
"bugs": {
|
|
50
42
|
"url": "https://github.com/wonderflow-bv/wanda/issues"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@wonderflow/tokens": "*",
|
|
46
|
+
"fs-extra": "10.1.0",
|
|
47
|
+
"style-dictionary": "3.7.1",
|
|
48
|
+
"tsconfig": "1.0.0-next.0",
|
|
49
|
+
"uvu": "0.5.4",
|
|
50
|
+
"yargs": "17.5.1"
|
|
51
51
|
}
|
|
52
52
|
}
|