The ultimate swappable architecture for Astro. Built for speed, consistency, and AI-assisted design.
- π Theme-Swappable: One folder (
src/theme/) to rule them all. Swap interfaces without touching content. - π¨ Semantic Design: Built-in tiered token system (Base β Semantic β Component).
- π Dark Mode Native: First-class support with cookie persistence and light/dark CSS tokens.
- π€ AI-Ready: Integrated with
theme-kitskill for automated validation and design generation. - ποΈ Core Logic: Managed by
@pageel/theme-corefor robust reliability.
Note: This package is currently in Local Development mode.
-
Setup CLI:
# Clone repo git clone https://github.com/pageel/pageel-theme-kit cd pageel-theme-kit/packages/cli # Build & Link npm install && npm run build npm link
-
Use in your project:
# Go to your Astro project cd ../my-existing-astro-site # Run installer pageel-theme install
Spin up a new project in seconds:
npx degit pageel/pageel-theme-kit/themes/starter my-project
cd my-project && npm install && npm run devThis kit is designed for Agentic Coding. It includes built-in intelligence for AI agents to automate design and validation.
- theme-kit Skill: Our native skill that allows agents to validate theme compliance and manage swaps autonomously.
- ui-ux-pro-max Recommended Integration: Harness the power of 100+ design systems and UX rules. This kit is fully compatible with the
ui-ux-pro-maxdesign intelligence skill to help you generate professional style guides directly into your themes.
Clone the kit or use the starter template:
npx degit pageel/pageel-theme-kit/themes/starter my-theme
cd my-theme && npm installModify the CSS variables in src/theme/styles/theme/ to change your brand colors and tokens:
light.css/dark.css: Base color palettes.semantic.css: Mapping base colors to functional roles (bg, fg, accent).
Ensure your theme follows the Theme-Swappable Standard:
# Using the theme-kit skill
python3 .agent/skills/theme-kit/scripts/theme-validator.py .To rotate a visual design, simply replace the contents of src/theme/ with another compliant theme folder.
Keep your content stable, rotate your visual universe:
src/
βββ theme/ # π SWAP THIS (UI/UX)
βββ pages/ # β
STABLE (Routes)
βββ content/ # β
STABLE (Data)
βββ theme.config.ts # βοΈ SETTINGS
- Theme Validator: Ensure your theme meets the Pageel Contract. Path:
.agent/skills/theme-kit/scripts/theme-validator.py. - Design System Generator: Craft professional palettes via
ui-ux-pro-maxintegration.
| Package | Purpose |
|---|---|
@pageel/theme-core |
ThemeManager logic & Validation engine |
pageel-theme |
Interactive CLI for installing themes |
starter |
The optimal blueprint for new themes |
We welcome community themes! Please see CONTRIBUTING.md for guidelines on creating submittable OSS themes.
Built with β€οΈ by Pageel