A theme package for Astro projects featuring a design system, reusable components, and Tailwind CSS v4 integration.
- 🎨 Design System - Pre-configured color palette with primary, secondary, accent, and neutral colors.
- 🧩 Reusable Components - Pre-built Astro components (Button, Card, etc).
- ⚡ Tailwind CSS v4 - Integrated with the latest Tailwind CSS via Vite plugin with an extendable theme.
- 📦 Typescript - Full TypeScript support with comprehensive prop interfaces.
- 🎯 Zero Config - Works out of the box with minimal setup.
npm install astro-orbitFirst, import the integration into your Astro config:
import { defineConfig } from "astro/config";
import astroOrbit from "astro-orbit";
export default defineConfig({
integrations: [
astroOrbit()
],
});Then, add the theme stylesheet to your pages:
---
import 'astro-orbit/theme.css`;
---
<html />Astro Orbit comes with components out of the box that can be added to your pages.
---
import { Button } from 'astro-orbit/components';
---
<Button href="https://example.com">
Click me!
</Button>You can extend the theme by creating your own stylesheet and importing this into your pages:
@import "astro-orbit/theme.css";
:root {
--font-sans: "Helvetica Neue", "Arial", sans-serif;
}Contributors welcome! Please submit an issue or pull request.
See the LICENSE for license rights and limitations (Apache License 2.0).