Cosmic Developer ships with eight purpose-built color tokens that span three semantic layers: deep backgrounds that evoke the void of space, neutral text colors scaled from bright to muted, and four vivid aurora-inspired accent colors. Every token is registered as a Tailwind extension, so you get the full suite of utility classes —Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/cosmic-developer/llms.txt
Use this file to discover all available pages before exploring further.
bg-*, text-*, border-*, opacity modifiers, and arbitrary-value shadow strings — out of the box across every page and component.
Color Reference
The full palette, including the Tailwind utility prefix used most commonly for each token, is listed below.| Token | Hex | Primary Tailwind Class | Role |
|---|---|---|---|
cosmic-black | #04050d | bg-cosmic-black | Deepest background — <body> default |
cosmic-navy | #0a1535 | bg-cosmic-navy | Glass panel background fill |
star-white | #f5fbff | text-star-white | Primary / heading text |
star-dim | #8b9bb4 | text-star-dim | Secondary / muted body text |
aurora-teal | #3dd6c4 | text-aurora-teal | Primary accent — borders, headings, glows |
aurora-magenta | #d96cf0 | text-aurora-magenta | Secondary accent — articles, about sections |
aurora-green | #7af0a8 | text-aurora-green | Tertiary accent — skills, testimonials |
aurora-violet | #6b4fe0 | text-aurora-violet | Quaternary accent — work history, about |
Registering the Tokens in Tailwind
All eight tokens live in theextend.colors block of tailwind.config.js. To change any color, update only the hex value here — every utility class generated from that token will update automatically across the entire site.
Usage Patterns
The primary accentaurora-teal is applied consistently across three CSS properties: text color for headings and labels, border color for card outlines, and arbitrary box-shadow values for glow effects. This three-way consistency is what ties the visual language together.
currentColor trick is used in several places to keep glow shadows synchronized with whatever text color is active on the element, avoiding the need to hard-code the hex twice:
The glass-panel Utility Class
The glass-panel class is a custom component defined at the bottom of assets/main.css. It combines a semi-transparent cosmic-navy fill, an aurora-teal/20 border, and a 12 px backdrop blur to create the frosted-glass card aesthetic used throughout the portfolio.
Opacity Modifiers
Tailwind’s slash-opacity syntax is used extensively throughout the project to layer colors at reduced opacity without needing separate token definitions. The following opacity levels appear in the compiled CSS:| Modifier | Example class | Computed alpha |
|---|---|---|
/10 | bg-aurora-teal/10 | 10 % |
/20 | border-aurora-teal/20 | 20 % |
/30 | bg-aurora-teal/30 | 30 % |
/40 | border-aurora-teal/40 | 40 % |
/50 | border-aurora-teal/50 | 50 % |
/70 | text-aurora-magenta/70 | 70 % |
/80 | text-star-dim/80 | 80 % |
/90 | text-star-white/90 | 90 % |
Text selection styling — the compiled CSS overrides the browser’s default blue selection highlight so that selected text displays
cosmic-black text on an aurora-teal background sitewide. This is set on body *::selection in main.css. Update the background-color there if you change aurora-teal.