diff --git a/CLAUDE.md b/CLAUDE.md index 4cdc3356..ca5c7eaf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -172,9 +172,17 @@ promoted to `dev` in batches. While it is in progress: (`panel`, `btn`, `form-input`, `badge`, `animate__*`, `screen_loader`, `main-section`), plus `pilotui/toast` and `useAppStore` from `pilotui/store`. Un-migrated screens render inside the new shell and keep working. -- **Dark mode is light-only on migrated surfaces.** The theme switcher stays and - `:root.dark` is scaffolded but empty, so toggling dark leaves migrated screens light while - pilotui ones go dark. Deliberate; dark lands as its own milestone. +- **Dark mode is real on `st-` surfaces.** The theme is applied as + `data-theme="light" | "dark"` on ``; both Tailwind builds use + `darkMode: ['selector', '[data-theme="dark"]']`, and `@nuxtjs/color-mode` owns the + preference (Light / Dark / System, `subturtle:theme`, pre-paint script, no flash). The + control is `StThemeSwitcher` in the topbar — there is no Appearance row in the profile + menu. Un-migrated pilotui screens keep their own `dark:` behaviour; the module also keeps + writing the `.dark` class and `plugins/theme.client.ts` mirrors the preference into + pilotui's store, so the two never disagree, but they are not styled to match and will not + be until each screen migrates. + ⚠️ `ui/src/styles/theme-tokens.css` still holds the EARLIER handoff's palette. The design + system's own `subturtle-theme.css` supersedes it wholesale — see the banner in that file. - `subturtle-ui` is a `link:../ui` dependency whose `dist/` is not committed, so the frontend's `postinstall` builds it. Any context that installs the frontend needs `ui/` present — the Dockerfile copies it in. diff --git a/frontend/components/Leitner/LeitnerPhrasePicker.vue b/frontend/components/Leitner/LeitnerPhrasePicker.vue index b4fb07c6..bf4df394 100644 --- a/frontend/components/Leitner/LeitnerPhrasePicker.vue +++ b/frontend/components/Leitner/LeitnerPhrasePicker.vue @@ -1,324 +1,285 @@ - - diff --git a/frontend/components/Leitner/LeitnerSettings.vue b/frontend/components/Leitner/LeitnerSettings.vue index a304e455..7c7707d8 100644 --- a/frontend/components/Leitner/LeitnerSettings.vue +++ b/frontend/components/Leitner/LeitnerSettings.vue @@ -1,537 +1,621 @@ diff --git a/frontend/components/PoolCard.vue b/frontend/components/PoolCard.vue index 94f6b327..96d24749 100644 --- a/frontend/components/PoolCard.vue +++ b/frontend/components/PoolCard.vue @@ -1,99 +1,56 @@ diff --git a/frontend/components/bundle/AddNew.vue b/frontend/components/bundle/AddNew.vue index ff7e927c..2636f6cb 100644 --- a/frontend/components/bundle/AddNew.vue +++ b/frontend/components/bundle/AddNew.vue @@ -1,112 +1,142 @@