@deadragdoll/themes
v0.1.3
Published
Internal theme package for shared UI skins.
Readme
@deadragdoll/themes
Internal theme package for shared UI skins.
What it provides
- packaged CSS themes for shared frontend components;
- a stable place for visual token sets;
- host-controlled theme switching through data attributes.
Installation
yarn add @deadragdoll/themesAvailable files
@deadragdoll/themes/default.css@deadragdoll/themes/antd.css@deadragdoll/themes/blueprint.css@deadragdoll/themes/xai.css@deadragdoll/themes/mistral.css
Usage
import "@deadragdoll/vfs-explorer/style.css";
import "@deadragdoll/transcoder/style.css";
import "@deadragdoll/themes/antd.css";Activate a skin from the host app:
document.documentElement.dataset.vfsSkin = "antd";
document.documentElement.dataset.theme = "dark";