Colorful centralizes every brand color in a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/colorful/llms.txt
Use this file to discover all available pages before exploring further.
:root block of CSS custom properties inside assets/main.css. The hand-crafted gradient and glass utility classes read these variables at runtime, so updating a token propagates to those effects across the entire theme — no component hunting required.
Color tokens
The full:root declaration that ships with the theme:
| Token | Default | Primary use |
|---|---|---|
--color-bg-light | #fafaf9 | Page background (warm off-white) |
--color-bg-dark | #0f172a | Body text, nav toggle button |
--color-teal-main | #14b8a6 | Primary accent, scrollbar thumb, focus rings |
--color-teal-light | #2dd4bf | Gradient end stop, nav link highlight |
--color-teal-dark | #06b6d4 | Hover state on teal elements, scrollbar thumb hover |
--color-rainbow-pink | #ec4899 | Accent gradient stop, glass-bubble tint, nav color |
--color-rainbow-amber | #f59e0b | Accent gradient stop, nav color |
--color-rainbow-lime | #84cc16 | Navigation link color |
--color-rainbow-indigo | #6366f1 | Accent gradient stop, navigation link color |
--color-rainbow-purple | #a855f7 | Navigation link color |
Changing the palette
Openassets/main.css and edit the hex values inside :root. For example, to shift the primary accent from teal to coral:
Typography
All three typefaces are loaded from Google Fonts in a single@import at the top of assets/main.css:
font-display — Bricolage Grotesque
Bricolage Grotesque is loaded with a variable optical size axis (opsz 12..96) and a weight range of 200–800. It is registered as font-display in the Tailwind config and set as the default font for all heading elements (h1–h6) via a global CSS rule:
.font-display utility class anywhere you want a heading-style treatment on non-heading elements, such as a large pull-quote or section label.
font-handwriting — Caveat
Caveat is a casual handwriting face loaded at weights 400–700. It is registered asfont-handwriting and is used for decorative accent text — short fragments, annotations, or stylistic flourishes that need a personal, hand-drawn feel. Apply it with the .font-handwriting utility.
font-sans — Inter
Inter is loaded at weights 300–700 and serves as the body and UI typeface (font-sans). It is set as the default font-family on html and body, so all running text, labels, form elements, and navigation links inherit it automatically without an explicit utility class.
Decorative utilities
assets/main.css defines four hand-crafted utility classes that power the theme’s most distinctive visual effects.
.text-fluid-clip
Renders text with an animated flowing gradient clipped to the letterforms. The gradient cycles through --color-teal-main → --color-rainbow-indigo → --color-rainbow-pink → --color-rainbow-amber → --color-teal-light over a 15-second ease loop with background-size: 400% 400%.
.bg-fluid-gradient
The same animated gradient applied as a solid block background instead of a text clip. Uses a -45deg angle to contrast with .text-fluid-clip.
.glass-bubble
A frosted-glass card effect built from a radial gradient with pink and teal inset tints, combined with backdrop-filter: blur(5px). The layered box-shadow creates the illusion of light refracting through a soap bubble.
.sticker-shadow
A two-layer drop-shadow filter that gives cutout sticker-like elements a natural depth without a hard box shadow.
box-shadow would not follow the shape contour.
Selection and scrollbar
Text selection
Selected text throughout the page is highlighted in teal-300 (#5eead4) with slate-900 (#0f172a) lettering, keeping the selection readable against both light and dark content:
Custom scrollbar
The vertical scrollbar is styled in WebKit browsers to match the teal palette:--color-teal-main, and hovering shifts it to --color-teal-dark. Non-WebKit browsers fall back to their default scrollbar styling.
All three typefaces — Bricolage Grotesque, Caveat, and Inter — are loaded from Google Fonts via the
@import at the top of assets/main.css. The fonts require an active internet connection during the first page load. Visitors with no network access or strict content security policies may see system font fallbacks.