Skip to content

Capell brand tokens

Design tokens for Capell’s Structured Clarity direction: blue primary actions, quiet neutral surfaces, Inter typography, and soft tonal depth.

FilePurpose
design-tokens.cssFull CSS custom properties — light and dark mode, all tokens
tailwind-theme.cssTailwind v4 @theme block + utility classes

In your marketing site’s main CSS file:

@import 'path/to/design-tokens.css';
@import 'path/to/tailwind-theme.css';

Or copy the @theme block directly into resources/css/app.css.

TokenHexName
--color-primary#4648D4Primary Blue
--color-primary-hover#6063EEActive Blue
--color-accent-cyan#515F74Slate Accent
--color-accent-indigo#C0C1FFInverse Blue
TokenHexUse
--color-bg#1B1B23Page background
--color-surface#24242CCards, panels
--color-surface-raised#303038Elevated cards, code blocks
--color-border#767586Borders, dividers
--color-text#F2EFFBBody text
--color-text-muted#C7C4D7Secondary text
TokenHexUse
--color-bg#FCF8FFPage background
--color-surface#F5F2FECards, panels
--color-surface-raised#EFECF8Elevated cards
--color-border#C7C4D7Borders, dividers
--color-text#1B1B23Body text
--color-text-muted#464554Secondary text

Tailwind darkMode strategy: class. The dark class is applied to <html> by Alpine.js and persisted to localStorage. A tiny inline <script> in <head> reads localStorage before first paint to prevent flash.

<script>
if (
localStorage.getItem('theme') === 'dark' ||
(!localStorage.getItem('theme') &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
document.documentElement.classList.add('dark')
}
</script>

Default can be set per product surface. Public marketing pages should prefer the light palette unless the surrounding page already uses a dark shell.