@bkper/web-design
v2.0.1
Published
Bkper design system - CSS variables, tokens, and themes
Downloads
326
Readme
@bkper/web-design
Bkper's design system - CSS variables, tokens, and themes.
Documentation
Installation
npm install @bkper/web-designUsage
Import in your build system:
@import '@bkper/web-design';Or link directly in HTML:
<link rel="stylesheet" href="node_modules/@bkper/web-design/src/bkper.css">Alternatively, skip installation and link directly to a stable hosted version:
<link rel="stylesheet" href="https://bkper.app/design/v2/style.css">Note: The CDN serves the latest stable version, which may not be the most recent npm release.
What's Included
- CSS custom properties (variables)
- Account type colors: blue (Assets), yellow (Liabilities), green (Incoming), red (Outgoing)
- Light/dark theme support
- Typography scale
- Spacing scale
- Border and color tokens
Web Awesome Integration
This package works standalone with sensible default values. If Web Awesome is loaded, Bkper tokens will automatically inherit from Web Awesome's design system for seamless integration.
License
Apache-2.0
