Installation

1. Initialize

npx glass-orbit init

This creates glass-orbit.json in your project root and injects the theme CSS into your global stylesheet.

2. Install dependencies

npm install clsx tailwind-merge class-variance-authority

3. Add components

npx glass-orbit add button

Components are copied into your project. Modify them however you want.

4. Customize theme

npx glass-orbit theme generate

Answer a few prompts to generate a custom theme JSON, then apply it:

npx glass-orbit theme apply glass-orbit-theme-my-theme.json