Files
Luminous EnigmaandClaude 5547585a93 webapp: colors as theme variables (part 1 of 2, no visible change) (#166)
Part 1 of 2 for #165.

I split this work in two to make it easier to review. This
part only changes how the web app's colors are written, not how anything
looks.
Part 2 (the Soul Mark theme) builds on it, and I'll open it once this
one is in,
or right away if you'd rather see both together.

## What it does

The web app's colors were written directly into the code. They now read
CSS
variables whose defaults are exactly the old values, so **every page
looks the
same, pixel for pixel**. Nothing in this part sets the variables; it's
the
groundwork a theme needs.

- `styles.css` declares the variables with today's colors.
- `tailwind.config.js` points `white`, `black`, the `ui-*` surfaces,
`base-fg`
and the `primary` scale at them. In this design "white" always means the
ink
  and "black" the deepest surface, so remapping those two themes 1,000+
`text-white` / `bg-black` / `border-white/15` uses without editing them.
- Faded text (`text-white/40`, `opacity-60`) can be strengthened by a
theme
through `--st-text-fade` (1 by default, which is exactly today's alpha).
- Status text colors (`text-red-400` and friends) fall back to
Tailwind's own
  until a theme sets them.
- 19 places that wrote the panel color out (`bg-[#101014]`) now use
  `bg-ui-panel`: the same color.
- `st-keep-dark` marks the branded pricing cards, so they keep their own
colors
  under any theme.
- The desktop app's names (`--st-bg`, `--st-fg`, `--st-divider`,
`--st-controls-rgb`) are deliberately left unset: Moodboard, the
lightbox and
PageDraw's history read them with fallbacks of their own, so defining
them
  would change those. A theme sets them.

## How it was checked

All 22 main pages (Home, every Create page, Edit Image, Edit 3D, Video
Editor,
BG Change, Moodboard, Frame Extractor, Library, Folders, Pricing,
Support,
Welcome, Login, Signup, Forgot password, both Checkout pages) were
screenshotted
on main and on this branch, signed in, at 1440×900: 0 pixels differ.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Style**
* Updated panels across navigation, menus, checkout, onboarding,
referrals, support, login, and pricing to use shared theme colors.
* Added customizable theme colors across the app while keeping pricing
cards dark.
  * Updated the ArtCraft logo styling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-11 11:10:54 -05:00
..
2026-09-16 20:38:08 +07:00

@storyteller/ui-pricing-table

This library was generated with Nx.

Running unit tests

Run nx test @storyteller/ui-pricing-table to execute the unit tests via Vitest.