@logos-kit/theme
v0.1.1
Published
Logos Kit design tokens (Tray light and dark) for web, React Native and QML.
Maintainers
Readme
@logos-kit/theme
The Logos Kit design tokens: the Tray theme in light and dark, used by the wallet, its Basecamp apps and the docs. One source of truth, exported for CSS and for QML.
npm install @logos-kit/theme
# pnpm add @logos-kit/theme · yarn add @logos-kit/theme · bun add @logos-kit/themeimport { cssVars, themes, toQmlTokens } from '@logos-kit/theme'
// CSS custom properties for the dark theme
const vars = cssVars(themes.dark)
// The same tokens for a QML app (colours in Qt's #AARRGGBB form)
const qml = toQmlTokens(themes.dark)Links
- Docs: UI kit
- Source: logos-kit/logos-kit
License
MIT OR Apache-2.0
