mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
f5e375614f
- 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
22 lines
486 B
JavaScript
22 lines
486 B
JavaScript
// tailwind.config.js
|
|
|
|
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,
|
|
plugins: [
|
|
require('@tailwindcss/forms')
|
|
]
|
|
// prefix: 'tw-'
|
|
}
|