+
Base
EN
/* * ============================================================================ * Welcome to AISTA CSS Scratchpad * Offline-first CSS color visualizer, WCAG 2.2 contrast & AI trace cleaner. * ============================================================================ * * QUICK SHORTCUTS * - Ctrl + S : Save active snippet * - Ctrl + Shift + F : Format CSS (preserves comments & indentation) * - Ctrl + Z : Native undo (works even after Format & AI Clean) * - Click Color : Open color picker / highlight card in preview * - Hover Card : Highlight all occurrences in the editor * * KEY FEATURES * - Dynamic WCAG 2.2 : Change the header BASE color to test AAA / AA / AA Large * - Split View : Click the split icon on any tab to compare side-by-side * - AI Trace Cleaner : Red warning icon detects & cleans hidden AI artifacts * - Drag & Drop : Drop .css or .json files anywhere to import as snippets * - Export / Import : Download any snippet as .css or back up all as .json * * TIP: Clear this guide anytime and paste your own CSS to start! */ :root { /* Brand & Accent Tokens */ --primary: #cc785c; /* Coral brand voltage */ --primary-active: #a9583e; /* Pressed coral state */ --accent-teal: #5db8a6; /* Active status & indicators */ --accent-amber: #e8a55a; /* Badges & warm highlights */ /* Surface & Ink Tokens */ --canvas: #faf9f5; /* Editorial cream canvas */ --surface-card: #efe9de; /* Card surface */ --surface-dark: #181715; /* Deep dark surface */ --text-ink: #141413; /* Primary dark ink */ --text-muted: #6c6a64; /* Muted secondary text */ --text-on-dark: #faf9f5; /* Light text on dark */ } /* Modern CSS Color 4 & Gradients Showcase */ .hero-card { background: linear-gradient(135deg, #181715 0%, #252320 60%, #a9583e 100%); color: var(--text-on-dark); border: 1px solid rgb(204 120 92 / 28%); box-shadow: 0 12px 30px -10px rgb(24 23 21 / 35%); border-radius: 12px; padding: 28px; } .glow-badge { background: radial-gradient(circle at top left, #e8a55a, #cc785c); color: var(--text-ink); border-radius: 20px; padding: 6px 14px; } .status-pill { background-color: var(--accent-teal); color: hsl(168 45% 12%); border-radius: 999px; }
×
Visualized output will appear here.
Saved!
Undo
Delete all snippets?
This will permanently remove
every
snippet in your library. Type
Delete
below to confirm.
Cancel
Delete All
Drop .css or .json files
Files will be imported into your snippet library