changes untested
This commit is contained in:
214
tailwind.config.js
Normal file → Executable file
214
tailwind.config.js
Normal file → Executable file
@@ -3,20 +3,20 @@ module.exports = {
|
||||
presets: [],
|
||||
darkMode: 'class',
|
||||
daisyui: {
|
||||
themes: ["business" ],
|
||||
// themes: [{
|
||||
// mytheme: {
|
||||
// "primary": "#0256bf",
|
||||
// "secondary": "#36363a",
|
||||
// "accent": "#7F00FF",
|
||||
// "neutral": "#2B2B36",
|
||||
// "base-100": "#252531",
|
||||
// "info": "#74a0d5",
|
||||
// "success": "#33cc33",
|
||||
// "warning": "#97520C",
|
||||
// "error": "#da0e0e",
|
||||
// },
|
||||
// }, ],
|
||||
// themes: ["dracula" ],
|
||||
themes: [{
|
||||
mytheme: {
|
||||
"primary": "#0256bf",
|
||||
"secondary": "#1e1d24",
|
||||
"accent": "#7F00FF",
|
||||
"neutral": "#1e1d24",
|
||||
"base-100": "#1e1d24",
|
||||
"info": "#74a0d5",
|
||||
"success": "#33cc33",
|
||||
"warning": "#97520C",
|
||||
"error": "#da0e0e",
|
||||
},
|
||||
},],
|
||||
},
|
||||
plugins: [require('daisyui')],
|
||||
theme: {
|
||||
@@ -28,8 +28,8 @@ module.exports = {
|
||||
xxl: '1536px',
|
||||
},
|
||||
colors: ({
|
||||
colors
|
||||
}) => ({
|
||||
colors
|
||||
}) => ({
|
||||
inherit: colors.inherit,
|
||||
current: colors.current,
|
||||
transparent: colors.transparent,
|
||||
@@ -136,35 +136,35 @@ module.exports = {
|
||||
video: '16 / 9',
|
||||
},
|
||||
backdropBlur: ({
|
||||
theme
|
||||
}) => theme('blur'),
|
||||
theme
|
||||
}) => theme('blur'),
|
||||
backdropBrightness: ({
|
||||
theme
|
||||
}) => theme('brightness'),
|
||||
theme
|
||||
}) => theme('brightness'),
|
||||
backdropContrast: ({
|
||||
theme
|
||||
}) => theme('contrast'),
|
||||
theme
|
||||
}) => theme('contrast'),
|
||||
backdropGrayscale: ({
|
||||
theme
|
||||
}) => theme('grayscale'),
|
||||
theme
|
||||
}) => theme('grayscale'),
|
||||
backdropHueRotate: ({
|
||||
theme
|
||||
}) => theme('hueRotate'),
|
||||
theme
|
||||
}) => theme('hueRotate'),
|
||||
backdropInvert: ({
|
||||
theme
|
||||
}) => theme('invert'),
|
||||
theme
|
||||
}) => theme('invert'),
|
||||
backdropOpacity: ({
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
backdropSaturate: ({
|
||||
theme
|
||||
}) => theme('saturate'),
|
||||
theme
|
||||
}) => theme('saturate'),
|
||||
backdropSepia: ({
|
||||
theme
|
||||
}) => theme('sepia'),
|
||||
theme
|
||||
}) => theme('sepia'),
|
||||
backgroundColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
backgroundImage: {
|
||||
none: 'none',
|
||||
'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',
|
||||
@@ -177,8 +177,8 @@ module.exports = {
|
||||
'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
|
||||
},
|
||||
backgroundOpacity: ({
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
backgroundPosition: {
|
||||
bottom: 'bottom',
|
||||
center: 'center',
|
||||
@@ -220,14 +220,14 @@ module.exports = {
|
||||
200: '2',
|
||||
},
|
||||
borderColor: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('colors'),
|
||||
DEFAULT: theme('colors.gray.200', 'currentColor'),
|
||||
}),
|
||||
borderOpacity: ({
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
borderRadius: {
|
||||
none: '0px',
|
||||
sm: '0.125rem',
|
||||
@@ -257,14 +257,14 @@ module.exports = {
|
||||
none: 'none',
|
||||
},
|
||||
boxShadowColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
caretColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
accentColor: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('colors'),
|
||||
auto: 'auto',
|
||||
}),
|
||||
@@ -320,14 +320,14 @@ module.exports = {
|
||||
'zoom-out': 'zoom-out',
|
||||
},
|
||||
divideColor: ({
|
||||
theme
|
||||
}) => theme('borderColor'),
|
||||
theme
|
||||
}) => theme('borderColor'),
|
||||
divideOpacity: ({
|
||||
theme
|
||||
}) => theme('borderOpacity'),
|
||||
theme
|
||||
}) => theme('borderOpacity'),
|
||||
divideWidth: ({
|
||||
theme
|
||||
}) => theme('borderWidth'),
|
||||
theme
|
||||
}) => theme('borderWidth'),
|
||||
dropShadow: {
|
||||
sm: '0 1px 1px rgb(0 0 0 / 0.05)',
|
||||
DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'],
|
||||
@@ -338,8 +338,8 @@ module.exports = {
|
||||
none: '0 0 #0000',
|
||||
},
|
||||
fill: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
grayscale: {
|
||||
0: '0',
|
||||
DEFAULT: '100%',
|
||||
@@ -363,8 +363,8 @@ module.exports = {
|
||||
none: 'none',
|
||||
},
|
||||
flexBasis: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
auto: 'auto',
|
||||
...theme('spacing'),
|
||||
'1/2': '50%',
|
||||
@@ -485,11 +485,11 @@ module.exports = {
|
||||
black: '900',
|
||||
},
|
||||
gap: ({
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
gradientColorStops: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
gridAutoColumns: {
|
||||
auto: 'auto',
|
||||
min: 'min-content',
|
||||
@@ -605,8 +605,8 @@ module.exports = {
|
||||
6: 'repeat(6, minmax(0, 1fr))',
|
||||
},
|
||||
height: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
auto: 'auto',
|
||||
...theme('spacing'),
|
||||
'1/2': '50%',
|
||||
@@ -631,8 +631,8 @@ module.exports = {
|
||||
fit: 'fit-content',
|
||||
}),
|
||||
inset: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
auto: 'auto',
|
||||
...theme('spacing'),
|
||||
'1/2': '50%',
|
||||
@@ -701,14 +701,14 @@ module.exports = {
|
||||
decimal: 'decimal',
|
||||
},
|
||||
margin: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
auto: 'auto',
|
||||
...theme('spacing'),
|
||||
}),
|
||||
maxHeight: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('spacing'),
|
||||
full: '100%',
|
||||
screen: '100vh',
|
||||
@@ -717,9 +717,9 @@ module.exports = {
|
||||
fit: 'fit-content',
|
||||
}),
|
||||
maxWidth: ({
|
||||
theme,
|
||||
breakpoints
|
||||
}) => ({
|
||||
theme,
|
||||
breakpoints
|
||||
}) => ({
|
||||
none: 'none',
|
||||
0: '0rem',
|
||||
xs: '20rem',
|
||||
@@ -801,17 +801,17 @@ module.exports = {
|
||||
12: '12',
|
||||
},
|
||||
padding: ({
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
placeholderColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
placeholderOpacity: ({
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
outlineColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
outlineOffset: {
|
||||
0: '0px',
|
||||
1: '1px',
|
||||
@@ -827,14 +827,14 @@ module.exports = {
|
||||
8: '8px',
|
||||
},
|
||||
ringColor: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
DEFAULT: theme('colors.blue.500', '#3b82f6'),
|
||||
...theme('colors'),
|
||||
}),
|
||||
ringOffsetColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
ringOffsetWidth: {
|
||||
0: '0px',
|
||||
1: '1px',
|
||||
@@ -843,8 +843,8 @@ module.exports = {
|
||||
8: '8px',
|
||||
},
|
||||
ringOpacity: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
DEFAULT: '0.5',
|
||||
...theme('opacity'),
|
||||
}),
|
||||
@@ -887,13 +887,13 @@ module.exports = {
|
||||
150: '1.5',
|
||||
},
|
||||
scrollMargin: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('spacing'),
|
||||
}),
|
||||
scrollPadding: ({
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
theme
|
||||
}) => theme('spacing'),
|
||||
sepia: {
|
||||
0: '0',
|
||||
DEFAULT: '100%',
|
||||
@@ -907,24 +907,24 @@ module.exports = {
|
||||
12: '12deg',
|
||||
},
|
||||
space: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('spacing'),
|
||||
}),
|
||||
stroke: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
strokeWidth: {
|
||||
0: '0',
|
||||
1: '1',
|
||||
2: '2',
|
||||
},
|
||||
textColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
textDecorationColor: ({
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
theme
|
||||
}) => theme('colors'),
|
||||
textDecorationThickness: {
|
||||
auto: 'auto',
|
||||
'from-font': 'from-font',
|
||||
@@ -943,13 +943,13 @@ module.exports = {
|
||||
8: '8px',
|
||||
},
|
||||
textIndent: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('spacing'),
|
||||
}),
|
||||
textOpacity: ({
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
theme
|
||||
}) => theme('opacity'),
|
||||
transformOrigin: {
|
||||
center: 'center',
|
||||
top: 'top',
|
||||
@@ -999,8 +999,8 @@ module.exports = {
|
||||
'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
|
||||
},
|
||||
translate: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
...theme('spacing'),
|
||||
'1/2': '50%',
|
||||
'1/3': '33.333333%',
|
||||
@@ -1011,8 +1011,8 @@ module.exports = {
|
||||
full: '100%',
|
||||
}),
|
||||
width: ({
|
||||
theme
|
||||
}) => ({
|
||||
theme
|
||||
}) => ({
|
||||
auto: 'auto',
|
||||
...theme('spacing'),
|
||||
'1/2': '50%',
|
||||
|
||||
Reference in New Issue
Block a user