chore(deps): Tailwind 4 (#5021)
release / govulncheck (push) Successful in 42s
release / web (push) Successful in 1m39s
release / go (push) Successful in 1m53s
release / integration (push) Successful in 5m37s
release / android (push) Successful in 6m54s
release / Build signed APK (releases and dev) (push) Successful in 7m27s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Failing after 34s
release / Verify release artifacts (tag releases only) (push) Skipped

Renovate's tailwindcss bump (PR #150) plus the migration it needs:

- Theme moves from tailwind.config.js into app.css as `@theme inline`,
  mapping the same FabledSword tokens. tailwind.config.js is gone.
- PostCSS runs @tailwindcss/postcss; autoprefixer is dropped, since
  Tailwind 4 prefixes through Lightning CSS.
- Class renames from @tailwindcss/upgrade 4.3.3, reviewed: outline-none
  -> outline-hidden, focus-visible:outline -> outline-solid, shadow ->
  shadow-sm, shadow-sm -> shadow-xs, flex-shrink-0 -> shrink-0. Bare
  `rounded` stays: v4 keeps it at 0.25rem, as before.
- Three v3 preflight defaults kept in a base layer so nothing changes on
  screen: gray-200 default border colour, gray-400 placeholder text and
  the pointer cursor on buttons.
- The unused class-based dark variant is not carried over; no template
  uses `dark:`.

Clears the five high and two moderate npm audit findings that came in
through Tailwind 3 (braces, chokidar, micromatch, fast-glob,
postcss-selector-parser).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 10:46:07 -04:00
co-authored by Claude Opus 5.5
parent 0202c86338
commit fecd030b68
46 changed files with 795 additions and 1159 deletions
+7 -7
View File
@@ -75,7 +75,7 @@
<svelte:head><title>{pageTitle('Register')}</title></svelte:head>
<main class="flex min-h-screen items-center justify-center bg-background text-text-primary">
<div class="w-full max-w-sm rounded-lg border border-border bg-surface p-6 shadow">
<div class="w-full max-w-sm rounded-lg border border-border bg-surface p-6 shadow-sm">
<h1 class="mb-6 text-center text-2xl font-semibold">Create account</h1>
<form class="space-y-4" onsubmit={handleSubmit}>
<label class="block">
@@ -86,7 +86,7 @@
required
minlength="3"
maxlength="32"
class="w-full rounded border border-border bg-background px-3 py-2 outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 outline-hidden focus:border-accent"
bind:value={username}
/>
</label>
@@ -98,7 +98,7 @@
type="text"
autocomplete="name"
maxlength="64"
class="w-full rounded border border-border bg-background px-3 py-2 outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 outline-hidden focus:border-accent"
bind:value={displayName}
/>
</label>
@@ -109,7 +109,7 @@
autocomplete="new-password"
required
minlength="8"
class="w-full rounded border border-border bg-background px-3 py-2 outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 outline-hidden focus:border-accent"
bind:value={password}
/>
</label>
@@ -120,7 +120,7 @@
autocomplete="new-password"
required
minlength="8"
class="w-full rounded border border-border bg-background px-3 py-2 outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 outline-hidden focus:border-accent"
bind:value={confirmPassword}
/>
</label>
@@ -132,7 +132,7 @@
autocomplete="off"
spellcheck="false"
required
class="w-full rounded border border-border bg-background px-3 py-2 font-mono outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 font-mono outline-hidden focus:border-accent"
bind:value={setupToken}
/>
<span class="mt-1 block text-xs text-text-secondary">
@@ -148,7 +148,7 @@
<input
type="text"
autocomplete="off"
class="w-full rounded border border-border bg-background px-3 py-2 outline-none focus:border-accent"
class="w-full rounded border border-border bg-background px-3 py-2 outline-hidden focus:border-accent"
bind:value={inviteToken}
/>
</label>