# EXPLORER_THEME_CSS

**Kind:** Constant

**Source:** [`atloria-monorepo/packages/ui-core/src/components/api-explorer/theme.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/api-explorer/theme.ts#L198)

The mode-resolving sheet.

Rule order is load-bearing. The blocks have comparable weight, so the later ones win
where they overlap:

  1. light default — applies when nothing else has an opinion.
  2. OS dark — guarded so an explicit `light` disables it entirely.
  3. explicit dark (`data-atloria-theme="dark"`, or `/app`'s `.dark` class).
  4. explicit light — last, so it beats every dark rule above it, the OS included.
