🧑‍🚀 Hello, Astronaut!

Welcome to the official Astro blog starter template. This template serves as a lightweight, minimally-styled starting point for anyone looking to build a personal website, blog, or portfolio with Astro.

This template comes with a few integrations already configured in your astro.config.mjs file. You can customize your setup with Astro Integrations to add tools like Tailwind, React, or Vue to your project.

Here are a few ideas on how to get started with the template:

Have fun! If you get stuck, remember to read the docs or join us on Discord to ask questions.

Looking for a blog template with a bit more personality? Check out astro-blog-template by Maxi Ferreira.


🎨 Interactive Theme Designer

Create beautiful, accessible color themes with OKLCH color space. Generate perceptually uniform color scales for dark and light modes with WCAG contrast compliance.

💡 Color System Best Practicesss

  • -low variants: Use for subtle backgrounds (alerts, badges, hover states)
  • Base colors: Primary action colors, borders, and medium emphasis
  • -high variants: Text on dark backgrounds, icons, high contrast needs
  • Gray scale: white → gray-1 (text) → gray-2 (secondary) → gray-3 (muted) → gray-4-6 (borders/backgrounds) → black
  • Semantic colors: Reserve success/warning/danger for their specific meanings only
Presets
WCAG Contrast Level
Accent Color
Gray Color

🌙 Dark Mode

Body text Link text Dim text inline code

Success Warning Error
Buttons
Alerts & Notifications
Success: Your changes have been saved successfully.
Warning: Your session will expire in 5 minutes.
Error: Unable to connect to the server.
Cards & Containers
Feature Card

Use gray-6 for container backgrounds, gray-5 for borders, and gray-1 for primary text.

Typography Hierarchy
white - Headings & Emphasis
gray-1 - Body Text
gray-2 - Secondary Text
gray-3 - Muted / Disabled

☀️ Light Mode

Body text Link text Dim text inline code

Success Warning Error
Buttons
Alerts & Notifications
Success: Your changes have been saved successfully.
Warning: Your session will expire in 5 minutes.
Error: Unable to connect to the server.
Cards & Containers
Feature Card

Use gray-6 for container backgrounds, gray-5 for borders, and gray-1 for primary text.

Typography Hierarchy
white - Headings & Emphasis
gray-1 - Body Text
gray-2 - Secondary Text
gray-3 - Muted / Disabled

Copy these CSS variables to your global.css or custom CSS file:

Use these color values in your Tailwind configuration: