mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(web): upgrade to tailwind v4 (#1946)
* feat(web): tailwind v4 and removal of PostCSS * chore(web): cleanup unused compatibility styles code * fix(web): application settings border * fix(web): indexer, list, notification and proxy forms including selects * fix(web): apikey, download client, filter add form * fix(web): select text input color * fix(web): indexer form paddings * fix(web): feed and notification update form * fix(web): fix margins and paddings in various forms * fix(web): fix proxy forms * deps(web): remove PostCSS dependency * web: remove hover animation on release tables * fix(web): filter tab transitions * fix(web): linting * feat(web): drop filter tab transitions
This commit is contained in:
parent
024371e4eb
commit
5e2769639f
64 changed files with 686 additions and 403 deletions
|
@ -5,6 +5,7 @@ import react from "@vitejs/plugin-react-swc";
|
|||
import svgr from "vite-plugin-svgr";
|
||||
import path from "node:path";
|
||||
import fs from "node:fs";
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
interface PreRenderedAsset {
|
||||
name: string | undefined;
|
||||
|
@ -21,7 +22,7 @@ export default ({ mode }: ConfigEnv) => {
|
|||
return defineConfig({
|
||||
// __BASE_URL__: "{{.BaseUrl}}",
|
||||
base: "",
|
||||
plugins: [react(), svgr(), VitePWA({
|
||||
plugins: [react(), svgr(), tailwindcss(), VitePWA({
|
||||
injectRegister: null,
|
||||
selfDestroying: true,
|
||||
scope: "{{.BaseUrl}}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue