This commit is contained in:
2023-08-11 00:49:30 +02:00
parent 9703d24784
commit 3dcd5f1ef6
33 changed files with 4010 additions and 2699 deletions

23
tailwind.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import type { Config } from 'tailwindcss'
import { ColorsTheme } from './types'
export default <Partial<Config>>{
safelist: [
// Theme text colors
...Object.values(ColorsTheme).map(color => `text-${color}-500`),
...Object.values(ColorsTheme).map(color => `hover:text-${color}-500`),
...'bg-black dark:bg-white dark:text-black text-white'.split(' '),
// Theme background colors
...Object.values(ColorsTheme).map(color => `bg-${color}-500`),
...Object.values(ColorsTheme).map(color => `hover:bg-${color}-500`),
...'text-black dark:text-white'.split(' '),
],
theme: {
extend: {
boxShadow: {
card: '0 0 10px 1px rgba(0,0,0,.1)',
},
},
},
}