@nova-vue/colors
v0.1.0
Published
Color themes for Nova Vue - blue, green, red, rose, orange, yellow, violet
Downloads
6
Maintainers
Readme
@nova-vue/colors
Color themes for Nova Vue components.
Installation
bun add @nova-vue/colorsUsage
Import a color theme CSS file after the main Nova Vue styles:
// main.ts
import '@nova-vue/ui/styles.css'
import '@nova-vue/colors/blue.css' // or any other color themeAvailable Themes
| Theme | Primary Color | Description |
|-------|--------------|-------------|
| default.css | Neutral | Default grayscale theme |
| red.css | Red | Bold, attention-grabbing |
| rose.css | Rose | Soft, elegant |
| orange.css | Orange | Warm, energetic |
| green.css | Green | Fresh, natural |
| blue.css | Blue | Professional, trustworthy |
| yellow.css | Yellow | Bright, optimistic |
| violet.css | Violet | Creative, luxurious |
Dark Mode
All themes automatically support dark mode via the .dark class on a parent element.
Customization
Each theme overrides these CSS custom properties:
--primary/--primary-foreground--ring--accent/--accent-foreground--sidebar-primary/--sidebar-primary-foreground--sidebar-ring
You can create your own theme by copying any theme file and modifying the color values.
