mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
updating nuxt and fixing errors
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { Config } from 'tailwindcss'
|
||||
import { ColorsTheme } from './types'
|
||||
|
||||
export default <Partial<Config>>{
|
||||
export default {
|
||||
safelist: [
|
||||
// Theme text colors
|
||||
...Object.values(ColorsTheme).map(color => `text-${color}-500`),
|
||||
@@ -12,6 +12,11 @@ export default <Partial<Config>>{
|
||||
...Object.values(ColorsTheme).map(color => `bg-${color}-500`),
|
||||
...Object.values(ColorsTheme).map(color => `hover:bg-${color}-500`),
|
||||
...'text-black dark:text-white'.split(' '),
|
||||
|
||||
// Theme border colors
|
||||
...Object.values(ColorsTheme).map(color => `border-${color}-500`),
|
||||
...Object.values(ColorsTheme).map(color => `hover:border-${color}-500`),
|
||||
...'border-black dark:border-white'.split(' '),
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
@@ -20,4 +25,4 @@ export default <Partial<Config>>{
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
} satisfies Partial<Config>
|
||||
|
||||
Reference in New Issue
Block a user