mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
dd935454c9
This drops fomantic-ui as css toolkit and introduces tailwindcss. With tailwind there are no predefined components, but it's very easy to create those. So customizing the look&feel is much simpler, most of the time no additional css is needed. This requires a complete rewrite of the markup + styles. Luckily all logic can be kept as is. The now old ui is not removed, it is still available by using a request header `Docspell-Ui` with a value of `1` for the old ui and `2` for the new ui. Another addition is "dev mode", where docspell serves assets with a no-cache header, to disable browser caching. This makes developing a lot easier.
16 lines
351 B
JSON
16 lines
351 B
JSON
{
|
|
"name": "docspell-css",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
|
"@tailwindcss/forms": "^0.2.1",
|
|
"autoprefixer": "^10.2.4",
|
|
"cssnano": "^4.1.10",
|
|
"postcss": "^8.2.4",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss-import": "^14.0.0",
|
|
"tailwindcss": "^2.0.2"
|
|
}
|
|
}
|