К темам

Matcha

A minimal Astro blog theme blending Material 3 Expressive motion, variable typography, and an OKLCH hue-driven color system.


Стоимость

Бесплатно


Автор
H2Sxxa

Matcha is a minimal, content-first Astro blog theme blending Material 3 Expressive motion, variable typography, and an OKLCH hue-driven color system — built with Astro 7, Tailwind CSS v4, and MDX, with zero client framework overhead.

Design & Motion

  • Material 3 Expressive Micro-Interactions: Spring-physics shape morphing (squircle-to-circle avatars and FAB, pill radius compression), subtle 3D pointer tilt with specular sheen, and tactile hover feedback throughout.
  • Variable Font Expressive Typography: Powered by Fontsource Roboto Flex and Fraunces, plus four reusable MDX/Astro components (ExpressiveFlex, ExpressiveItalic, ExpressiveBadge, and ExpressiveHighlight).
  • Signature Transitions: A 4-band staggered horizontal curtain for top-level route changes and a View Transition radial ripple that expands from the exact click origin when switching between light and dark mode.

One-Number OKLCH Theming

Matcha ships with a Ceremonial Uji Matcha & Warm Washi palette by default (hue: 137), engineered on perceptual OKLCH tokens so lightness and contrast stay balanced across every hue.

  • Change a single theme.hue number (0–360) in src/site.config.ts to recolor the entire light and dark theme — including the automatically generated giscus-light.css and giscus-dark.css comment stylesheets.
  • Override theme.tertiaryHue or edit src/styles/tokens.css directly whenever you want full palette control.

Built for Reading & Discovery

  • Minimal Navigation, Instant Access: No heavy top navbar — navigate via the floating action button (with a live SVG reading-progress ring) or the built-in ⌘K / Ctrl+K Command Palette for instant search across posts, tags, pages, and quick actions.
  • Focused Article Reader: Sticky desktop Table of Contents with a spring-animated active indicator rail, collapsible mobile TOC, one-click code copy buttons, click-to-zoom image lightbox, reading time estimation, and optional WIP banners.
  • MDX Inline Components: Drop NavigationTile and ArticleNavigationTile directly into your MDX posts to cross-link pages or other articles with automatic excerpts.
  • Smooth Giscus Comments: Optional GitHub Discussions comments synced to your active OKLCH theme with flicker-free light/dark switching.

Developer Experience & Deployment

  • Clean Configuration: Strictly typed src/site.config.ts (with separated definitions in src/types/config.ts), while keeping pages like index.astro and about.mdx directly editable so you can make the theme truly yours.
  • SEO & Static-First Ready: Built-in RSS feed (/rss.xml), XML sitemap, dynamic /robots.txt, and automatic site/base detection for both root domains and GitHub Pages /repo/ subpaths.