tailwind: define accent and background colors
This commit is contained in:
parent
8ab9bfeeeb
commit
5a852bc2b9
|
@ -1,4 +1,5 @@
|
||||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
const colors = require('tailwindcss/colors');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
|
@ -10,6 +11,10 @@ module.exports = {
|
||||||
'mono': ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
|
'mono': ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
|
||||||
'serif': ['IBM Plex Serif', ...defaultTheme.fontFamily.serif],
|
'serif': ['IBM Plex Serif', ...defaultTheme.fontFamily.serif],
|
||||||
'condensed': ['IBM Plex Sans Condensed', ...defaultTheme.fontFamily.sans],
|
'condensed': ['IBM Plex Sans Condensed', ...defaultTheme.fontFamily.sans],
|
||||||
|
},
|
||||||
|
colors: {
|
||||||
|
'accent': colors.violet[600],
|
||||||
|
'background': colors.gray[800],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue