---
version: alpha
name: Schoolpilot
description: "Light interface measured from schoolpilot.sbs: Inter type, violet accents, tonal surfaces and 16px corners."
colors:
  background: "#F7F8FC"
  surface: "#F7F8FC"
  on-surface: "#1E1B4B"
  on-background: "#1E1B4B"
  on-surface-variant: "#314158"
  on-surface-muted: "#45556C"
  on-surface-subtle: "#62748E"
  surface-container-low: "#F7F8FCE6"
  surface-container: "#FFF8DC"
  surface-container-high: "#FFF0E5"
  surface-container-highest: "#FFFFFF"
  overlay: "#FFFFFFCC"
  outline: "#E2E8F0"
  outline-variant: "#CAD5E2"
  primary: "#5936B4"
  on-primary: "#FFFFFF"
  secondary: "#472A99"
  tertiary: "#382080"
typography:
  headline-display:
    fontFamily: Inter
    fontSize: 48px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: Inter
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.2
  body-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 600
    lineHeight: 1.56
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  label-lg:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
  label-md:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  label-sm:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 600
    lineHeight: 1.33
  headline-display-mobile:
    fontFamily: Inter
    fontSize: 36px
    fontWeight: 700
    lineHeight: 1.25
rounded:
  sm: 8px
  md: 12px
  lg: 16px
spacing:
  xs: 2px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 64px
  gutter: 8px
  section: 64px
  container: 1152px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.sm}"
    padding: 8px 16px
    height: 36px
  button-outline:
    backgroundColor: "{colors.surface-container-highest}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 12px 24px
    height: 50px
  card:
    backgroundColor: "#E3F5F0"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 24px
---

# Schoolpilot Design System

## Overview

The interface is light, built on **Snow (#F7F8FC)** with **Deep Indigo (#1E1B4B)** text, and **Violet (#5936B4)** as the main accent.

Type is set in **Inter**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 16px.

Measured from [schoolpilot.sbs](https://schoolpilot.sbs/) on December 2, 2026 at 1440×900 and 390×844 from 175 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 16 roles.

- **Snow (#F7F8FC):** Page background. Token `background`.
- **Deep Indigo (#1E1B4B):** Primary text and headings, seen 15 times. Token `on-surface`.
- **Dark Blue (#314158):** Secondary text, seen 18 times. Token `on-surface-variant`.
- **Dark Blue (#45556C):** Muted text and metadata, seen 3 times. Token `on-surface-muted`.
- **Blue (#62748E):** Subtle text and placeholders, seen 4 times. Token `on-surface-subtle`.
- **Snow 90% (#F7F8FCE6):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Pale Amber (#FFF8DC):** Cards and panels, seen 1 time. Token `surface-container`.
- **Pale Orange (#FFF0E5):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **White (#FFFFFF):** Highest raised elements, seen 4 times. Token `surface-container-highest`, CSS `--tw-ring-offset-color`.
- **White 80% (#FFFFFFCC):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **Cool Mist (#E2E8F0):** Borders and dividers, seen 4 times. Token `outline`.
- **Light Blue (#CAD5E2):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Violet (#5936B4):** Primary buttons and calls to action, seen 13 times. Token `primary`, CSS `--color-tile-violet-ink`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Violet (#472A99):** Accent (CSS variable), seen 1 time. Token `secondary`, CSS `--color-primary-700`.
- **Dark Violet (#382080):** Accent (CSS variable). Token `tertiary`.

## Typography

**Inter** carries the whole interface. Fallback stack: `Inter, ui-sans-serif, system-ui, -apple-system`.

- **headline-display:** Inter 48px at weight 700, line height 1.25 (36px on mobile). Page title (h1).
- **headline-lg:** Inter 30px at weight 700, line height 1.2. Section headings (h2).
- **body-md:** Inter 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Inter 18px at weight 600, line height 1.56. Lead paragraphs.
- **body-sm:** Inter 14px at weight 400, line height 1.43. Secondary and small text.
- **label-lg:** Inter 16px at weight 600, line height 1.5. Large buttons and tabs.
- **label-md:** Inter 14px at weight 500, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Inter 12px at weight 600, line height 1.33. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (89% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 2px, sm 8px, md 16px, lg 24px, xl 64px.
- **Sections:** 64px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1152px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`

## Shapes

Most elements use 16px corners. Measured radii, most used first:

- **lg (16px):** 72 elements.
- **md (12px):** 12 elements.
- **sm (8px):** 8 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Get started”):** #5936B4 fill, #FFFFFF text, 14px/600, 8px radius, padding 8px 16px.
- **button-outline (“Log in”):** #FFFFFF fill, #1E1B4B text, 16px/600, 12px radius, padding 12px 24px, border 1px solid #CAD5E2.
- **card:** #E3F5F0 fill, #1E1B4B text, 16px/400, 16px radius, padding 24px.

## Do's and Don'ts

- Do use #F7F8FC for the page and lift surfaces in small steps: #F7F8FCE6, #FFF8DC, #FFF0E5, #FFFFFF.
- Do keep text in 4 levels: #1E1B4B, #314158, #45556C, #62748E.
- Do reserve #5936B4 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 16px, 24px).
- Do use 16px corners on most elements; larger surfaces also use 12px and 8px.
- Don't use #62748E for body text; it reaches 4.49:1 on #F7F8FC. Keep it for large text or metadata.
- Don't introduce new font families beyond Inter.
- Don't use #5936B4 for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.

## Motion

Interface transitions are quick: 0.2s.

- **Easing:** `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/schoolpilot.sbs/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
