Kind: Constant
Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/theme.ts
The mode-resolving sheet.
Rule order is load-bearing. The blocks have comparable weight, so the later ones win where they overlap:
- light default — applies when nothing else has an opinion.
- OS dark — guarded so an explicit
lightdisables it entirely. - explicit dark (
data-atloria-theme="dark", or/app's.darkclass). - explicit light — last, so it beats every dark rule above it, the OS included.
Was this page helpful?