mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix tailwind setup
- Adopted postcss and tailwind config to new version - renamed colors bluegray->slate etc to not have custom definitions (hope to reduce migration next time) - tailwind now doesn't build the complete css anymore, so the `dev-ui-build` script must compile both
This commit is contained in:
@ -3,26 +3,17 @@
|
||||
const colors = require('tailwindcss/colors')
|
||||
|
||||
module.exports = {
|
||||
darkMode: 'class', // or 'media' or 'class'
|
||||
content: [ "./src/main/elm/**/*.elm",
|
||||
"./src/main/styles/keep.txt",
|
||||
"../restserver/src/main/templates/*.html"
|
||||
],
|
||||
variants: {
|
||||
extend: {
|
||||
backgroundOpacity: ['dark']
|
||||
}
|
||||
},
|
||||
purge: false,
|
||||
darkMode: 'class', // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
bluegray: colors.blueGray,
|
||||
warmgray: colors.warmGray,
|
||||
amber: colors.amber,
|
||||
orange: colors.orange,
|
||||
teal: colors.teal,
|
||||
lime: colors.lime,
|
||||
lightblue: colors.sky
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/forms')
|
||||
]
|
||||
|
Reference in New Issue
Block a user