@casoon/dragonfly
Version:
Modular, lightweight CSS framework and design system for modern web projects. Optimized for Astro JS, LightningCSS and Container Queries with @layer-based architecture and comprehensive accessibility.
43 lines (36 loc) • 1.03 kB
CSS
/**
* Spring Theme Variant
*
* Standalone theme variant that can be loaded independently.
* Uses [data-theme="spring"] scope for activation.
* CDN-compatible and opt-in via import or JS.
*
* @layer themes.variants
*/
@layer themes.variants {
[data-theme="spring"] {
/* Primary Colors */
--color-primary: #16a34a;
--color-secondary: #059669;
/* Status Colors */
--color-success: #10b981;
--color-warning: #f59e0b;
--color-error: #ef4444;
--color-info: #06b6d4;
/* Text Colors */
--color-text: #14532d;
--color-text-muted: #4b5563;
--color-text-inverse: #fff;
/* Surface Colors */
--color-background: #f0fdf4;
--color-surface: #bbf7d0;
--color-surface-elevated: #fff;
/* Border Colors */
--color-border: #86efac;
--color-border-strong: #4ade80;
/* Transition Colors for smooth animations */
--color-transition-primary: #16a34a;
--color-transition-surface: #f0fdf4;
--color-transition-text: #14532d;
}
}