@selkit/themes
v0.9.0
Published
Themes for Selkit — base and Bootstrap 5 styles (CSS variable driven).
Downloads
1,361
Readme
@selkit/themes
CSS themes for Selkit — the
framework-agnostic select toolkit. Lightweight, CSS-variable-driven styles shared
by all adapters (@selkit/dom, @selkit/vue, @selkit/react).
Install
pnpm add @selkit/themesUsage
// Base theme (always)
import '@selkit/themes/base.css'
// Optional Bootstrap 5 look — wrap the control in class="selkit-theme-bs5"
import '@selkit/themes/bs5.css'Restyle via CSS variables (--selkit-border, --selkit-bg,
--selkit-border-focus, --selkit-active-bg, …) or target the BEM classes
(.selkit__control, .selkit__option, .selkit__tag, …). Modifier classes like
.selkit--checkboxes, .selkit--autogrow and .selkit--auto-width style the
matching features. See the
theming guide.
Docs
📖 cluion.github.io/selkit · 繁體中文
