# Orange Homework (Shadcn UI preset)

Orange Homework is a free Shadcn UI preset: Luma style, Orange accent with Mauve neutrals, Noto Sans + Source Sans 3, Phosphor icons and medium corners. Copy the preset code or install it with one command.

- Preset code: `bgnVknYQr`
- Style: Luma
- Colors: Orange + Mauve (base mauve, theme orange, charts green)
- Fonts: Noto Sans / Source Sans 3
- Icons: Phosphor
- Radius: Medium corners
- Menus: subtle accent, inverted color
- WCAG AA contrast on all text and buttons: yes
- Page with live preview: https://shadcnpreview.com/presets/orange-homework

## Install

New project (`--base` is the component library: `radix` for Radix UI, `base` for Base UI, `aria` for React Aria; shadcn defaults to Base UI):

```bash
npx shadcn@latest init --preset bgnVknYQr --base base --template next
```

Existing shadcn project (reinstalls UI components; add `--only theme` for colors only, or `--only font`):

```bash
npx shadcn@latest apply --preset bgnVknYQr
```

The same preset as a shadcn registry item (follows `--base`):

```bash
npx shadcn@latest init --preset https://shadcnpreview.com/r/orange-homework.json --base radix
```

Open in shadcn/create: https://ui.shadcn.com/create?preset=bgnVknYQr

**Orange Homework** is a Shadcn UI preset in the Luma style. It's an approachable, upbeat look that keeps students focused.

## Best for

- Tutoring apps
- School and university sites
- Learning platforms

## Style

Luma is inspired by macOS: rounded geometry, soft elevation and breathable layouts, without the glass effect. It feels calm and modern. A medium radius softens corners without looking bubbly.

## Color

The Mauve base is a grey with a soft purple tint, used for backgrounds, borders and muted text. Orange is the theme color, so primary buttons, focus rings and active states pick it up. Charts use a contrasting Green ramp, so data stands out from the UI chrome.

## Typography

Headings use Noto Sans, a sans-serif face, paired with Source Sans 3 for body text. That gives headings more character while keeping paragraphs and UI labels easy to read.

## Icons and menus

Phosphor is a flexible icon family with a playful, rounded personality. Menus are inverted (dark in light mode, light in dark mode), with a subtle highlight on the active item.

## CSS variables

```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0.008 326);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0.008 326);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0.008 326);
  --primary: oklch(0.553 0.195 38.402);
  --primary-foreground: oklch(0.98 0.016 73.684);
  --secondary: oklch(0.967 0.001 286.375);
  --secondary-foreground: oklch(0.21 0.006 285.885);
  --muted: oklch(0.96 0.003 325.6);
  --muted-foreground: oklch(0.542 0.034 322.5);
  --accent: oklch(0.96 0.003 325.6);
  --accent-foreground: oklch(0.212 0.019 322.12);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0.005 325.62);
  --input: oklch(0.922 0.005 325.62);
  --ring: oklch(0.711 0.019 323.02);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0.008 326);
  --sidebar-primary: oklch(0.646 0.222 41.116);
  --sidebar-primary-foreground: oklch(0.98 0.016 73.684);
  --sidebar-accent: oklch(0.96 0.003 325.6);
  --sidebar-accent-foreground: oklch(0.212 0.019 322.12);
  --sidebar-border: oklch(0.922 0.005 325.62);
  --sidebar-ring: oklch(0.711 0.019 323.02);
  --chart-1: oklch(0.871 0.15 154.449);
  --chart-2: oklch(0.723 0.219 149.579);
  --chart-3: oklch(0.627 0.194 149.214);
  --chart-4: oklch(0.527 0.154 150.069);
  --chart-5: oklch(0.448 0.119 151.328);
  --radius: 0.625rem;
}

.dark {
  --background: oklch(0.145 0.008 326);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.212 0.019 322.12);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.212 0.019 322.12);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.47 0.157 37.304);
  --primary-foreground: oklch(0.98 0.016 73.684);
  --secondary: oklch(0.274 0.006 286.033);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.263 0.024 320.12);
  --muted-foreground: oklch(0.711 0.019 323.02);
  --accent: oklch(0.263 0.024 320.12);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.542 0.034 322.5);
  --sidebar: oklch(0.212 0.019 322.12);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.705 0.213 47.604);
  --sidebar-primary-foreground: oklch(0.98 0.016 73.684);
  --sidebar-accent: oklch(0.263 0.024 320.12);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.542 0.034 322.5);
  --chart-1: oklch(0.871 0.15 154.449);
  --chart-2: oklch(0.723 0.219 149.579);
  --chart-3: oklch(0.627 0.194 149.214);
  --chart-4: oklch(0.527 0.154 150.069);
  --chart-5: oklch(0.448 0.119 151.328);
}

```
