@pandacss/studio 0.14.0 → 0.15.0
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/chunks/..__core____tests____atomic-rule.test.css +216 -0
- package/styled-system/css/conditions.mjs +1 -1
- package/styled-system/css/cva.mjs +1 -1
- package/styled-system/helpers.mjs +16 -41
- package/styled-system/jsx/is-valid-prop.mjs +1 -1
- package/styled-system/styles.css +234 -0
- package/styled-system/types/conditions.d.ts +25 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0",
|
|
35
35
|
"vite": "4.4.9",
|
|
36
|
-
"@pandacss/types": "0.
|
|
37
|
-
"@pandacss/config": "0.
|
|
38
|
-
"@pandacss/shared": "0.
|
|
39
|
-
"@pandacss/token-dictionary": "0.
|
|
40
|
-
"@pandacss/logger": "0.
|
|
41
|
-
"@pandacss/node": "0.
|
|
36
|
+
"@pandacss/types": "0.15.0",
|
|
37
|
+
"@pandacss/config": "0.15.0",
|
|
38
|
+
"@pandacss/shared": "0.15.0",
|
|
39
|
+
"@pandacss/token-dictionary": "0.15.0",
|
|
40
|
+
"@pandacss/logger": "0.15.0",
|
|
41
|
+
"@pandacss/node": "0.15.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "18.2.18",
|
|
45
45
|
"@types/react-dom": "18.2.7",
|
|
46
46
|
"@vitejs/plugin-react": "4.0.4",
|
|
47
47
|
"execa": "7.2.0",
|
|
48
|
-
"@pandacss/dev": "0.
|
|
48
|
+
"@pandacss/dev": "0.15.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|
|
@@ -0,0 +1,216 @@
|
|
|
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
|
+
@media screen and (min-width: 40em) {
|
|
26
|
+
[dir=ltr] .styles\:ltr\:sm\:ml_4 {
|
|
27
|
+
margin-left: var(--spacing-4)
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
[dir=rtl] .styles\:rtl\:ml_-4 {
|
|
31
|
+
margin-left: calc(var(--spacing-4) * -1)
|
|
32
|
+
}
|
|
33
|
+
.styles\:light\:text_red.light, .light .styles\:light\:text_red {
|
|
34
|
+
color: red
|
|
35
|
+
}
|
|
36
|
+
.styles\:dark\:text_green.dark, .dark .styles\:dark\:text_green {
|
|
37
|
+
color: green
|
|
38
|
+
}
|
|
39
|
+
.styles\:dark\:opacity_slate400.dark, .dark .styles\:dark\:opacity_slate400 {
|
|
40
|
+
opacity: slate400
|
|
41
|
+
}
|
|
42
|
+
@media screen and (min-width: 40em) {
|
|
43
|
+
[dir=rtl] .styles\:sm\:rtl\:top_20px {
|
|
44
|
+
top: 20px
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.styles\:left_20px,.styles\:\[\&_\>_p\]\:left_20px > p {
|
|
48
|
+
left: 20px
|
|
49
|
+
}
|
|
50
|
+
@media screen and (min-width: 48em) {
|
|
51
|
+
.styles\:\[\&_\>_p\]\:md\:left_40px > p {
|
|
52
|
+
left: 40px
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.styles\:\[\&_\>_p\]\:light\:bg_red400 > p.light, .light .styles\:\[\&_\>_p\]\:light\:bg_red400 > p {
|
|
56
|
+
background: red400
|
|
57
|
+
}
|
|
58
|
+
.styles\:\[\&_\>_p\]\:dark\:bg_green500 > p.dark, .dark .styles\:\[\&_\>_p\]\:dark\:bg_green500 > p {
|
|
59
|
+
background: green500
|
|
60
|
+
}
|
|
61
|
+
[dir=rtl] .styles\:\[\&_\>_p\]\:rtl\:font_sans > p {
|
|
62
|
+
font: sans
|
|
63
|
+
}
|
|
64
|
+
.styles\:\[\&\:\:placeholder\]\:left_40px::placeholder {
|
|
65
|
+
left: 40px
|
|
66
|
+
}
|
|
67
|
+
.styles\:\[\&\:\:placeholder\]\:bg_red400::placeholder {
|
|
68
|
+
background: red400
|
|
69
|
+
}
|
|
70
|
+
@media screen and (min-width: 40em) {
|
|
71
|
+
.styles\:\[\&\:\:placeholder\]\:sm\:text_left::placeholder {
|
|
72
|
+
text-align: left
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.styles\:all_unset {
|
|
77
|
+
all: unset
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.styles\:bg_red {
|
|
81
|
+
background-color: red
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.styles\:border_none {
|
|
85
|
+
border: var(--borders-none)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.styles\:p_\$3_\$3 {
|
|
89
|
+
padding: $3 $3
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.styles\:rounded_\$button {
|
|
93
|
+
border-radius: $button
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.styles\:fs_\$xsmall {
|
|
97
|
+
font-size: $xsmall
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.styles\:cursor_pointer {
|
|
101
|
+
cursor: pointer
|
|
102
|
+
}
|
|
103
|
+
.styles\:\[\&_\+_span\]\:ml_\$2 + span {
|
|
104
|
+
margin-left: $2
|
|
105
|
+
}
|
|
106
|
+
.test .styles\:\[\.test_\&\]\:bg_blue {
|
|
107
|
+
background-color: blue
|
|
108
|
+
}
|
|
109
|
+
.styles\:\[\&_\.my-class\]\:text_red .my-class,.styles\:\[\&_span\]\:text_red span,.styles\:\[\&_kbd\]\:text_red kbd {
|
|
110
|
+
color: red
|
|
111
|
+
}
|
|
112
|
+
.styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:focus, .styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:hover {
|
|
113
|
+
box-shadow: none
|
|
114
|
+
}
|
|
115
|
+
:focus > .styles\:\[\:focus_\>_\&\]\:text_white {
|
|
116
|
+
color: var(--colors-white)
|
|
117
|
+
}
|
|
118
|
+
@media screen and (min-width: 40em) {
|
|
119
|
+
.styles\:sm\:hover\:top_50px:is(:hover, [data-hover]) {
|
|
120
|
+
top: 50px
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
@media screen and (min-width: 40em) {
|
|
124
|
+
[dir=ltr] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:is(:hover, [data-hover]).dark, .dark [dir=ltr] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:is(:hover, [data-hover]) {
|
|
125
|
+
font: serif
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
input:hover .styles\:\[input\:hover_\&\]\:bg_red400 {
|
|
129
|
+
background: red400
|
|
130
|
+
}
|
|
131
|
+
@media screen and (min-width: 40em) {
|
|
132
|
+
input:hover .styles\:\[input\:hover_\&\]\:sm\:fs_14px {
|
|
133
|
+
font-size: 14px
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
@media screen and (min-width: 64em) {
|
|
137
|
+
input:hover .styles\:\[input\:hover_\&\]\:lg\:fs_18px {
|
|
138
|
+
font-size: 18px
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.styles\:hover\:bg_pink\.400:is(:hover, [data-hover]) {
|
|
142
|
+
background: var(--colors-pink-400)
|
|
143
|
+
}
|
|
144
|
+
@media screen and (min-width: 40em) {
|
|
145
|
+
.styles\:hover\:sm\:dark\:bg_red\.300:is(:hover, [data-hover]).dark, .dark .styles\:hover\:sm\:dark\:bg_red\.300:is(:hover, [data-hover]) {
|
|
146
|
+
background: var(--colors-red-300)
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
.styles\:hover\:text_pink\.400:is(:hover, [data-hover]) {
|
|
150
|
+
color: var(--colors-pink-400)
|
|
151
|
+
}
|
|
152
|
+
@media screen and (min-width: 40em) {
|
|
153
|
+
.styles\:hover\:disabled\:sm\:bg_red\.300:is(:hover, [data-hover]):is(:disabled, [disabled], [data-disabled]) {
|
|
154
|
+
background: var(--colors-red-300)
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
@media base {
|
|
158
|
+
.styles\:\[\@media_base\]\:\[\&\:hover\]\:left_40px:hover {
|
|
159
|
+
left: 40px
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
@media base {
|
|
163
|
+
@media screen and (min-width: 40em) {
|
|
164
|
+
.styles\:\[\@media_base\]\:\[\&\:hover\]\:sm\:text_left:hover {
|
|
165
|
+
text-align: left
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
@media (min-width: 768px) {
|
|
170
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:\[\&\:hover\]\:bg_yellow:hover {
|
|
171
|
+
background-color: yellow
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
@media screen and (min-width: 40em) {
|
|
175
|
+
|
|
176
|
+
.styles\:sm\:w_60px {
|
|
177
|
+
width: 60px
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
@media screen and (min-width: 64em) {
|
|
181
|
+
|
|
182
|
+
.styles\:lg\:top_120px {
|
|
183
|
+
top: 120px
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
@media screen and (min-width: 48em) {
|
|
187
|
+
|
|
188
|
+
.styles\:md\:left_40px {
|
|
189
|
+
left: 40px
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
@media base {
|
|
193
|
+
|
|
194
|
+
.styles\:\[\@media_base\]\:left_40px {
|
|
195
|
+
left: 40px
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
@media base {
|
|
199
|
+
@media screen and (min-width: 40em) {
|
|
200
|
+
|
|
201
|
+
.styles\:\[\@media_base\]\:sm\:text_left {
|
|
202
|
+
text-align: left
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
@media (min-width: 768px) {
|
|
207
|
+
|
|
208
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:bg_green {
|
|
209
|
+
background-color: green
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:fs_\$small {
|
|
213
|
+
font-size: $small
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withoutSpace } from '../helpers.mjs';
|
|
2
2
|
|
|
3
|
-
const conditionsStr = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,base"
|
|
3
|
+
const conditionsStr = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,base"
|
|
4
4
|
const conditions = new Set(conditionsStr.split(','))
|
|
5
5
|
|
|
6
6
|
export function isCondition(value){
|
|
@@ -57,7 +57,7 @@ export function getCompoundVariantCss(compoundVariants, variantMap) {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export function assertCompoundVariant(name, compoundVariants, variants, prop) {
|
|
60
|
-
if (compoundVariants.length > 0 && typeof variants[prop] === 'object') {
|
|
60
|
+
if (compoundVariants.length > 0 && typeof variants?.[prop] === 'object') {
|
|
61
61
|
throw new Error(`[recipe:${name}:${prop}] Conditions are not supported when using compound variants.`)
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -210,49 +210,24 @@ var hypenateProperty = memo((property) => {
|
|
|
210
210
|
});
|
|
211
211
|
|
|
212
212
|
// src/slot.ts
|
|
213
|
-
var assign = (obj, path, value) => {
|
|
214
|
-
const last = path.pop();
|
|
215
|
-
const target = path.reduce((acc, key) => {
|
|
216
|
-
if (acc[key] == null)
|
|
217
|
-
acc[key] = {};
|
|
218
|
-
return acc[key];
|
|
219
|
-
}, obj);
|
|
220
|
-
if (last != null)
|
|
221
|
-
target[last] = value;
|
|
222
|
-
};
|
|
223
213
|
var getSlotRecipes = (recipe) => {
|
|
224
|
-
const
|
|
225
|
-
slot,
|
|
226
|
-
|
|
227
|
-
{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
base: {},
|
|
231
|
-
variants: {},
|
|
232
|
-
defaultVariants: recipe.defaultVariants ?? {},
|
|
233
|
-
compoundVariants: []
|
|
234
|
-
}
|
|
235
|
-
]).map(([slot, cva]) => {
|
|
236
|
-
const base = recipe.base[slot];
|
|
237
|
-
if (base)
|
|
238
|
-
cva.base = base;
|
|
239
|
-
walkObject(
|
|
240
|
-
recipe.variants ?? {},
|
|
241
|
-
(variant, path) => {
|
|
242
|
-
if (!variant[slot])
|
|
243
|
-
return;
|
|
244
|
-
assign(cva, ["variants", ...path], variant[slot]);
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
stop: (_value, path) => path.includes(slot)
|
|
248
|
-
}
|
|
249
|
-
);
|
|
250
|
-
if (recipe.compoundVariants) {
|
|
251
|
-
cva.compoundVariants = getSlotCompoundVariant(recipe.compoundVariants, slot);
|
|
252
|
-
}
|
|
253
|
-
return [slot, cva];
|
|
214
|
+
const init = (slot) => ({
|
|
215
|
+
className: [recipe.className, slot].filter(Boolean).join("__"),
|
|
216
|
+
base: recipe.base?.[slot] ?? {},
|
|
217
|
+
variants: {},
|
|
218
|
+
defaultVariants: recipe.defaultVariants ?? {},
|
|
219
|
+
compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : []
|
|
254
220
|
});
|
|
255
|
-
|
|
221
|
+
const recipeParts = recipe.slots.map((slot) => [slot, init(slot)]);
|
|
222
|
+
for (const [variantsKey, variantsSpec] of Object.entries(recipe.variants ?? {})) {
|
|
223
|
+
for (const [variantKey, variantSpec] of Object.entries(variantsSpec)) {
|
|
224
|
+
recipeParts.forEach(([slot, slotRecipe]) => {
|
|
225
|
+
slotRecipe.variants[variantsKey] ??= {};
|
|
226
|
+
slotRecipe.variants[variantsKey][variantKey] = variantSpec[slot] ?? {};
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return Object.fromEntries(recipeParts);
|
|
256
231
|
};
|
|
257
232
|
var getSlotCompoundVariant = (compoundVariants, slotName) => compoundVariants.filter((compoundVariant) => compoundVariant.css[slotName]).map((compoundVariant) => ({ ...compoundVariant, css: compoundVariant.css[slotName] }));
|
|
258
233
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo } from '../helpers.mjs';
|
|
2
2
|
// src/index.ts
|
|
3
|
-
var userGeneratedStr = "css,pos,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,insetX,insetY,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginX,scrollMarginY,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingX,scrollPaddingY,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,colorPalette,textStyle,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl"
|
|
3
|
+
var userGeneratedStr = "css,pos,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,insetX,insetY,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginX,scrollMarginY,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingX,scrollPaddingY,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,colorPalette,textStyle,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl"
|
|
4
4
|
var userGenerated = userGeneratedStr.split(",");
|
|
5
5
|
var cssPropertiesStr = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockOverflow,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTransitionName,visibility,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect";
|
|
6
6
|
var allCssProperties = cssPropertiesStr.split(",").concat(userGenerated);
|
package/styled-system/styles.css
CHANGED
|
@@ -11,6 +11,110 @@
|
|
|
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, .light .styles\:light\:text_red {
|
|
43
|
+
color: red
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.styles\:dark\:text_green.dark, .dark .styles\:dark\:text_green {
|
|
47
|
+
color: green
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.styles\:dark\:opacity_slate400.dark, .dark .styles\:dark\:opacity_slate400 {
|
|
51
|
+
opacity: slate400
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.styles\:left_20px,.styles\:\[\&_\>_p\]\:left_20px > p {
|
|
55
|
+
left: 20px
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.styles\:\[\&_\>_p\]\:light\:bg_red400 > p.light, .light .styles\:\[\&_\>_p\]\:light\:bg_red400 > p {
|
|
59
|
+
background: red400
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.styles\:\[\&_\>_p\]\:dark\:bg_green500 > p.dark, .dark .styles\:\[\&_\>_p\]\:dark\:bg_green500 > p {
|
|
63
|
+
background: green500
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[dir=rtl] .styles\:\[\&_\>_p\]\:rtl\:font_sans > p {
|
|
67
|
+
font: sans
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.styles\:\[\&\:\:placeholder\]\:left_40px::placeholder {
|
|
71
|
+
left: 40px
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.styles\:\[\&\:\:placeholder\]\:bg_red400::placeholder {
|
|
75
|
+
background: red400
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.styles\:all_unset {
|
|
79
|
+
all: unset
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.styles\:bg_red {
|
|
83
|
+
background-color: red
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.styles\:border_none {
|
|
87
|
+
border: var(--borders-none)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.styles\:p_\$3_\$3 {
|
|
91
|
+
padding: $3 $3
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.styles\:rounded_\$button {
|
|
95
|
+
border-radius: $button
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.styles\:fs_\$xsmall {
|
|
99
|
+
font-size: $xsmall
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.styles\:cursor_pointer {
|
|
103
|
+
cursor: pointer
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.styles\:\[\&_\+_span\]\:ml_\$2 + span {
|
|
107
|
+
margin-left: $2
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.test .styles\:\[\.test_\&\]\:bg_blue {
|
|
111
|
+
background-color: blue
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.styles\:\[\&_\.my-class\]\:text_red .my-class,.styles\:\[\&_span\]\:text_red span,.styles\:\[\&_kbd\]\:text_red kbd {
|
|
115
|
+
color: red
|
|
116
|
+
}
|
|
117
|
+
|
|
14
118
|
.w_26px {
|
|
15
119
|
width: 26px;
|
|
16
120
|
}
|
|
@@ -960,6 +1064,14 @@
|
|
|
960
1064
|
outline-color: var(--colors-neutral-400);
|
|
961
1065
|
}
|
|
962
1066
|
|
|
1067
|
+
.styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:focus, .styles\:\[\&\:focus\,_\&\:hover\]\:shadow_none:hover {
|
|
1068
|
+
box-shadow: none
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
:focus > .styles\:\[\:focus_\>_\&\]\:text_white {
|
|
1072
|
+
color: var(--colors-white)
|
|
1073
|
+
}
|
|
1074
|
+
|
|
963
1075
|
.hover\:bg_gray\.100:where(:hover, [data-hover]) {
|
|
964
1076
|
background-color: var(--colors-gray-100);
|
|
965
1077
|
}
|
|
@@ -996,6 +1108,18 @@
|
|
|
996
1108
|
border-bottom-color: var(--colors-black);
|
|
997
1109
|
}
|
|
998
1110
|
|
|
1111
|
+
input:hover .styles\:\[input\:hover_\&\]\:bg_red400 {
|
|
1112
|
+
background: red400
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.styles\:hover\:bg_pink\.400:is(:hover, [data-hover]) {
|
|
1116
|
+
background: var(--colors-pink-400)
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.styles\:hover\:text_pink\.400:is(:hover, [data-hover]) {
|
|
1120
|
+
color: var(--colors-pink-400)
|
|
1121
|
+
}
|
|
1122
|
+
|
|
999
1123
|
.\[\&\:hover\]\:bg_\#4049f0:hover {
|
|
1000
1124
|
background: #4049f0;
|
|
1001
1125
|
}
|
|
@@ -1008,6 +1132,78 @@
|
|
|
1008
1132
|
opacity: 0.8;
|
|
1009
1133
|
}
|
|
1010
1134
|
|
|
1135
|
+
@media screen and (min-width: 40em) {
|
|
1136
|
+
[dir=ltr] .styles\:ltr\:sm\:ml_4 {
|
|
1137
|
+
margin-left: var(--spacing-4)
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
[dir=rtl] .styles\:sm\:rtl\:top_20px {
|
|
1141
|
+
top: 20px
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
@media screen and (min-width: 40em) {
|
|
1146
|
+
.styles\:\[\&\:\:placeholder\]\:sm\:text_left::placeholder {
|
|
1147
|
+
text-align: left
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
@media screen and (min-width: 40em) {
|
|
1152
|
+
.styles\:sm\:hover\:top_50px:is(:hover, [data-hover]) {
|
|
1153
|
+
top: 50px
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
@media screen and (min-width: 40em) {
|
|
1158
|
+
[dir=ltr] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:is(:hover, [data-hover]).dark, .dark [dir=ltr] .styles\:\[\&_\>_p\]\:ltr\:dark\:sm\:hover\:font_serif > p:is(:hover, [data-hover]) {
|
|
1159
|
+
font: serif
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
@media screen and (min-width: 40em) {
|
|
1164
|
+
input:hover .styles\:\[input\:hover_\&\]\:sm\:fs_14px {
|
|
1165
|
+
font-size: 14px
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
@media screen and (min-width: 40em) {
|
|
1170
|
+
.styles\:hover\:sm\:dark\:bg_red\.300:is(:hover, [data-hover]).dark, .dark .styles\:hover\:sm\:dark\:bg_red\.300:is(:hover, [data-hover]) {
|
|
1171
|
+
background: var(--colors-red-300)
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
@media screen and (min-width: 40em) {
|
|
1176
|
+
.styles\:hover\:disabled\:sm\:bg_red\.300:is(:hover, [data-hover]):is(:disabled, [disabled], [data-disabled]) {
|
|
1177
|
+
background: var(--colors-red-300)
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
@media screen and (min-width: 40em) {
|
|
1182
|
+
.styles\:sm\:w_60px {
|
|
1183
|
+
width: 60px
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
@media (min-width: 768px) {
|
|
1188
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:bg_green {
|
|
1189
|
+
background-color: green
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:fs_\$small {
|
|
1193
|
+
font-size: $small
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.styles\:\[\@media_\(min-width\:_768px\)\]\:\[\&\:hover\]\:bg_yellow:hover {
|
|
1197
|
+
background-color: yellow
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
@media screen and (min-width: 48em) {
|
|
1202
|
+
.styles\:\[\&_\>_p\]\:md\:left_40px > p,.styles\:md\:left_40px {
|
|
1203
|
+
left: 40px
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1011
1207
|
@media screen and (min-width: 768px) {
|
|
1012
1208
|
.md\:px_6 {
|
|
1013
1209
|
padding-inline: var(--spacing-6)
|
|
@@ -1019,4 +1215,42 @@
|
|
|
1019
1215
|
padding-inline: var(--spacing-8)
|
|
1020
1216
|
}
|
|
1021
1217
|
}
|
|
1218
|
+
|
|
1219
|
+
@media screen and (min-width: 64em) {
|
|
1220
|
+
.styles\:lg\:top_120px {
|
|
1221
|
+
top: 120px
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
input:hover .styles\:\[input\:hover_\&\]\:lg\:fs_18px {
|
|
1225
|
+
font-size: 18px
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
@media base {
|
|
1230
|
+
.styles\:\[\@media_base\]\:\[\&\:hover\]\:left_40px:hover {
|
|
1231
|
+
left: 40px
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
@media base {
|
|
1236
|
+
@media screen and (min-width: 40em) {
|
|
1237
|
+
.styles\:\[\@media_base\]\:\[\&\:hover\]\:sm\:text_left:hover {
|
|
1238
|
+
text-align: left
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
@media base {
|
|
1244
|
+
.styles\:\[\@media_base\]\:left_40px {
|
|
1245
|
+
left: 40px
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
@media base {
|
|
1250
|
+
@media screen and (min-width: 40em) {
|
|
1251
|
+
.styles\:\[\@media_base\]\:sm\:text_left {
|
|
1252
|
+
text-align: left
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1022
1256
|
}
|
|
@@ -89,30 +89,31 @@ export type Conditions = {
|
|
|
89
89
|
/** `&::-webkit-scrollbar-track` */"_scrollbarTrack": string
|
|
90
90
|
/** `&[data-orientation=horizontal]` */"_horizontal": string
|
|
91
91
|
/** `&[data-orientation=vertical]` */"_vertical": string
|
|
92
|
-
/** `@media screen and (min-width:
|
|
93
|
-
/** `@media screen and (min-width:
|
|
94
|
-
/** `@media screen and (max-width:
|
|
95
|
-
/** `@media screen and (min-width:
|
|
96
|
-
/** `@media screen and (min-width:
|
|
97
|
-
/** `@media screen and (max-width:
|
|
98
|
-
/** `@media screen and (min-width:
|
|
99
|
-
/** `@media screen and (min-width:
|
|
100
|
-
/** `@media screen and (max-width:
|
|
101
|
-
/** `@media screen and (min-width:
|
|
102
|
-
/** `@media screen and (min-width:
|
|
103
|
-
/** `@media screen and (max-width:
|
|
104
|
-
/** `@media screen and (min-width:
|
|
105
|
-
/** `@media screen and (min-width:
|
|
106
|
-
/** `@media screen and (
|
|
107
|
-
/** `@media screen and (min-width:
|
|
108
|
-
/** `@media screen and (min-width:
|
|
109
|
-
/** `@media screen and (min-width:
|
|
110
|
-
/** `@media screen and (min-width:
|
|
111
|
-
/** `@media screen and (min-width:
|
|
112
|
-
/** `@media screen and (min-width:
|
|
113
|
-
/** `@media screen and (min-width:
|
|
114
|
-
/** `@media screen and (min-width:
|
|
115
|
-
/** `@media screen and (min-width:
|
|
92
|
+
/** `@media screen and (min-width: 40em)` */"sm": string
|
|
93
|
+
/** `@media screen and (min-width: 40em) and (max-width: 47.996875em)` */"smOnly": string
|
|
94
|
+
/** `@media screen and (max-width: 40em)` */"smDown": string
|
|
95
|
+
/** `@media screen and (min-width: 48em)` */"md": string
|
|
96
|
+
/** `@media screen and (min-width: 48em) and (max-width: 63.996875em)` */"mdOnly": string
|
|
97
|
+
/** `@media screen and (max-width: 48em)` */"mdDown": string
|
|
98
|
+
/** `@media screen and (min-width: 64em)` */"lg": string
|
|
99
|
+
/** `@media screen and (min-width: 64em) and (max-width: 79.996875em)` */"lgOnly": string
|
|
100
|
+
/** `@media screen and (max-width: 64em)` */"lgDown": string
|
|
101
|
+
/** `@media screen and (min-width: 80em)` */"xl": string
|
|
102
|
+
/** `@media screen and (min-width: 80em) and (max-width: 95.996875em)` */"xlOnly": string
|
|
103
|
+
/** `@media screen and (max-width: 80em)` */"xlDown": string
|
|
104
|
+
/** `@media screen and (min-width: 96em)` */"2xl": string
|
|
105
|
+
/** `@media screen and (min-width: 96em)` */"2xlOnly": string
|
|
106
|
+
/** `@media screen and (max-width: 96em)` */"2xlDown": string
|
|
107
|
+
/** `@media screen and (min-width: 40em) and (max-width: 47.996875em)` */"smToMd": string
|
|
108
|
+
/** `@media screen and (min-width: 40em) and (max-width: 63.996875em)` */"smToLg": string
|
|
109
|
+
/** `@media screen and (min-width: 40em) and (max-width: 79.996875em)` */"smToXl": string
|
|
110
|
+
/** `@media screen and (min-width: 40em) and (max-width: 95.996875em)` */"smTo2xl": string
|
|
111
|
+
/** `@media screen and (min-width: 48em) and (max-width: 63.996875em)` */"mdToLg": string
|
|
112
|
+
/** `@media screen and (min-width: 48em) and (max-width: 79.996875em)` */"mdToXl": string
|
|
113
|
+
/** `@media screen and (min-width: 48em) and (max-width: 95.996875em)` */"mdTo2xl": string
|
|
114
|
+
/** `@media screen and (min-width: 64em) and (max-width: 79.996875em)` */"lgToXl": string
|
|
115
|
+
/** `@media screen and (min-width: 64em) and (max-width: 95.996875em)` */"lgTo2xl": string
|
|
116
|
+
/** `@media screen and (min-width: 80em) and (max-width: 95.996875em)` */"xlTo2xl": string
|
|
116
117
|
/** The base (=no conditions) styles to apply */"base": string
|
|
117
118
|
}
|
|
118
119
|
|