Skip to content

Commit 140b9ca

Browse files
committed
chore: update defaultTailwindConfig fro v3.1
1 parent 9ad669e commit 140b9ca

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/cli/lib/defaultTailwindConfig.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-disable */
22
// @ts-nocheck
33

4+
/** @type {import('tailwindcss').Config} */
45
export const defaultTailwindConfig = {
56
content: [],
67
presets: [],
@@ -197,6 +198,9 @@ export const defaultTailwindConfig = {
197198
'3xl': '1.5rem',
198199
full: '9999px',
199200
},
201+
borderSpacing: ({theme}) => ({
202+
...theme('spacing'),
203+
}),
200204
borderWidth: {
201205
DEFAULT: '1px',
202206
0: '0px',
@@ -720,7 +724,7 @@ export const defaultTailwindConfig = {
720724
8: '8px',
721725
},
722726
ringColor: ({theme}) => ({
723-
DEFAULT: theme('colors.blue.500', '#3b82f6'),
727+
DEFAULT: theme(`colors.blue.500`, '#3b82f6'),
724728
...theme('colors'),
725729
}),
726730
ringOffsetColor: ({theme}) => theme('colors'),
@@ -857,8 +861,8 @@ export const defaultTailwindConfig = {
857861
none: 'none',
858862
all: 'all',
859863
DEFAULT:
860-
'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
861-
colors: 'background-color, border-color, color, fill, stroke',
864+
'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
865+
colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
862866
opacity: 'opacity',
863867
shadow: 'box-shadow',
864868
transform: 'transform',

0 commit comments

Comments
 (0)