Theme
Theme is the Settings screen for switching FlowPOS between light and dark appearance on the device you are using, and for reviewing the color tokens of the active theme. It does not change sales, inventory, prices, or accounting.
Settings → Theme. Open Theme

| Module | Settings |
| Who uses it | Anyone who can open Settings → Theme (menu visibility is broad, including cashiers and default roles when Settings is available) |
| What it changes | Only the light/dark appearance for this browser or device. Color swatches are a visual reference; clicking one copies a CSS variable name when the clipboard is allowed |
Purpose and when to use it
Use Theme when you want to:
- Switch the whole app between light and dark.
- Confirm how colors look after a theme change (buttons, cards, sidebar, status colors).
- Copy a CSS variable name (for example
--primary) when someone is reviewing branding or reporting a color issue.
Use another path instead when:
| Situation | Use instead |
|---|---|
| Change language | Language control in the authenticated header |
| Change Retail / Restaurant workspace defaults | User Preferences |
| Edit your name or sign-in email | User Profile |
| Change business logo or brand details | Business settings (not Theme) |
| Check app or API version | About This App |
Typical scenarios
- A cashier works under bright lights. They open Settings → Theme, choose Toggle Theme until the title shows Theme: light, and keep working.
- A manager prefers dark screens at night. They use Toggle Theme (or the moon/sun control in the header) once; the choice stays on that device until they change it again.
- Support asks which blue the primary button uses. Someone opens Theme, finds Primary under Core palette, and clicks the swatch so
--primaryis copied when the browser allows clipboard access.
Before you begin
- Sign in to FlowPOS. Theme lives inside the authenticated app.
- Open Settings → Theme from the sidebar (or the Settings gateway, then Theme).
- You do not need a special permission beyond seeing the menu item. The default Settings menu lists Theme for a wide set of roles (including owner, admin, store manager, cashier, sales associate, warehouse staff, guest, and default) when the Settings module is available.
- Appearance is stored in this browser or app profile (
lightordark). It is not saved to the server and is not synced to other devices. - Open this Help Center article from the book control in the authenticated header (same place on every screen). When you are on Theme and help is wired for the route, that control opens this page.
Understanding the screen
The page is a single card. There is no create, edit, approve, or delete form.
Header and discovery
- Sidebar: Settings → Theme.
- Authenticated header: book icon opens this documentation when
helpPathis set for the route. Unmapped routes fall back to the Help Center home. - The same header also has a compact moon/sun Toggle Theme control that switches light and dark without opening this page.
Page header
| Element | Meaning |
|---|---|
| Theme: light or Theme: dark | Active appearance. The word after the colon is the current mode (light / dark) |
| Description | Design tokens for the active theme. Click a swatch to copy the CSS variable name. |
| Toggle Theme | Switches between light and dark immediately |
Color sections
Swatches are grouped under section headings. Translated headings:
| Section (English UI) | Purpose |
|---|---|
| Core palette | Main surfaces and text (background, card, primary, destructive, success, warning, info, and related foregrounds) |
| Sidebar | Navigation sidebar colors |
Additional section titles currently stay in English in every locale: Charts, Backgrounds, Typography, Borders, Accents, Status, Badges, Tints.

Each swatch shows:
- A color sample for the active theme.
- A label (translated for core and sidebar names when keys exist; otherwise the token name).
- The CSS variable name (for example
--background). - A copy icon.
Field-by-field reference
Theme has no typed form fields. Interactive controls:
| Control | Purpose | Required? | Notes | Example |
|---|---|---|---|---|
| Toggle Theme (page) | Switch light ↔ dark | No | Same effect as the header moon/sun control | Title changes from Theme: light to Theme: dark |
| Header theme icon | Switch light ↔ dark from any screen | No | Available in the authenticated header and related account areas | Moon icon while in light mode |
| Color swatch button | Copy --token-name to the clipboard | No | Success toast: Copied to clipboard. Failure toast: Could not copy | Click Primary → copies --primary |
Step-by-step instructions
How to switch light and dark
Objective: Change the app appearance on this device.
Prerequisites: You can open Settings → Theme, or you can reach the header theme icon.
- Open Settings → Theme, or stay on any authenticated screen.
- Select Toggle Theme on the page, or the moon/sun icon in the header.
- Confirm the title shows Theme: light or Theme: dark, and that screens update.
Expected result: The whole UI follows the new mode. The choice is remembered on this device.
Warnings: Other devices keep their own setting until you change them there.
How to review colors
Objective: See how theme colors look in light or dark.
- Open Settings → Theme.
- Set the mode you care about with Toggle Theme.
- Scroll the sections (Core palette, Sidebar, Charts, and the later groups).
- Compare samples with what you see on POS or Restaurant screens.
Expected result: Swatches match the active theme. No business data is saved.
How to copy a CSS variable name
Objective: Copy a token name for support or design review.
- Open Settings → Theme.
- Find the swatch (for example Primary).
- Click or tap the swatch.
- Look for Copied to clipboard with the value (for example
--primary).
Expected result: The variable name is on the clipboard when the browser allows it.
Possible errors: If you see Could not copy, the browser blocked clipboard access. Allow clipboard permission for FlowPOS, or select the variable text from the swatch label and copy manually.

In-app discovery
- Route path:
/ThemeColorPreview - Docs
helpPath:/settings/theme helpLabelKey:theme.help- Help opens from the authenticated header book control (not a page-level chip).
What users can and cannot do
| Action | Allowed? | Conditions or Restrictions |
|---|---|---|
| Switch light/dark | Yes | Stored on this device only |
| Review color swatches | Yes | Read-only samples |
| Copy CSS variable name | Yes | Requires clipboard permission |
| Change language | Not available here | Use the header language control |
| Edit business colors / logo | Not available | Use business settings and related branding screens |
| Create / edit / delete records | Not available | Theme is not a document form |
| Approve / cancel / reopen | Not available | — |
| Print / export | Not available | — |
| Change stock, sales, or money | Not available | Theme never posts business transactions |
Record statuses and lifecycle
Theme has no document statuses. Appearance has two modes:
stateDiagram-v2
[*] --> light: First visit follows device preference when nothing was saved
light --> dark: Toggle Theme
dark --> light: Toggle Theme
- light — light surfaces and dark text for most content.
- dark — dark surfaces for low-light use.
- Switching is immediate and reversible. There is no approval step.
How the choice is applied:
flowchart LR
A[Open Theme or use header icon] --> B[Toggle Theme]
B --> C[App stores light or dark on this device]
C --> D[All screens on this device use that appearance]
Effects on other modules
| Area | Effect |
|---|---|
| All PWA screens on this device | Colors and contrast follow light or dark |
| Other devices / browsers | Unchanged until toggled there |
| Inventory, sales, restaurant orders | None |
| Accounting and reports data | None |
| User Preferences | Separate — layout and tab defaults, not light/dark |
| Server / multi-tenant data | None — no Theme API call |
Practical examples
- Everyday: End of shift under dim lights — open Theme, toggle to dark, close the menu, continue closing the cash register.
- Shared tablet: Morning staff toggle to light. The next person on the same tablet inherits that choice until someone toggles again.
- Common mistake: Expecting Theme to change the business logo or receipt brand colors. Theme only switches light/dark and shows token samples; branding is configured elsewhere.
Common errors and troubleshooting
| Problem | Possible Cause | Recommended Solution |
|---|---|---|
| Could not copy after clicking a swatch | Browser blocked clipboard access | Allow clipboard for the FlowPOS site, or copy the --… text shown on the swatch manually |
| Theme resets on another computer | Preference is device-local | Toggle Theme on each device you use |
| Some section titles stay English in Spanish UI | Those headings are not translated yet | Use the translated menu label Tema and the translated Cambiar Tema / core swatch names; section titles such as Charts may remain English |
Some swatch names look like success or chart-1 | Missing friendly labels for those tokens | Use the CSS variable under the sample; report naming gaps to support if needed |
| Expected logo or brand color editor | Theme is not a branding editor | Use business settings for logo and related brand fields |
Best practices
- Prefer the header moon/sun control for a quick switch while working; use Settings → Theme when you need to inspect colors.
- Keep light mode for bright floors and dark mode for dim rooms — comfort only; it does not change permissions or totals.
- Do not treat copied CSS variable names as instructions to change stock or prices.
- When reporting a color bug, note Theme: light or Theme: dark and the token name (for example
--destructive). - Remember that shared devices share one stored appearance until someone toggles it.
Frequently asked questions
What is Theme for?
To switch light and dark appearance on this device, and to review (or copy) the active color tokens.
Where do I find help while I am on this screen?
Use the book icon in the authenticated header. On Theme it opens this article when help metadata is set.
Is Theme the only way to switch dark mode?
No. The authenticated header (and related account areas) also expose Toggle Theme.
Does Theme change my business logo?
No. It only changes light/dark appearance for the app chrome and content colors driven by the theme.
Will my dark mode follow me to another phone?
Not automatically. Each browser or device stores its own choice.
Do I need manager approval to toggle Theme?
No. Anyone who can open the screen (or the header control) can toggle appearance.
Why do some labels stay in English?
Core palette and sidebar names are translated. Several later section titles and some token labels still fall back to English or raw token names.
Does clicking a swatch change the live app colors?
No. It only attempts to copy the CSS variable name. Appearance changes only when you use Toggle Theme.
Can Theme create inventory or sales documents?
No.
Related features and documentation
- User Preferences — workspace layout and tab defaults (not light/dark)
- User Profile — name and account display
- About This App — versions and environment
- Printers
- WebSocket monitor
Last verified against the PWA Theme page (ThemeColorPreview) on 2026-12-03.