tailwindcss 0.0.0-insiders.f4635e0 → 0.0.0-insiders.f4a2ccd
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 -304
- package/defaultConfig.d.ts +3 -0
- package/defaultConfig.js +2 -4
- package/defaultTheme.d.ts +4 -0
- package/defaultTheme.js +2 -4
- package/lib/cli/build/deps.js +54 -0
- package/lib/cli/build/index.js +52 -0
- package/lib/cli/build/plugin.js +376 -0
- package/lib/cli/build/utils.js +78 -0
- package/lib/cli/build/watching.js +180 -0
- package/lib/cli/help/index.js +71 -0
- package/lib/cli/index.js +230 -0
- package/lib/cli/init/index.js +61 -0
- package/lib/cli-peer-dependencies.js +22 -14
- package/lib/cli.js +4 -762
- package/lib/corePluginList.js +182 -5
- package/lib/corePlugins.js +4109 -2952
- package/lib/css/preflight.css +24 -9
- package/lib/featureFlags.js +68 -50
- package/lib/index.js +5 -30
- package/lib/lib/cacheInvalidation.js +90 -0
- package/lib/lib/collapseAdjacentRules.js +52 -36
- package/lib/lib/collapseDuplicateDeclarations.js +83 -0
- package/lib/lib/content.js +177 -0
- package/lib/lib/defaultExtractor.js +241 -0
- package/lib/lib/detectNesting.js +39 -17
- package/lib/lib/evaluateTailwindFunctions.js +203 -161
- package/lib/lib/expandApplyAtRules.js +503 -221
- package/lib/lib/expandTailwindAtRules.js +255 -243
- package/lib/lib/findAtConfigPath.js +44 -0
- package/lib/lib/generateRules.js +831 -317
- package/lib/lib/getModuleDependencies.js +93 -49
- package/lib/lib/load-config.js +36 -0
- package/lib/lib/normalizeTailwindDirectives.js +79 -60
- package/lib/lib/offsets.js +304 -0
- package/lib/lib/partitionApplyAtRules.js +56 -0
- package/lib/lib/regex.js +60 -0
- package/lib/lib/remap-bitfield.js +87 -0
- package/lib/lib/resolveDefaultsAtRules.js +150 -94
- package/lib/lib/setupContextUtils.js +1197 -685
- package/lib/lib/setupTrackingContext.js +150 -177
- package/lib/lib/sharedState.js +70 -21
- package/lib/lib/substituteScreenAtRules.js +26 -28
- package/lib/oxide/cli/build/deps.js +81 -0
- package/lib/oxide/cli/build/index.js +51 -0
- package/lib/oxide/cli/build/plugin.js +373 -0
- package/lib/oxide/cli/build/utils.js +77 -0
- package/lib/oxide/cli/build/watching.js +177 -0
- package/lib/oxide/cli/help/index.js +70 -0
- package/lib/oxide/cli/index.js +214 -0
- package/lib/oxide/cli/init/index.js +50 -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 +19 -0
- package/lib/postcss-plugins/nesting/plugin.js +87 -0
- package/lib/processTailwindFeatures.js +58 -56
- package/lib/public/colors.js +353 -0
- package/lib/public/create-plugin.js +15 -0
- package/lib/public/default-config.js +16 -0
- package/lib/public/default-theme.js +16 -0
- package/lib/public/load-config.js +10 -0
- package/lib/public/resolve-config.js +22 -0
- package/lib/util/applyImportantSelector.js +22 -0
- package/lib/util/bigSign.js +7 -6
- package/lib/util/buildMediaQuery.js +21 -32
- package/lib/util/cloneDeep.js +16 -14
- package/lib/util/cloneNodes.js +29 -15
- package/lib/util/color.js +104 -66
- package/lib/util/configurePlugins.js +17 -15
- package/lib/util/createPlugin.js +23 -26
- package/lib/util/createUtilityPlugin.js +46 -46
- package/lib/util/dataTypes.js +266 -0
- package/lib/util/defaults.js +20 -15
- package/lib/util/escapeClassName.js +18 -17
- package/lib/util/escapeCommas.js +7 -6
- package/lib/util/flattenColorPalette.js +13 -12
- package/lib/util/formatVariantSelector.js +341 -0
- package/lib/util/getAllConfigs.js +44 -18
- package/lib/util/hashConfig.js +15 -12
- package/lib/util/isKeyframeRule.js +7 -6
- package/lib/util/isPlainObject.js +11 -11
- package/lib/util/isSyntacticallyValidPropertyValue.js +72 -0
- package/lib/util/log.js +52 -33
- package/lib/util/nameClass.js +35 -29
- package/lib/util/negateValue.js +31 -17
- package/lib/util/normalizeConfig.js +294 -0
- package/lib/util/normalizeScreens.js +170 -0
- package/lib/util/parseAnimationValue.js +85 -54
- package/lib/util/parseBoxShadowValue.js +84 -0
- package/lib/util/parseDependency.js +41 -70
- package/lib/util/parseGlob.js +34 -0
- package/lib/util/parseObjectStyles.js +30 -24
- package/lib/util/pluginUtils.js +234 -288
- package/lib/util/prefixSelector.js +33 -19
- package/lib/util/removeAlphaVariables.js +29 -0
- package/lib/util/resolveConfig.js +221 -256
- package/lib/util/resolveConfigPath.js +55 -48
- package/lib/util/responsive.js +18 -14
- package/lib/util/splitAtTopLevelOnly.js +49 -0
- package/lib/util/tap.js +8 -7
- package/lib/util/toColorValue.js +7 -6
- package/lib/util/toPath.js +27 -8
- package/lib/util/transformThemeValue.js +67 -28
- package/lib/util/validateConfig.js +24 -0
- package/lib/util/validateFormalSyntax.js +24 -0
- package/lib/util/withAlphaVariable.js +67 -57
- package/loadConfig.d.ts +4 -0
- package/loadConfig.js +2 -0
- package/nesting/index.js +2 -12
- package/package.json +69 -66
- package/peers/index.js +76328 -84169
- package/plugin.d.ts +11 -0
- package/plugin.js +1 -2
- package/resolveConfig.d.ts +12 -0
- package/resolveConfig.js +2 -7
- package/scripts/create-plugin-list.js +2 -2
- 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 -756
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +2526 -1956
- package/src/css/preflight.css +24 -9
- package/src/featureFlags.js +33 -10
- package/src/index.js +4 -33
- package/src/lib/cacheInvalidation.js +52 -0
- package/src/lib/collapseAdjacentRules.js +21 -2
- package/src/lib/collapseDuplicateDeclarations.js +93 -0
- package/src/lib/content.js +208 -0
- package/src/lib/defaultExtractor.js +217 -0
- package/src/lib/detectNesting.js +30 -3
- package/src/lib/evaluateTailwindFunctions.js +84 -10
- package/src/lib/expandApplyAtRules.js +509 -153
- package/src/lib/expandTailwindAtRules.js +125 -104
- package/src/lib/findAtConfigPath.js +48 -0
- package/src/lib/generateRules.js +678 -70
- package/src/lib/getModuleDependencies.js +70 -30
- package/src/lib/load-config.ts +27 -0
- package/src/lib/normalizeTailwindDirectives.js +10 -3
- 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 +105 -47
- package/src/lib/setupContextUtils.js +848 -247
- package/src/lib/setupTrackingContext.js +53 -64
- package/src/lib/sharedState.js +60 -6
- package/src/lib/substituteScreenAtRules.js +6 -3
- 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 +18 -3
- package/src/public/colors.js +322 -0
- package/src/public/create-plugin.js +2 -0
- package/src/public/default-config.js +4 -0
- package/src/public/default-theme.js +4 -0
- package/src/public/load-config.js +2 -0
- package/src/public/resolve-config.js +7 -0
- package/src/util/applyImportantSelector.js +19 -0
- package/src/util/buildMediaQuery.js +14 -16
- package/src/util/cloneNodes.js +19 -2
- package/src/util/color.js +43 -11
- package/src/util/createUtilityPlugin.js +2 -11
- package/src/util/dataTypes.js +281 -0
- package/src/util/defaults.js +6 -0
- package/src/util/formatVariantSelector.js +412 -0
- package/src/util/getAllConfigs.js +21 -2
- package/src/util/isSyntacticallyValidPropertyValue.js +61 -0
- package/src/util/log.js +23 -22
- package/src/util/nameClass.js +6 -2
- package/src/util/negateValue.js +15 -5
- package/src/util/normalizeConfig.js +318 -0
- package/src/util/normalizeScreens.js +140 -0
- package/src/util/parseAnimationValue.js +7 -1
- package/src/util/parseBoxShadowValue.js +72 -0
- package/src/util/parseDependency.js +37 -38
- package/src/util/parseGlob.js +24 -0
- package/src/util/pluginUtils.js +219 -219
- package/src/util/prefixSelector.js +30 -13
- package/src/util/removeAlphaVariables.js +24 -0
- package/src/util/resolveConfig.js +86 -91
- 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 +33 -8
- package/src/util/validateConfig.js +13 -0
- package/src/util/validateFormalSyntax.js +34 -0
- package/src/util/withAlphaVariable.js +14 -9
- package/stubs/.gitignore +1 -0
- package/stubs/.prettierrc.json +6 -0
- package/stubs/{defaultConfig.stub.js → config.full.js} +332 -249
- package/stubs/{simpleConfig.stub.js → config.simple.js} +0 -1
- 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 +373 -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 +347 -0
- package/types/index.d.ts +7 -0
- package/CHANGELOG.md +0 -1742
- package/lib/constants.js +0 -37
- package/lib/lib/setupWatchingContext.js +0 -331
- 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 -307
- /package/stubs/{defaultPostCssConfig.stub.js → postcss.config.cjs} +0 -0
|
@@ -3,106 +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
|
-
transparent: colors.transparent,
|
|
15
|
-
current: colors.current,
|
|
16
|
-
black: colors.black,
|
|
17
|
-
white: colors.white,
|
|
18
|
-
slate: colors.slate,
|
|
19
|
-
gray: colors.gray,
|
|
20
|
-
zinc: colors.zinc,
|
|
21
|
-
neutral: colors.neutral,
|
|
22
|
-
stone: colors.stone,
|
|
23
|
-
red: colors.red,
|
|
24
|
-
orange: colors.orange,
|
|
25
|
-
amber: colors.amber,
|
|
26
|
-
yellow: colors.yellow,
|
|
27
|
-
lime: colors.lime,
|
|
28
|
-
green: colors.green,
|
|
29
|
-
emerald: colors.emerald,
|
|
30
|
-
teal: colors.teal,
|
|
31
|
-
cyan: colors.cyan,
|
|
32
|
-
sky: colors.sky,
|
|
33
|
-
blue: colors.blue,
|
|
34
|
-
indigo: colors.indigo,
|
|
35
|
-
violet: colors.violet,
|
|
36
|
-
purple: colors.purple,
|
|
37
|
-
fuchsia: colors.fuchsia,
|
|
38
|
-
pink: colors.pink,
|
|
39
|
-
rose: colors.rose,
|
|
40
|
-
}),
|
|
41
|
-
columns: {
|
|
6
|
+
accentColor: ({ theme }) => ({
|
|
7
|
+
...theme('colors'),
|
|
42
8
|
auto: 'auto',
|
|
43
|
-
|
|
44
|
-
2: '2',
|
|
45
|
-
3: '3',
|
|
46
|
-
4: '4',
|
|
47
|
-
5: '5',
|
|
48
|
-
6: '6',
|
|
49
|
-
7: '7',
|
|
50
|
-
8: '8',
|
|
51
|
-
9: '9',
|
|
52
|
-
10: '10',
|
|
53
|
-
11: '11',
|
|
54
|
-
12: '12',
|
|
55
|
-
'3xs': '16rem',
|
|
56
|
-
'2xs': '18rem',
|
|
57
|
-
xs: '20rem',
|
|
58
|
-
sm: '24rem',
|
|
59
|
-
md: '28rem',
|
|
60
|
-
lg: '32rem',
|
|
61
|
-
xl: '36rem',
|
|
62
|
-
'2xl': '42rem',
|
|
63
|
-
'3xl': '48rem',
|
|
64
|
-
'4xl': '56rem',
|
|
65
|
-
'5xl': '64rem',
|
|
66
|
-
'6xl': '72rem',
|
|
67
|
-
'7xl': '80rem',
|
|
68
|
-
},
|
|
69
|
-
spacing: {
|
|
70
|
-
px: '1px',
|
|
71
|
-
0: '0px',
|
|
72
|
-
0.5: '0.125rem',
|
|
73
|
-
1: '0.25rem',
|
|
74
|
-
1.5: '0.375rem',
|
|
75
|
-
2: '0.5rem',
|
|
76
|
-
2.5: '0.625rem',
|
|
77
|
-
3: '0.75rem',
|
|
78
|
-
3.5: '0.875rem',
|
|
79
|
-
4: '1rem',
|
|
80
|
-
5: '1.25rem',
|
|
81
|
-
6: '1.5rem',
|
|
82
|
-
7: '1.75rem',
|
|
83
|
-
8: '2rem',
|
|
84
|
-
9: '2.25rem',
|
|
85
|
-
10: '2.5rem',
|
|
86
|
-
11: '2.75rem',
|
|
87
|
-
12: '3rem',
|
|
88
|
-
14: '3.5rem',
|
|
89
|
-
16: '4rem',
|
|
90
|
-
20: '5rem',
|
|
91
|
-
24: '6rem',
|
|
92
|
-
28: '7rem',
|
|
93
|
-
32: '8rem',
|
|
94
|
-
36: '9rem',
|
|
95
|
-
40: '10rem',
|
|
96
|
-
44: '11rem',
|
|
97
|
-
48: '12rem',
|
|
98
|
-
52: '13rem',
|
|
99
|
-
56: '14rem',
|
|
100
|
-
60: '15rem',
|
|
101
|
-
64: '16rem',
|
|
102
|
-
72: '18rem',
|
|
103
|
-
80: '20rem',
|
|
104
|
-
96: '24rem',
|
|
105
|
-
},
|
|
9
|
+
}),
|
|
106
10
|
animation: {
|
|
107
11
|
none: 'none',
|
|
108
12
|
spin: 'spin 1s linear infinite',
|
|
@@ -110,21 +14,31 @@ module.exports = {
|
|
|
110
14
|
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
111
15
|
bounce: 'bounce 1s infinite',
|
|
112
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
|
+
},
|
|
113
27
|
aspectRatio: {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
backdropBlur: (theme) => theme('blur'),
|
|
119
|
-
backdropBrightness: (theme) => theme('brightness'),
|
|
120
|
-
backdropContrast: (theme) => theme('contrast'),
|
|
121
|
-
backdropGrayscale: (theme) => theme('grayscale'),
|
|
122
|
-
backdropHueRotate: (theme) => theme('hueRotate'),
|
|
123
|
-
backdropInvert: (theme) => theme('invert'),
|
|
124
|
-
backdropOpacity: (theme) => theme('opacity'),
|
|
125
|
-
backdropSaturate: (theme) => theme('saturate'),
|
|
126
|
-
backdropSepia: (theme) => theme('sepia'),
|
|
127
|
-
backgroundColor: (theme) => theme('colors'),
|
|
28
|
+
auto: 'auto',
|
|
29
|
+
square: '1 / 1',
|
|
30
|
+
video: '16 / 9',
|
|
31
|
+
},
|
|
32
|
+
backdropBlur: ({ theme }) => theme('blur'),
|
|
33
|
+
backdropBrightness: ({ theme }) => theme('brightness'),
|
|
34
|
+
backdropContrast: ({ theme }) => theme('contrast'),
|
|
35
|
+
backdropGrayscale: ({ theme }) => theme('grayscale'),
|
|
36
|
+
backdropHueRotate: ({ theme }) => theme('hueRotate'),
|
|
37
|
+
backdropInvert: ({ theme }) => theme('invert'),
|
|
38
|
+
backdropOpacity: ({ theme }) => theme('opacity'),
|
|
39
|
+
backdropSaturate: ({ theme }) => theme('saturate'),
|
|
40
|
+
backdropSepia: ({ theme }) => theme('sepia'),
|
|
41
|
+
backgroundColor: ({ theme }) => theme('colors'),
|
|
128
42
|
backgroundImage: {
|
|
129
43
|
none: 'none',
|
|
130
44
|
'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',
|
|
@@ -136,7 +50,7 @@ module.exports = {
|
|
|
136
50
|
'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
|
|
137
51
|
'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
|
|
138
52
|
},
|
|
139
|
-
backgroundOpacity: (theme) => theme('opacity'),
|
|
53
|
+
backgroundOpacity: ({ theme }) => theme('opacity'),
|
|
140
54
|
backgroundPosition: {
|
|
141
55
|
bottom: 'bottom',
|
|
142
56
|
center: 'center',
|
|
@@ -164,24 +78,11 @@ module.exports = {
|
|
|
164
78
|
'2xl': '40px',
|
|
165
79
|
'3xl': '64px',
|
|
166
80
|
},
|
|
167
|
-
|
|
168
|
-
0: '0',
|
|
169
|
-
50: '.5',
|
|
170
|
-
75: '.75',
|
|
171
|
-
90: '.9',
|
|
172
|
-
95: '.95',
|
|
173
|
-
100: '1',
|
|
174
|
-
105: '1.05',
|
|
175
|
-
110: '1.1',
|
|
176
|
-
125: '1.25',
|
|
177
|
-
150: '1.5',
|
|
178
|
-
200: '2',
|
|
179
|
-
},
|
|
180
|
-
borderColor: (theme) => ({
|
|
81
|
+
borderColor: ({ theme }) => ({
|
|
181
82
|
...theme('colors'),
|
|
182
83
|
DEFAULT: theme('colors.gray.200', 'currentColor'),
|
|
183
84
|
}),
|
|
184
|
-
borderOpacity: (theme) => theme('opacity'),
|
|
85
|
+
borderOpacity: ({ theme }) => theme('opacity'),
|
|
185
86
|
borderRadius: {
|
|
186
87
|
none: '0px',
|
|
187
88
|
sm: '0.125rem',
|
|
@@ -193,6 +94,9 @@ module.exports = {
|
|
|
193
94
|
'3xl': '1.5rem',
|
|
194
95
|
full: '9999px',
|
|
195
96
|
},
|
|
97
|
+
borderSpacing: ({ theme }) => ({
|
|
98
|
+
...theme('spacing'),
|
|
99
|
+
}),
|
|
196
100
|
borderWidth: {
|
|
197
101
|
DEFAULT: '1px',
|
|
198
102
|
0: '0px',
|
|
@@ -202,32 +106,99 @@ module.exports = {
|
|
|
202
106
|
},
|
|
203
107
|
boxShadow: {
|
|
204
108
|
sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
|
|
205
|
-
DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px
|
|
206
|
-
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -
|
|
207
|
-
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -
|
|
208
|
-
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0
|
|
109
|
+
DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
|
110
|
+
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
|
111
|
+
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
|
112
|
+
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
|
209
113
|
'2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
|
|
210
|
-
inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.
|
|
114
|
+
inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
|
|
211
115
|
none: 'none',
|
|
212
116
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
...theme('colors'),
|
|
216
|
-
auto: 'auto',
|
|
217
|
-
}),
|
|
218
|
-
contrast: {
|
|
117
|
+
boxShadowColor: ({ theme }) => theme('colors'),
|
|
118
|
+
brightness: {
|
|
219
119
|
0: '0',
|
|
220
120
|
50: '.5',
|
|
221
121
|
75: '.75',
|
|
122
|
+
90: '.9',
|
|
123
|
+
95: '.95',
|
|
222
124
|
100: '1',
|
|
125
|
+
105: '1.05',
|
|
126
|
+
110: '1.1',
|
|
223
127
|
125: '1.25',
|
|
224
128
|
150: '1.5',
|
|
225
129
|
200: '2',
|
|
226
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
|
+
},
|
|
227
189
|
container: {},
|
|
228
190
|
content: {
|
|
229
191
|
none: 'none',
|
|
230
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
|
+
},
|
|
231
202
|
cursor: {
|
|
232
203
|
auto: 'auto',
|
|
233
204
|
default: 'default',
|
|
@@ -237,10 +208,38 @@ module.exports = {
|
|
|
237
208
|
move: 'move',
|
|
238
209
|
help: 'help',
|
|
239
210
|
'not-allowed': 'not-allowed',
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
211
|
+
none: 'none',
|
|
212
|
+
'context-menu': 'context-menu',
|
|
213
|
+
progress: 'progress',
|
|
214
|
+
cell: 'cell',
|
|
215
|
+
crosshair: 'crosshair',
|
|
216
|
+
'vertical-text': 'vertical-text',
|
|
217
|
+
alias: 'alias',
|
|
218
|
+
copy: 'copy',
|
|
219
|
+
'no-drop': 'no-drop',
|
|
220
|
+
grab: 'grab',
|
|
221
|
+
grabbing: 'grabbing',
|
|
222
|
+
'all-scroll': 'all-scroll',
|
|
223
|
+
'col-resize': 'col-resize',
|
|
224
|
+
'row-resize': 'row-resize',
|
|
225
|
+
'n-resize': 'n-resize',
|
|
226
|
+
'e-resize': 'e-resize',
|
|
227
|
+
's-resize': 's-resize',
|
|
228
|
+
'w-resize': 'w-resize',
|
|
229
|
+
'ne-resize': 'ne-resize',
|
|
230
|
+
'nw-resize': 'nw-resize',
|
|
231
|
+
'se-resize': 'se-resize',
|
|
232
|
+
'sw-resize': 'sw-resize',
|
|
233
|
+
'ew-resize': 'ew-resize',
|
|
234
|
+
'ns-resize': 'ns-resize',
|
|
235
|
+
'nesw-resize': 'nesw-resize',
|
|
236
|
+
'nwse-resize': 'nwse-resize',
|
|
237
|
+
'zoom-in': 'zoom-in',
|
|
238
|
+
'zoom-out': 'zoom-out',
|
|
239
|
+
},
|
|
240
|
+
divideColor: ({ theme }) => theme('borderColor'),
|
|
241
|
+
divideOpacity: ({ theme }) => theme('borderOpacity'),
|
|
242
|
+
divideWidth: ({ theme }) => theme('borderWidth'),
|
|
244
243
|
dropShadow: {
|
|
245
244
|
sm: '0 1px 1px rgb(0 0 0 / 0.05)',
|
|
246
245
|
DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'],
|
|
@@ -250,34 +249,47 @@ module.exports = {
|
|
|
250
249
|
'2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
|
|
251
250
|
none: '0 0 #0000',
|
|
252
251
|
},
|
|
253
|
-
fill: {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
},
|
|
258
|
-
hueRotate: {
|
|
259
|
-
'-180': '-180deg',
|
|
260
|
-
'-90': '-90deg',
|
|
261
|
-
'-60': '-60deg',
|
|
262
|
-
'-30': '-30deg',
|
|
263
|
-
'-15': '-15deg',
|
|
264
|
-
0: '0deg',
|
|
265
|
-
15: '15deg',
|
|
266
|
-
30: '30deg',
|
|
267
|
-
60: '60deg',
|
|
268
|
-
90: '90deg',
|
|
269
|
-
180: '180deg',
|
|
270
|
-
},
|
|
271
|
-
invert: {
|
|
272
|
-
0: '0',
|
|
273
|
-
DEFAULT: '100%',
|
|
274
|
-
},
|
|
252
|
+
fill: ({ theme }) => ({
|
|
253
|
+
none: 'none',
|
|
254
|
+
...theme('colors'),
|
|
255
|
+
}),
|
|
275
256
|
flex: {
|
|
276
257
|
1: '1 1 0%',
|
|
277
258
|
auto: '1 1 auto',
|
|
278
259
|
initial: '0 1 auto',
|
|
279
260
|
none: 'none',
|
|
280
261
|
},
|
|
262
|
+
flexBasis: ({ theme }) => ({
|
|
263
|
+
auto: 'auto',
|
|
264
|
+
...theme('spacing'),
|
|
265
|
+
'1/2': '50%',
|
|
266
|
+
'1/3': '33.333333%',
|
|
267
|
+
'2/3': '66.666667%',
|
|
268
|
+
'1/4': '25%',
|
|
269
|
+
'2/4': '50%',
|
|
270
|
+
'3/4': '75%',
|
|
271
|
+
'1/5': '20%',
|
|
272
|
+
'2/5': '40%',
|
|
273
|
+
'3/5': '60%',
|
|
274
|
+
'4/5': '80%',
|
|
275
|
+
'1/6': '16.666667%',
|
|
276
|
+
'2/6': '33.333333%',
|
|
277
|
+
'3/6': '50%',
|
|
278
|
+
'4/6': '66.666667%',
|
|
279
|
+
'5/6': '83.333333%',
|
|
280
|
+
'1/12': '8.333333%',
|
|
281
|
+
'2/12': '16.666667%',
|
|
282
|
+
'3/12': '25%',
|
|
283
|
+
'4/12': '33.333333%',
|
|
284
|
+
'5/12': '41.666667%',
|
|
285
|
+
'6/12': '50%',
|
|
286
|
+
'7/12': '58.333333%',
|
|
287
|
+
'8/12': '66.666667%',
|
|
288
|
+
'9/12': '75%',
|
|
289
|
+
'10/12': '83.333333%',
|
|
290
|
+
'11/12': '91.666667%',
|
|
291
|
+
full: '100%',
|
|
292
|
+
}),
|
|
281
293
|
flexGrow: {
|
|
282
294
|
0: '0',
|
|
283
295
|
DEFAULT: '1',
|
|
@@ -341,8 +353,12 @@ module.exports = {
|
|
|
341
353
|
extrabold: '800',
|
|
342
354
|
black: '900',
|
|
343
355
|
},
|
|
344
|
-
gap: (theme) => theme('spacing'),
|
|
345
|
-
gradientColorStops: (theme) => theme('colors'),
|
|
356
|
+
gap: ({ theme }) => theme('spacing'),
|
|
357
|
+
gradientColorStops: ({ theme }) => theme('colors'),
|
|
358
|
+
grayscale: {
|
|
359
|
+
0: '0',
|
|
360
|
+
DEFAULT: '100%',
|
|
361
|
+
},
|
|
346
362
|
gridAutoColumns: {
|
|
347
363
|
auto: 'auto',
|
|
348
364
|
min: 'min-content',
|
|
@@ -413,7 +429,7 @@ module.exports = {
|
|
|
413
429
|
'span-6': 'span 6 / span 6',
|
|
414
430
|
'span-full': '1 / -1',
|
|
415
431
|
},
|
|
416
|
-
|
|
432
|
+
gridRowEnd: {
|
|
417
433
|
auto: 'auto',
|
|
418
434
|
1: '1',
|
|
419
435
|
2: '2',
|
|
@@ -423,7 +439,7 @@ module.exports = {
|
|
|
423
439
|
6: '6',
|
|
424
440
|
7: '7',
|
|
425
441
|
},
|
|
426
|
-
|
|
442
|
+
gridRowStart: {
|
|
427
443
|
auto: 'auto',
|
|
428
444
|
1: '1',
|
|
429
445
|
2: '2',
|
|
@@ -457,7 +473,7 @@ module.exports = {
|
|
|
457
473
|
5: 'repeat(5, minmax(0, 1fr))',
|
|
458
474
|
6: 'repeat(6, minmax(0, 1fr))',
|
|
459
475
|
},
|
|
460
|
-
height: (theme) => ({
|
|
476
|
+
height: ({ theme }) => ({
|
|
461
477
|
auto: 'auto',
|
|
462
478
|
...theme('spacing'),
|
|
463
479
|
'1/2': '50%',
|
|
@@ -477,11 +493,21 @@ module.exports = {
|
|
|
477
493
|
'5/6': '83.333333%',
|
|
478
494
|
full: '100%',
|
|
479
495
|
screen: '100vh',
|
|
496
|
+
min: 'min-content',
|
|
497
|
+
max: 'max-content',
|
|
498
|
+
fit: 'fit-content',
|
|
480
499
|
}),
|
|
481
|
-
|
|
500
|
+
hueRotate: {
|
|
501
|
+
0: '0deg',
|
|
502
|
+
15: '15deg',
|
|
503
|
+
30: '30deg',
|
|
504
|
+
60: '60deg',
|
|
505
|
+
90: '90deg',
|
|
506
|
+
180: '180deg',
|
|
507
|
+
},
|
|
508
|
+
inset: ({ theme }) => ({
|
|
482
509
|
auto: 'auto',
|
|
483
510
|
...theme('spacing'),
|
|
484
|
-
...negative(theme('spacing')),
|
|
485
511
|
'1/2': '50%',
|
|
486
512
|
'1/3': '33.333333%',
|
|
487
513
|
'2/3': '66.666667%',
|
|
@@ -489,14 +515,11 @@ module.exports = {
|
|
|
489
515
|
'2/4': '50%',
|
|
490
516
|
'3/4': '75%',
|
|
491
517
|
full: '100%',
|
|
492
|
-
'-1/2': '-50%',
|
|
493
|
-
'-1/3': '-33.333333%',
|
|
494
|
-
'-2/3': '-66.666667%',
|
|
495
|
-
'-1/4': '-25%',
|
|
496
|
-
'-2/4': '-50%',
|
|
497
|
-
'-3/4': '-75%',
|
|
498
|
-
'-full': '-100%',
|
|
499
518
|
}),
|
|
519
|
+
invert: {
|
|
520
|
+
0: '0',
|
|
521
|
+
DEFAULT: '100%',
|
|
522
|
+
},
|
|
500
523
|
keyframes: {
|
|
501
524
|
spin: {
|
|
502
525
|
to: {
|
|
@@ -554,17 +577,31 @@ module.exports = {
|
|
|
554
577
|
disc: 'disc',
|
|
555
578
|
decimal: 'decimal',
|
|
556
579
|
},
|
|
557
|
-
|
|
580
|
+
listStyleImage: {
|
|
581
|
+
none: 'none',
|
|
582
|
+
},
|
|
583
|
+
margin: ({ theme }) => ({
|
|
558
584
|
auto: 'auto',
|
|
559
585
|
...theme('spacing'),
|
|
560
|
-
...negative(theme('spacing')),
|
|
561
586
|
}),
|
|
562
|
-
|
|
587
|
+
lineClamp: {
|
|
588
|
+
1: '1',
|
|
589
|
+
2: '2',
|
|
590
|
+
3: '3',
|
|
591
|
+
4: '4',
|
|
592
|
+
5: '5',
|
|
593
|
+
6: '6',
|
|
594
|
+
},
|
|
595
|
+
maxHeight: ({ theme }) => ({
|
|
563
596
|
...theme('spacing'),
|
|
597
|
+
none: 'none',
|
|
564
598
|
full: '100%',
|
|
565
599
|
screen: '100vh',
|
|
600
|
+
min: 'min-content',
|
|
601
|
+
max: 'max-content',
|
|
602
|
+
fit: 'fit-content',
|
|
566
603
|
}),
|
|
567
|
-
maxWidth: (theme,
|
|
604
|
+
maxWidth: ({ theme, breakpoints }) => ({
|
|
568
605
|
none: 'none',
|
|
569
606
|
0: '0rem',
|
|
570
607
|
xs: '20rem',
|
|
@@ -581,6 +618,7 @@ module.exports = {
|
|
|
581
618
|
full: '100%',
|
|
582
619
|
min: 'min-content',
|
|
583
620
|
max: 'max-content',
|
|
621
|
+
fit: 'fit-content',
|
|
584
622
|
prose: '65ch',
|
|
585
623
|
...breakpoints(theme('screens')),
|
|
586
624
|
}),
|
|
@@ -588,12 +626,16 @@ module.exports = {
|
|
|
588
626
|
0: '0px',
|
|
589
627
|
full: '100%',
|
|
590
628
|
screen: '100vh',
|
|
629
|
+
min: 'min-content',
|
|
630
|
+
max: 'max-content',
|
|
631
|
+
fit: 'fit-content',
|
|
591
632
|
},
|
|
592
633
|
minWidth: {
|
|
593
634
|
0: '0px',
|
|
594
635
|
full: '100%',
|
|
595
636
|
min: 'min-content',
|
|
596
637
|
max: 'max-content',
|
|
638
|
+
fit: 'fit-content',
|
|
597
639
|
},
|
|
598
640
|
objectPosition: {
|
|
599
641
|
bottom: 'bottom',
|
|
@@ -640,19 +682,29 @@ module.exports = {
|
|
|
640
682
|
11: '11',
|
|
641
683
|
12: '12',
|
|
642
684
|
},
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
685
|
+
outlineColor: ({ theme }) => theme('colors'),
|
|
686
|
+
outlineOffset: {
|
|
687
|
+
0: '0px',
|
|
688
|
+
1: '1px',
|
|
689
|
+
2: '2px',
|
|
690
|
+
4: '4px',
|
|
691
|
+
8: '8px',
|
|
692
|
+
},
|
|
693
|
+
outlineWidth: {
|
|
694
|
+
0: '0px',
|
|
695
|
+
1: '1px',
|
|
696
|
+
2: '2px',
|
|
697
|
+
4: '4px',
|
|
698
|
+
8: '8px',
|
|
647
699
|
},
|
|
648
|
-
padding: (theme) => theme('spacing'),
|
|
649
|
-
placeholderColor: (theme) => theme('colors'),
|
|
650
|
-
placeholderOpacity: (theme) => theme('opacity'),
|
|
651
|
-
ringColor: (theme) => ({
|
|
700
|
+
padding: ({ theme }) => theme('spacing'),
|
|
701
|
+
placeholderColor: ({ theme }) => theme('colors'),
|
|
702
|
+
placeholderOpacity: ({ theme }) => theme('opacity'),
|
|
703
|
+
ringColor: ({ theme }) => ({
|
|
652
704
|
DEFAULT: theme('colors.blue.500', '#3b82f6'),
|
|
653
705
|
...theme('colors'),
|
|
654
706
|
}),
|
|
655
|
-
ringOffsetColor: (theme) => theme('colors'),
|
|
707
|
+
ringOffsetColor: ({ theme }) => theme('colors'),
|
|
656
708
|
ringOffsetWidth: {
|
|
657
709
|
0: '0px',
|
|
658
710
|
1: '1px',
|
|
@@ -660,7 +712,7 @@ module.exports = {
|
|
|
660
712
|
4: '4px',
|
|
661
713
|
8: '8px',
|
|
662
714
|
},
|
|
663
|
-
ringOpacity: (theme) => ({
|
|
715
|
+
ringOpacity: ({ theme }) => ({
|
|
664
716
|
DEFAULT: '0.5',
|
|
665
717
|
...theme('opacity'),
|
|
666
718
|
}),
|
|
@@ -673,14 +725,6 @@ module.exports = {
|
|
|
673
725
|
8: '8px',
|
|
674
726
|
},
|
|
675
727
|
rotate: {
|
|
676
|
-
'-180': '-180deg',
|
|
677
|
-
'-90': '-90deg',
|
|
678
|
-
'-45': '-45deg',
|
|
679
|
-
'-12': '-12deg',
|
|
680
|
-
'-6': '-6deg',
|
|
681
|
-
'-3': '-3deg',
|
|
682
|
-
'-2': '-2deg',
|
|
683
|
-
'-1': '-1deg',
|
|
684
728
|
0: '0deg',
|
|
685
729
|
1: '1deg',
|
|
686
730
|
2: '2deg',
|
|
@@ -710,16 +754,22 @@ module.exports = {
|
|
|
710
754
|
125: '1.25',
|
|
711
755
|
150: '1.5',
|
|
712
756
|
},
|
|
757
|
+
screens: {
|
|
758
|
+
sm: '640px',
|
|
759
|
+
md: '768px',
|
|
760
|
+
lg: '1024px',
|
|
761
|
+
xl: '1280px',
|
|
762
|
+
'2xl': '1536px',
|
|
763
|
+
},
|
|
764
|
+
scrollMargin: ({ theme }) => ({
|
|
765
|
+
...theme('spacing'),
|
|
766
|
+
}),
|
|
767
|
+
scrollPadding: ({ theme }) => theme('spacing'),
|
|
713
768
|
sepia: {
|
|
714
769
|
0: '0',
|
|
715
770
|
DEFAULT: '100%',
|
|
716
771
|
},
|
|
717
772
|
skew: {
|
|
718
|
-
'-12': '-12deg',
|
|
719
|
-
'-6': '-6deg',
|
|
720
|
-
'-3': '-3deg',
|
|
721
|
-
'-2': '-2deg',
|
|
722
|
-
'-1': '-1deg',
|
|
723
773
|
0: '0deg',
|
|
724
774
|
1: '1deg',
|
|
725
775
|
2: '2deg',
|
|
@@ -727,24 +777,80 @@ module.exports = {
|
|
|
727
777
|
6: '6deg',
|
|
728
778
|
12: '12deg',
|
|
729
779
|
},
|
|
730
|
-
space: (
|
|
780
|
+
space: ({ theme }) => ({
|
|
731
781
|
...theme('spacing'),
|
|
732
|
-
...negative(theme('spacing')),
|
|
733
782
|
}),
|
|
734
|
-
|
|
735
|
-
|
|
783
|
+
spacing: {
|
|
784
|
+
px: '1px',
|
|
785
|
+
0: '0px',
|
|
786
|
+
0.5: '0.125rem',
|
|
787
|
+
1: '0.25rem',
|
|
788
|
+
1.5: '0.375rem',
|
|
789
|
+
2: '0.5rem',
|
|
790
|
+
2.5: '0.625rem',
|
|
791
|
+
3: '0.75rem',
|
|
792
|
+
3.5: '0.875rem',
|
|
793
|
+
4: '1rem',
|
|
794
|
+
5: '1.25rem',
|
|
795
|
+
6: '1.5rem',
|
|
796
|
+
7: '1.75rem',
|
|
797
|
+
8: '2rem',
|
|
798
|
+
9: '2.25rem',
|
|
799
|
+
10: '2.5rem',
|
|
800
|
+
11: '2.75rem',
|
|
801
|
+
12: '3rem',
|
|
802
|
+
14: '3.5rem',
|
|
803
|
+
16: '4rem',
|
|
804
|
+
20: '5rem',
|
|
805
|
+
24: '6rem',
|
|
806
|
+
28: '7rem',
|
|
807
|
+
32: '8rem',
|
|
808
|
+
36: '9rem',
|
|
809
|
+
40: '10rem',
|
|
810
|
+
44: '11rem',
|
|
811
|
+
48: '12rem',
|
|
812
|
+
52: '13rem',
|
|
813
|
+
56: '14rem',
|
|
814
|
+
60: '15rem',
|
|
815
|
+
64: '16rem',
|
|
816
|
+
72: '18rem',
|
|
817
|
+
80: '20rem',
|
|
818
|
+
96: '24rem',
|
|
736
819
|
},
|
|
820
|
+
stroke: ({ theme }) => ({
|
|
821
|
+
none: 'none',
|
|
822
|
+
...theme('colors'),
|
|
823
|
+
}),
|
|
737
824
|
strokeWidth: {
|
|
738
825
|
0: '0',
|
|
739
826
|
1: '1',
|
|
740
827
|
2: '2',
|
|
741
828
|
},
|
|
742
|
-
|
|
743
|
-
|
|
829
|
+
supports: {},
|
|
830
|
+
data: {},
|
|
831
|
+
textColor: ({ theme }) => theme('colors'),
|
|
832
|
+
textDecorationColor: ({ theme }) => theme('colors'),
|
|
833
|
+
textDecorationThickness: {
|
|
834
|
+
auto: 'auto',
|
|
835
|
+
'from-font': 'from-font',
|
|
836
|
+
0: '0px',
|
|
837
|
+
1: '1px',
|
|
838
|
+
2: '2px',
|
|
839
|
+
4: '4px',
|
|
840
|
+
8: '8px',
|
|
841
|
+
},
|
|
842
|
+
textIndent: ({ theme }) => ({
|
|
744
843
|
...theme('spacing'),
|
|
745
|
-
...negative(theme('spacing')),
|
|
746
844
|
}),
|
|
747
|
-
textOpacity: (theme) => theme('opacity'),
|
|
845
|
+
textOpacity: ({ theme }) => theme('opacity'),
|
|
846
|
+
textUnderlineOffset: {
|
|
847
|
+
auto: 'auto',
|
|
848
|
+
0: '0px',
|
|
849
|
+
1: '1px',
|
|
850
|
+
2: '2px',
|
|
851
|
+
4: '4px',
|
|
852
|
+
8: '8px',
|
|
853
|
+
},
|
|
748
854
|
transformOrigin: {
|
|
749
855
|
center: 'center',
|
|
750
856
|
top: 'top',
|
|
@@ -757,6 +863,7 @@ module.exports = {
|
|
|
757
863
|
'top-left': 'top left',
|
|
758
864
|
},
|
|
759
865
|
transitionDelay: {
|
|
866
|
+
0: '0s',
|
|
760
867
|
75: '75ms',
|
|
761
868
|
100: '100ms',
|
|
762
869
|
150: '150ms',
|
|
@@ -768,6 +875,7 @@ module.exports = {
|
|
|
768
875
|
},
|
|
769
876
|
transitionDuration: {
|
|
770
877
|
DEFAULT: '150ms',
|
|
878
|
+
0: '0s',
|
|
771
879
|
75: '75ms',
|
|
772
880
|
100: '100ms',
|
|
773
881
|
150: '150ms',
|
|
@@ -781,8 +889,8 @@ module.exports = {
|
|
|
781
889
|
none: 'none',
|
|
782
890
|
all: 'all',
|
|
783
891
|
DEFAULT:
|
|
784
|
-
'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
|
|
785
|
-
colors: 'background-color, border-color, color, fill, stroke',
|
|
892
|
+
'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
|
|
893
|
+
colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
|
|
786
894
|
opacity: 'opacity',
|
|
787
895
|
shadow: 'box-shadow',
|
|
788
896
|
transform: 'transform',
|
|
@@ -794,9 +902,8 @@ module.exports = {
|
|
|
794
902
|
out: 'cubic-bezier(0, 0, 0.2, 1)',
|
|
795
903
|
'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
796
904
|
},
|
|
797
|
-
translate: (
|
|
905
|
+
translate: ({ theme }) => ({
|
|
798
906
|
...theme('spacing'),
|
|
799
|
-
...negative(theme('spacing')),
|
|
800
907
|
'1/2': '50%',
|
|
801
908
|
'1/3': '33.333333%',
|
|
802
909
|
'2/3': '66.666667%',
|
|
@@ -804,15 +911,8 @@ module.exports = {
|
|
|
804
911
|
'2/4': '50%',
|
|
805
912
|
'3/4': '75%',
|
|
806
913
|
full: '100%',
|
|
807
|
-
'-1/2': '-50%',
|
|
808
|
-
'-1/3': '-33.333333%',
|
|
809
|
-
'-2/3': '-66.666667%',
|
|
810
|
-
'-1/4': '-25%',
|
|
811
|
-
'-2/4': '-50%',
|
|
812
|
-
'-3/4': '-75%',
|
|
813
|
-
'-full': '-100%',
|
|
814
914
|
}),
|
|
815
|
-
width: (theme) => ({
|
|
915
|
+
width: ({ theme }) => ({
|
|
816
916
|
auto: 'auto',
|
|
817
917
|
...theme('spacing'),
|
|
818
918
|
'1/2': '50%',
|
|
@@ -845,12 +945,13 @@ module.exports = {
|
|
|
845
945
|
screen: '100vw',
|
|
846
946
|
min: 'min-content',
|
|
847
947
|
max: 'max-content',
|
|
948
|
+
fit: 'fit-content',
|
|
848
949
|
}),
|
|
849
950
|
willChange: {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
951
|
+
auto: 'auto',
|
|
952
|
+
scroll: 'scroll-position',
|
|
953
|
+
contents: 'contents',
|
|
954
|
+
transform: 'transform',
|
|
854
955
|
},
|
|
855
956
|
zIndex: {
|
|
856
957
|
auto: 'auto',
|
|
@@ -862,23 +963,5 @@ module.exports = {
|
|
|
862
963
|
50: '50',
|
|
863
964
|
},
|
|
864
965
|
},
|
|
865
|
-
variantOrder: [
|
|
866
|
-
'first',
|
|
867
|
-
'last',
|
|
868
|
-
'odd',
|
|
869
|
-
'even',
|
|
870
|
-
'visited',
|
|
871
|
-
'checked',
|
|
872
|
-
'empty',
|
|
873
|
-
'read-only',
|
|
874
|
-
'group-hover',
|
|
875
|
-
'group-focus',
|
|
876
|
-
'focus-within',
|
|
877
|
-
'hover',
|
|
878
|
-
'focus',
|
|
879
|
-
'focus-visible',
|
|
880
|
-
'active',
|
|
881
|
-
'disabled',
|
|
882
|
-
],
|
|
883
966
|
plugins: [],
|
|
884
967
|
}
|