tailwindcss 0.0.0-insiders.fe08e91 → 0.0.0-oxide.6d7c311
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/CHANGELOG.md +384 -3
- package/LICENSE +1 -2
- package/README.md +12 -8
- package/colors.d.ts +3 -0
- package/defaultConfig.d.ts +3 -0
- package/defaultTheme.d.ts +4 -0
- package/lib/cli/build/deps.js +54 -0
- package/lib/cli/build/index.js +48 -0
- package/lib/cli/build/plugin.js +367 -0
- package/lib/cli/build/utils.js +78 -0
- package/lib/cli/build/watching.js +178 -0
- package/lib/cli/help/index.js +71 -0
- package/lib/cli/index.js +239 -0
- package/lib/cli/init/index.js +46 -0
- package/lib/cli/shared.js +13 -0
- package/lib/cli-peer-dependencies.js +20 -7
- package/lib/cli.js +4 -740
- package/lib/constants.js +27 -20
- package/lib/corePluginList.js +6 -3
- package/lib/corePlugins.js +2064 -1811
- package/lib/css/preflight.css +5 -5
- package/lib/featureFlags.js +31 -22
- package/lib/index.js +4 -28
- package/lib/lib/cacheInvalidation.js +90 -0
- package/lib/lib/collapseAdjacentRules.js +27 -9
- package/lib/lib/collapseDuplicateDeclarations.js +12 -9
- package/lib/lib/content.js +176 -0
- package/lib/lib/defaultExtractor.js +225 -31
- package/lib/lib/detectNesting.js +13 -10
- package/lib/lib/evaluateTailwindFunctions.js +118 -55
- package/lib/lib/expandApplyAtRules.js +439 -190
- package/lib/lib/expandTailwindAtRules.js +151 -134
- package/lib/lib/findAtConfigPath.js +44 -0
- package/lib/lib/generateRules.js +454 -187
- package/lib/lib/getModuleDependencies.js +11 -8
- package/lib/lib/normalizeTailwindDirectives.js +36 -32
- package/lib/lib/offsets.js +217 -0
- package/lib/lib/partitionApplyAtRules.js +56 -0
- package/lib/lib/regex.js +60 -0
- package/lib/lib/resolveDefaultsAtRules.js +89 -67
- package/lib/lib/setupContextUtils.js +667 -376
- package/lib/lib/setupTrackingContext.js +38 -67
- package/lib/lib/sharedState.js +27 -14
- package/lib/lib/substituteScreenAtRules.js +11 -9
- package/lib/oxide/cli.d.js +1 -0
- package/lib/oxide/cli.js +2 -0
- package/lib/oxide/postcss-plugin.d.js +1 -0
- package/lib/oxide/postcss-plugin.js +2 -0
- package/lib/plugin.js +48 -0
- package/{nesting → lib/postcss-plugins/nesting}/README.md +2 -2
- package/lib/postcss-plugins/nesting/index.js +19 -0
- package/lib/postcss-plugins/nesting/plugin.js +87 -0
- package/lib/processTailwindFeatures.js +35 -25
- package/lib/public/colors.js +247 -245
- package/lib/public/create-plugin.js +6 -4
- package/lib/public/default-config.js +7 -5
- package/lib/public/default-theme.js +7 -5
- package/lib/public/resolve-config.js +8 -5
- package/lib/util/bigSign.js +4 -1
- package/lib/util/buildMediaQuery.js +11 -6
- package/lib/util/cloneDeep.js +7 -6
- package/lib/util/cloneNodes.js +21 -3
- package/lib/util/color.js +53 -54
- package/lib/util/configurePlugins.js +5 -2
- package/lib/util/createPlugin.js +6 -6
- package/lib/util/createUtilityPlugin.js +12 -14
- package/lib/util/dataTypes.js +119 -110
- package/lib/util/defaults.js +4 -1
- package/lib/util/escapeClassName.js +7 -4
- package/lib/util/escapeCommas.js +5 -2
- package/lib/util/flattenColorPalette.js +9 -12
- package/lib/util/formatVariantSelector.js +184 -85
- package/lib/util/getAllConfigs.js +27 -8
- package/lib/util/hashConfig.js +6 -3
- package/lib/util/isKeyframeRule.js +5 -2
- package/lib/util/isPlainObject.js +5 -2
- package/lib/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +23 -15
- package/lib/util/log.js +20 -14
- package/lib/util/nameClass.js +20 -9
- package/lib/util/negateValue.js +23 -8
- package/lib/util/normalizeConfig.js +116 -72
- package/lib/util/normalizeScreens.js +120 -11
- package/lib/util/parseAnimationValue.js +42 -40
- package/lib/util/parseBoxShadowValue.js +30 -23
- package/lib/util/parseDependency.js +38 -56
- package/lib/util/parseGlob.js +34 -0
- package/lib/util/parseObjectStyles.js +11 -8
- package/lib/util/pluginUtils.js +147 -50
- package/lib/util/prefixSelector.js +10 -8
- package/lib/util/removeAlphaVariables.js +29 -0
- package/lib/util/resolveConfig.js +97 -85
- package/lib/util/resolveConfigPath.js +11 -9
- package/lib/util/responsive.js +8 -5
- package/lib/util/splitAtTopLevelOnly.js +43 -0
- package/lib/util/tap.js +4 -1
- package/lib/util/toColorValue.js +5 -3
- package/lib/util/toPath.js +20 -4
- package/lib/util/transformThemeValue.js +37 -29
- package/lib/util/validateConfig.js +24 -0
- package/lib/util/validateFormalSyntax.js +24 -0
- package/lib/util/withAlphaVariable.js +23 -15
- package/nesting/index.js +2 -12
- package/package.json +52 -46
- package/peers/index.js +11381 -7950
- package/plugin.d.ts +11 -0
- package/resolveConfig.d.ts +12 -0
- package/scripts/generate-types.js +105 -0
- package/scripts/release-channel.js +18 -0
- package/scripts/release-notes.js +21 -0
- package/scripts/type-utils.js +27 -0
- package/src/cli/build/deps.js +56 -0
- package/src/cli/build/index.js +49 -0
- package/src/cli/build/plugin.js +439 -0
- package/src/cli/build/utils.js +76 -0
- package/src/cli/build/watching.js +227 -0
- package/src/cli/help/index.js +70 -0
- package/src/cli/index.js +234 -0
- package/src/cli/init/index.js +50 -0
- package/src/cli/shared.js +6 -0
- package/src/cli-peer-dependencies.js +7 -1
- package/src/cli.js +4 -810
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +532 -217
- package/src/css/preflight.css +5 -5
- package/src/featureFlags.js +15 -9
- package/src/index.js +4 -27
- package/src/lib/cacheInvalidation.js +52 -0
- package/src/lib/collapseAdjacentRules.js +21 -2
- package/src/lib/content.js +212 -0
- package/src/lib/defaultExtractor.js +196 -33
- package/src/lib/evaluateTailwindFunctions.js +78 -7
- package/src/lib/expandApplyAtRules.js +482 -183
- package/src/lib/expandTailwindAtRules.js +106 -85
- package/src/lib/findAtConfigPath.js +48 -0
- package/src/lib/generateRules.js +418 -129
- package/src/lib/normalizeTailwindDirectives.js +1 -0
- package/src/lib/offsets.js +270 -0
- package/src/lib/partitionApplyAtRules.js +52 -0
- package/src/lib/regex.js +74 -0
- package/src/lib/resolveDefaultsAtRules.js +51 -30
- package/src/lib/setupContextUtils.js +556 -208
- package/src/lib/setupTrackingContext.js +11 -48
- package/src/lib/sharedState.js +5 -0
- package/src/oxide/cli.d.ts +0 -0
- package/src/oxide/cli.ts +1 -0
- package/src/oxide/postcss-plugin.d.ts +0 -0
- package/src/oxide/postcss-plugin.ts +1 -0
- package/src/plugin.js +47 -0
- package/src/postcss-plugins/nesting/README.md +42 -0
- package/src/postcss-plugins/nesting/index.js +13 -0
- package/src/postcss-plugins/nesting/plugin.js +80 -0
- package/src/processTailwindFeatures.js +8 -0
- package/src/util/buildMediaQuery.js +5 -3
- package/src/util/cloneNodes.js +19 -2
- package/src/util/color.js +25 -21
- package/src/util/dataTypes.js +29 -21
- package/src/util/formatVariantSelector.js +184 -61
- package/src/util/getAllConfigs.js +19 -0
- package/src/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +1 -1
- package/src/util/log.js +8 -8
- package/src/util/nameClass.js +4 -0
- package/src/util/negateValue.js +11 -3
- package/src/util/normalizeConfig.js +44 -6
- package/src/util/normalizeScreens.js +99 -4
- package/src/util/parseBoxShadowValue.js +4 -3
- package/src/util/parseDependency.js +37 -42
- package/src/util/parseGlob.js +24 -0
- package/src/util/pluginUtils.js +132 -10
- package/src/util/prefixSelector.js +7 -5
- package/src/util/removeAlphaVariables.js +24 -0
- package/src/util/resolveConfig.js +70 -32
- package/src/util/splitAtTopLevelOnly.js +45 -0
- package/src/util/toPath.js +1 -1
- package/src/util/transformThemeValue.js +13 -3
- package/src/util/validateConfig.js +13 -0
- package/src/util/validateFormalSyntax.js +34 -0
- package/src/util/withAlphaVariable.js +1 -1
- package/stubs/defaultConfig.stub.js +167 -164
- package/stubs/simpleConfig.stub.js +1 -0
- package/types/config.d.ts +362 -0
- package/types/generated/.gitkeep +0 -0
- package/types/generated/colors.d.ts +276 -0
- package/types/generated/corePluginList.d.ts +1 -0
- package/types/generated/default-theme.d.ts +342 -0
- package/types/index.d.ts +7 -0
- package/nesting/plugin.js +0 -41
|
@@ -1,109 +1,13 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
1
2
|
module.exports = {
|
|
2
3
|
content: [],
|
|
3
4
|
presets: [],
|
|
4
5
|
darkMode: 'media', // or 'class'
|
|
5
6
|
theme: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
md: '768px',
|
|
9
|
-
lg: '1024px',
|
|
10
|
-
xl: '1280px',
|
|
11
|
-
'2xl': '1536px',
|
|
12
|
-
},
|
|
13
|
-
colors: ({ colors }) => ({
|
|
14
|
-
inherit: colors.inherit,
|
|
15
|
-
current: colors.current,
|
|
16
|
-
transparent: colors.transparent,
|
|
17
|
-
black: colors.black,
|
|
18
|
-
white: colors.white,
|
|
19
|
-
slate: colors.slate,
|
|
20
|
-
gray: colors.gray,
|
|
21
|
-
zinc: colors.zinc,
|
|
22
|
-
neutral: colors.neutral,
|
|
23
|
-
stone: colors.stone,
|
|
24
|
-
red: colors.red,
|
|
25
|
-
orange: colors.orange,
|
|
26
|
-
amber: colors.amber,
|
|
27
|
-
yellow: colors.yellow,
|
|
28
|
-
lime: colors.lime,
|
|
29
|
-
green: colors.green,
|
|
30
|
-
emerald: colors.emerald,
|
|
31
|
-
teal: colors.teal,
|
|
32
|
-
cyan: colors.cyan,
|
|
33
|
-
sky: colors.sky,
|
|
34
|
-
blue: colors.blue,
|
|
35
|
-
indigo: colors.indigo,
|
|
36
|
-
violet: colors.violet,
|
|
37
|
-
purple: colors.purple,
|
|
38
|
-
fuchsia: colors.fuchsia,
|
|
39
|
-
pink: colors.pink,
|
|
40
|
-
rose: colors.rose,
|
|
41
|
-
}),
|
|
42
|
-
columns: {
|
|
7
|
+
accentColor: ({ theme }) => ({
|
|
8
|
+
...theme('colors'),
|
|
43
9
|
auto: 'auto',
|
|
44
|
-
|
|
45
|
-
2: '2',
|
|
46
|
-
3: '3',
|
|
47
|
-
4: '4',
|
|
48
|
-
5: '5',
|
|
49
|
-
6: '6',
|
|
50
|
-
7: '7',
|
|
51
|
-
8: '8',
|
|
52
|
-
9: '9',
|
|
53
|
-
10: '10',
|
|
54
|
-
11: '11',
|
|
55
|
-
12: '12',
|
|
56
|
-
'3xs': '16rem',
|
|
57
|
-
'2xs': '18rem',
|
|
58
|
-
xs: '20rem',
|
|
59
|
-
sm: '24rem',
|
|
60
|
-
md: '28rem',
|
|
61
|
-
lg: '32rem',
|
|
62
|
-
xl: '36rem',
|
|
63
|
-
'2xl': '42rem',
|
|
64
|
-
'3xl': '48rem',
|
|
65
|
-
'4xl': '56rem',
|
|
66
|
-
'5xl': '64rem',
|
|
67
|
-
'6xl': '72rem',
|
|
68
|
-
'7xl': '80rem',
|
|
69
|
-
},
|
|
70
|
-
spacing: {
|
|
71
|
-
px: '1px',
|
|
72
|
-
0: '0px',
|
|
73
|
-
0.5: '0.125rem',
|
|
74
|
-
1: '0.25rem',
|
|
75
|
-
1.5: '0.375rem',
|
|
76
|
-
2: '0.5rem',
|
|
77
|
-
2.5: '0.625rem',
|
|
78
|
-
3: '0.75rem',
|
|
79
|
-
3.5: '0.875rem',
|
|
80
|
-
4: '1rem',
|
|
81
|
-
5: '1.25rem',
|
|
82
|
-
6: '1.5rem',
|
|
83
|
-
7: '1.75rem',
|
|
84
|
-
8: '2rem',
|
|
85
|
-
9: '2.25rem',
|
|
86
|
-
10: '2.5rem',
|
|
87
|
-
11: '2.75rem',
|
|
88
|
-
12: '3rem',
|
|
89
|
-
14: '3.5rem',
|
|
90
|
-
16: '4rem',
|
|
91
|
-
20: '5rem',
|
|
92
|
-
24: '6rem',
|
|
93
|
-
28: '7rem',
|
|
94
|
-
32: '8rem',
|
|
95
|
-
36: '9rem',
|
|
96
|
-
40: '10rem',
|
|
97
|
-
44: '11rem',
|
|
98
|
-
48: '12rem',
|
|
99
|
-
52: '13rem',
|
|
100
|
-
56: '14rem',
|
|
101
|
-
60: '15rem',
|
|
102
|
-
64: '16rem',
|
|
103
|
-
72: '18rem',
|
|
104
|
-
80: '20rem',
|
|
105
|
-
96: '24rem',
|
|
106
|
-
},
|
|
10
|
+
}),
|
|
107
11
|
animation: {
|
|
108
12
|
none: 'none',
|
|
109
13
|
spin: 'spin 1s linear infinite',
|
|
@@ -111,6 +15,16 @@ module.exports = {
|
|
|
111
15
|
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
112
16
|
bounce: 'bounce 1s infinite',
|
|
113
17
|
},
|
|
18
|
+
aria: {
|
|
19
|
+
checked: 'checked="true"',
|
|
20
|
+
disabled: 'disabled="true"',
|
|
21
|
+
expanded: 'expanded="true"',
|
|
22
|
+
hidden: 'hidden="true"',
|
|
23
|
+
pressed: 'pressed="true"',
|
|
24
|
+
readonly: 'readonly="true"',
|
|
25
|
+
required: 'required="true"',
|
|
26
|
+
selected: 'selected="true"',
|
|
27
|
+
},
|
|
114
28
|
aspectRatio: {
|
|
115
29
|
auto: 'auto',
|
|
116
30
|
square: '1 / 1',
|
|
@@ -165,19 +79,6 @@ module.exports = {
|
|
|
165
79
|
'2xl': '40px',
|
|
166
80
|
'3xl': '64px',
|
|
167
81
|
},
|
|
168
|
-
brightness: {
|
|
169
|
-
0: '0',
|
|
170
|
-
50: '.5',
|
|
171
|
-
75: '.75',
|
|
172
|
-
90: '.9',
|
|
173
|
-
95: '.95',
|
|
174
|
-
100: '1',
|
|
175
|
-
105: '1.05',
|
|
176
|
-
110: '1.1',
|
|
177
|
-
125: '1.25',
|
|
178
|
-
150: '1.5',
|
|
179
|
-
200: '2',
|
|
180
|
-
},
|
|
181
82
|
borderColor: ({ theme }) => ({
|
|
182
83
|
...theme('colors'),
|
|
183
84
|
DEFAULT: theme('colors.gray.200', 'currentColor'),
|
|
@@ -194,6 +95,9 @@ module.exports = {
|
|
|
194
95
|
'3xl': '1.5rem',
|
|
195
96
|
full: '9999px',
|
|
196
97
|
},
|
|
98
|
+
borderSpacing: ({ theme }) => ({
|
|
99
|
+
...theme('spacing'),
|
|
100
|
+
}),
|
|
197
101
|
borderWidth: {
|
|
198
102
|
DEFAULT: '1px',
|
|
199
103
|
0: '0px',
|
|
@@ -212,24 +116,90 @@ module.exports = {
|
|
|
212
116
|
none: 'none',
|
|
213
117
|
},
|
|
214
118
|
boxShadowColor: ({ theme }) => theme('colors'),
|
|
215
|
-
|
|
216
|
-
accentColor: ({ theme }) => ({
|
|
217
|
-
...theme('colors'),
|
|
218
|
-
auto: 'auto',
|
|
219
|
-
}),
|
|
220
|
-
contrast: {
|
|
119
|
+
brightness: {
|
|
221
120
|
0: '0',
|
|
222
121
|
50: '.5',
|
|
223
122
|
75: '.75',
|
|
123
|
+
90: '.9',
|
|
124
|
+
95: '.95',
|
|
224
125
|
100: '1',
|
|
126
|
+
105: '1.05',
|
|
127
|
+
110: '1.1',
|
|
225
128
|
125: '1.25',
|
|
226
129
|
150: '1.5',
|
|
227
130
|
200: '2',
|
|
228
131
|
},
|
|
132
|
+
caretColor: ({ theme }) => theme('colors'),
|
|
133
|
+
colors: ({ colors }) => ({
|
|
134
|
+
inherit: colors.inherit,
|
|
135
|
+
current: colors.current,
|
|
136
|
+
transparent: colors.transparent,
|
|
137
|
+
black: colors.black,
|
|
138
|
+
white: colors.white,
|
|
139
|
+
slate: colors.slate,
|
|
140
|
+
gray: colors.gray,
|
|
141
|
+
zinc: colors.zinc,
|
|
142
|
+
neutral: colors.neutral,
|
|
143
|
+
stone: colors.stone,
|
|
144
|
+
red: colors.red,
|
|
145
|
+
orange: colors.orange,
|
|
146
|
+
amber: colors.amber,
|
|
147
|
+
yellow: colors.yellow,
|
|
148
|
+
lime: colors.lime,
|
|
149
|
+
green: colors.green,
|
|
150
|
+
emerald: colors.emerald,
|
|
151
|
+
teal: colors.teal,
|
|
152
|
+
cyan: colors.cyan,
|
|
153
|
+
sky: colors.sky,
|
|
154
|
+
blue: colors.blue,
|
|
155
|
+
indigo: colors.indigo,
|
|
156
|
+
violet: colors.violet,
|
|
157
|
+
purple: colors.purple,
|
|
158
|
+
fuchsia: colors.fuchsia,
|
|
159
|
+
pink: colors.pink,
|
|
160
|
+
rose: colors.rose,
|
|
161
|
+
}),
|
|
162
|
+
columns: {
|
|
163
|
+
auto: 'auto',
|
|
164
|
+
1: '1',
|
|
165
|
+
2: '2',
|
|
166
|
+
3: '3',
|
|
167
|
+
4: '4',
|
|
168
|
+
5: '5',
|
|
169
|
+
6: '6',
|
|
170
|
+
7: '7',
|
|
171
|
+
8: '8',
|
|
172
|
+
9: '9',
|
|
173
|
+
10: '10',
|
|
174
|
+
11: '11',
|
|
175
|
+
12: '12',
|
|
176
|
+
'3xs': '16rem',
|
|
177
|
+
'2xs': '18rem',
|
|
178
|
+
xs: '20rem',
|
|
179
|
+
sm: '24rem',
|
|
180
|
+
md: '28rem',
|
|
181
|
+
lg: '32rem',
|
|
182
|
+
xl: '36rem',
|
|
183
|
+
'2xl': '42rem',
|
|
184
|
+
'3xl': '48rem',
|
|
185
|
+
'4xl': '56rem',
|
|
186
|
+
'5xl': '64rem',
|
|
187
|
+
'6xl': '72rem',
|
|
188
|
+
'7xl': '80rem',
|
|
189
|
+
},
|
|
229
190
|
container: {},
|
|
230
191
|
content: {
|
|
231
192
|
none: 'none',
|
|
232
193
|
},
|
|
194
|
+
contrast: {
|
|
195
|
+
0: '0',
|
|
196
|
+
50: '.5',
|
|
197
|
+
75: '.75',
|
|
198
|
+
100: '1',
|
|
199
|
+
125: '1.25',
|
|
200
|
+
150: '1.5',
|
|
201
|
+
200: '2',
|
|
202
|
+
},
|
|
233
203
|
cursor: {
|
|
234
204
|
auto: 'auto',
|
|
235
205
|
default: 'default',
|
|
@@ -280,23 +250,10 @@ module.exports = {
|
|
|
280
250
|
'2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
|
|
281
251
|
none: '0 0 #0000',
|
|
282
252
|
},
|
|
283
|
-
fill: ({ theme }) =>
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
},
|
|
288
|
-
hueRotate: {
|
|
289
|
-
0: '0deg',
|
|
290
|
-
15: '15deg',
|
|
291
|
-
30: '30deg',
|
|
292
|
-
60: '60deg',
|
|
293
|
-
90: '90deg',
|
|
294
|
-
180: '180deg',
|
|
295
|
-
},
|
|
296
|
-
invert: {
|
|
297
|
-
0: '0',
|
|
298
|
-
DEFAULT: '100%',
|
|
299
|
-
},
|
|
253
|
+
fill: ({ theme }) => ({
|
|
254
|
+
none: 'none',
|
|
255
|
+
...theme('colors'),
|
|
256
|
+
}),
|
|
300
257
|
flex: {
|
|
301
258
|
1: '1 1 0%',
|
|
302
259
|
auto: '1 1 auto',
|
|
@@ -399,6 +356,10 @@ module.exports = {
|
|
|
399
356
|
},
|
|
400
357
|
gap: ({ theme }) => theme('spacing'),
|
|
401
358
|
gradientColorStops: ({ theme }) => theme('colors'),
|
|
359
|
+
grayscale: {
|
|
360
|
+
0: '0',
|
|
361
|
+
DEFAULT: '100%',
|
|
362
|
+
},
|
|
402
363
|
gridAutoColumns: {
|
|
403
364
|
auto: 'auto',
|
|
404
365
|
min: 'min-content',
|
|
@@ -469,7 +430,7 @@ module.exports = {
|
|
|
469
430
|
'span-6': 'span 6 / span 6',
|
|
470
431
|
'span-full': '1 / -1',
|
|
471
432
|
},
|
|
472
|
-
|
|
433
|
+
gridRowEnd: {
|
|
473
434
|
auto: 'auto',
|
|
474
435
|
1: '1',
|
|
475
436
|
2: '2',
|
|
@@ -479,7 +440,7 @@ module.exports = {
|
|
|
479
440
|
6: '6',
|
|
480
441
|
7: '7',
|
|
481
442
|
},
|
|
482
|
-
|
|
443
|
+
gridRowStart: {
|
|
483
444
|
auto: 'auto',
|
|
484
445
|
1: '1',
|
|
485
446
|
2: '2',
|
|
@@ -537,6 +498,14 @@ module.exports = {
|
|
|
537
498
|
max: 'max-content',
|
|
538
499
|
fit: 'fit-content',
|
|
539
500
|
}),
|
|
501
|
+
hueRotate: {
|
|
502
|
+
0: '0deg',
|
|
503
|
+
15: '15deg',
|
|
504
|
+
30: '30deg',
|
|
505
|
+
60: '60deg',
|
|
506
|
+
90: '90deg',
|
|
507
|
+
180: '180deg',
|
|
508
|
+
},
|
|
540
509
|
inset: ({ theme }) => ({
|
|
541
510
|
auto: 'auto',
|
|
542
511
|
...theme('spacing'),
|
|
@@ -548,6 +517,10 @@ module.exports = {
|
|
|
548
517
|
'3/4': '75%',
|
|
549
518
|
full: '100%',
|
|
550
519
|
}),
|
|
520
|
+
invert: {
|
|
521
|
+
0: '0',
|
|
522
|
+
DEFAULT: '100%',
|
|
523
|
+
},
|
|
551
524
|
keyframes: {
|
|
552
525
|
spin: {
|
|
553
526
|
to: {
|
|
@@ -698,9 +671,6 @@ module.exports = {
|
|
|
698
671
|
11: '11',
|
|
699
672
|
12: '12',
|
|
700
673
|
},
|
|
701
|
-
padding: ({ theme }) => theme('spacing'),
|
|
702
|
-
placeholderColor: ({ theme }) => theme('colors'),
|
|
703
|
-
placeholderOpacity: ({ theme }) => theme('opacity'),
|
|
704
674
|
outlineColor: ({ theme }) => theme('colors'),
|
|
705
675
|
outlineOffset: {
|
|
706
676
|
0: '0px',
|
|
@@ -716,6 +686,9 @@ module.exports = {
|
|
|
716
686
|
4: '4px',
|
|
717
687
|
8: '8px',
|
|
718
688
|
},
|
|
689
|
+
padding: ({ theme }) => theme('spacing'),
|
|
690
|
+
placeholderColor: ({ theme }) => theme('colors'),
|
|
691
|
+
placeholderOpacity: ({ theme }) => theme('opacity'),
|
|
719
692
|
ringColor: ({ theme }) => ({
|
|
720
693
|
DEFAULT: theme('colors.blue.500', '#3b82f6'),
|
|
721
694
|
...theme('colors'),
|
|
@@ -770,6 +743,13 @@ module.exports = {
|
|
|
770
743
|
125: '1.25',
|
|
771
744
|
150: '1.5',
|
|
772
745
|
},
|
|
746
|
+
screens: {
|
|
747
|
+
sm: '640px',
|
|
748
|
+
md: '768px',
|
|
749
|
+
lg: '1024px',
|
|
750
|
+
xl: '1280px',
|
|
751
|
+
'2xl': '1536px',
|
|
752
|
+
},
|
|
773
753
|
scrollMargin: ({ theme }) => ({
|
|
774
754
|
...theme('spacing'),
|
|
775
755
|
}),
|
|
@@ -789,12 +769,53 @@ module.exports = {
|
|
|
789
769
|
space: ({ theme }) => ({
|
|
790
770
|
...theme('spacing'),
|
|
791
771
|
}),
|
|
792
|
-
|
|
772
|
+
spacing: {
|
|
773
|
+
px: '1px',
|
|
774
|
+
0: '0px',
|
|
775
|
+
0.5: '0.125rem',
|
|
776
|
+
1: '0.25rem',
|
|
777
|
+
1.5: '0.375rem',
|
|
778
|
+
2: '0.5rem',
|
|
779
|
+
2.5: '0.625rem',
|
|
780
|
+
3: '0.75rem',
|
|
781
|
+
3.5: '0.875rem',
|
|
782
|
+
4: '1rem',
|
|
783
|
+
5: '1.25rem',
|
|
784
|
+
6: '1.5rem',
|
|
785
|
+
7: '1.75rem',
|
|
786
|
+
8: '2rem',
|
|
787
|
+
9: '2.25rem',
|
|
788
|
+
10: '2.5rem',
|
|
789
|
+
11: '2.75rem',
|
|
790
|
+
12: '3rem',
|
|
791
|
+
14: '3.5rem',
|
|
792
|
+
16: '4rem',
|
|
793
|
+
20: '5rem',
|
|
794
|
+
24: '6rem',
|
|
795
|
+
28: '7rem',
|
|
796
|
+
32: '8rem',
|
|
797
|
+
36: '9rem',
|
|
798
|
+
40: '10rem',
|
|
799
|
+
44: '11rem',
|
|
800
|
+
48: '12rem',
|
|
801
|
+
52: '13rem',
|
|
802
|
+
56: '14rem',
|
|
803
|
+
60: '15rem',
|
|
804
|
+
64: '16rem',
|
|
805
|
+
72: '18rem',
|
|
806
|
+
80: '20rem',
|
|
807
|
+
96: '24rem',
|
|
808
|
+
},
|
|
809
|
+
stroke: ({ theme }) => ({
|
|
810
|
+
none: 'none',
|
|
811
|
+
...theme('colors'),
|
|
812
|
+
}),
|
|
793
813
|
strokeWidth: {
|
|
794
814
|
0: '0',
|
|
795
815
|
1: '1',
|
|
796
816
|
2: '2',
|
|
797
817
|
},
|
|
818
|
+
supports: {},
|
|
798
819
|
textColor: ({ theme }) => theme('colors'),
|
|
799
820
|
textDecorationColor: ({ theme }) => theme('colors'),
|
|
800
821
|
textDecorationThickness: {
|
|
@@ -806,6 +827,10 @@ module.exports = {
|
|
|
806
827
|
4: '4px',
|
|
807
828
|
8: '8px',
|
|
808
829
|
},
|
|
830
|
+
textIndent: ({ theme }) => ({
|
|
831
|
+
...theme('spacing'),
|
|
832
|
+
}),
|
|
833
|
+
textOpacity: ({ theme }) => theme('opacity'),
|
|
809
834
|
textUnderlineOffset: {
|
|
810
835
|
auto: 'auto',
|
|
811
836
|
0: '0px',
|
|
@@ -814,10 +839,6 @@ module.exports = {
|
|
|
814
839
|
4: '4px',
|
|
815
840
|
8: '8px',
|
|
816
841
|
},
|
|
817
|
-
textIndent: ({ theme }) => ({
|
|
818
|
-
...theme('spacing'),
|
|
819
|
-
}),
|
|
820
|
-
textOpacity: ({ theme }) => theme('opacity'),
|
|
821
842
|
transformOrigin: {
|
|
822
843
|
center: 'center',
|
|
823
844
|
top: 'top',
|
|
@@ -928,23 +949,5 @@ module.exports = {
|
|
|
928
949
|
50: '50',
|
|
929
950
|
},
|
|
930
951
|
},
|
|
931
|
-
variantOrder: [
|
|
932
|
-
'first',
|
|
933
|
-
'last',
|
|
934
|
-
'odd',
|
|
935
|
-
'even',
|
|
936
|
-
'visited',
|
|
937
|
-
'checked',
|
|
938
|
-
'empty',
|
|
939
|
-
'read-only',
|
|
940
|
-
'group-hover',
|
|
941
|
-
'group-focus',
|
|
942
|
-
'focus-within',
|
|
943
|
-
'hover',
|
|
944
|
-
'focus',
|
|
945
|
-
'focus-visible',
|
|
946
|
-
'active',
|
|
947
|
-
'disabled',
|
|
948
|
-
],
|
|
949
952
|
plugins: [],
|
|
950
953
|
}
|