fix(webapp): migrate to Tailwind CSS 4 to remove vulnerable braces dependency

This commit is contained in:
shuaiplus committed 2026-10-05 14:55:58 +08:00
1 parent 293f5ce196
commit 4c241aa64b
15 files changed
+551 -1102

No files matched your search

+8
View File
@@ -98,6 +98,14 @@ Password hints are reminders, not recovery secrets. They must never contain the
master password, recovery codes, API keys, or anything that directly unlocks the
vault.
### Web Vault Styles
The web vault uses Tailwind CSS 4 through `@tailwindcss/vite`. Theme aliases,
dark-mode variants, and source paths are defined in `webapp/src/tailwind.css`,
which also imports `styles.css` so component `@apply` rules share the same theme.
Keep runtime light/dark design tokens in `webapp/src/styles/tokens.css`.
Tailwind 4's browser baseline is Safari 16.4+, Chrome 111+, and Firefox 128+.
### i18n
Locale files are complete standalone bundles. When adding or changing user-facing