@document-explorer/theme
v0.1.1
Published
Neutral, CSS-variable-driven stylesheet for the Document Explorer.
Maintainers
Readme
@document-explorer/theme
The default stylesheet for the Document Explorer. Plain CSS, no build step, no framework coupling — the React and Angular packages both use this exact file.
import '@document-explorer/theme';Every value is a --de-* custom property declared in tokens.css. To restyle,
override the tokens; you should never need to write a rule against a .de-*
class:
.my-explorer {
--de-accent: #7c3aed;
--de-radius: 4px;
--de-row-height: 48px;
}Dark mode follows prefers-color-scheme automatically. For an in-app toggle,
set data-de-theme="dark" (or "light" to pin light) on any ancestor.
