Signin Theme State

Remembers the Admin and Login light, dark or system theme in the browser

Community 0 4/wk ISC v0.1.0

Installation

pnpm add @nan0web/payload-signin-theme-state

About

Signin Theme State keeps the color theme of the Payload admin panel and login page in the visitor's browser storage. A user who picks light or dark once sees that choice again on the next visit, without the setting being tied to their user record.

The saved theme is applied before the login form is painted, so the sign-in screen does not flash the wrong colors. Unknown or missing values fall back to the operating system preference. Authentication, tokens and session lifetime are left unchanged.

Package info

Package name
@nan0web/payload-signin-theme-state
Latest version
0.1.0
Unpacked size
11 kB
License
ISC
Weekly downloads
4
Last publish
Aug 12, 2026

More from nan0web

View profile

Sendmail, SMTP and mock mail adapter with an admin panel to test delivery

Keyboard shortcuts for submitting and focusing Payload admin forms and dialogs

Records release runs in the admin panel with steps, parity checks, issues and files

Stores Payload uploads on the local filesystem of your own server

In-admin help viewer that shows Markdown docs with Mermaid diagrams per admin page

Adds folder navigation to the media list in the Payload admin panel

Similar plugins

More in Admin

Records who created or updated documents and shows update history in the admin panel

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Appearance panel where each editor picks a style, palette and icons for the admin

Visual drag-and-drop page builder for Payload collections with live canvas editing