tailwindcss 0.0.0-insiders.2bfd3e7 → 0.0.0-insiders.2bfdbce
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/README.md +7 -6
- package/index.css +5 -0
- package/lib/cli/build/index.js +57 -0
- package/lib/cli/build/plugin.js +430 -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 +231 -0
- package/lib/cli/init/index.js +63 -0
- package/lib/cli.js +1 -806
- package/lib/corePluginList.js +8 -1
- package/lib/corePlugins.js +689 -163
- package/lib/css/preflight.css +32 -1
- package/lib/featureFlags.js +34 -18
- package/lib/index.js +1 -42
- package/lib/lib/cacheInvalidation.js +7 -5
- package/lib/lib/collapseAdjacentRules.js +5 -3
- package/lib/lib/collapseDuplicateDeclarations.js +12 -10
- package/lib/lib/content.js +207 -0
- package/lib/lib/defaultExtractor.js +30 -18
- package/lib/lib/detectNesting.js +12 -4
- package/lib/lib/evaluateTailwindFunctions.js +38 -18
- package/lib/lib/expandApplyAtRules.js +125 -64
- package/lib/lib/expandTailwindAtRules.js +100 -65
- package/lib/lib/findAtConfigPath.js +46 -0
- package/lib/lib/generateRules.js +325 -168
- package/lib/lib/getModuleDependencies.js +85 -37
- package/lib/lib/handleImportAtRules.js +50 -0
- package/lib/lib/load-config.js +42 -0
- package/lib/lib/normalizeTailwindDirectives.js +6 -19
- package/lib/lib/offsets.js +306 -0
- package/lib/lib/partitionApplyAtRules.js +3 -1
- package/lib/lib/regex.js +22 -8
- package/lib/lib/remap-bitfield.js +89 -0
- package/lib/lib/resolveDefaultsAtRules.js +28 -24
- package/lib/lib/setupContextUtils.js +518 -202
- package/lib/lib/setupTrackingContext.js +52 -62
- package/lib/lib/sharedState.js +29 -8
- package/lib/lib/substituteScreenAtRules.js +5 -3
- package/lib/plugin.js +164 -0
- package/lib/postcss-plugins/nesting/index.js +3 -1
- package/lib/postcss-plugins/nesting/plugin.js +10 -8
- package/lib/processTailwindFeatures.js +16 -14
- package/lib/public/colors.js +50 -26
- package/lib/public/create-plugin.js +5 -3
- package/lib/public/default-config.js +6 -4
- package/lib/public/default-theme.js +6 -4
- package/lib/public/load-config.js +12 -0
- package/lib/public/resolve-config.js +6 -4
- package/lib/util/applyImportantSelector.js +36 -0
- package/lib/util/bigSign.js +3 -1
- package/lib/util/buildMediaQuery.js +9 -4
- package/lib/util/cloneDeep.js +3 -1
- package/lib/util/cloneNodes.js +5 -3
- package/lib/util/color.js +30 -12
- package/lib/util/colorNames.js +752 -0
- package/lib/util/configurePlugins.js +4 -2
- package/lib/util/createPlugin.js +3 -1
- package/lib/util/createUtilityPlugin.js +7 -5
- package/lib/util/dataTypes.js +101 -40
- package/lib/util/defaults.js +9 -7
- package/lib/util/escapeClassName.js +10 -8
- package/lib/util/escapeCommas.js +3 -1
- package/lib/util/flattenColorPalette.js +3 -1
- package/lib/util/formatVariantSelector.js +217 -155
- package/lib/util/getAllConfigs.js +22 -9
- package/lib/util/hashConfig.js +6 -4
- package/lib/util/isKeyframeRule.js +3 -1
- package/lib/util/isPlainObject.js +3 -1
- package/lib/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +5 -3
- package/lib/util/log.js +25 -4
- package/lib/util/nameClass.js +15 -6
- package/lib/util/negateValue.js +19 -4
- package/lib/util/normalizeConfig.js +91 -36
- package/lib/util/normalizeScreens.js +108 -3
- package/lib/util/parseAnimationValue.js +4 -2
- package/lib/util/parseBoxShadowValue.js +7 -3
- package/lib/util/parseDependency.js +36 -55
- package/lib/util/parseGlob.js +36 -0
- package/lib/util/parseObjectStyles.js +10 -8
- package/lib/util/pluginUtils.js +121 -42
- package/lib/util/prefixSelector.js +27 -11
- package/lib/util/pseudoElements.js +209 -0
- package/lib/util/removeAlphaVariables.js +3 -1
- package/lib/util/resolveConfig.js +23 -26
- package/lib/util/resolveConfigPath.js +26 -10
- package/lib/util/responsive.js +6 -4
- package/lib/util/splitAtTopLevelOnly.js +39 -81
- package/lib/util/tap.js +3 -1
- package/lib/util/toColorValue.js +3 -1
- package/lib/util/toPath.js +3 -1
- package/lib/util/transformThemeValue.js +14 -5
- package/lib/util/validateConfig.js +28 -4
- package/lib/util/validateFormalSyntax.js +26 -0
- package/lib/util/withAlphaVariable.js +6 -2
- package/lib/value-parser/LICENSE +22 -0
- package/lib/value-parser/README.md +3 -0
- package/lib/value-parser/index.d.js +2 -0
- package/lib/value-parser/index.js +22 -0
- package/lib/value-parser/parse.js +259 -0
- package/lib/value-parser/stringify.js +38 -0
- package/lib/value-parser/unit.js +86 -0
- package/lib/value-parser/walk.js +16 -0
- package/loadConfig.d.ts +4 -0
- package/loadConfig.js +2 -0
- package/package.json +50 -50
- package/plugin.d.ts +3 -3
- package/resolveConfig.d.ts +11 -2
- package/scripts/release-channel.js +18 -0
- package/scripts/release-notes.js +21 -0
- package/src/cli/build/index.js +53 -0
- package/src/cli/build/plugin.js +469 -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 +217 -0
- package/src/cli/init/index.js +79 -0
- package/src/cli.js +1 -913
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +513 -78
- package/src/css/preflight.css +32 -1
- package/src/featureFlags.js +17 -3
- package/src/index.js +1 -42
- package/src/lib/content.js +240 -0
- package/src/lib/defaultExtractor.js +12 -3
- package/src/lib/detectNesting.js +9 -1
- package/src/lib/evaluateTailwindFunctions.js +26 -2
- package/src/lib/expandApplyAtRules.js +106 -32
- package/src/lib/expandTailwindAtRules.js +85 -58
- package/src/lib/findAtConfigPath.js +48 -0
- package/src/lib/generateRules.js +350 -140
- package/src/lib/getModuleDependencies.js +70 -30
- package/src/lib/handleImportAtRules.js +34 -0
- package/src/lib/load-config.ts +31 -0
- package/src/lib/normalizeTailwindDirectives.js +0 -27
- package/src/lib/offsets.js +373 -0
- package/src/lib/remap-bitfield.js +82 -0
- package/src/lib/setupContextUtils.js +488 -136
- package/src/lib/setupTrackingContext.js +41 -59
- package/src/lib/sharedState.js +13 -4
- package/src/plugin.js +133 -0
- package/src/processTailwindFeatures.js +3 -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/color.js +18 -3
- package/src/util/colorNames.js +150 -0
- package/src/util/dataTypes.js +64 -26
- package/src/util/formatVariantSelector.js +256 -155
- package/src/util/getAllConfigs.js +16 -4
- package/src/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +1 -1
- package/src/util/log.js +24 -0
- package/src/util/nameClass.js +4 -0
- package/src/util/negateValue.js +11 -3
- package/src/util/normalizeConfig.js +78 -12
- package/src/util/normalizeScreens.js +99 -4
- package/src/util/parseBoxShadowValue.js +1 -1
- package/src/util/parseDependency.js +37 -42
- package/src/util/parseGlob.js +24 -0
- package/src/util/pluginUtils.js +105 -22
- package/src/util/prefixSelector.js +29 -10
- package/src/util/pseudoElements.js +167 -0
- package/src/util/resolveConfig.js +4 -10
- package/src/util/resolveConfigPath.js +12 -1
- package/src/util/splitAtTopLevelOnly.js +28 -47
- package/src/util/transformThemeValue.js +9 -1
- package/src/util/validateConfig.js +23 -0
- package/src/util/validateFormalSyntax.js +34 -0
- package/src/value-parser/LICENSE +22 -0
- package/src/value-parser/README.md +3 -0
- package/src/value-parser/index.d.ts +177 -0
- package/src/value-parser/index.js +28 -0
- package/src/value-parser/parse.js +303 -0
- package/src/value-parser/stringify.js +41 -0
- package/src/value-parser/unit.js +118 -0
- package/src/value-parser/walk.js +18 -0
- package/stubs/.gitignore +1 -0
- package/stubs/.prettierrc.json +6 -0
- package/stubs/{defaultConfig.stub.js → config.full.js} +216 -167
- package/stubs/{simpleConfig.stub.js → config.simple.js} +1 -2
- package/stubs/{defaultPostCssConfig.stub.js → postcss.config.cjs} +0 -1
- package/stubs/postcss.config.js +5 -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 +62 -20
- package/types/generated/colors.d.ts +22 -0
- package/types/generated/corePluginList.d.ts +1 -1
- package/types/generated/default-theme.d.ts +120 -79
- package/CHANGELOG.md +0 -2229
- package/lib/cli-peer-dependencies.js +0 -28
- package/lib/constants.js +0 -44
- package/peers/index.js +0 -77965
- package/scripts/install-integrations.js +0 -27
- package/scripts/rebuildFixtures.js +0 -68
- package/src/cli-peer-dependencies.js +0 -15
- package/src/constants.js +0 -17
package/types/config.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ type KeyValuePair<K extends keyof any = string, V = string> = Record<K, V>
|
|
|
11
11
|
interface RecursiveKeyValuePair<K extends keyof any = string, V = string> {
|
|
12
12
|
[key: string]: V | RecursiveKeyValuePair<K, V>
|
|
13
13
|
}
|
|
14
|
-
type ResolvableTo<T> = T | ((utils: PluginUtils) => T)
|
|
15
|
-
type CSSRuleObject = RecursiveKeyValuePair<string, string | string[]>
|
|
14
|
+
export type ResolvableTo<T> = T | ((utils: PluginUtils) => T)
|
|
15
|
+
type CSSRuleObject = RecursiveKeyValuePair<string, null | string | string[]>
|
|
16
16
|
|
|
17
17
|
interface PluginUtils {
|
|
18
18
|
colors: DefaultColors
|
|
@@ -31,6 +31,7 @@ type ContentConfig =
|
|
|
31
31
|
| (FilePath | RawFile)[]
|
|
32
32
|
| {
|
|
33
33
|
files: (FilePath | RawFile)[]
|
|
34
|
+
relative?: boolean
|
|
34
35
|
extract?: ExtractorFn | { [extension: string]: ExtractorFn }
|
|
35
36
|
transform?: TransformerFn | { [extension: string]: TransformerFn }
|
|
36
37
|
}
|
|
@@ -45,31 +46,34 @@ type PrefixConfig = string
|
|
|
45
46
|
type SeparatorConfig = string
|
|
46
47
|
|
|
47
48
|
// Safelist related config
|
|
48
|
-
type SafelistConfig =
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
variants: string[]
|
|
53
|
-
}[]
|
|
49
|
+
type SafelistConfig = (string | { pattern: RegExp; variants?: string[] })[]
|
|
50
|
+
|
|
51
|
+
// Blocklist related config
|
|
52
|
+
type BlocklistConfig = string[]
|
|
54
53
|
|
|
55
54
|
// Presets related config
|
|
56
55
|
type PresetsConfig = Config[]
|
|
57
56
|
|
|
58
57
|
// Future related config
|
|
59
|
-
type FutureConfigValues =
|
|
58
|
+
type FutureConfigValues =
|
|
59
|
+
| 'hoverOnlyWhenSupported'
|
|
60
|
+
| 'respectDefaultRingColorOpacity'
|
|
61
|
+
| 'disableColorOpacityUtilitiesByDefault'
|
|
62
|
+
| 'relativeContentPathsByDefault'
|
|
63
|
+
| 'logicalSiblingUtilities'
|
|
60
64
|
type FutureConfig = Expand<'all' | Partial<Record<FutureConfigValues, boolean>>> | []
|
|
61
65
|
|
|
62
66
|
// Experimental related config
|
|
63
|
-
type ExperimentalConfigValues = 'optimizeUniversalDefaults'
|
|
67
|
+
type ExperimentalConfigValues = 'optimizeUniversalDefaults' | 'oxideParser'
|
|
64
68
|
type ExperimentalConfig = Expand<'all' | Partial<Record<ExperimentalConfigValues, boolean>>> | []
|
|
65
69
|
|
|
66
70
|
// DarkMode related config
|
|
67
71
|
type DarkModeConfig =
|
|
68
72
|
// Use the `media` query strategy.
|
|
69
73
|
| 'media'
|
|
70
|
-
// Use the `class`
|
|
74
|
+
// Use the `class` strategy, which requires a `.dark` class on the `html`.
|
|
71
75
|
| 'class'
|
|
72
|
-
// Use the `class`
|
|
76
|
+
// Use the `class` strategy with a custom class instead of `.dark`.
|
|
73
77
|
| ['class', string]
|
|
74
78
|
|
|
75
79
|
type Screen = { raw: string } | { min: string } | { max: string } | { min: string; max: string }
|
|
@@ -79,6 +83,8 @@ type ScreensConfig = string[] | KeyValuePair<string, string | Screen | Screen[]>
|
|
|
79
83
|
interface ThemeConfig {
|
|
80
84
|
// Responsiveness
|
|
81
85
|
screens: ResolvableTo<ScreensConfig>
|
|
86
|
+
supports: ResolvableTo<Record<string, string>>
|
|
87
|
+
data: ResolvableTo<Record<string, string>>
|
|
82
88
|
|
|
83
89
|
// Reusable base configs
|
|
84
90
|
colors: ResolvableTo<RecursiveKeyValuePair>
|
|
@@ -153,7 +159,20 @@ interface ThemeConfig {
|
|
|
153
159
|
objectPosition: ResolvableTo<KeyValuePair>
|
|
154
160
|
padding: ThemeConfig['spacing']
|
|
155
161
|
textIndent: ThemeConfig['spacing']
|
|
156
|
-
fontFamily: ResolvableTo<
|
|
162
|
+
fontFamily: ResolvableTo<
|
|
163
|
+
KeyValuePair<
|
|
164
|
+
string,
|
|
165
|
+
| string
|
|
166
|
+
| string[]
|
|
167
|
+
| [
|
|
168
|
+
fontFamily: string | string[],
|
|
169
|
+
configuration: Partial<{
|
|
170
|
+
fontFeatureSettings: string
|
|
171
|
+
fontVariationSettings: string
|
|
172
|
+
}>
|
|
173
|
+
]
|
|
174
|
+
>
|
|
175
|
+
>
|
|
157
176
|
fontSize: ResolvableTo<
|
|
158
177
|
KeyValuePair<
|
|
159
178
|
string,
|
|
@@ -195,7 +214,7 @@ interface ThemeConfig {
|
|
|
195
214
|
blur: ResolvableTo<KeyValuePair>
|
|
196
215
|
brightness: ResolvableTo<KeyValuePair>
|
|
197
216
|
contrast: ResolvableTo<KeyValuePair>
|
|
198
|
-
dropShadow: ResolvableTo<KeyValuePair
|
|
217
|
+
dropShadow: ResolvableTo<KeyValuePair<string, string | string[]>>
|
|
199
218
|
grayscale: ResolvableTo<KeyValuePair>
|
|
200
219
|
hueRotate: ResolvableTo<KeyValuePair>
|
|
201
220
|
invert: ResolvableTo<KeyValuePair>
|
|
@@ -251,13 +270,17 @@ export interface PluginAPI {
|
|
|
251
270
|
}>
|
|
252
271
|
): void
|
|
253
272
|
// for registering new dynamic utility styles
|
|
254
|
-
matchUtilities<T>(
|
|
255
|
-
utilities: KeyValuePair<
|
|
273
|
+
matchUtilities<T = string, U = string>(
|
|
274
|
+
utilities: KeyValuePair<
|
|
275
|
+
string,
|
|
276
|
+
(value: T | string, extra: { modifier: U | string | null }) => CSSRuleObject | null
|
|
277
|
+
>,
|
|
256
278
|
options?: Partial<{
|
|
257
279
|
respectPrefix: boolean
|
|
258
280
|
respectImportant: boolean
|
|
259
281
|
type: ValueType | ValueType[]
|
|
260
282
|
values: KeyValuePair<string, T>
|
|
283
|
+
modifiers: 'any' | KeyValuePair<string, U>
|
|
261
284
|
supportsNegativeValues: boolean
|
|
262
285
|
}>
|
|
263
286
|
): void
|
|
@@ -270,13 +293,17 @@ export interface PluginAPI {
|
|
|
270
293
|
}>
|
|
271
294
|
): void
|
|
272
295
|
// for registering new dynamic component styles
|
|
273
|
-
matchComponents<T>(
|
|
274
|
-
components: KeyValuePair<
|
|
296
|
+
matchComponents<T = string, U = string>(
|
|
297
|
+
components: KeyValuePair<
|
|
298
|
+
string,
|
|
299
|
+
(value: T | string, extra: { modifier: U | string | null }) => CSSRuleObject | null
|
|
300
|
+
>,
|
|
275
301
|
options?: Partial<{
|
|
276
302
|
respectPrefix: boolean
|
|
277
303
|
respectImportant: boolean
|
|
278
304
|
type: ValueType | ValueType[]
|
|
279
305
|
values: KeyValuePair<string, T>
|
|
306
|
+
modifiers: 'any' | KeyValuePair<string, U>
|
|
280
307
|
supportsNegativeValues: boolean
|
|
281
308
|
}>
|
|
282
309
|
): void
|
|
@@ -284,6 +311,17 @@ export interface PluginAPI {
|
|
|
284
311
|
addBase(base: CSSRuleObject | CSSRuleObject[]): void
|
|
285
312
|
// for registering custom variants
|
|
286
313
|
addVariant(name: string, definition: string | string[] | (() => string) | (() => string)[]): void
|
|
314
|
+
matchVariant<T = string>(
|
|
315
|
+
name: string,
|
|
316
|
+
cb: (value: T | string, extra: { modifier: string | null }) => string | string[],
|
|
317
|
+
options?: {
|
|
318
|
+
values?: KeyValuePair<string, T>
|
|
319
|
+
sort?(
|
|
320
|
+
a: { value: T | string; modifier: string | null },
|
|
321
|
+
b: { value: T | string; modifier: string | null }
|
|
322
|
+
): number
|
|
323
|
+
}
|
|
324
|
+
): void
|
|
287
325
|
// for looking up values in the user’s theme configuration
|
|
288
326
|
theme: <TDefaultValue = Config['theme']>(
|
|
289
327
|
path?: string,
|
|
@@ -299,8 +337,11 @@ export interface PluginAPI {
|
|
|
299
337
|
export type PluginCreator = (api: PluginAPI) => void
|
|
300
338
|
export type PluginsConfig = (
|
|
301
339
|
| PluginCreator
|
|
302
|
-
| { handler: PluginCreator; config?: Config }
|
|
303
|
-
| {
|
|
340
|
+
| { handler: PluginCreator; config?: Partial<Config> }
|
|
341
|
+
| {
|
|
342
|
+
(options: any): { handler: PluginCreator; config?: Partial<Config> }
|
|
343
|
+
__isOptionsFunction: true
|
|
344
|
+
}
|
|
304
345
|
)[]
|
|
305
346
|
|
|
306
347
|
// Top level config related
|
|
@@ -313,6 +354,7 @@ interface OptionalConfig {
|
|
|
313
354
|
prefix: Partial<PrefixConfig>
|
|
314
355
|
separator: Partial<SeparatorConfig>
|
|
315
356
|
safelist: Partial<SafelistConfig>
|
|
357
|
+
blocklist: Partial<BlocklistConfig>
|
|
316
358
|
presets: Partial<PresetsConfig>
|
|
317
359
|
future: Partial<FutureConfig>
|
|
318
360
|
experimental: Partial<ExperimentalConfig>
|
|
@@ -15,6 +15,7 @@ export interface DefaultColors {
|
|
|
15
15
|
'700': '#334155'
|
|
16
16
|
'800': '#1e293b'
|
|
17
17
|
'900': '#0f172a'
|
|
18
|
+
'950': '#020617'
|
|
18
19
|
}
|
|
19
20
|
gray: {
|
|
20
21
|
'50': '#f9fafb'
|
|
@@ -27,6 +28,7 @@ export interface DefaultColors {
|
|
|
27
28
|
'700': '#374151'
|
|
28
29
|
'800': '#1f2937'
|
|
29
30
|
'900': '#111827'
|
|
31
|
+
'950': '#030712'
|
|
30
32
|
}
|
|
31
33
|
zinc: {
|
|
32
34
|
'50': '#fafafa'
|
|
@@ -39,6 +41,7 @@ export interface DefaultColors {
|
|
|
39
41
|
'700': '#3f3f46'
|
|
40
42
|
'800': '#27272a'
|
|
41
43
|
'900': '#18181b'
|
|
44
|
+
'950': '#09090b'
|
|
42
45
|
}
|
|
43
46
|
neutral: {
|
|
44
47
|
'50': '#fafafa'
|
|
@@ -51,6 +54,7 @@ export interface DefaultColors {
|
|
|
51
54
|
'700': '#404040'
|
|
52
55
|
'800': '#262626'
|
|
53
56
|
'900': '#171717'
|
|
57
|
+
'950': '#0a0a0a'
|
|
54
58
|
}
|
|
55
59
|
stone: {
|
|
56
60
|
'50': '#fafaf9'
|
|
@@ -63,6 +67,7 @@ export interface DefaultColors {
|
|
|
63
67
|
'700': '#44403c'
|
|
64
68
|
'800': '#292524'
|
|
65
69
|
'900': '#1c1917'
|
|
70
|
+
'950': '#0c0a09'
|
|
66
71
|
}
|
|
67
72
|
red: {
|
|
68
73
|
'50': '#fef2f2'
|
|
@@ -75,6 +80,7 @@ export interface DefaultColors {
|
|
|
75
80
|
'700': '#b91c1c'
|
|
76
81
|
'800': '#991b1b'
|
|
77
82
|
'900': '#7f1d1d'
|
|
83
|
+
'950': '#450a0a'
|
|
78
84
|
}
|
|
79
85
|
orange: {
|
|
80
86
|
'50': '#fff7ed'
|
|
@@ -87,6 +93,7 @@ export interface DefaultColors {
|
|
|
87
93
|
'700': '#c2410c'
|
|
88
94
|
'800': '#9a3412'
|
|
89
95
|
'900': '#7c2d12'
|
|
96
|
+
'950': '#431407'
|
|
90
97
|
}
|
|
91
98
|
amber: {
|
|
92
99
|
'50': '#fffbeb'
|
|
@@ -99,6 +106,7 @@ export interface DefaultColors {
|
|
|
99
106
|
'700': '#b45309'
|
|
100
107
|
'800': '#92400e'
|
|
101
108
|
'900': '#78350f'
|
|
109
|
+
'950': '#451a03'
|
|
102
110
|
}
|
|
103
111
|
yellow: {
|
|
104
112
|
'50': '#fefce8'
|
|
@@ -111,6 +119,7 @@ export interface DefaultColors {
|
|
|
111
119
|
'700': '#a16207'
|
|
112
120
|
'800': '#854d0e'
|
|
113
121
|
'900': '#713f12'
|
|
122
|
+
'950': '#422006'
|
|
114
123
|
}
|
|
115
124
|
lime: {
|
|
116
125
|
'50': '#f7fee7'
|
|
@@ -123,6 +132,7 @@ export interface DefaultColors {
|
|
|
123
132
|
'700': '#4d7c0f'
|
|
124
133
|
'800': '#3f6212'
|
|
125
134
|
'900': '#365314'
|
|
135
|
+
'950': '#1a2e05'
|
|
126
136
|
}
|
|
127
137
|
green: {
|
|
128
138
|
'50': '#f0fdf4'
|
|
@@ -135,6 +145,7 @@ export interface DefaultColors {
|
|
|
135
145
|
'700': '#15803d'
|
|
136
146
|
'800': '#166534'
|
|
137
147
|
'900': '#14532d'
|
|
148
|
+
'950': '#052e16'
|
|
138
149
|
}
|
|
139
150
|
emerald: {
|
|
140
151
|
'50': '#ecfdf5'
|
|
@@ -147,6 +158,7 @@ export interface DefaultColors {
|
|
|
147
158
|
'700': '#047857'
|
|
148
159
|
'800': '#065f46'
|
|
149
160
|
'900': '#064e3b'
|
|
161
|
+
'950': '#022c22'
|
|
150
162
|
}
|
|
151
163
|
teal: {
|
|
152
164
|
'50': '#f0fdfa'
|
|
@@ -159,6 +171,7 @@ export interface DefaultColors {
|
|
|
159
171
|
'700': '#0f766e'
|
|
160
172
|
'800': '#115e59'
|
|
161
173
|
'900': '#134e4a'
|
|
174
|
+
'950': '#042f2e'
|
|
162
175
|
}
|
|
163
176
|
cyan: {
|
|
164
177
|
'50': '#ecfeff'
|
|
@@ -171,6 +184,7 @@ export interface DefaultColors {
|
|
|
171
184
|
'700': '#0e7490'
|
|
172
185
|
'800': '#155e75'
|
|
173
186
|
'900': '#164e63'
|
|
187
|
+
'950': '#083344'
|
|
174
188
|
}
|
|
175
189
|
sky: {
|
|
176
190
|
'50': '#f0f9ff'
|
|
@@ -183,6 +197,7 @@ export interface DefaultColors {
|
|
|
183
197
|
'700': '#0369a1'
|
|
184
198
|
'800': '#075985'
|
|
185
199
|
'900': '#0c4a6e'
|
|
200
|
+
'950': '#082f49'
|
|
186
201
|
}
|
|
187
202
|
blue: {
|
|
188
203
|
'50': '#eff6ff'
|
|
@@ -195,6 +210,7 @@ export interface DefaultColors {
|
|
|
195
210
|
'700': '#1d4ed8'
|
|
196
211
|
'800': '#1e40af'
|
|
197
212
|
'900': '#1e3a8a'
|
|
213
|
+
'950': '#172554'
|
|
198
214
|
}
|
|
199
215
|
indigo: {
|
|
200
216
|
'50': '#eef2ff'
|
|
@@ -207,6 +223,7 @@ export interface DefaultColors {
|
|
|
207
223
|
'700': '#4338ca'
|
|
208
224
|
'800': '#3730a3'
|
|
209
225
|
'900': '#312e81'
|
|
226
|
+
'950': '#1e1b4b'
|
|
210
227
|
}
|
|
211
228
|
violet: {
|
|
212
229
|
'50': '#f5f3ff'
|
|
@@ -219,6 +236,7 @@ export interface DefaultColors {
|
|
|
219
236
|
'700': '#6d28d9'
|
|
220
237
|
'800': '#5b21b6'
|
|
221
238
|
'900': '#4c1d95'
|
|
239
|
+
'950': '#2e1065'
|
|
222
240
|
}
|
|
223
241
|
purple: {
|
|
224
242
|
'50': '#faf5ff'
|
|
@@ -231,6 +249,7 @@ export interface DefaultColors {
|
|
|
231
249
|
'700': '#7e22ce'
|
|
232
250
|
'800': '#6b21a8'
|
|
233
251
|
'900': '#581c87'
|
|
252
|
+
'950': '#3b0764'
|
|
234
253
|
}
|
|
235
254
|
fuchsia: {
|
|
236
255
|
'50': '#fdf4ff'
|
|
@@ -243,6 +262,7 @@ export interface DefaultColors {
|
|
|
243
262
|
'700': '#a21caf'
|
|
244
263
|
'800': '#86198f'
|
|
245
264
|
'900': '#701a75'
|
|
265
|
+
'950': '#4a044e'
|
|
246
266
|
}
|
|
247
267
|
pink: {
|
|
248
268
|
'50': '#fdf2f8'
|
|
@@ -255,6 +275,7 @@ export interface DefaultColors {
|
|
|
255
275
|
'700': '#be185d'
|
|
256
276
|
'800': '#9d174d'
|
|
257
277
|
'900': '#831843'
|
|
278
|
+
'950': '#500724'
|
|
258
279
|
}
|
|
259
280
|
rose: {
|
|
260
281
|
'50': '#fff1f2'
|
|
@@ -267,6 +288,7 @@ export interface DefaultColors {
|
|
|
267
288
|
'700': '#be123c'
|
|
268
289
|
'800': '#9f1239'
|
|
269
290
|
'900': '#881337'
|
|
291
|
+
'950': '#4c0519'
|
|
270
292
|
}
|
|
271
293
|
/** @deprecated As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`. Update your configuration file to silence this warning. */ lightBlue: DefaultColors['sky']
|
|
272
294
|
/** @deprecated As of Tailwind CSS v3.0, `warmGray` has been renamed to `stone`. Update your configuration file to silence this warning. */ warmGray: DefaultColors['stone']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type CorePluginList = 'preflight' | 'container' | 'accessibility' | 'pointerEvents' | 'visibility' | 'position' | 'inset' | 'isolation' | 'zIndex' | 'order' | 'gridColumn' | 'gridColumnStart' | 'gridColumnEnd' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'float' | 'clear' | 'margin' | 'boxSizing' | 'display' | 'aspectRatio' | 'height' | 'maxHeight' | 'minHeight' | 'width' | 'minWidth' | 'maxWidth' | 'flex' | 'flexShrink' | 'flexGrow' | 'flexBasis' | 'tableLayout' | 'borderCollapse' | 'borderSpacing' | 'transformOrigin' | 'translate' | 'rotate' | 'skew' | 'scale' | 'transform' | 'animation' | 'cursor' | 'touchAction' | 'userSelect' | 'resize' | 'scrollSnapType' | 'scrollSnapAlign' | 'scrollSnapStop' | 'scrollMargin' | 'scrollPadding' | 'listStylePosition' | 'listStyleType' | 'appearance' | 'columns' | 'breakBefore' | 'breakInside' | 'breakAfter' | 'gridAutoColumns' | 'gridAutoFlow' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'flexDirection' | 'flexWrap' | 'placeContent' | 'placeItems' | 'alignContent' | 'alignItems' | 'justifyContent' | 'justifyItems' | 'gap' | 'space' | 'divideWidth' | 'divideStyle' | 'divideColor' | 'divideOpacity' | 'placeSelf' | 'alignSelf' | 'justifySelf' | 'overflow' | 'overscrollBehavior' | 'scrollBehavior' | 'textOverflow' | 'whitespace' | 'wordBreak' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderOpacity' | 'backgroundColor' | 'backgroundOpacity' | 'backgroundImage' | 'gradientColorStops' | 'boxDecorationBreak' | 'backgroundSize' | 'backgroundAttachment' | 'backgroundClip' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundOrigin' | 'fill' | 'stroke' | 'strokeWidth' | 'objectFit' | 'objectPosition' | 'padding' | 'textAlign' | 'textIndent' | 'verticalAlign' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'textTransform' | 'fontStyle' | 'fontVariantNumeric' | 'lineHeight' | 'letterSpacing' | 'textColor' | 'textOpacity' | 'textDecoration' | 'textDecorationColor' | 'textDecorationStyle' | 'textDecorationThickness' | 'textUnderlineOffset' | 'fontSmoothing' | 'placeholderColor' | 'placeholderOpacity' | 'caretColor' | 'accentColor' | 'opacity' | 'backgroundBlendMode' | 'mixBlendMode' | 'boxShadow' | 'boxShadowColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'outlineColor' | 'ringWidth' | 'ringColor' | 'ringOpacity' | 'ringOffsetWidth' | 'ringOffsetColor' | 'blur' | 'brightness' | 'contrast' | 'dropShadow' | 'grayscale' | 'hueRotate' | 'invert' | 'saturate' | 'sepia' | 'filter' | 'backdropBlur' | 'backdropBrightness' | 'backdropContrast' | 'backdropGrayscale' | 'backdropHueRotate' | 'backdropInvert' | 'backdropOpacity' | 'backdropSaturate' | 'backdropSepia' | 'backdropFilter' | 'transitionProperty' | 'transitionDelay' | 'transitionDuration' | 'transitionTimingFunction' | 'willChange' | 'content'
|
|
1
|
+
export type CorePluginList = 'preflight' | 'container' | 'accessibility' | 'pointerEvents' | 'visibility' | 'position' | 'inset' | 'isolation' | 'zIndex' | 'order' | 'gridColumn' | 'gridColumnStart' | 'gridColumnEnd' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'float' | 'clear' | 'margin' | 'boxSizing' | 'lineClamp' | 'display' | 'aspectRatio' | 'height' | 'maxHeight' | 'minHeight' | 'width' | 'minWidth' | 'maxWidth' | 'flex' | 'flexShrink' | 'flexGrow' | 'flexBasis' | 'tableLayout' | 'captionSide' | 'borderCollapse' | 'borderSpacing' | 'transformOrigin' | 'translate' | 'rotate' | 'skew' | 'scale' | 'transform' | 'animation' | 'cursor' | 'touchAction' | 'userSelect' | 'resize' | 'scrollSnapType' | 'scrollSnapAlign' | 'scrollSnapStop' | 'scrollMargin' | 'scrollPadding' | 'listStylePosition' | 'listStyleType' | 'listStyleImage' | 'appearance' | 'columns' | 'breakBefore' | 'breakInside' | 'breakAfter' | 'gridAutoColumns' | 'gridAutoFlow' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'flexDirection' | 'flexWrap' | 'placeContent' | 'placeItems' | 'alignContent' | 'alignItems' | 'justifyContent' | 'justifyItems' | 'gap' | 'space' | 'divideWidth' | 'divideStyle' | 'divideColor' | 'divideOpacity' | 'placeSelf' | 'alignSelf' | 'justifySelf' | 'overflow' | 'overscrollBehavior' | 'scrollBehavior' | 'textOverflow' | 'hyphens' | 'whitespace' | 'textWrap' | 'wordBreak' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderOpacity' | 'backgroundColor' | 'backgroundOpacity' | 'backgroundImage' | 'gradientColorStops' | 'boxDecorationBreak' | 'backgroundSize' | 'backgroundAttachment' | 'backgroundClip' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundOrigin' | 'fill' | 'stroke' | 'strokeWidth' | 'objectFit' | 'objectPosition' | 'padding' | 'textAlign' | 'textIndent' | 'verticalAlign' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'textTransform' | 'fontStyle' | 'fontVariantNumeric' | 'lineHeight' | 'letterSpacing' | 'textColor' | 'textOpacity' | 'textDecoration' | 'textDecorationColor' | 'textDecorationStyle' | 'textDecorationThickness' | 'textUnderlineOffset' | 'fontSmoothing' | 'placeholderColor' | 'placeholderOpacity' | 'caretColor' | 'accentColor' | 'opacity' | 'backgroundBlendMode' | 'mixBlendMode' | 'boxShadow' | 'boxShadowColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'outlineColor' | 'ringWidth' | 'ringColor' | 'ringOpacity' | 'ringOffsetWidth' | 'ringOffsetColor' | 'blur' | 'brightness' | 'contrast' | 'dropShadow' | 'grayscale' | 'hueRotate' | 'invert' | 'saturate' | 'sepia' | 'filter' | 'backdropBlur' | 'backdropBrightness' | 'backdropContrast' | 'backdropGrayscale' | 'backdropHueRotate' | 'backdropInvert' | 'backdropOpacity' | 'backdropSaturate' | 'backdropSepia' | 'backdropFilter' | 'transitionProperty' | 'transitionDelay' | 'transitionDuration' | 'transitionTimingFunction' | 'willChange' | 'content'
|
|
@@ -1,75 +1,19 @@
|
|
|
1
1
|
import { Config } from '../../types'
|
|
2
2
|
type CSSDeclarationList = Record<string, string>
|
|
3
3
|
export type DefaultTheme = Config['theme'] & {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
| '
|
|
7
|
-
| '
|
|
8
|
-
| '
|
|
9
|
-
| '
|
|
10
|
-
| '
|
|
11
|
-
| '
|
|
12
|
-
| '
|
|
13
|
-
| '
|
|
14
|
-
| '
|
|
15
|
-
| '10'
|
|
16
|
-
| '11'
|
|
17
|
-
| '12'
|
|
18
|
-
| 'auto'
|
|
19
|
-
| '3xs'
|
|
20
|
-
| '2xs'
|
|
21
|
-
| 'xs'
|
|
22
|
-
| 'sm'
|
|
23
|
-
| 'md'
|
|
24
|
-
| 'lg'
|
|
25
|
-
| 'xl'
|
|
26
|
-
| '2xl'
|
|
27
|
-
| '3xl'
|
|
28
|
-
| '4xl'
|
|
29
|
-
| '5xl'
|
|
30
|
-
| '6xl'
|
|
31
|
-
| '7xl',
|
|
32
|
-
string
|
|
33
|
-
>
|
|
34
|
-
spacing: Record<
|
|
35
|
-
| '0'
|
|
36
|
-
| '1'
|
|
37
|
-
| '2'
|
|
38
|
-
| '3'
|
|
39
|
-
| '4'
|
|
40
|
-
| '5'
|
|
41
|
-
| '6'
|
|
42
|
-
| '7'
|
|
43
|
-
| '8'
|
|
44
|
-
| '9'
|
|
45
|
-
| '10'
|
|
46
|
-
| '11'
|
|
47
|
-
| '12'
|
|
48
|
-
| '14'
|
|
49
|
-
| '16'
|
|
50
|
-
| '20'
|
|
51
|
-
| '24'
|
|
52
|
-
| '28'
|
|
53
|
-
| '32'
|
|
54
|
-
| '36'
|
|
55
|
-
| '40'
|
|
56
|
-
| '44'
|
|
57
|
-
| '48'
|
|
58
|
-
| '52'
|
|
59
|
-
| '56'
|
|
60
|
-
| '60'
|
|
61
|
-
| '64'
|
|
62
|
-
| '72'
|
|
63
|
-
| '80'
|
|
64
|
-
| '96'
|
|
65
|
-
| 'px'
|
|
66
|
-
| '0.5'
|
|
67
|
-
| '1.5'
|
|
68
|
-
| '2.5'
|
|
69
|
-
| '3.5',
|
|
4
|
+
animation: Record<'none' | 'spin' | 'ping' | 'pulse' | 'bounce', string>
|
|
5
|
+
aria: Record<
|
|
6
|
+
| 'busy'
|
|
7
|
+
| 'checked'
|
|
8
|
+
| 'disabled'
|
|
9
|
+
| 'expanded'
|
|
10
|
+
| 'hidden'
|
|
11
|
+
| 'pressed'
|
|
12
|
+
| 'readonly'
|
|
13
|
+
| 'required'
|
|
14
|
+
| 'selected',
|
|
70
15
|
string
|
|
71
16
|
>
|
|
72
|
-
animation: Record<'none' | 'spin' | 'ping' | 'pulse' | 'bounce', string>
|
|
73
17
|
aspectRatio: Record<'auto' | 'square' | 'video', string>
|
|
74
18
|
backgroundImage: Record<
|
|
75
19
|
| 'none'
|
|
@@ -97,18 +41,47 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
97
41
|
>
|
|
98
42
|
backgroundSize: Record<'auto' | 'cover' | 'contain', string>
|
|
99
43
|
blur: Record<'0' | 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl', string>
|
|
100
|
-
brightness: Record<
|
|
101
|
-
'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
|
|
102
|
-
string
|
|
103
|
-
>
|
|
104
44
|
borderRadius: Record<
|
|
105
45
|
'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full',
|
|
106
46
|
string
|
|
107
47
|
>
|
|
108
48
|
borderWidth: Record<'0' | '2' | '4' | '8' | 'DEFAULT', string>
|
|
109
49
|
boxShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | 'none', string>
|
|
110
|
-
|
|
50
|
+
brightness: Record<
|
|
51
|
+
'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
|
|
52
|
+
string
|
|
53
|
+
>
|
|
54
|
+
columns: Record<
|
|
55
|
+
| '1'
|
|
56
|
+
| '2'
|
|
57
|
+
| '3'
|
|
58
|
+
| '4'
|
|
59
|
+
| '5'
|
|
60
|
+
| '6'
|
|
61
|
+
| '7'
|
|
62
|
+
| '8'
|
|
63
|
+
| '9'
|
|
64
|
+
| '10'
|
|
65
|
+
| '11'
|
|
66
|
+
| '12'
|
|
67
|
+
| 'auto'
|
|
68
|
+
| '3xs'
|
|
69
|
+
| '2xs'
|
|
70
|
+
| 'xs'
|
|
71
|
+
| 'sm'
|
|
72
|
+
| 'md'
|
|
73
|
+
| 'lg'
|
|
74
|
+
| 'xl'
|
|
75
|
+
| '2xl'
|
|
76
|
+
| '3xl'
|
|
77
|
+
| '4xl'
|
|
78
|
+
| '5xl'
|
|
79
|
+
| '6xl'
|
|
80
|
+
| '7xl',
|
|
81
|
+
string
|
|
82
|
+
>
|
|
111
83
|
content: Record<'none', string>
|
|
84
|
+
contrast: Record<'0' | '50' | '75' | '100' | '125' | '150' | '200', string>
|
|
112
85
|
cursor: Record<
|
|
113
86
|
| 'auto'
|
|
114
87
|
| 'default'
|
|
@@ -149,9 +122,6 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
149
122
|
string
|
|
150
123
|
>
|
|
151
124
|
dropShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'none', string | string[]>
|
|
152
|
-
grayscale: Record<'0' | 'DEFAULT', string>
|
|
153
|
-
hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
|
|
154
|
-
invert: Record<'0' | 'DEFAULT', string>
|
|
155
125
|
flex: Record<'1' | 'auto' | 'initial' | 'none', string>
|
|
156
126
|
flexGrow: Record<'0' | 'DEFAULT', string>
|
|
157
127
|
flexShrink: Record<'0' | 'DEFAULT', string>
|
|
@@ -184,6 +154,31 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
184
154
|
| 'black',
|
|
185
155
|
string
|
|
186
156
|
>
|
|
157
|
+
gradientColorStopPositions: Record<
|
|
158
|
+
| '0%'
|
|
159
|
+
| '5%'
|
|
160
|
+
| '10%'
|
|
161
|
+
| '15%'
|
|
162
|
+
| '20%'
|
|
163
|
+
| '25%'
|
|
164
|
+
| '30%'
|
|
165
|
+
| '35%'
|
|
166
|
+
| '40%'
|
|
167
|
+
| '45%'
|
|
168
|
+
| '50%'
|
|
169
|
+
| '55%'
|
|
170
|
+
| '60%'
|
|
171
|
+
| '65%'
|
|
172
|
+
| '70%'
|
|
173
|
+
| '75%'
|
|
174
|
+
| '80%'
|
|
175
|
+
| '85%'
|
|
176
|
+
| '90%'
|
|
177
|
+
| '95%'
|
|
178
|
+
| '100%',
|
|
179
|
+
string
|
|
180
|
+
>
|
|
181
|
+
grayscale: Record<'0' | 'DEFAULT', string>
|
|
187
182
|
gridAutoColumns: Record<'auto' | 'min' | 'max' | 'fr', string>
|
|
188
183
|
gridAutoRows: Record<'auto' | 'min' | 'max' | 'fr', string>
|
|
189
184
|
gridColumn: Record<
|
|
@@ -215,13 +210,15 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
215
210
|
'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-full',
|
|
216
211
|
string
|
|
217
212
|
>
|
|
218
|
-
gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
|
|
219
213
|
gridRowEnd: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
|
|
214
|
+
gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
|
|
220
215
|
gridTemplateColumns: Record<
|
|
221
216
|
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none',
|
|
222
217
|
string
|
|
223
218
|
>
|
|
224
219
|
gridTemplateRows: Record<'1' | '2' | '3' | '4' | '5' | '6' | 'none', string>
|
|
220
|
+
hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
|
|
221
|
+
invert: Record<'0' | 'DEFAULT', string>
|
|
225
222
|
keyframes: Record<'spin' | 'ping' | 'pulse' | 'bounce', Record<string, CSSDeclarationList>>
|
|
226
223
|
letterSpacing: Record<'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest', string>
|
|
227
224
|
lineHeight: Record<
|
|
@@ -242,7 +239,9 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
242
239
|
string
|
|
243
240
|
>
|
|
244
241
|
listStyleType: Record<'none' | 'disc' | 'decimal', string>
|
|
245
|
-
|
|
242
|
+
listStyleImage: Record<'none', string>
|
|
243
|
+
lineClamp: Record<'1' | '2' | '3' | '4' | '5' | '6', string>
|
|
244
|
+
minHeight: Record<'0' | 'full' | 'screen' | 'svh' | 'lvh' | 'dvh' | 'min' | 'max' | 'fit', string>
|
|
246
245
|
minWidth: Record<'0' | 'full' | 'min' | 'max' | 'fit', string>
|
|
247
246
|
objectPosition: Record<
|
|
248
247
|
| 'bottom'
|
|
@@ -299,8 +298,47 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
299
298
|
rotate: Record<'0' | '1' | '2' | '3' | '6' | '12' | '45' | '90' | '180', string>
|
|
300
299
|
saturate: Record<'0' | '50' | '100' | '150' | '200', string>
|
|
301
300
|
scale: Record<'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150', string>
|
|
301
|
+
screens: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>
|
|
302
302
|
sepia: Record<'0' | 'DEFAULT', string>
|
|
303
303
|
skew: Record<'0' | '1' | '2' | '3' | '6' | '12', string>
|
|
304
|
+
spacing: Record<
|
|
305
|
+
| '0'
|
|
306
|
+
| '1'
|
|
307
|
+
| '2'
|
|
308
|
+
| '3'
|
|
309
|
+
| '4'
|
|
310
|
+
| '5'
|
|
311
|
+
| '6'
|
|
312
|
+
| '7'
|
|
313
|
+
| '8'
|
|
314
|
+
| '9'
|
|
315
|
+
| '10'
|
|
316
|
+
| '11'
|
|
317
|
+
| '12'
|
|
318
|
+
| '14'
|
|
319
|
+
| '16'
|
|
320
|
+
| '20'
|
|
321
|
+
| '24'
|
|
322
|
+
| '28'
|
|
323
|
+
| '32'
|
|
324
|
+
| '36'
|
|
325
|
+
| '40'
|
|
326
|
+
| '44'
|
|
327
|
+
| '48'
|
|
328
|
+
| '52'
|
|
329
|
+
| '56'
|
|
330
|
+
| '60'
|
|
331
|
+
| '64'
|
|
332
|
+
| '72'
|
|
333
|
+
| '80'
|
|
334
|
+
| '96'
|
|
335
|
+
| 'px'
|
|
336
|
+
| '0.5'
|
|
337
|
+
| '1.5'
|
|
338
|
+
| '2.5'
|
|
339
|
+
| '3.5',
|
|
340
|
+
string
|
|
341
|
+
>
|
|
304
342
|
strokeWidth: Record<'0' | '1' | '2', string>
|
|
305
343
|
textDecorationThickness: Record<'0' | '1' | '2' | '4' | '8' | 'auto' | 'from-font', string>
|
|
306
344
|
textUnderlineOffset: Record<'0' | '1' | '2' | '4' | '8' | 'auto', string>
|
|
@@ -316,9 +354,12 @@ export type DefaultTheme = Config['theme'] & {
|
|
|
316
354
|
| 'top-left',
|
|
317
355
|
string
|
|
318
356
|
>
|
|
319
|
-
transitionDelay: Record<
|
|
357
|
+
transitionDelay: Record<
|
|
358
|
+
'0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000',
|
|
359
|
+
string
|
|
360
|
+
>
|
|
320
361
|
transitionDuration: Record<
|
|
321
|
-
'75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000' | 'DEFAULT',
|
|
362
|
+
'0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000' | 'DEFAULT',
|
|
322
363
|
string
|
|
323
364
|
>
|
|
324
365
|
transitionProperty: Record<
|