@pandacss/studio 0.0.0-dev-20230621094608 → 0.0.0-dev-20230621094901
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/package.json +8 -8
- package/styled-system/global.css +1 -1
- package/styled-system/styles.css +0 -261
- package/styled-system/tokens/index.css +0 -3
- package/styled-system/tokens/index.mjs +0 -12
- package/styled-system/tokens/tokens.d.ts +3 -6
- package/styled-system/chunks/..__core____tests____atomic-rule.test.css +0 -363
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230621094901",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"react": "18.2.0",
|
|
33
33
|
"react-dom": "18.2.0",
|
|
34
34
|
"vite": "4.3.9",
|
|
35
|
-
"@pandacss/types": "0.0.0-dev-
|
|
36
|
-
"@pandacss/config": "0.0.0-dev-
|
|
37
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
38
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
39
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
40
|
-
"@pandacss/node": "0.0.0-dev-
|
|
35
|
+
"@pandacss/types": "0.0.0-dev-20230621094901",
|
|
36
|
+
"@pandacss/config": "0.0.0-dev-20230621094901",
|
|
37
|
+
"@pandacss/shared": "0.0.0-dev-20230621094901",
|
|
38
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230621094901",
|
|
39
|
+
"@pandacss/logger": "0.0.0-dev-20230621094901",
|
|
40
|
+
"@pandacss/node": "0.0.0-dev-20230621094901"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "18.2.12",
|
|
44
44
|
"@types/react-dom": "18.2.5",
|
|
45
45
|
"@vitejs/plugin-react": "4.0.0",
|
|
46
46
|
"execa": "7.1.1",
|
|
47
|
-
"@pandacss/dev": "0.0.0-dev-
|
|
47
|
+
"@pandacss/dev": "0.0.0-dev-20230621094901"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"codegen": "panda",
|
package/styled-system/global.css
CHANGED
package/styled-system/styles.css
CHANGED
|
@@ -11,118 +11,6 @@
|
|
|
11
11
|
@import './tokens/keyframes.css';
|
|
12
12
|
|
|
13
13
|
@layer utilities {
|
|
14
|
-
.styles\:text_red\! {
|
|
15
|
-
color: red !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.styles\:fs_30px\! {
|
|
19
|
-
font-size: 30px !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.styles\:bg_red\.300 {
|
|
23
|
-
background: var(--colors-red-300);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.styles\:w_20px {
|
|
27
|
-
width: 20px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.styles\:w_70px {
|
|
31
|
-
width: 70px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.styles\:w_50px {
|
|
35
|
-
width: 50px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
[dir='rtl'] .styles\:rtl\:ml_-4 {
|
|
39
|
-
margin-left: calc(var(--spacing-4) * -1);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.styles\:light\:text_red.light,
|
|
43
|
-
.light .styles\:light\:text_red {
|
|
44
|
-
color: red;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.styles\:dark\:text_green.dark,
|
|
48
|
-
.dark .styles\:dark\:text_green {
|
|
49
|
-
color: green;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.styles\:dark\:opacity_slate400.dark,
|
|
53
|
-
.dark .styles\:dark\:opacity_slate400 {
|
|
54
|
-
opacity: slate400;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.styles\:left_20px,
|
|
58
|
-
.styles\:\[\&_\>_p\]\:left_20px > p {
|
|
59
|
-
left: 20px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.styles\:\[\&_\>_p\]\:light\:bg_red400 > p.light,
|
|
63
|
-
.light .styles\:\[\&_\>_p\]\:light\:bg_red400 > p {
|
|
64
|
-
background: red400;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.styles\:\[\&_\>_p\]\:dark\:bg_green500 > p.dark,
|
|
68
|
-
.dark .styles\:\[\&_\>_p\]\:dark\:bg_green500 > p {
|
|
69
|
-
background: green500;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
[dir='rtl'] .styles\:\[\&_\>_p\]\:rtl\:font_sans > p {
|
|
73
|
-
font: sans;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.styles\:\[\&\:\:placeholder\]\:left_40px::placeholder {
|
|
77
|
-
left: 40px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.styles\:\[\&\:\:placeholder\]\:bg_red400::placeholder {
|
|
81
|
-
background: red400;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.styles\:all_unset {
|
|
85
|
-
all: unset;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.styles\:bg_red {
|
|
89
|
-
background-color: red;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.styles\:border_none {
|
|
93
|
-
border: var(--borders-none);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.styles\:p_\$3_\$3 {
|
|
97
|
-
padding: $3 $3;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.styles\:rounded_\$button {
|
|
101
|
-
border-radius: $button;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.styles\:fs_\$xsmall {
|
|
105
|
-
font-size: $xsmall;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.styles\:cursor_pointer {
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.styles\:\[\&_\+_span\]\:ml_\$2 + span {
|
|
113
|
-
margin-left: $2;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.test .styles\:\[\.test_\&\]\:bg_blue {
|
|
117
|
-
background-color: blue;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.styles\:\[\&_\.my-class\]\:text_red .my-class,
|
|
121
|
-
.styles\:\[\&_span\]\:text_red span,
|
|
122
|
-
.styles\:\[\&_kbd\]\:text_red kbd {
|
|
123
|
-
color: red;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
14
|
.w_26px {
|
|
127
15
|
width: 26px;
|
|
128
16
|
}
|
|
@@ -1072,15 +960,6 @@
|
|
|
1072
960
|
outline-color: var(--colors-neutral-400);
|
|
1073
961
|
}
|
|
1074
962
|
|
|
1075
|
-
.styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:focus,
|
|
1076
|
-
.styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:hover {
|
|
1077
|
-
box-shadow: none;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
:focus > .styles\:\[\:focus_\>_\&\]\:text_white {
|
|
1081
|
-
color: var(--colors-white);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
963
|
.hover\:bg_gray\.100:where(:hover, [data-hover]) {
|
|
1085
964
|
background-color: var(--colors-gray-100);
|
|
1086
965
|
}
|
|
@@ -1117,18 +996,6 @@
|
|
|
1117
996
|
border-bottom-color: var(--colors-black);
|
|
1118
997
|
}
|
|
1119
998
|
|
|
1120
|
-
input:hover .styles\:\[input\:hover_\&\]\:bg_red400 {
|
|
1121
|
-
background: red400;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
.styles\:hover\:bg_pink\.400:where(:hover, [data-hover]) {
|
|
1125
|
-
background: var(--colors-pink-400);
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
.styles\:hover\:text_pink\.400:where(:hover, [data-hover]) {
|
|
1129
|
-
color: var(--colors-pink-400);
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
999
|
.\[\&\:hover\]\:bg_\#4049f0:hover {
|
|
1133
1000
|
background: #4049f0;
|
|
1134
1001
|
}
|
|
@@ -1141,143 +1008,15 @@
|
|
|
1141
1008
|
opacity: 0.8;
|
|
1142
1009
|
}
|
|
1143
1010
|
|
|
1144
|
-
@media screen and (min-width: 640px) {
|
|
1145
|
-
[dir='ltr'] .styles\:ltr\:sm\:ml_4 {
|
|
1146
|
-
margin-left: var(--spacing-4);
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
@media screen and (min-width: 640px) {
|
|
1151
|
-
[dir='rtl'] .styles\:sm\:rtl\:top_20px {
|
|
1152
|
-
top: 20px;
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
@media screen and (min-width: 640px) {
|
|
1157
|
-
.styles\:\[\&\:\:placeholder\]\:sm\:text_left::placeholder {
|
|
1158
|
-
text-align: left;
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
@media screen and (min-width: 640px) {
|
|
1163
|
-
.styles\:sm\:hover\:top_50px:where(:hover, [data-hover]) {
|
|
1164
|
-
top: 50px;
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
@media screen and (min-width: 640px) {
|
|
1169
|
-
[dir='ltr'] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:where(:hover, [data-hover]).dark,
|
|
1170
|
-
.dark [dir='ltr'] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:where(:hover, [data-hover]) {
|
|
1171
|
-
font: serif;
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
@media screen and (min-width: 640px) {
|
|
1176
|
-
input:hover .styles\:\[input\:hover_\&\]\:sm\:fs_14px {
|
|
1177
|
-
font-size: 14px;
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
@media screen and (min-width: 640px) {
|
|
1182
|
-
.styles\:hover\:sm\:dark\:bg_red\.300:where(:hover, [data-hover]).dark,
|
|
1183
|
-
.dark .styles\:hover\:sm\:dark\:bg_red\.300:where(:hover, [data-hover]) {
|
|
1184
|
-
background: var(--colors-red-300);
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
@media screen and (min-width: 640px) {
|
|
1189
|
-
.styles\:hover\:disabled\:sm\:bg_red\.300:where(:hover, [data-hover]):where(
|
|
1190
|
-
:disabled,
|
|
1191
|
-
[disabled],
|
|
1192
|
-
[data-disabled]
|
|
1193
|
-
) {
|
|
1194
|
-
background: var(--colors-red-300);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
@media screen and (min-width: 640px) {
|
|
1199
|
-
.styles\:sm\:w_60px {
|
|
1200
|
-
width: 60px;
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
@media (min-width: 768px) {
|
|
1205
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:\[\&\:hover\]\:bg_yellow:hover {
|
|
1206
|
-
background-color: yellow;
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
@media (min-width: 768px) {
|
|
1211
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:bg_green {
|
|
1212
|
-
background-color: green;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:fs_\$small {
|
|
1216
|
-
font-size: $small;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
@media screen and (min-width: 768px) {
|
|
1221
|
-
.styles\:\[\&_\>_p\]\:md\:left_40px > p {
|
|
1222
|
-
left: 40px;
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
@media screen and (min-width: 768px) {
|
|
1227
|
-
.styles\:md\:left_40px {
|
|
1228
|
-
left: 40px;
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
1011
|
@media screen and (min-width: 768px) {
|
|
1233
1012
|
.md\:px_6 {
|
|
1234
1013
|
padding-inline: var(--spacing-6);
|
|
1235
1014
|
}
|
|
1236
1015
|
}
|
|
1237
1016
|
|
|
1238
|
-
@media screen and (min-width: 1024px) {
|
|
1239
|
-
input:hover .styles\:\[input\:hover_\&\]\:lg\:fs_18px {
|
|
1240
|
-
font-size: 18px;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
@media screen and (min-width: 1024px) {
|
|
1245
|
-
.styles\:lg\:top_120px {
|
|
1246
|
-
top: 120px;
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
1017
|
@media screen and (min-width: 1024px) {
|
|
1251
1018
|
.lg\:px_8 {
|
|
1252
1019
|
padding-inline: var(--spacing-8);
|
|
1253
1020
|
}
|
|
1254
1021
|
}
|
|
1255
|
-
|
|
1256
|
-
@media base {
|
|
1257
|
-
.styles\:\[\@media_base\]\:\[\&\:hover\]\:left_40px:hover {
|
|
1258
|
-
left: 40px;
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
@media base {
|
|
1263
|
-
@media screen and (min-width: 640px) {
|
|
1264
|
-
.styles\:\[\@media_base\]\:\[\&\:hover\]\:sm\:text_left:hover {
|
|
1265
|
-
text-align: left;
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
@media base {
|
|
1271
|
-
.styles\:\[\@media_base\]\:left_40px {
|
|
1272
|
-
left: 40px;
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
@media base {
|
|
1277
|
-
@media screen and (min-width: 640px) {
|
|
1278
|
-
.styles\:\[\@media_base\]\:sm\:text_left {
|
|
1279
|
-
text-align: left;
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
1022
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@layer tokens {
|
|
2
2
|
:where(:root, :host) {
|
|
3
|
-
--borders-none: none;
|
|
4
3
|
--easings-default: cubic-bezier(0.4, 0, 0.2, 1);
|
|
5
4
|
--easings-linear: linear;
|
|
6
5
|
--easings-in: cubic-bezier(0.4, 0, 1, 1);
|
|
@@ -74,7 +73,6 @@
|
|
|
74
73
|
--blurs-xl: 24px;
|
|
75
74
|
--blurs-2xl: 40px;
|
|
76
75
|
--blurs-3xl: 64px;
|
|
77
|
-
--spacing-0: 0rem;
|
|
78
76
|
--spacing-1: 0.25rem;
|
|
79
77
|
--spacing-2: 0.5rem;
|
|
80
78
|
--spacing-3: 0.75rem;
|
|
@@ -108,7 +106,6 @@
|
|
|
108
106
|
--spacing-1\.5: 0.375rem;
|
|
109
107
|
--spacing-2\.5: 0.625rem;
|
|
110
108
|
--spacing-3\.5: 0.875rem;
|
|
111
|
-
--sizes-0: 0rem;
|
|
112
109
|
--sizes-1: 0.25rem;
|
|
113
110
|
--sizes-2: 0.5rem;
|
|
114
111
|
--sizes-3: 0.75rem;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
const tokens = {
|
|
2
|
-
'borders.none': {
|
|
3
|
-
value: 'none',
|
|
4
|
-
variable: 'var(--borders-none)',
|
|
5
|
-
},
|
|
6
2
|
'easings.default': {
|
|
7
3
|
value: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
8
4
|
variable: 'var(--easings-default)',
|
|
@@ -292,10 +288,6 @@ const tokens = {
|
|
|
292
288
|
value: '64px',
|
|
293
289
|
variable: 'var(--blurs-3xl)',
|
|
294
290
|
},
|
|
295
|
-
'spacing.0': {
|
|
296
|
-
value: '0rem',
|
|
297
|
-
variable: 'var(--spacing-0)',
|
|
298
|
-
},
|
|
299
291
|
'spacing.1': {
|
|
300
292
|
value: '0.25rem',
|
|
301
293
|
variable: 'var(--spacing-1)',
|
|
@@ -428,10 +420,6 @@ const tokens = {
|
|
|
428
420
|
value: '0.875rem',
|
|
429
421
|
variable: 'var(--spacing-3\\.5)',
|
|
430
422
|
},
|
|
431
|
-
'sizes.0': {
|
|
432
|
-
value: '0rem',
|
|
433
|
-
variable: 'var(--sizes-0)',
|
|
434
|
-
},
|
|
435
423
|
'sizes.1': {
|
|
436
424
|
value: '0.25rem',
|
|
437
425
|
variable: 'var(--sizes-1)',
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
export type Token = "
|
|
2
|
+
export type Token = "easings.default" | "easings.linear" | "easings.in" | "easings.out" | "easings.in-out" | "durations.fastest" | "durations.faster" | "durations.fast" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.2xl" | "radii.3xl" | "radii.full" | "fontWeights.thin" | "fontWeights.extralight" | "fontWeights.light" | "fontWeights.normal" | "fontWeights.medium" | "fontWeights.semibold" | "fontWeights.bold" | "fontWeights.extrabold" | "fontWeights.black" | "lineHeights.none" | "lineHeights.tight" | "lineHeights.snug" | "lineHeights.normal" | "lineHeights.relaxed" | "lineHeights.loose" | "fonts.sans" | "fonts.serif" | "fonts.mono" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "fontSizes.2xs" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontSizes.3xl" | "fontSizes.4xl" | "fontSizes.5xl" | "fontSizes.6xl" | "fontSizes.7xl" | "fontSizes.8xl" | "fontSizes.9xl" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.xl" | "shadows.2xl" | "shadows.inner" | "blurs.sm" | "blurs.base" | "blurs.md" | "blurs.lg" | "blurs.xl" | "blurs.2xl" | "blurs.3xl" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.9" | "spacing.10" | "spacing.11" | "spacing.12" | "spacing.14" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.28" | "spacing.32" | "spacing.36" | "spacing.40" | "spacing.44" | "spacing.48" | "spacing.52" | "spacing.56" | "spacing.60" | "spacing.64" | "spacing.72" | "spacing.80" | "spacing.96" | "spacing.0.5" | "spacing.1.5" | "spacing.2.5" | "spacing.3.5" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.11" | "sizes.12" | "sizes.14" | "sizes.16" | "sizes.20" | "sizes.24" | "sizes.28" | "sizes.32" | "sizes.36" | "sizes.40" | "sizes.44" | "sizes.48" | "sizes.52" | "sizes.56" | "sizes.60" | "sizes.64" | "sizes.72" | "sizes.80" | "sizes.96" | "sizes.0.5" | "sizes.1.5" | "sizes.2.5" | "sizes.3.5" | "sizes.xs" | "sizes.sm" | "sizes.md" | "sizes.lg" | "sizes.xl" | "sizes.2xl" | "sizes.3xl" | "sizes.4xl" | "sizes.5xl" | "sizes.6xl" | "sizes.7xl" | "sizes.8xl" | "sizes.prose" | "sizes.full" | "sizes.min" | "sizes.max" | "sizes.fit" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "sizes.breakpoint-2xl" | "animations.spin" | "animations.ping" | "animations.pulse" | "animations.bounce" | "colors.current" | "colors.black" | "colors.white" | "colors.transparent" | "colors.rose.50" | "colors.rose.100" | "colors.rose.200" | "colors.rose.300" | "colors.rose.400" | "colors.rose.500" | "colors.rose.600" | "colors.rose.700" | "colors.rose.800" | "colors.rose.900" | "colors.pink.50" | "colors.pink.100" | "colors.pink.200" | "colors.pink.300" | "colors.pink.400" | "colors.pink.500" | "colors.pink.600" | "colors.pink.700" | "colors.pink.800" | "colors.pink.900" | "colors.fuchsia.50" | "colors.fuchsia.100" | "colors.fuchsia.200" | "colors.fuchsia.300" | "colors.fuchsia.400" | "colors.fuchsia.500" | "colors.fuchsia.600" | "colors.fuchsia.700" | "colors.fuchsia.800" | "colors.fuchsia.900" | "colors.purple.50" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.indigo.50" | "colors.indigo.100" | "colors.indigo.200" | "colors.indigo.300" | "colors.indigo.400" | "colors.indigo.500" | "colors.indigo.600" | "colors.indigo.700" | "colors.indigo.800" | "colors.indigo.900" | "colors.blue.50" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.sky.50" | "colors.sky.100" | "colors.sky.200" | "colors.sky.300" | "colors.sky.400" | "colors.sky.500" | "colors.sky.600" | "colors.sky.700" | "colors.sky.800" | "colors.sky.900" | "colors.cyan.50" | "colors.cyan.100" | "colors.cyan.200" | "colors.cyan.300" | "colors.cyan.400" | "colors.cyan.500" | "colors.cyan.600" | "colors.cyan.700" | "colors.cyan.800" | "colors.cyan.900" | "colors.teal.50" | "colors.teal.100" | "colors.teal.200" | "colors.teal.300" | "colors.teal.400" | "colors.teal.500" | "colors.teal.600" | "colors.teal.700" | "colors.teal.800" | "colors.teal.900" | "colors.green.50" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.lime.50" | "colors.lime.100" | "colors.lime.200" | "colors.lime.300" | "colors.lime.400" | "colors.lime.500" | "colors.lime.600" | "colors.lime.700" | "colors.lime.800" | "colors.lime.900" | "colors.yellow.50" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "colors.orange.50" | "colors.orange.100" | "colors.orange.200" | "colors.orange.300" | "colors.orange.400" | "colors.orange.500" | "colors.orange.600" | "colors.orange.700" | "colors.orange.800" | "colors.orange.900" | "colors.red.50" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.gray.50" | "colors.gray.100" | "colors.gray.200" | "colors.gray.300" | "colors.gray.400" | "colors.gray.500" | "colors.gray.600" | "colors.gray.700" | "colors.gray.800" | "colors.gray.900" | "colors.slate.50" | "colors.slate.100" | "colors.slate.200" | "colors.slate.300" | "colors.slate.400" | "colors.slate.500" | "colors.slate.600" | "colors.slate.700" | "colors.slate.800" | "colors.slate.900" | "colors.neutral.50" | "colors.neutral.100" | "colors.neutral.200" | "colors.neutral.300" | "colors.neutral.400" | "colors.neutral.500" | "colors.neutral.600" | "colors.neutral.700" | "colors.neutral.800" | "colors.neutral.900" | "colors.neutral.950" | "assets.check" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "breakpoints.2xl" | "shadows.inset" | "colors.text" | "colors.bg" | "colors.card" | "colors.border" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-7" | "spacing.-8" | "spacing.-9" | "spacing.-10" | "spacing.-11" | "spacing.-12" | "spacing.-14" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-28" | "spacing.-32" | "spacing.-36" | "spacing.-40" | "spacing.-44" | "spacing.-48" | "spacing.-52" | "spacing.-56" | "spacing.-60" | "spacing.-64" | "spacing.-72" | "spacing.-80" | "spacing.-96" | "spacing.-0.5" | "spacing.-1.5" | "spacing.-2.5" | "spacing.-3.5" | "colors.colorPalette.50" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.950"
|
|
3
3
|
|
|
4
4
|
export type ColorPalette = "rose" | "pink" | "fuchsia" | "purple" | "indigo" | "blue" | "sky" | "cyan" | "teal" | "green" | "lime" | "yellow" | "orange" | "red" | "gray" | "slate" | "neutral"
|
|
5
5
|
|
|
6
|
-
export type BorderToken = "none"
|
|
7
|
-
|
|
8
6
|
export type EasingToken = "default" | "linear" | "in" | "out" | "in-out"
|
|
9
7
|
|
|
10
8
|
export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
|
|
@@ -25,9 +23,9 @@ export type ShadowToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "inner" | "
|
|
|
25
23
|
|
|
26
24
|
export type BlurToken = "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl"
|
|
27
25
|
|
|
28
|
-
export type SpacingToken = "
|
|
26
|
+
export type SpacingToken = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "0.5" | "1.5" | "2.5" | "3.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-0.5" | "-1.5" | "-2.5" | "-3.5"
|
|
29
27
|
|
|
30
|
-
export type SizeToken = "
|
|
28
|
+
export type SizeToken = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "0.5" | "1.5" | "2.5" | "3.5" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "prose" | "full" | "min" | "max" | "fit" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl" | "breakpoint-2xl"
|
|
31
29
|
|
|
32
30
|
export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"
|
|
33
31
|
|
|
@@ -38,7 +36,6 @@ export type AssetToken = "check"
|
|
|
38
36
|
export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
|
|
39
37
|
|
|
40
38
|
export type Tokens = {
|
|
41
|
-
borders: BorderToken
|
|
42
39
|
easings: EasingToken
|
|
43
40
|
durations: DurationToken
|
|
44
41
|
radii: RadiusToken
|
|
@@ -1,363 +0,0 @@
|
|
|
1
|
-
@layer utilities {
|
|
2
|
-
.styles\:text_red\! {
|
|
3
|
-
color: red !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.styles\:fs_30px\! {
|
|
7
|
-
font-size: 30px !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.styles\:bg_red\.300 {
|
|
11
|
-
background: var(--colors-red-300);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.styles\:w_20px {
|
|
15
|
-
width: 20px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.styles\:w_70px {
|
|
19
|
-
width: 70px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.styles\:w_50px {
|
|
23
|
-
width: 50px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.styles\:ltr\:sm\:ml_4 {
|
|
27
|
-
[dir='ltr'] & {
|
|
28
|
-
@media screen and (min-width: 640px) {
|
|
29
|
-
margin-left: var(--spacing-4);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.styles\:rtl\:ml_-4 {
|
|
35
|
-
[dir='rtl'] & {
|
|
36
|
-
margin-left: calc(var(--spacing-4) * -1);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.styles\:light\:text_red {
|
|
41
|
-
&.light,
|
|
42
|
-
.light & {
|
|
43
|
-
color: red;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.styles\:dark\:text_green {
|
|
48
|
-
&.dark,
|
|
49
|
-
.dark & {
|
|
50
|
-
color: green;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.styles\:dark\:opacity_slate400 {
|
|
55
|
-
&.dark,
|
|
56
|
-
.dark & {
|
|
57
|
-
opacity: slate400;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.styles\:sm\:rtl\:top_20px {
|
|
62
|
-
[dir='rtl'] & {
|
|
63
|
-
@media screen and (min-width: 640px) {
|
|
64
|
-
top: 20px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.styles\:left_20px {
|
|
70
|
-
left: 20px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.styles\:\[\&_\>_p\]\:left_20px {
|
|
74
|
-
& > p {
|
|
75
|
-
left: 20px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.styles\:\[\&_\>_p\]\:md\:left_40px {
|
|
80
|
-
& > p {
|
|
81
|
-
@media screen and (min-width: 768px) {
|
|
82
|
-
left: 40px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.styles\:\[\&_\>_p\]\:light\:bg_red400 {
|
|
88
|
-
& > p {
|
|
89
|
-
&.light,
|
|
90
|
-
.light & {
|
|
91
|
-
background: red400;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.styles\:\[\&_\>_p\]\:dark\:bg_green500 {
|
|
97
|
-
& > p {
|
|
98
|
-
&.dark,
|
|
99
|
-
.dark & {
|
|
100
|
-
background: green500;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.styles\:\[\&_\>_p\]\:rtl\:font_sans {
|
|
106
|
-
& > p {
|
|
107
|
-
[dir='rtl'] & {
|
|
108
|
-
font: sans;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.styles\:\[\&\:\:placeholder\]\:left_40px {
|
|
114
|
-
&::placeholder {
|
|
115
|
-
left: 40px;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.styles\:\[\&\:\:placeholder\]\:bg_red400 {
|
|
120
|
-
&::placeholder {
|
|
121
|
-
background: red400;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.styles\:\[\&\:\:placeholder\]\:sm\:text_left {
|
|
126
|
-
&::placeholder {
|
|
127
|
-
@media screen and (min-width: 640px) {
|
|
128
|
-
text-align: left;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.styles\:all_unset {
|
|
134
|
-
all: unset;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.styles\:bg_red {
|
|
138
|
-
background-color: red;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.styles\:border_none {
|
|
142
|
-
border: var(--borders-none);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.styles\:p_\$3_\$3 {
|
|
146
|
-
padding: $3 $3;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.styles\:rounded_\$button {
|
|
150
|
-
border-radius: $button;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.styles\:fs_\$xsmall {
|
|
154
|
-
font-size: $xsmall;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.styles\:cursor_pointer {
|
|
158
|
-
cursor: pointer;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.styles\:\[\&_\+_span\]\:ml_\$2 {
|
|
162
|
-
& + span {
|
|
163
|
-
margin-left: $2;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.styles\:\[\.test_\&\]\:bg_blue {
|
|
168
|
-
.test & {
|
|
169
|
-
background-color: blue;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.styles\:\[\&_\.my-class\]\:text_red {
|
|
174
|
-
& .my-class {
|
|
175
|
-
color: red;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.styles\:\[\&_span\]\:text_red {
|
|
180
|
-
& span {
|
|
181
|
-
color: red;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.styles\:\[\&_kbd\]\:text_red {
|
|
186
|
-
& kbd {
|
|
187
|
-
color: red;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none {
|
|
192
|
-
&:focus,
|
|
193
|
-
&:hover {
|
|
194
|
-
box-shadow: none;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.styles\:\[\:focus_\>_\&\]\:text_white {
|
|
199
|
-
:focus > & {
|
|
200
|
-
color: var(--colors-white);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.styles\:sm\:hover\:top_50px {
|
|
205
|
-
&:where(:hover, [data-hover]) {
|
|
206
|
-
@media screen and (min-width: 640px) {
|
|
207
|
-
top: 50px;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif {
|
|
213
|
-
& > p {
|
|
214
|
-
&:where(:hover, [data-hover]) {
|
|
215
|
-
[dir='ltr'] & {
|
|
216
|
-
&.dark,
|
|
217
|
-
.dark & {
|
|
218
|
-
@media screen and (min-width: 640px) {
|
|
219
|
-
font: serif;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.styles\:\[input\:hover_\&\]\:bg_red400 {
|
|
228
|
-
input:hover & {
|
|
229
|
-
background: red400;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.styles\:\[input\:hover_\&\]\:sm\:fs_14px {
|
|
234
|
-
input:hover & {
|
|
235
|
-
@media screen and (min-width: 640px) {
|
|
236
|
-
font-size: 14px;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.styles\:\[input\:hover_\&\]\:lg\:fs_18px {
|
|
242
|
-
input:hover & {
|
|
243
|
-
@media screen and (min-width: 1024px) {
|
|
244
|
-
font-size: 18px;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.styles\:hover\:bg_pink\.400 {
|
|
250
|
-
&:where(:hover, [data-hover]) {
|
|
251
|
-
background: var(--colors-pink-400);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.styles\:hover\:sm\:dark\:bg_red\.300 {
|
|
256
|
-
&:where(:hover, [data-hover]) {
|
|
257
|
-
&.dark,
|
|
258
|
-
.dark & {
|
|
259
|
-
@media screen and (min-width: 640px) {
|
|
260
|
-
background: var(--colors-red-300);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.styles\:hover\:text_pink\.400 {
|
|
267
|
-
&:where(:hover, [data-hover]) {
|
|
268
|
-
color: var(--colors-pink-400);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.styles\:hover\:disabled\:sm\:bg_red\.300 {
|
|
273
|
-
&:where(:hover, [data-hover]) {
|
|
274
|
-
&:where(:disabled, [disabled], [data-disabled]) {
|
|
275
|
-
@media screen and (min-width: 640px) {
|
|
276
|
-
background: var(--colors-red-300);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.styles\:\[\@media_base\]\:\[\&\:hover\]\:left_40px {
|
|
283
|
-
&:hover {
|
|
284
|
-
@media base {
|
|
285
|
-
left: 40px;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.styles\:\[\@media_base\]\:\[\&\:hover\]\:sm\:text_left {
|
|
291
|
-
&:hover {
|
|
292
|
-
@media base {
|
|
293
|
-
@media screen and (min-width: 640px) {
|
|
294
|
-
text-align: left;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:\[\&\:hover\]\:bg_yellow {
|
|
301
|
-
&:hover {
|
|
302
|
-
@media (min-width: 768px) {
|
|
303
|
-
background-color: yellow;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.styles\:sm\:w_60px {
|
|
309
|
-
@media screen and (min-width: 640px) {
|
|
310
|
-
width: 60px;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.styles\:sm\:w_60px {
|
|
315
|
-
@media screen and (min-width: 640px) {
|
|
316
|
-
width: 60px;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.styles\:lg\:top_120px {
|
|
321
|
-
@media screen and (min-width: 1024px) {
|
|
322
|
-
top: 120px;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.styles\:md\:left_40px {
|
|
327
|
-
@media screen and (min-width: 768px) {
|
|
328
|
-
left: 40px;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.styles\:\[\@media_base\]\:left_40px {
|
|
333
|
-
@media base {
|
|
334
|
-
left: 40px;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.styles\:\[\@media_base\]\:sm\:text_left {
|
|
339
|
-
@media base {
|
|
340
|
-
@media screen and (min-width: 640px) {
|
|
341
|
-
text-align: left;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:bg_green {
|
|
347
|
-
@media (min-width: 768px) {
|
|
348
|
-
background-color: green;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:bg_green {
|
|
353
|
-
@media (min-width: 768px) {
|
|
354
|
-
background-color: green;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.styles\:\[\@media_\(min-width\:_768px\)\]\:fs_\$small {
|
|
359
|
-
@media (min-width: 768px) {
|
|
360
|
-
font-size: $small;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|