tailwindcss 0.0.0-insiders.ea139f2 → 0.0.0-insiders.ea4e1cd
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/LICENSE +1 -2
- package/README.md +15 -7
- package/colors.d.ts +3 -0
- package/colors.js +2 -1
- package/defaultConfig.d.ts +3 -0
- package/defaultConfig.js +2 -1
- package/defaultTheme.d.ts +4 -0
- package/defaultTheme.js +2 -1
- package/lib/cli/build/deps.js +62 -0
- package/lib/cli/build/index.js +54 -0
- package/lib/cli/build/plugin.js +378 -0
- package/lib/cli/build/utils.js +88 -0
- package/lib/cli/build/watching.js +182 -0
- package/lib/cli/help/index.js +73 -0
- package/lib/cli/index.js +230 -0
- package/lib/cli/init/index.js +63 -0
- package/lib/cli-peer-dependencies.js +28 -7
- package/lib/cli.js +4 -703
- package/lib/corePluginList.js +12 -3
- package/lib/corePlugins.js +2373 -1863
- package/lib/css/preflight.css +10 -8
- package/lib/featureFlags.js +49 -26
- package/lib/index.js +1 -31
- package/lib/lib/cacheInvalidation.js +92 -0
- package/lib/lib/collapseAdjacentRules.js +30 -10
- package/lib/lib/collapseDuplicateDeclarations.js +60 -4
- package/lib/lib/content.js +181 -0
- package/lib/lib/defaultExtractor.js +243 -0
- package/lib/lib/detectNesting.js +21 -10
- package/lib/lib/evaluateTailwindFunctions.js +115 -50
- package/lib/lib/expandApplyAtRules.js +467 -161
- package/lib/lib/expandTailwindAtRules.js +160 -133
- package/lib/lib/findAtConfigPath.js +46 -0
- package/lib/lib/generateRules.js +553 -200
- package/lib/lib/getModuleDependencies.js +88 -37
- package/lib/lib/load-config.js +42 -0
- package/lib/lib/normalizeTailwindDirectives.js +46 -33
- package/lib/lib/offsets.js +306 -0
- package/lib/lib/partitionApplyAtRules.js +58 -0
- package/lib/lib/regex.js +74 -0
- package/lib/lib/remap-bitfield.js +89 -0
- package/lib/lib/resolveDefaultsAtRules.js +98 -58
- package/lib/lib/setupContextUtils.js +773 -321
- package/lib/lib/setupTrackingContext.js +70 -75
- package/lib/lib/sharedState.js +78 -10
- package/lib/lib/substituteScreenAtRules.js +14 -10
- package/lib/oxide/cli/build/deps.js +89 -0
- package/lib/oxide/cli/build/index.js +53 -0
- package/lib/oxide/cli/build/plugin.js +375 -0
- package/lib/oxide/cli/build/utils.js +87 -0
- package/lib/oxide/cli/build/watching.js +179 -0
- package/lib/oxide/cli/help/index.js +72 -0
- package/lib/oxide/cli/index.js +214 -0
- package/lib/oxide/cli/init/index.js +52 -0
- package/lib/oxide/cli.js +5 -0
- package/lib/oxide/postcss-plugin.js +2 -0
- package/lib/plugin.js +98 -0
- package/{nesting → lib/postcss-plugins/nesting}/README.md +2 -2
- package/lib/postcss-plugins/nesting/index.js +21 -0
- package/lib/postcss-plugins/nesting/plugin.js +89 -0
- package/lib/processTailwindFeatures.js +39 -26
- package/lib/public/colors.js +272 -246
- package/lib/public/create-plugin.js +9 -5
- package/lib/public/default-config.js +10 -6
- package/lib/public/default-theme.js +10 -6
- package/lib/public/load-config.js +12 -0
- package/lib/public/resolve-config.js +11 -6
- package/lib/util/applyImportantSelector.js +36 -0
- package/lib/util/bigSign.js +6 -1
- package/lib/util/buildMediaQuery.js +13 -6
- package/lib/util/cloneDeep.js +9 -6
- package/lib/util/cloneNodes.js +23 -3
- package/lib/util/color.js +70 -38
- package/lib/util/colorNames.js +752 -0
- package/lib/util/configurePlugins.js +7 -2
- package/lib/util/createPlugin.js +8 -6
- package/lib/util/createUtilityPlugin.js +16 -16
- package/lib/util/dataTypes.js +173 -108
- package/lib/util/defaults.js +14 -3
- package/lib/util/escapeClassName.js +13 -8
- package/lib/util/escapeCommas.js +7 -2
- package/lib/util/flattenColorPalette.js +11 -12
- package/lib/util/formatVariantSelector.js +228 -151
- package/lib/util/getAllConfigs.js +33 -12
- package/lib/util/hashConfig.js +9 -4
- package/lib/util/isKeyframeRule.js +7 -2
- package/lib/util/isPlainObject.js +7 -2
- package/lib/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +25 -15
- package/lib/util/log.js +27 -13
- package/lib/util/nameClass.js +27 -10
- package/lib/util/negateValue.js +25 -8
- package/lib/util/normalizeConfig.js +139 -65
- package/lib/util/normalizeScreens.js +131 -11
- package/lib/util/parseAnimationValue.js +44 -40
- package/lib/util/parseBoxShadowValue.js +34 -23
- package/lib/util/parseDependency.js +39 -55
- package/lib/util/parseGlob.js +36 -0
- package/lib/util/parseObjectStyles.js +15 -10
- package/lib/util/pluginUtils.js +159 -69
- package/lib/util/prefixSelector.js +30 -12
- package/lib/util/pseudoElements.js +229 -0
- package/lib/util/removeAlphaVariables.js +31 -0
- package/lib/util/resolveConfig.js +97 -75
- package/lib/util/resolveConfigPath.js +30 -12
- package/lib/util/responsive.js +11 -6
- package/lib/util/splitAtTopLevelOnly.js +51 -0
- package/lib/util/tap.js +6 -1
- package/lib/util/toColorValue.js +7 -3
- package/lib/util/toPath.js +26 -3
- package/lib/util/transformThemeValue.js +40 -30
- package/lib/util/validateConfig.js +37 -0
- package/lib/util/validateFormalSyntax.js +26 -0
- package/lib/util/withAlphaVariable.js +27 -15
- package/loadConfig.d.ts +4 -0
- package/loadConfig.js +2 -0
- package/nesting/index.js +2 -12
- package/package.json +66 -57
- package/peers/index.js +75964 -55560
- package/plugin.d.ts +11 -0
- package/plugin.js +2 -1
- package/resolveConfig.d.ts +12 -0
- package/resolveConfig.js +2 -1
- package/scripts/generate-types.js +105 -0
- package/scripts/release-channel.js +18 -0
- package/scripts/release-notes.js +21 -0
- package/scripts/swap-engines.js +40 -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 +444 -0
- package/src/cli/build/utils.js +76 -0
- package/src/cli/build/watching.js +229 -0
- package/src/cli/help/index.js +70 -0
- package/src/cli/index.js +216 -0
- package/src/cli/init/index.js +79 -0
- package/src/cli-peer-dependencies.js +7 -1
- package/src/cli.js +4 -765
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +786 -306
- package/src/css/preflight.css +10 -8
- package/src/featureFlags.js +21 -5
- package/src/index.js +1 -34
- package/src/lib/cacheInvalidation.js +52 -0
- package/src/lib/collapseAdjacentRules.js +21 -2
- package/src/lib/collapseDuplicateDeclarations.js +66 -1
- package/src/lib/content.js +208 -0
- package/src/lib/defaultExtractor.js +217 -0
- package/src/lib/detectNesting.js +9 -1
- package/src/lib/evaluateTailwindFunctions.js +79 -8
- package/src/lib/expandApplyAtRules.js +515 -153
- package/src/lib/expandTailwindAtRules.js +115 -86
- package/src/lib/findAtConfigPath.js +48 -0
- package/src/lib/generateRules.js +545 -147
- package/src/lib/getModuleDependencies.js +70 -30
- package/src/lib/load-config.ts +31 -0
- package/src/lib/normalizeTailwindDirectives.js +7 -1
- package/src/lib/offsets.js +373 -0
- package/src/lib/partitionApplyAtRules.js +52 -0
- package/src/lib/regex.js +74 -0
- package/src/lib/remap-bitfield.js +82 -0
- package/src/lib/resolveDefaultsAtRules.js +59 -17
- package/src/lib/setupContextUtils.js +701 -175
- package/src/lib/setupTrackingContext.js +51 -62
- package/src/lib/sharedState.js +58 -7
- package/src/oxide/cli/build/deps.ts +91 -0
- package/src/oxide/cli/build/index.ts +47 -0
- package/src/oxide/cli/build/plugin.ts +442 -0
- package/src/oxide/cli/build/utils.ts +74 -0
- package/src/oxide/cli/build/watching.ts +225 -0
- package/src/oxide/cli/help/index.ts +69 -0
- package/src/oxide/cli/index.ts +204 -0
- package/src/oxide/cli/init/index.ts +59 -0
- package/src/oxide/cli.ts +1 -0
- package/src/oxide/postcss-plugin.ts +1 -0
- package/src/plugin.js +107 -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 +12 -2
- package/src/public/colors.js +22 -0
- package/src/public/default-config.js +1 -1
- package/src/public/default-theme.js +2 -2
- package/src/public/load-config.js +2 -0
- package/src/util/applyImportantSelector.js +27 -0
- package/src/util/buildMediaQuery.js +5 -3
- package/src/util/cloneNodes.js +19 -2
- package/src/util/color.js +44 -12
- package/src/util/colorNames.js +150 -0
- package/src/util/dataTypes.js +51 -16
- package/src/util/defaults.js +6 -0
- package/src/util/formatVariantSelector.js +264 -144
- package/src/util/getAllConfigs.js +21 -2
- package/src/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +1 -1
- package/src/util/log.js +11 -7
- package/src/util/nameClass.js +4 -0
- package/src/util/negateValue.js +11 -3
- package/src/util/normalizeConfig.js +57 -5
- package/src/util/normalizeScreens.js +105 -7
- 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 +123 -24
- package/src/util/prefixSelector.js +30 -10
- package/src/util/pseudoElements.js +170 -0
- package/src/util/removeAlphaVariables.js +24 -0
- package/src/util/resolveConfig.js +74 -26
- package/src/util/resolveConfigPath.js +12 -1
- package/src/util/splitAtTopLevelOnly.js +52 -0
- package/src/util/toPath.js +23 -1
- package/src/util/transformThemeValue.js +13 -3
- package/src/util/validateConfig.js +26 -0
- package/src/util/validateFormalSyntax.js +34 -0
- package/src/util/withAlphaVariable.js +1 -1
- package/stubs/.gitignore +1 -0
- package/stubs/.prettierrc.json +6 -0
- package/stubs/{defaultConfig.stub.js → config.full.js} +206 -166
- package/stubs/postcss.config.js +6 -0
- package/stubs/tailwind.config.cjs +2 -0
- package/stubs/tailwind.config.js +2 -0
- package/stubs/tailwind.config.ts +3 -0
- package/types/config.d.ts +368 -0
- package/types/generated/.gitkeep +0 -0
- package/types/generated/colors.d.ts +298 -0
- package/types/generated/corePluginList.d.ts +1 -0
- package/types/generated/default-theme.d.ts +371 -0
- package/types/index.d.ts +7 -0
- package/CHANGELOG.md +0 -1843
- package/lib/constants.js +0 -37
- package/lib/lib/setupWatchingContext.js +0 -288
- package/nesting/plugin.js +0 -41
- package/scripts/install-integrations.js +0 -27
- package/scripts/rebuildFixtures.js +0 -68
- package/src/constants.js +0 -17
- package/src/lib/setupWatchingContext.js +0 -311
- /package/stubs/{simpleConfig.stub.js → config.simple.js} +0 -0
- /package/stubs/{defaultPostCssConfig.stub.js → postcss.config.cjs} +0 -0
|
@@ -3,107 +3,10 @@ module.exports = {
|
|
|
3
3
|
presets: [],
|
|
4
4
|
darkMode: 'media', // or 'class'
|
|
5
5
|
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: {
|
|
6
|
+
accentColor: ({ theme }) => ({
|
|
7
|
+
...theme('colors'),
|
|
43
8
|
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
|
-
},
|
|
9
|
+
}),
|
|
107
10
|
animation: {
|
|
108
11
|
none: 'none',
|
|
109
12
|
spin: 'spin 1s linear infinite',
|
|
@@ -111,6 +14,16 @@ module.exports = {
|
|
|
111
14
|
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
112
15
|
bounce: 'bounce 1s infinite',
|
|
113
16
|
},
|
|
17
|
+
aria: {
|
|
18
|
+
checked: 'checked="true"',
|
|
19
|
+
disabled: 'disabled="true"',
|
|
20
|
+
expanded: 'expanded="true"',
|
|
21
|
+
hidden: 'hidden="true"',
|
|
22
|
+
pressed: 'pressed="true"',
|
|
23
|
+
readonly: 'readonly="true"',
|
|
24
|
+
required: 'required="true"',
|
|
25
|
+
selected: 'selected="true"',
|
|
26
|
+
},
|
|
114
27
|
aspectRatio: {
|
|
115
28
|
auto: 'auto',
|
|
116
29
|
square: '1 / 1',
|
|
@@ -165,19 +78,6 @@ module.exports = {
|
|
|
165
78
|
'2xl': '40px',
|
|
166
79
|
'3xl': '64px',
|
|
167
80
|
},
|
|
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
81
|
borderColor: ({ theme }) => ({
|
|
182
82
|
...theme('colors'),
|
|
183
83
|
DEFAULT: theme('colors.gray.200', 'currentColor'),
|
|
@@ -194,6 +94,9 @@ module.exports = {
|
|
|
194
94
|
'3xl': '1.5rem',
|
|
195
95
|
full: '9999px',
|
|
196
96
|
},
|
|
97
|
+
borderSpacing: ({ theme }) => ({
|
|
98
|
+
...theme('spacing'),
|
|
99
|
+
}),
|
|
197
100
|
borderWidth: {
|
|
198
101
|
DEFAULT: '1px',
|
|
199
102
|
0: '0px',
|
|
@@ -212,24 +115,90 @@ module.exports = {
|
|
|
212
115
|
none: 'none',
|
|
213
116
|
},
|
|
214
117
|
boxShadowColor: ({ theme }) => theme('colors'),
|
|
215
|
-
|
|
216
|
-
accentColor: ({ theme }) => ({
|
|
217
|
-
...theme('colors'),
|
|
218
|
-
auto: 'auto',
|
|
219
|
-
}),
|
|
220
|
-
contrast: {
|
|
118
|
+
brightness: {
|
|
221
119
|
0: '0',
|
|
222
120
|
50: '.5',
|
|
223
121
|
75: '.75',
|
|
122
|
+
90: '.9',
|
|
123
|
+
95: '.95',
|
|
224
124
|
100: '1',
|
|
125
|
+
105: '1.05',
|
|
126
|
+
110: '1.1',
|
|
225
127
|
125: '1.25',
|
|
226
128
|
150: '1.5',
|
|
227
129
|
200: '2',
|
|
228
130
|
},
|
|
131
|
+
caretColor: ({ theme }) => theme('colors'),
|
|
132
|
+
colors: ({ colors }) => ({
|
|
133
|
+
inherit: colors.inherit,
|
|
134
|
+
current: colors.current,
|
|
135
|
+
transparent: colors.transparent,
|
|
136
|
+
black: colors.black,
|
|
137
|
+
white: colors.white,
|
|
138
|
+
slate: colors.slate,
|
|
139
|
+
gray: colors.gray,
|
|
140
|
+
zinc: colors.zinc,
|
|
141
|
+
neutral: colors.neutral,
|
|
142
|
+
stone: colors.stone,
|
|
143
|
+
red: colors.red,
|
|
144
|
+
orange: colors.orange,
|
|
145
|
+
amber: colors.amber,
|
|
146
|
+
yellow: colors.yellow,
|
|
147
|
+
lime: colors.lime,
|
|
148
|
+
green: colors.green,
|
|
149
|
+
emerald: colors.emerald,
|
|
150
|
+
teal: colors.teal,
|
|
151
|
+
cyan: colors.cyan,
|
|
152
|
+
sky: colors.sky,
|
|
153
|
+
blue: colors.blue,
|
|
154
|
+
indigo: colors.indigo,
|
|
155
|
+
violet: colors.violet,
|
|
156
|
+
purple: colors.purple,
|
|
157
|
+
fuchsia: colors.fuchsia,
|
|
158
|
+
pink: colors.pink,
|
|
159
|
+
rose: colors.rose,
|
|
160
|
+
}),
|
|
161
|
+
columns: {
|
|
162
|
+
auto: 'auto',
|
|
163
|
+
1: '1',
|
|
164
|
+
2: '2',
|
|
165
|
+
3: '3',
|
|
166
|
+
4: '4',
|
|
167
|
+
5: '5',
|
|
168
|
+
6: '6',
|
|
169
|
+
7: '7',
|
|
170
|
+
8: '8',
|
|
171
|
+
9: '9',
|
|
172
|
+
10: '10',
|
|
173
|
+
11: '11',
|
|
174
|
+
12: '12',
|
|
175
|
+
'3xs': '16rem',
|
|
176
|
+
'2xs': '18rem',
|
|
177
|
+
xs: '20rem',
|
|
178
|
+
sm: '24rem',
|
|
179
|
+
md: '28rem',
|
|
180
|
+
lg: '32rem',
|
|
181
|
+
xl: '36rem',
|
|
182
|
+
'2xl': '42rem',
|
|
183
|
+
'3xl': '48rem',
|
|
184
|
+
'4xl': '56rem',
|
|
185
|
+
'5xl': '64rem',
|
|
186
|
+
'6xl': '72rem',
|
|
187
|
+
'7xl': '80rem',
|
|
188
|
+
},
|
|
229
189
|
container: {},
|
|
230
190
|
content: {
|
|
231
191
|
none: 'none',
|
|
232
192
|
},
|
|
193
|
+
contrast: {
|
|
194
|
+
0: '0',
|
|
195
|
+
50: '.5',
|
|
196
|
+
75: '.75',
|
|
197
|
+
100: '1',
|
|
198
|
+
125: '1.25',
|
|
199
|
+
150: '1.5',
|
|
200
|
+
200: '2',
|
|
201
|
+
},
|
|
233
202
|
cursor: {
|
|
234
203
|
auto: 'auto',
|
|
235
204
|
default: 'default',
|
|
@@ -280,23 +249,10 @@ module.exports = {
|
|
|
280
249
|
'2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
|
|
281
250
|
none: '0 0 #0000',
|
|
282
251
|
},
|
|
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
|
-
},
|
|
252
|
+
fill: ({ theme }) => ({
|
|
253
|
+
none: 'none',
|
|
254
|
+
...theme('colors'),
|
|
255
|
+
}),
|
|
300
256
|
flex: {
|
|
301
257
|
1: '1 1 0%',
|
|
302
258
|
auto: '1 1 auto',
|
|
@@ -399,6 +355,33 @@ module.exports = {
|
|
|
399
355
|
},
|
|
400
356
|
gap: ({ theme }) => theme('spacing'),
|
|
401
357
|
gradientColorStops: ({ theme }) => theme('colors'),
|
|
358
|
+
gradientColorStopPositions: {
|
|
359
|
+
'0%': '0%',
|
|
360
|
+
'5%': '5%',
|
|
361
|
+
'10%': '10%',
|
|
362
|
+
'15%': '15%',
|
|
363
|
+
'20%': '20%',
|
|
364
|
+
'25%': '25%',
|
|
365
|
+
'30%': '30%',
|
|
366
|
+
'35%': '35%',
|
|
367
|
+
'40%': '40%',
|
|
368
|
+
'45%': '45%',
|
|
369
|
+
'50%': '50%',
|
|
370
|
+
'55%': '55%',
|
|
371
|
+
'60%': '60%',
|
|
372
|
+
'65%': '65%',
|
|
373
|
+
'70%': '70%',
|
|
374
|
+
'75%': '75%',
|
|
375
|
+
'80%': '80%',
|
|
376
|
+
'85%': '85%',
|
|
377
|
+
'90%': '90%',
|
|
378
|
+
'95%': '95%',
|
|
379
|
+
'100%': '100%',
|
|
380
|
+
},
|
|
381
|
+
grayscale: {
|
|
382
|
+
0: '0',
|
|
383
|
+
DEFAULT: '100%',
|
|
384
|
+
},
|
|
402
385
|
gridAutoColumns: {
|
|
403
386
|
auto: 'auto',
|
|
404
387
|
min: 'min-content',
|
|
@@ -469,7 +452,7 @@ module.exports = {
|
|
|
469
452
|
'span-6': 'span 6 / span 6',
|
|
470
453
|
'span-full': '1 / -1',
|
|
471
454
|
},
|
|
472
|
-
|
|
455
|
+
gridRowEnd: {
|
|
473
456
|
auto: 'auto',
|
|
474
457
|
1: '1',
|
|
475
458
|
2: '2',
|
|
@@ -479,7 +462,7 @@ module.exports = {
|
|
|
479
462
|
6: '6',
|
|
480
463
|
7: '7',
|
|
481
464
|
},
|
|
482
|
-
|
|
465
|
+
gridRowStart: {
|
|
483
466
|
auto: 'auto',
|
|
484
467
|
1: '1',
|
|
485
468
|
2: '2',
|
|
@@ -537,6 +520,14 @@ module.exports = {
|
|
|
537
520
|
max: 'max-content',
|
|
538
521
|
fit: 'fit-content',
|
|
539
522
|
}),
|
|
523
|
+
hueRotate: {
|
|
524
|
+
0: '0deg',
|
|
525
|
+
15: '15deg',
|
|
526
|
+
30: '30deg',
|
|
527
|
+
60: '60deg',
|
|
528
|
+
90: '90deg',
|
|
529
|
+
180: '180deg',
|
|
530
|
+
},
|
|
540
531
|
inset: ({ theme }) => ({
|
|
541
532
|
auto: 'auto',
|
|
542
533
|
...theme('spacing'),
|
|
@@ -548,6 +539,10 @@ module.exports = {
|
|
|
548
539
|
'3/4': '75%',
|
|
549
540
|
full: '100%',
|
|
550
541
|
}),
|
|
542
|
+
invert: {
|
|
543
|
+
0: '0',
|
|
544
|
+
DEFAULT: '100%',
|
|
545
|
+
},
|
|
551
546
|
keyframes: {
|
|
552
547
|
spin: {
|
|
553
548
|
to: {
|
|
@@ -605,12 +600,24 @@ module.exports = {
|
|
|
605
600
|
disc: 'disc',
|
|
606
601
|
decimal: 'decimal',
|
|
607
602
|
},
|
|
603
|
+
listStyleImage: {
|
|
604
|
+
none: 'none',
|
|
605
|
+
},
|
|
608
606
|
margin: ({ theme }) => ({
|
|
609
607
|
auto: 'auto',
|
|
610
608
|
...theme('spacing'),
|
|
611
609
|
}),
|
|
610
|
+
lineClamp: {
|
|
611
|
+
1: '1',
|
|
612
|
+
2: '2',
|
|
613
|
+
3: '3',
|
|
614
|
+
4: '4',
|
|
615
|
+
5: '5',
|
|
616
|
+
6: '6',
|
|
617
|
+
},
|
|
612
618
|
maxHeight: ({ theme }) => ({
|
|
613
619
|
...theme('spacing'),
|
|
620
|
+
none: 'none',
|
|
614
621
|
full: '100%',
|
|
615
622
|
screen: '100vh',
|
|
616
623
|
min: 'min-content',
|
|
@@ -698,9 +705,6 @@ module.exports = {
|
|
|
698
705
|
11: '11',
|
|
699
706
|
12: '12',
|
|
700
707
|
},
|
|
701
|
-
padding: ({ theme }) => theme('spacing'),
|
|
702
|
-
placeholderColor: ({ theme }) => theme('colors'),
|
|
703
|
-
placeholderOpacity: ({ theme }) => theme('opacity'),
|
|
704
708
|
outlineColor: ({ theme }) => theme('colors'),
|
|
705
709
|
outlineOffset: {
|
|
706
710
|
0: '0px',
|
|
@@ -716,6 +720,9 @@ module.exports = {
|
|
|
716
720
|
4: '4px',
|
|
717
721
|
8: '8px',
|
|
718
722
|
},
|
|
723
|
+
padding: ({ theme }) => theme('spacing'),
|
|
724
|
+
placeholderColor: ({ theme }) => theme('colors'),
|
|
725
|
+
placeholderOpacity: ({ theme }) => theme('opacity'),
|
|
719
726
|
ringColor: ({ theme }) => ({
|
|
720
727
|
DEFAULT: theme('colors.blue.500', '#3b82f6'),
|
|
721
728
|
...theme('colors'),
|
|
@@ -770,6 +777,13 @@ module.exports = {
|
|
|
770
777
|
125: '1.25',
|
|
771
778
|
150: '1.5',
|
|
772
779
|
},
|
|
780
|
+
screens: {
|
|
781
|
+
sm: '640px',
|
|
782
|
+
md: '768px',
|
|
783
|
+
lg: '1024px',
|
|
784
|
+
xl: '1280px',
|
|
785
|
+
'2xl': '1536px',
|
|
786
|
+
},
|
|
773
787
|
scrollMargin: ({ theme }) => ({
|
|
774
788
|
...theme('spacing'),
|
|
775
789
|
}),
|
|
@@ -789,12 +803,54 @@ module.exports = {
|
|
|
789
803
|
space: ({ theme }) => ({
|
|
790
804
|
...theme('spacing'),
|
|
791
805
|
}),
|
|
792
|
-
|
|
806
|
+
spacing: {
|
|
807
|
+
px: '1px',
|
|
808
|
+
0: '0px',
|
|
809
|
+
0.5: '0.125rem',
|
|
810
|
+
1: '0.25rem',
|
|
811
|
+
1.5: '0.375rem',
|
|
812
|
+
2: '0.5rem',
|
|
813
|
+
2.5: '0.625rem',
|
|
814
|
+
3: '0.75rem',
|
|
815
|
+
3.5: '0.875rem',
|
|
816
|
+
4: '1rem',
|
|
817
|
+
5: '1.25rem',
|
|
818
|
+
6: '1.5rem',
|
|
819
|
+
7: '1.75rem',
|
|
820
|
+
8: '2rem',
|
|
821
|
+
9: '2.25rem',
|
|
822
|
+
10: '2.5rem',
|
|
823
|
+
11: '2.75rem',
|
|
824
|
+
12: '3rem',
|
|
825
|
+
14: '3.5rem',
|
|
826
|
+
16: '4rem',
|
|
827
|
+
20: '5rem',
|
|
828
|
+
24: '6rem',
|
|
829
|
+
28: '7rem',
|
|
830
|
+
32: '8rem',
|
|
831
|
+
36: '9rem',
|
|
832
|
+
40: '10rem',
|
|
833
|
+
44: '11rem',
|
|
834
|
+
48: '12rem',
|
|
835
|
+
52: '13rem',
|
|
836
|
+
56: '14rem',
|
|
837
|
+
60: '15rem',
|
|
838
|
+
64: '16rem',
|
|
839
|
+
72: '18rem',
|
|
840
|
+
80: '20rem',
|
|
841
|
+
96: '24rem',
|
|
842
|
+
},
|
|
843
|
+
stroke: ({ theme }) => ({
|
|
844
|
+
none: 'none',
|
|
845
|
+
...theme('colors'),
|
|
846
|
+
}),
|
|
793
847
|
strokeWidth: {
|
|
794
848
|
0: '0',
|
|
795
849
|
1: '1',
|
|
796
850
|
2: '2',
|
|
797
851
|
},
|
|
852
|
+
supports: {},
|
|
853
|
+
data: {},
|
|
798
854
|
textColor: ({ theme }) => theme('colors'),
|
|
799
855
|
textDecorationColor: ({ theme }) => theme('colors'),
|
|
800
856
|
textDecorationThickness: {
|
|
@@ -806,6 +862,10 @@ module.exports = {
|
|
|
806
862
|
4: '4px',
|
|
807
863
|
8: '8px',
|
|
808
864
|
},
|
|
865
|
+
textIndent: ({ theme }) => ({
|
|
866
|
+
...theme('spacing'),
|
|
867
|
+
}),
|
|
868
|
+
textOpacity: ({ theme }) => theme('opacity'),
|
|
809
869
|
textUnderlineOffset: {
|
|
810
870
|
auto: 'auto',
|
|
811
871
|
0: '0px',
|
|
@@ -814,10 +874,6 @@ module.exports = {
|
|
|
814
874
|
4: '4px',
|
|
815
875
|
8: '8px',
|
|
816
876
|
},
|
|
817
|
-
textIndent: ({ theme }) => ({
|
|
818
|
-
...theme('spacing'),
|
|
819
|
-
}),
|
|
820
|
-
textOpacity: ({ theme }) => theme('opacity'),
|
|
821
877
|
transformOrigin: {
|
|
822
878
|
center: 'center',
|
|
823
879
|
top: 'top',
|
|
@@ -830,6 +886,7 @@ module.exports = {
|
|
|
830
886
|
'top-left': 'top left',
|
|
831
887
|
},
|
|
832
888
|
transitionDelay: {
|
|
889
|
+
0: '0s',
|
|
833
890
|
75: '75ms',
|
|
834
891
|
100: '100ms',
|
|
835
892
|
150: '150ms',
|
|
@@ -841,6 +898,7 @@ module.exports = {
|
|
|
841
898
|
},
|
|
842
899
|
transitionDuration: {
|
|
843
900
|
DEFAULT: '150ms',
|
|
901
|
+
0: '0s',
|
|
844
902
|
75: '75ms',
|
|
845
903
|
100: '100ms',
|
|
846
904
|
150: '150ms',
|
|
@@ -854,8 +912,8 @@ module.exports = {
|
|
|
854
912
|
none: 'none',
|
|
855
913
|
all: 'all',
|
|
856
914
|
DEFAULT:
|
|
857
|
-
'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
|
|
858
|
-
colors: 'background-color, border-color, color, fill, stroke',
|
|
915
|
+
'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
|
|
916
|
+
colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
|
|
859
917
|
opacity: 'opacity',
|
|
860
918
|
shadow: 'box-shadow',
|
|
861
919
|
transform: 'transform',
|
|
@@ -928,23 +986,5 @@ module.exports = {
|
|
|
928
986
|
50: '50',
|
|
929
987
|
},
|
|
930
988
|
},
|
|
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
989
|
plugins: [],
|
|
950
990
|
}
|