Skip to content

v3.6.0 — Neutral design system, auth and error pages, ApexCharts 7

Choose a tag to compare

@puikinsh puikinsh released this 08 Sep 12:53
· 11 commits to master since this release

Metis moves off the indigo-and-gradients look it shared with every generated dashboard, and finally ships the auth and error pages that every competing free template already had.

Live demo · Download

Nine new pages — 21 → 30

login · register · forgot-password · reset-password · two-factor · lock-screen · 404 · 500 · maintenance, all reachable from a new Pages group in the sidebar.

They have real behaviour, not static mockups: inline validation, password reveal, a live strength meter, and six-box code entry with focus advance, paste-a-whole-code and a resend cooldown. The forgot-password confirmation deliberately does not disclose whether an account exists.

They load from a separate scripts/auth.js entry rather than main.js, which would drag in the sidebar, notification and dashboard managers. A login page loads 96.7 kB gzip against the dashboard's 331.6 kB.

A rebuilt design system

Before After
Accent #6366f1 indigo #2563eb, interaction only
Neutrals Slate (blue cast) Zinc (near-achromatic)
Cards shadow + hover lift 1px border, flat
Radii 12–24px 6–12px
Header 64px 56px
Transitions 300ms 150ms

Structure now comes from hairline borders; shadows are reserved for things that genuinely float. Stat cards lost their four pastel icon tiles, labels went small/uppercase, and values gained tabular figures. The sidebar's active item dropped a lavender pill that fired four signals for one bit of information.

Dark mode is selected, not flipped: panels sit above the ground and cards are opaque — they were rgba(30,41,59,0.7), so no two matched.

Chart colours

All chart colours now come from scripts/utils/chart-palette.js. Roughly 40 inline hexes had drifted into two palettes — analytics.js was still on Bootstrap 4's #007bff while everything else used indigo, so the same series appeared in two different blues on adjacent pages. Both sequences are validated for lightness band, chroma floor, colour-blind separation and contrast against their own surface, per theme.

Two real defects fell out of this: a treemap using three unrelated hues for a single measure (bigger was not distinguishable from smaller), and a storage gauge pasted verbatim from an ApexCharts demo — neon green on a navy hollow, a dark-theme gauge sitting on a white card.

Dependencies

ApexCharts 6.7 → 7.1 (major, no code change needed — the template already used the modular entry points and imports none of the nine features v7 made opt-in). Alpine 3.15 → 3.17, Sass 1.104, Vite 8.2.2, ESLint 10.10, plus PostCSS, autoprefixer and globals.

Removed dayjs, which was declared, chunked, Dependabot-watched and imported by not one line of source; and the overrides block, whose pins were obsolete and were blocking routine postcss updates.

Fixes

  • The password strength meter was frozen at zero. {...passwordField()} copies a getter's value, so strength was evaluated once before form existed.
  • Two-factor focus never advanced — x-ref is static and can't be bound per iteration, so the x-for couldn't hand out refs.
  • x-cloak had no CSS rule anywhere, so the attribute did nothing.
  • Inputs rendered darker than their cards — Bootstrap defaults $input-bg to the recessed app background.
  • CI had been failing since v3.5.0. npx playwright install fetches the browser but never adds the package to node_modules, so the smoke test added in that release had never actually run on CI.
  • Dropped the "Application loaded successfully!" toast that fired on every page load and trained users to dismiss toasts unread.

Tooling

  • npm run icons — regenerates the Bootstrap Icons subset. It is a generated file that was being maintained by hand; adding an icon without regenerating produced a class that renders nothing.
  • npm run test:auth — drives the auth flows in a real browser. The smoke test proves a page loads but cannot see a frozen widget; this caught the two bugs above on its first run.

Full changelog: https://github.com/puikinsh/Bootstrap-Admin-Template/blob/master/CHANGELOG.md