UNPKG

santycss

Version:

Plain-English utility-first CSS framework — no build step, just classes

42 lines (39 loc) 1.95 kB
/* SantyCSS — reset module Import individually to reduce bundle size. https://santycss.santy.in */ /* ============================================================ SantyCSS v2.3.0 — Plain-English Utility CSS Framework https://github.com/santybad/santy_css ============================================================ */ /* ── Box Sizing Reset ── */ *, *::before, *::after { box-sizing: border-box; } /* ── CSS Custom Properties (Theme) ── */ :root { /* ── Design Tokens (override to customise) ── */ --santy-primary: #3b82f6; --santy-primary-dark: #2563eb; --santy-primary-light: #dbeafe; --santy-secondary: #6b7280; --santy-success: #22c55e; --santy-warning: #f59e0b; --santy-danger: #ef4444; --santy-info: #06b6d4; --santy-radius-sm: 4px; --santy-radius: 8px; --santy-radius-md: 12px; --santy-radius-lg: 16px; --santy-radius-xl: 24px; --santy-radius-full: 9999px; --santy-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --santy-font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif; --santy-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; --santy-transition-fast: all 0.15s ease; --santy-transition-normal: all 0.3s ease; --santy-transition-slow: all 0.5s ease; --santy-shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); --santy-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); --santy-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); --santy-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); --santy-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25); --santy-shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06); }