Skip to content

FORCED_LIGHT_TOKENS

reference
1 min readUpdated

Kind: Constant

Source: atloria-monorepo/apps/web/src/app/p/[slugId]/components/theme-presets.ts

Inverse path (C5): neutral LIGHT surface tokens for when a reader forces light mode on a DARK pack (midnight/carbon). Mirrors FORCED_DARK_TOKENS — brand primary/accent stay as configured, only the surfaces flip. Uses the default pack's surfaces so forced-light looks identical to an unthemed site.

Definition

ts
ThemeTokens

Was this page helpful?

Download as PDF