3x-ui/frontend/src
MHSanaei 1953869d36
fix(frontend): use legacy panel palette for login page dark mode
Earlier dark mode used invented colors (#141a26 page bg, #1f2937 card)
that didn't match the rest of the panel. Replaced with the actual
values from web/assets/css/custom.min.css:

  light          dark             ultra-dark
  bg #c7ebe2     bg #222d42       bg #0f2d32
  card #fff      card #151f31     card #0c0e12
  title #008771  title #fff/.92   title #fff/.92

Drove everything off CSS custom properties on .login-app so the
.is-dark / .is-ultra class swap is a few var overrides instead of
duplicating selectors. Also restored the legacy card metrics
(2rem radius, 4rem 3rem padding, 2rem title) so the new page
matches the old panel's geometry, not just its colors.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 12:03:53 +02:00
..
api refactor(frontend): Phase 3 — port utils, models, axios, websocket as ES modules 2026-05-08 10:47:15 +02:00
components feat(frontend): Phase 5b — port four shared components to Vue 3 2026-05-08 11:52:52 +02:00
composables feat(frontend): Phase 5a — theme system + Vite 8 + vue-i18n 11 2026-05-08 11:11:06 +02:00
models refactor(frontend): Phase 3 — port utils, models, axios, websocket as ES modules 2026-05-08 10:47:15 +02:00
pages/login fix(frontend): use legacy panel palette for login page dark mode 2026-05-08 12:03:53 +02:00
utils refactor(frontend): Phase 3 — port utils, models, axios, websocket as ES modules 2026-05-08 10:47:15 +02:00
App.vue refactor(frontend): Phase 3 — port utils, models, axios, websocket as ES modules 2026-05-08 10:47:15 +02:00
login.js feat(frontend): Phase 5a — theme system + Vite 8 + vue-i18n 11 2026-05-08 11:11:06 +02:00
main.js build(frontend): Phase 2 — scaffold Vite + Vue 3 + AD-Vue 4 2026-05-08 10:36:03 +02:00