@master/css 2.0.0-rc.67 → 2.0.0-rc.69

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.
Files changed (109) hide show
  1. package/dist/common.cjs +0 -2
  2. package/dist/common.d.ts +0 -1
  3. package/dist/common.mjs +1 -2
  4. package/dist/config/functions.cjs +9 -243
  5. package/dist/config/functions.d.ts +137 -2
  6. package/dist/config/functions.mjs +9 -243
  7. package/dist/config/index.cjs +2 -2
  8. package/dist/config/index.mjs +2 -2
  9. package/dist/config/modes.cjs +307 -3
  10. package/dist/config/modes.d.ts +306 -2
  11. package/dist/config/modes.mjs +307 -3
  12. package/dist/config/rules.cjs +740 -782
  13. package/dist/config/rules.d.ts +692 -683
  14. package/dist/config/rules.mjs +741 -783
  15. package/dist/config/utilities.cjs +328 -97
  16. package/dist/config/utilities.d.ts +247 -16
  17. package/dist/config/utilities.mjs +328 -97
  18. package/dist/config/variables.cjs +88 -460
  19. package/dist/config/variables.d.ts +358 -369
  20. package/dist/config/variables.mjs +88 -460
  21. package/dist/core.cjs +242 -260
  22. package/dist/core.d.ts +5 -3
  23. package/dist/core.mjs +242 -260
  24. package/dist/create.cjs +10 -0
  25. package/dist/create.d.ts +3 -0
  26. package/dist/create.mjs +8 -0
  27. package/dist/declarers/core.group.cjs +99 -0
  28. package/dist/declarers/core.group.d.ts +2 -0
  29. package/dist/declarers/core.group.mjs +97 -0
  30. package/dist/declarers/core.variable.cjs +9 -0
  31. package/dist/declarers/core.variable.d.ts +4 -0
  32. package/dist/declarers/core.variable.mjs +7 -0
  33. package/dist/declarers/index.cjs +13 -0
  34. package/dist/declarers/index.d.ts +10 -0
  35. package/dist/declarers/index.mjs +11 -0
  36. package/dist/declarers/pair.cjs +12 -0
  37. package/dist/declarers/pair.d.ts +4 -0
  38. package/dist/declarers/pair.mjs +10 -0
  39. package/dist/factories/with-syntax-layer.cjs +0 -2
  40. package/dist/factories/with-syntax-layer.mjs +0 -2
  41. package/dist/function-transformers/core.calc.cjs +225 -0
  42. package/dist/function-transformers/core.calc.d.ts +2 -0
  43. package/dist/function-transformers/core.calc.mjs +223 -0
  44. package/dist/function-transformers/core.variable.cjs +23 -0
  45. package/dist/function-transformers/core.variable.d.ts +7 -0
  46. package/dist/function-transformers/core.variable.mjs +21 -0
  47. package/dist/function-transformers/index.cjs +11 -0
  48. package/dist/function-transformers/index.d.ts +8 -0
  49. package/dist/function-transformers/index.mjs +9 -0
  50. package/dist/index.cjs +10 -1
  51. package/dist/index.d.ts +8 -2
  52. package/dist/index.mjs +6 -1
  53. package/dist/layer.cjs +2 -4
  54. package/dist/layer.mjs +2 -4
  55. package/dist/non-layer.cjs +2 -4
  56. package/dist/non-layer.mjs +2 -4
  57. package/dist/syntax-rule-type.cjs +8 -7
  58. package/dist/syntax-rule-type.d.ts +7 -7
  59. package/dist/syntax-rule-type.mjs +8 -7
  60. package/dist/syntax-rule.cjs +305 -253
  61. package/dist/syntax-rule.d.ts +2 -2
  62. package/dist/syntax-rule.mjs +306 -254
  63. package/dist/{utils/autofill-solid-style.cjs → transformers/auto-fill-solid.cjs} +3 -3
  64. package/dist/transformers/auto-fill-solid.d.ts +2 -0
  65. package/dist/{utils/autofill-solid-style.mjs → transformers/auto-fill-solid.mjs} +3 -3
  66. package/dist/transformers/index.cjs +9 -0
  67. package/dist/transformers/index.d.ts +6 -0
  68. package/dist/transformers/index.mjs +7 -0
  69. package/dist/types/common.d.ts +0 -2
  70. package/dist/types/config.d.ts +24 -20
  71. package/dist/types/syntax.d.ts +10 -8
  72. package/dist/utils/equal-selectors.cjs +1 -2
  73. package/dist/utils/equal-selectors.mjs +1 -2
  74. package/dist/utils/extend-config.cjs +83 -44
  75. package/dist/utils/extend-config.d.ts +10 -1
  76. package/dist/utils/extend-config.mjs +83 -44
  77. package/dist/utils/flatten-meta-object.cjs +38 -0
  78. package/dist/utils/flatten-meta-object.d.ts +13 -0
  79. package/dist/utils/flatten-meta-object.mjs +36 -0
  80. package/dist/utils/flatten-object.cjs +13 -9
  81. package/dist/utils/flatten-object.d.ts +1 -1
  82. package/dist/utils/flatten-object.mjs +13 -9
  83. package/dist/utils/generate-css.cjs +2 -2
  84. package/dist/utils/generate-css.d.ts +1 -2
  85. package/dist/utils/generate-css.mjs +2 -2
  86. package/dist/utils/generate-selector.cjs +2 -1
  87. package/dist/utils/generate-selector.mjs +2 -1
  88. package/dist/utils/minify-extended-config.cjs +64 -0
  89. package/dist/utils/minify-extended-config.d.ts +9 -0
  90. package/dist/utils/minify-extended-config.mjs +62 -0
  91. package/dist/utils/nest-meta-object.cjs +25 -0
  92. package/dist/utils/nest-meta-object.d.ts +7 -0
  93. package/dist/utils/nest-meta-object.mjs +23 -0
  94. package/dist/utils/parse-at.cjs +1 -2
  95. package/dist/utils/parse-at.d.ts +2 -2
  96. package/dist/utils/parse-at.mjs +1 -2
  97. package/dist/utils/parse-pair.cjs +3 -6
  98. package/dist/utils/parse-pair.mjs +3 -6
  99. package/dist/utils/parse-selector.cjs +6 -6
  100. package/dist/utils/parse-selector.d.ts +3 -3
  101. package/dist/utils/parse-selector.mjs +6 -6
  102. package/dist/utils/sort-readable-classes.cjs +2 -2
  103. package/dist/utils/sort-readable-classes.d.ts +1 -2
  104. package/dist/utils/sort-readable-classes.mjs +2 -2
  105. package/dist/variable-rule.cjs +35 -29
  106. package/dist/variable-rule.d.ts +16 -6
  107. package/dist/variable-rule.mjs +35 -29
  108. package/package.json +1 -1
  109. package/dist/utils/autofill-solid-style.d.ts +0 -3
@@ -1,5 +1,309 @@
1
1
  declare const modes: {
2
- dark: "class";
3
- light: "class";
2
+ light: {
3
+ color: {
4
+ ground: string;
5
+ base: string;
6
+ invert: string;
7
+ stone: {
8
+ "": string;
9
+ active: string;
10
+ text: string;
11
+ };
12
+ gray: {
13
+ "": string;
14
+ active: string;
15
+ text: string;
16
+ };
17
+ grey: {
18
+ "": string;
19
+ active: string;
20
+ text: string;
21
+ };
22
+ slate: {
23
+ "": string;
24
+ active: string;
25
+ text: string;
26
+ };
27
+ brown: {
28
+ "": string;
29
+ active: string;
30
+ text: string;
31
+ };
32
+ orange: {
33
+ "": string;
34
+ active: string;
35
+ text: string;
36
+ };
37
+ amber: {
38
+ "": string;
39
+ active: string;
40
+ text: string;
41
+ };
42
+ yellow: {
43
+ "": string;
44
+ active: string;
45
+ text: string;
46
+ };
47
+ lime: {
48
+ "": string;
49
+ active: string;
50
+ text: string;
51
+ };
52
+ green: {
53
+ "": string;
54
+ active: string;
55
+ text: string;
56
+ };
57
+ beryl: {
58
+ "": string;
59
+ active: string;
60
+ text: string;
61
+ };
62
+ teal: {
63
+ "": string;
64
+ active: string;
65
+ text: string;
66
+ };
67
+ cyan: {
68
+ "": string;
69
+ active: string;
70
+ text: string;
71
+ };
72
+ sky: {
73
+ "": string;
74
+ active: string;
75
+ text: string;
76
+ };
77
+ blue: {
78
+ "": string;
79
+ active: string;
80
+ text: string;
81
+ };
82
+ indigo: {
83
+ "": string;
84
+ active: string;
85
+ text: string;
86
+ };
87
+ violet: {
88
+ "": string;
89
+ active: string;
90
+ text: string;
91
+ };
92
+ purple: {
93
+ "": string;
94
+ active: string;
95
+ text: string;
96
+ };
97
+ fuchsia: {
98
+ "": string;
99
+ active: string;
100
+ text: string;
101
+ };
102
+ pink: {
103
+ "": string;
104
+ active: string;
105
+ text: string;
106
+ };
107
+ crimson: {
108
+ "": string;
109
+ active: string;
110
+ text: string;
111
+ };
112
+ red: {
113
+ "": string;
114
+ active: string;
115
+ text: string;
116
+ };
117
+ line: {
118
+ neutral: string;
119
+ light: string;
120
+ lighter: string;
121
+ lightest: string;
122
+ };
123
+ text: {
124
+ invert: string;
125
+ strong: string;
126
+ neutral: string;
127
+ lightest: string;
128
+ lighter: string;
129
+ light: string;
130
+ stone: string;
131
+ gray: string;
132
+ grey: string;
133
+ slate: string;
134
+ brown: string;
135
+ orange: string;
136
+ amber: string;
137
+ yellow: string;
138
+ lime: string;
139
+ green: string;
140
+ beryl: string;
141
+ teal: string;
142
+ cyan: string;
143
+ sky: string;
144
+ blue: string;
145
+ indigo: string;
146
+ violet: string;
147
+ purple: string;
148
+ fuchsia: string;
149
+ pink: string;
150
+ crimson: string;
151
+ red: string;
152
+ };
153
+ };
154
+ };
155
+ dark: {
156
+ color: {
157
+ ground: string;
158
+ base: string;
159
+ invert: string;
160
+ stone: {
161
+ "": string;
162
+ active: string;
163
+ text: string;
164
+ };
165
+ gray: {
166
+ "": string;
167
+ active: string;
168
+ text: string;
169
+ };
170
+ grey: {
171
+ "": string;
172
+ active: string;
173
+ text: string;
174
+ };
175
+ slate: {
176
+ "": string;
177
+ active: string;
178
+ text: string;
179
+ };
180
+ brown: {
181
+ "": string;
182
+ active: string;
183
+ text: string;
184
+ };
185
+ orange: {
186
+ "": string;
187
+ active: string;
188
+ text: string;
189
+ };
190
+ amber: {
191
+ "": string;
192
+ active: string;
193
+ text: string;
194
+ };
195
+ yellow: {
196
+ "": string;
197
+ active: string;
198
+ text: string;
199
+ };
200
+ lime: {
201
+ "": string;
202
+ active: string;
203
+ text: string;
204
+ };
205
+ green: {
206
+ "": string;
207
+ active: string;
208
+ text: string;
209
+ };
210
+ beryl: {
211
+ "": string;
212
+ active: string;
213
+ text: string;
214
+ };
215
+ teal: {
216
+ "": string;
217
+ active: string;
218
+ text: string;
219
+ };
220
+ cyan: {
221
+ "": string;
222
+ active: string;
223
+ text: string;
224
+ };
225
+ sky: {
226
+ "": string;
227
+ active: string;
228
+ text: string;
229
+ };
230
+ blue: {
231
+ "": string;
232
+ active: string;
233
+ text: string;
234
+ };
235
+ indigo: {
236
+ "": string;
237
+ active: string;
238
+ text: string;
239
+ };
240
+ violet: {
241
+ "": string;
242
+ active: string;
243
+ text: string;
244
+ };
245
+ purple: {
246
+ "": string;
247
+ active: string;
248
+ text: string;
249
+ };
250
+ fuchsia: {
251
+ "": string;
252
+ active: string;
253
+ text: string;
254
+ };
255
+ pink: {
256
+ "": string;
257
+ active: string;
258
+ text: string;
259
+ };
260
+ crimson: {
261
+ "": string;
262
+ active: string;
263
+ text: string;
264
+ };
265
+ red: {
266
+ "": string;
267
+ active: string;
268
+ text: string;
269
+ };
270
+ line: {
271
+ neutral: string;
272
+ light: string;
273
+ lighter: string;
274
+ lightest: string;
275
+ };
276
+ text: {
277
+ invert: string;
278
+ strong: string;
279
+ neutral: string;
280
+ lightest: string;
281
+ lighter: string;
282
+ light: string;
283
+ stone: string;
284
+ gray: string;
285
+ grey: string;
286
+ slate: string;
287
+ brown: string;
288
+ orange: string;
289
+ amber: string;
290
+ yellow: string;
291
+ lime: string;
292
+ green: string;
293
+ beryl: string;
294
+ teal: string;
295
+ cyan: string;
296
+ sky: string;
297
+ blue: string;
298
+ indigo: string;
299
+ violet: string;
300
+ purple: string;
301
+ fuchsia: string;
302
+ pink: string;
303
+ crimson: string;
304
+ red: string;
305
+ };
306
+ };
307
+ };
4
308
  };
5
309
  export default modes;
@@ -1,6 +1,310 @@
1
- const modes = {
2
- dark: 'class',
3
- light: 'class'
1
+ /* eslint-disable quotes */ const modes = {
2
+ "light": {
3
+ "color": {
4
+ "ground": "$color-grey-0",
5
+ "base": "$color-white",
6
+ "invert": "$color-black",
7
+ "stone": {
8
+ "": "$color-stone-30",
9
+ "active": "$color-stone-40",
10
+ "text": "$color-stone-90"
11
+ },
12
+ "gray": {
13
+ "": "$color-gray-30",
14
+ "active": "$color-gray-40",
15
+ "text": "$color-gray-90"
16
+ },
17
+ "grey": {
18
+ "": "$color-grey-30",
19
+ "active": "$color-grey-40",
20
+ "text": "$color-grey-90"
21
+ },
22
+ "slate": {
23
+ "": "$color-slate-30",
24
+ "active": "$color-slate-40",
25
+ "text": "$color-slate-90"
26
+ },
27
+ "brown": {
28
+ "": "$color-brown-40",
29
+ "active": "$color-brown-50",
30
+ "text": "$color-brown-90"
31
+ },
32
+ "orange": {
33
+ "": "$color-orange-40",
34
+ "active": "$color-orange-50",
35
+ "text": "$color-orange-90"
36
+ },
37
+ "amber": {
38
+ "": "$color-amber-40",
39
+ "active": "$color-amber-50",
40
+ "text": "$color-amber-90"
41
+ },
42
+ "yellow": {
43
+ "": "$color-yellow-40",
44
+ "active": "$color-yellow-50",
45
+ "text": "$color-yellow-90"
46
+ },
47
+ "lime": {
48
+ "": "$color-lime-40",
49
+ "active": "$color-lime-50",
50
+ "text": "$color-lime-90"
51
+ },
52
+ "green": {
53
+ "": "$color-green-40",
54
+ "active": "$color-green-50",
55
+ "text": "$color-green-90"
56
+ },
57
+ "beryl": {
58
+ "": "$color-beryl-40",
59
+ "active": "$color-beryl-50",
60
+ "text": "$color-beryl-90"
61
+ },
62
+ "teal": {
63
+ "": "$color-teal-40",
64
+ "active": "$color-teal-50",
65
+ "text": "$color-teal-90"
66
+ },
67
+ "cyan": {
68
+ "": "$color-cyan-40",
69
+ "active": "$color-cyan-50",
70
+ "text": "$color-cyan-90"
71
+ },
72
+ "sky": {
73
+ "": "$color-sky-60",
74
+ "active": "$color-sky-70",
75
+ "text": "$color-white"
76
+ },
77
+ "blue": {
78
+ "": "$color-blue-60",
79
+ "active": "$color-blue-70",
80
+ "text": "$color-white"
81
+ },
82
+ "indigo": {
83
+ "": "$color-indigo-60",
84
+ "active": "$color-indigo-70",
85
+ "text": "$color-white"
86
+ },
87
+ "violet": {
88
+ "": "$color-violet-60",
89
+ "active": "$color-violet-70",
90
+ "text": "$color-white"
91
+ },
92
+ "purple": {
93
+ "": "$color-purple-60",
94
+ "active": "$color-purple-70",
95
+ "text": "$color-white"
96
+ },
97
+ "fuchsia": {
98
+ "": "$color-fuchsia-60",
99
+ "active": "$color-fuchsia-70",
100
+ "text": "$color-white"
101
+ },
102
+ "pink": {
103
+ "": "$color-pink-60",
104
+ "active": "$color-pink-70",
105
+ "text": "$color-white"
106
+ },
107
+ "crimson": {
108
+ "": "$color-crimson-60",
109
+ "active": "$color-crimson-70",
110
+ "text": "$color-white"
111
+ },
112
+ "red": {
113
+ "": "$color-red-60",
114
+ "active": "$color-red-70",
115
+ "text": "$color-white"
116
+ },
117
+ "line": {
118
+ "neutral": "$color-grey-60",
119
+ "light": "oklch(0% 0 none / 0.12)",
120
+ "lighter": "oklch(0% 0 none / 0.09)",
121
+ "lightest": "oklch(0% 0 none / 0.06)"
122
+ },
123
+ "text": {
124
+ "invert": "$color-white",
125
+ "strong": "$color-grey-100",
126
+ "neutral": "$color-grey-70",
127
+ "lightest": "$color-grey-30",
128
+ "lighter": "$color-grey-40",
129
+ "light": "$color-grey-50",
130
+ "stone": "$color-stone-60",
131
+ "gray": "$color-gray-60",
132
+ "grey": "$color-grey-60",
133
+ "slate": "$color-slate-60",
134
+ "brown": "$color-brown-60",
135
+ "orange": "$color-orange-60",
136
+ "amber": "$color-amber-60",
137
+ "yellow": "$color-yellow-70",
138
+ "lime": "$color-lime-70",
139
+ "green": "$color-green-70",
140
+ "beryl": "$color-beryl-70",
141
+ "teal": "$color-teal-70",
142
+ "cyan": "$color-cyan-70",
143
+ "sky": "$color-sky-70",
144
+ "blue": "$color-blue-60",
145
+ "indigo": "$color-indigo-60",
146
+ "violet": "$color-violet-60",
147
+ "purple": "$color-purple-60",
148
+ "fuchsia": "$color-fuchsia-60",
149
+ "pink": "$color-pink-60",
150
+ "crimson": "$color-crimson-60",
151
+ "red": "$color-red-60"
152
+ }
153
+ }
154
+ },
155
+ "dark": {
156
+ "color": {
157
+ "ground": "$color-gray-100",
158
+ "base": "$color-gray-95",
159
+ "invert": "$color-white",
160
+ "stone": {
161
+ "": "$color-stone-40",
162
+ "active": "$color-stone-30",
163
+ "text": "$color-stone-95"
164
+ },
165
+ "gray": {
166
+ "": "$color-gray-40",
167
+ "active": "$color-gray-30",
168
+ "text": "$color-gray-95"
169
+ },
170
+ "grey": {
171
+ "": "$color-grey-40",
172
+ "active": "$color-grey-30",
173
+ "text": "$color-grey-95"
174
+ },
175
+ "slate": {
176
+ "": "$color-slate-40",
177
+ "active": "$color-slate-30",
178
+ "text": "$color-slate-95"
179
+ },
180
+ "brown": {
181
+ "": "$color-brown-50",
182
+ "active": "$color-brown-40",
183
+ "text": "$color-brown-95"
184
+ },
185
+ "orange": {
186
+ "": "$color-orange-50",
187
+ "active": "$color-orange-40",
188
+ "text": "$color-orange-95"
189
+ },
190
+ "amber": {
191
+ "": "$color-amber-50",
192
+ "active": "$color-amber-30",
193
+ "text": "$color-amber-95"
194
+ },
195
+ "yellow": {
196
+ "": "$color-yellow-50",
197
+ "active": "$color-yellow-30",
198
+ "text": "$color-yellow-95"
199
+ },
200
+ "lime": {
201
+ "": "$color-lime-50",
202
+ "active": "$color-lime-30",
203
+ "text": "$color-lime-95"
204
+ },
205
+ "green": {
206
+ "": "$color-green-50",
207
+ "active": "$color-green-30",
208
+ "text": "$color-green-95"
209
+ },
210
+ "beryl": {
211
+ "": "$color-beryl-50",
212
+ "active": "$color-beryl-30",
213
+ "text": "$color-beryl-95"
214
+ },
215
+ "teal": {
216
+ "": "$color-teal-50",
217
+ "active": "$color-teal-30",
218
+ "text": "$color-teal-95"
219
+ },
220
+ "cyan": {
221
+ "": "$color-cyan-50",
222
+ "active": "$color-cyan-30",
223
+ "text": "$color-cyan-95"
224
+ },
225
+ "sky": {
226
+ "": "$color-sky-50",
227
+ "active": "$color-sky-40",
228
+ "text": "$color-white"
229
+ },
230
+ "blue": {
231
+ "": "$color-blue-50",
232
+ "active": "$color-blue-40",
233
+ "text": "$color-white"
234
+ },
235
+ "indigo": {
236
+ "": "$color-indigo-50",
237
+ "active": "$color-indigo-40",
238
+ "text": "$color-white"
239
+ },
240
+ "violet": {
241
+ "": "$color-violet-50",
242
+ "active": "$color-violet-40",
243
+ "text": "$color-white"
244
+ },
245
+ "purple": {
246
+ "": "$color-purple-50",
247
+ "active": "$color-purple-40",
248
+ "text": "$color-white"
249
+ },
250
+ "fuchsia": {
251
+ "": "$color-fuchsia-50",
252
+ "active": "$color-fuchsia-40",
253
+ "text": "$color-white"
254
+ },
255
+ "pink": {
256
+ "": "$color-pink-50",
257
+ "active": "$color-pink-40",
258
+ "text": "$color-white"
259
+ },
260
+ "crimson": {
261
+ "": "$color-crimson-50",
262
+ "active": "$color-crimson-40",
263
+ "text": "$color-white"
264
+ },
265
+ "red": {
266
+ "": "$color-red-50",
267
+ "active": "$color-red-40",
268
+ "text": "$color-white"
269
+ },
270
+ "line": {
271
+ "neutral": "$color-gray-30",
272
+ "light": "oklch(100% 0 none / 0.12)",
273
+ "lighter": "oklch(100% 0 none / 0.09)",
274
+ "lightest": "oklch(100% 0 none / 0.06)"
275
+ },
276
+ "text": {
277
+ "invert": "$color-black",
278
+ "strong": "$color-white",
279
+ "neutral": "$color-gray-30",
280
+ "lightest": "$color-gray-60",
281
+ "lighter": "$color-gray-50",
282
+ "light": "$color-gray-40",
283
+ "stone": "$color-stone-30",
284
+ "gray": "$color-gray-30",
285
+ "grey": "$color-grey-30",
286
+ "slate": "$color-slate-30",
287
+ "brown": "$color-brown-30",
288
+ "orange": "$color-orange-30",
289
+ "amber": "$color-amber-40",
290
+ "yellow": "$color-yellow-40",
291
+ "lime": "$color-lime-40",
292
+ "green": "$color-green-40",
293
+ "beryl": "$color-beryl-40",
294
+ "teal": "$color-teal-40",
295
+ "cyan": "$color-cyan-40",
296
+ "sky": "$color-sky-30",
297
+ "blue": "$color-blue-30",
298
+ "indigo": "$color-indigo-30",
299
+ "violet": "$color-violet-30",
300
+ "purple": "$color-purple-30",
301
+ "fuchsia": "$color-fuchsia-30",
302
+ "pink": "$color-pink-30",
303
+ "crimson": "$color-crimson-30",
304
+ "red": "$color-red-30"
305
+ }
306
+ }
307
+ }
4
308
  };
5
309
 
6
310
  export { modes as default };