santycss
Version:
Utility-first CSS with plain-English class names. No build step required (optional build for customization).
52 lines (48 loc) • 2.35 kB
CSS
/* SantyCSS — reset module
Import individually to reduce bundle size.
https://santycss.santy.in */
/* ============================================================
SantyCSS v2.10.0 — Plain-English Utility CSS Framework
https://github.com/Santy-Labs/santyCSS
============================================================ */
/* ── Box Sizing Reset ── */
*, *::before, *::after { box-sizing: border-box; }
/* ── Responsive Media Reset ── */
img, video, picture, svg { max-width: 100%; height: auto; }
/* ── 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;
/* ── Semantic Surface Tokens (v2.7.0 — flip with [data-theme] / .dark) ── */
--santy-surface: #ffffff;
--santy-surface-alt: #f9fafb;
--santy-surface-raised: #ffffff;
--santy-text: #111827;
--santy-text-muted: #6b7280;
--santy-border-color: #e5e7eb;
--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);
}