# Shiori — Design Reference
> quiet greyscale desk with one warm ember

**Source:** https://www.shiori.sh  
**Theme:** light  
**Category:** Productivity  
**Mood:** light, minimal, precise, monochrome, technical, airy  
**Captured:** 2026-10-26

## Overview

A near-white, systems-grade product page that behaves like a native macOS app brochure. Everything is neutral — paper-white grounds, hairline borders, greyscale type in four fixed steps — so the only colour in the whole page is a single warm orange sphere used as the mark. Density is app-like rather than marketing-like: 40px buttons, 32px inputs, 8px radii, 16px gaps, and a large interface screenshot that reads as the real product rather than an illustration.

It is achieved with Inter Variable at 400/500/600 only, tight negative tracking on headings (-0.6px to -0.9px) and generous 1.75 line-height on long-form body copy. Colour comes from a strict OKLCH neutral ramp (99.11% ground, 97% subtle fill, 92.2% hairline, 55.6% muted text, 14.5% ink) with no tint anywhere except the logo gradient and one slate-filled button. Depth is faked with Apple-style control shadows: a 0.5px ring, a 1–2px drop, and a white inset highlight along the top edge — never a soft blurred card shadow.

## Tokens — Colors

| Name | Value | Token | Role |
|---|---|---|---|
| Paper | `#fcfcfc` | `--color-background` | Page ground on every route; also the nav bar fill and the elevated panel base. |
| Chalk | `#f5f5f5` | `--color-surface-secondary` | Subtle fills: summary blocks, pricing column backgrounds, code blocks, input fields, selected list rows. |
| Hairline | `#e5e5e5` | `--color-border` | All 1px and 0.5px dividers, card outlines, table rules, table-of-contents separators. |
| Fog | `#d4d4d4` | `--color-surface-quaternary` | Scrollbars, inactive control fills, heavier separators inside the app screenshot. |
| Ash | `#a3a3a3` | `--color-text-quaternary` | Placeholder text, disabled labels ('Add feed', 'New tag'), shadow colour source. |
| Slate Text | `#737373` | `--color-text-tertiary` | Section eyebrows, metadata, secondary icon colour, FAQ chevrons. |
| Graphite | `#525252` | `--color-text-secondary` | Lead paragraphs under headings and card descriptions; also the 20% ring in control shadows. |
| Ink | `#0a0a0a` | `--color-foreground` | Headings, body text, and the fill of the primary CTA and auth buttons. |
| Ember | `#ff6a00` | `--color-brand` | Logo sphere gradient base; the single chromatic element on the site. |
| Ember Light | `#ff9f1c` | `--color-brand-highlight` | Top-light of the logo gradient sphere and the Pro plan icon. |
| Tint Slate | `#8c91a0` | `--color-tint` | --color-tint: the filled 'Get Pro' button background with white label. |

### Semantic roles

| Role | Value |
|---|---|
| background | `#fcfcfc` |
| surface | `#f5f5f5` |
| surface raised | `#ffffff` |
| border | `#e5e5e5` |
| text | `#0a0a0a` |
| text muted | `#737373` |
| primary | `#0a0a0a` |
| primary text | `#ffffff` |
| accent | `#ff6a00` |

## Tokens — Typography

- **Display:** Inter (500, 600) — fallbacks: Inter Variable, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif. Headings use 500 for marketing lines and 600 for page titles and doc headings; always with negative tracking.
- **Body:** Inter (400, 500) — fallbacks: Inter Variable, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif. 400 for prose and lists, 500 for UI labels, buttons, table headers and inline emphasis.
- **Mono:** ui-monospace (400, 500) — fallbacks: SF Mono, Menlo, JetBrains Mono, monospace. Inline code tokens (whoami, /mcp, content_length) and the CLI/URL copy blocks in docs.

| Role | Size | Line height | Weight | Letter spacing | Family |
|---|---|---|---|---|---|
| Display / H1 | 36px | 1.11 | 500 | -0.7px | display |
| Page Title | 36px | 1.11 | 600 | -0.9px | display |
| Lead | 30px | 1.2 | 500 | -0.4px | display |
| H2 | 24px | 1.33 | 600 | -0.6px | display |
| H3 / Section | 20px | 1.33 | 600 | normal | display |
| Card Title | 18px | 1.56 | 500 | normal | body |
| Body | 16px | 1.75 | 400 | normal | body |
| UI Label / Button | 14px | 1.5 | 500 | normal | body |
| Mono / Caption | 13px | 1.5 | 500 | normal | mono |

## Tokens — Spacing & Layout

- **Base unit:** 4px
- **Density:** comfortable
- **Container max width:** 1280px
- **Section gap:** 128px
- **Card padding:** 24px
- **Scale:** 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px, 48px, 64px, 96px, 128px

## Tokens — Radius

| Element | Value |
|---|---|
| Small controls, icon tiles, list rows | 4px |
| Compact buttons, code chips, segmented control | 6px |
| Buttons, inputs, popovers | 8px |
| Cards, pricing columns, summary blocks | 12px |
| App screenshot frame | 16px |
| Logo sphere, avatars | 9999px |

## Tokens — Shadows

| Name | Value | Usage |
|---|---|---|
| control | `0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 1px -1px rgba(64,64,64,0.1), 0 2px 2px -1px rgba(64,64,64,0.06), inset 0 1px 0 rgba(253,253,253,0.7)` | Default for white buttons, segmented toggles and cards — a hairline ring plus a top inset highlight. |
| control-filled | `0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 2px rgba(64,64,64,0.1), inset 0 0.5px 0 rgba(253,253,253,0.16)` | Filled buttons (black CTA, slate 'Get Pro') — same ring, dimmer inset. |
| lift | `0 10px 15px -3px rgba(163,163,163,0.25), 0 4px 6px -4px rgba(163,163,163,0.25)` | Hero CTA group and raised popovers; grey-tinted, never black. |
| screenshot | `0 4px 24px rgba(212,212,212,0.4)` | The large product screenshot frame floating on the paper ground. |
| hairline | `0 0 0 0.5px #e7e7e7` | Flat bordered containers where no elevation is wanted (code blocks, tables). |

## Components

### Primary button (button)

| Property | Value |
|---|---|
| background | `#0a0a0a` |
| color | `#ffffff` |
| border | `none` |
| radius | `8px` |
| padding | `0 16px` |
| font size | `14px` |
| font weight | `500` |
| shadow | `0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 2px rgba(64,64,64,0.1), inset 0 0.5px 0 rgba(253,253,253,0.16)` |
| hover | `background lightens to #252525; shadow unchanged` |

Fixed 40px height, single word or short phrase ('Start for free'). Auth buttons use the same fill full-width with a leading brand glyph.

### Secondary button (button)

| Property | Value |
|---|---|
| background | `#ffffff` |
| color | `#0a0a0a` |
| border | `none (ring via shadow)` |
| radius | `8px` |
| padding | `0 16px` |
| font size | `14px` |
| font weight | `500` |
| shadow | `0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 1px -1px rgba(64,64,64,0.1), 0 2px 2px -1px rgba(64,64,64,0.06), inset 0 1px 0 rgba(253,253,253,0.7)` |
| hover | `background #f5f5f5` |

40px tall; may carry a 16px monochrome icon at 8px gap ('Copy setup prompt'). Sits beside the primary with 8px gap.

### Compact toggle / chip (button)

| Property | Value |
|---|---|
| background | `#ffffff` |
| color | `#0a0a0a` |
| border | `none` |
| radius | `6px` |
| padding | `4px 10px` |
| font size | `13px` |
| font weight | `500` |
| shadow | `0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 2px rgba(64,64,64,0.1)` |
| hover | `background #f5f5f5` |

28px tall. Used for the Reader/Original segmented control and the 'Copy' affordance inside code blocks; the inactive half is transparent with #737373 text.

### Text input (input)

| Property | Value |
|---|---|
| background | `#f5f5f5` |
| color | `#0a0a0a` |
| border | `1px solid #e5e5e5` |
| radius | `8px` |
| padding | `0 12px` |
| font size | `13px` |
| font weight | `400` |
| shadow | `none` |
| hover | `border #d4d4d4; focus ring 0 0 0 2px rgba(10,10,10,0.12)` |

32px tall, flat grey well with #a3a3a3 placeholder and no elevation — deliberately recessed against raised buttons.

### Feature / pricing card (card)

| Property | Value |
|---|---|
| background | `#fcfcfc` |
| color | `#0a0a0a` |
| border | `1px solid #e5e5e5` |
| radius | `12px` |
| padding | `24px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `background #f5f5f5` |

Pricing columns share one rounded container split by vertical hairlines; the middle/right columns tint to #f5f5f5. Feature items are borderless: 20px icon, 18px/500 title, 16px/#737373 description.

### Minimal nav (nav)

| Property | Value |
|---|---|
| background | `#fcfcfc` |
| color | `#0a0a0a` |
| border | `none` |
| radius | `0` |
| padding | `0 24px` |
| font size | `14px` |
| font weight | `500` |
| shadow | `none` |
| hover | `background rgba(10,10,10,0.08) on the Sign in pill` |

44px sticky bar with no border and no backdrop blur: logo sphere left, a single secondary 'Sign in' button right. On the homepage the nav is absent entirely — the logo opens the hero.

### Logo sphere (other)

| Property | Value |
|---|---|
| background | `radial-gradient(circle at 35% 25%, #ff9f1c, #ff6a00 70%)` |
| color | `transparent` |
| border | `none` |
| radius | `9999px` |
| padding | `0` |
| font size | `0` |
| font weight | `400` |
| shadow | `none` |
| hover | `none` |

44px on the hero, 24px in the nav/footer. The only saturated element on the page — never recolour it or add a second chromatic accent.

## Layout

Single centred column on a 1280px max container, but content is set far narrower (~640–720px) and left-aligned within it, so the page reads like a document rather than a landing grid. The hero is text-left at the container's inner edge with the logo sphere above the headline, CTA row beneath, and a full-bleed app screenshot card below. Feature sections run as a two-column 16px-gap list of icon + title + one-line description; pricing is a single bordered strip divided into three hairline-separated columns; docs and changelog are one narrow prose column with 20px/600 section headings and 1.75 line-height body. Sections are separated by 96–128px of empty paper.

## Imagery

No photography or illustration. The only visuals are the product itself: a high-fidelity three-pane app screenshot (sidebar / inbox list / reader) rendered at real scale with its own 16px frame and grey screenshot shadow, plus 16–20px monochrome line icons and real service favicons (X, YouTube, Notion, Chrome) kept at native colour inside 20px rounded tiles. Keep all decorative chrome greyscale so the orange sphere stays the single focal point.

## Motion

Near-static. Transitions are limited to 120–150ms background and shadow changes on hover for buttons and list rows, and a height/chevron rotation on FAQ accordions. No scroll-triggered reveals, parallax or gradient animation.

## Responsive

At phone widths the top bar disappears entirely on the homepage — the logo sphere simply sits at the top-left of the hero with no hamburger or drawer; on docs and changelog the 44px bar keeps just the logo and a single 'Sign in' pill, so no menu overlay exists. Type scales up relative to the viewport rather than down: the hero headline stays large (≈36px) over four lines and the lead paragraph stays at 30px/1.2, both left-aligned with ~24px side gutters. The CTA row wraps instead of shrinking — 'Start for free' and 'Download' share the first line, 'Copy setup prompt' drops to a second line, all buttons keeping their 40px height and intrinsic width rather than going full-bleed. The two-column feature grid collapses to one column, pricing columns stack into three separate bordered cards, and section gaps compress from 128px to roughly 64–80px. The app screenshot crops at the right edge and scrolls inside its own rounded frame, showing only the inbox list pane.

## Do

- Keep the whole page greyscale and let the orange logo sphere be the only saturated pixel.
- Build elevation from the Apple-style control shadow — 0.5px ring + 1–2px drop + white top inset — not from blurred black drop shadows.
- Use the fixed text ramp: #0a0a0a for headings and body, #525252 for leads, #737373 for metadata, #a3a3a3 for placeholders.
- Apply negative tracking (-0.6px to -0.9px) to anything 24px and above; leave 20px and below at normal.
- Set long-form prose at 16px/1.75 in a ~640px column and separate sections with 96–128px of blank ground.
- Recess inputs (flat #f5f5f5 well) while raising buttons (white with ring) so the hierarchy reads at a glance.

## Don't

- Don't introduce a second accent hue — no blue links, no coloured badges, no success-green ticks (checkmarks stay #0a0a0a).
- Don't use large soft black shadows or glassy backdrop blur on the nav; the bar is flat #fcfcfc with no border.
- Don't centre body copy or stretch text past ~720px; the hero and docs are left-aligned narrow columns.
- Don't go above weight 600 or below 400 — no bold 700 headlines, no thin text.
- Don't round cards past 12px or buttons past 8px; only the logo and avatars are circular.
- Don't replace the product screenshot with abstract illustration or 3D render — the UI is the imagery.

## Agent prompt

> Build a near-white, native-app-feeling product page: ground #fcfcfc, subtle fills #f5f5f5, hairlines #e5e5e5, text ramp #0a0a0a / #525252 / #737373 / #a3a3a3, and exactly one chromatic element — a circular logo sphere with radial-gradient(circle at 35% 25%, #ff9f1c, #ff6a00 70%), 44px in the hero and 24px in the nav. Type is Inter Variable only (400/500/600) with ui-monospace for code: hero H1 36px/1.11 weight 500 at -0.7px tracking, doc titles 36px/600 at -0.9px, lead 30px/1.2 weight 500 at -0.4px in #525252, H2 24px/600 at -0.6px, section H3 20px/600, card titles 18px/500, body 16px/1.75 weight 400, UI labels 14px/500, chips and inputs 13px. Layout: 1280px container but content set left-aligned in a ~640–720px column, 128px between sections, 4px spacing base with 8/16/24/48/64 steps. Radii 4px (chips, rows), 6px (compact toggles), 8px (buttons, inputs, popovers), 12px (cards), 16px (screenshot frame), full for the logo. Primary button: #0a0a0a fill, white 14px/500 label, 40px tall, 0 16px padding, radius 8px, shadow 0 0 0 .5px rgba(82,82,82,.2), 0 1px 2px rgba(64,64,64,.1), inset 0 .5px 0 rgba(253,253,253,.16). Secondary: white fill, same metrics, shadow 0 0 0 .5px rgba(82,82,82,.2), 0 1px 1px -1px rgba(64,64,64,.1), inset 0 1px 0 rgba(253,253,253,.7), hover #f5f5f5. Inputs are recessed: 32px tall, #f5f5f5 fill, 1px #e5e5e5 border, radius 8px, #a3a3a3 placeholder, no shadow. Nav is a 44px flat #fcfcfc sticky bar with logo left and a single 'Sign in' secondary pill right — no hamburger on mobile. Hero: sphere, headline, lead, a wrapping button row, then a real three-pane app screenshot in a 16px-radius frame with shadow 0 4px 24px rgba(212,212,212,.4). Features are a two-column icon + 18px title + 16px #737373 description list; pricing is one bordered strip split by vertical hairlines. Motion limited to 120ms hover background/shadow changes. No second accent colour, no blurred black shadows, no illustration.

## CSS custom properties

```css
/* Shiori — CSS custom properties. Generated from style.json */
:root {
  /* Palette */
  --color-background: #fcfcfc; /* Page ground on every route; also the nav bar fill and the elevated panel base. */
  --color-surface-secondary: #f5f5f5; /* Subtle fills: summary blocks, pricing column backgrounds, code blocks, input fields, selected list rows. */
  --color-border: #e5e5e5; /* All 1px and 0.5px dividers, card outlines, table rules, table-of-contents separators. */
  --color-surface-quaternary: #d4d4d4; /* Scrollbars, inactive control fills, heavier separators inside the app screenshot. */
  --color-text-quaternary: #a3a3a3; /* Placeholder text, disabled labels ('Add feed', 'New tag'), shadow colour source. */
  --color-text-tertiary: #737373; /* Section eyebrows, metadata, secondary icon colour, FAQ chevrons. */
  --color-text-secondary: #525252; /* Lead paragraphs under headings and card descriptions; also the 20% ring in control shadows. */
  --color-foreground: #0a0a0a; /* Headings, body text, and the fill of the primary CTA and auth buttons. */
  --color-brand: #ff6a00; /* Logo sphere gradient base; the single chromatic element on the site. */
  --color-brand-highlight: #ff9f1c; /* Top-light of the logo gradient sphere and the Pro plan icon. */
  --color-tint: #8c91a0; /* --color-tint: the filled 'Get Pro' button background with white label. */

  /* Semantic roles */
  --background: #fcfcfc;
  --surface: #f5f5f5;
  --surface-raised: #ffffff;
  --border: #e5e5e5;
  --text: #0a0a0a;
  --text-muted: #737373;
  --primary: #0a0a0a;
  --primary-text: #ffffff;
  --accent: #ff6a00;

  /* Typography */
  --font-display: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, 'JetBrains Mono', monospace;
  --text-display-h1: 36px;
  --text-display-h1--line-height: 1.11;
  --text-display-h1--letter-spacing: -0.7px;
  --text-display-h1--font-weight: 500;
  --text-page-title: 36px;
  --text-page-title--line-height: 1.11;
  --text-page-title--letter-spacing: -0.9px;
  --text-page-title--font-weight: 600;
  --text-lead: 30px;
  --text-lead--line-height: 1.2;
  --text-lead--letter-spacing: -0.4px;
  --text-lead--font-weight: 500;
  --text-h2: 24px;
  --text-h2--line-height: 1.33;
  --text-h2--letter-spacing: -0.6px;
  --text-h2--font-weight: 600;
  --text-h3-section: 20px;
  --text-h3-section--line-height: 1.33;
  --text-h3-section--letter-spacing: normal;
  --text-h3-section--font-weight: 600;
  --text-card-title: 18px;
  --text-card-title--line-height: 1.56;
  --text-card-title--letter-spacing: normal;
  --text-card-title--font-weight: 500;
  --text-body: 16px;
  --text-body--line-height: 1.75;
  --text-body--letter-spacing: normal;
  --text-body--font-weight: 400;
  --text-ui-label-button: 14px;
  --text-ui-label-button--line-height: 1.5;
  --text-ui-label-button--letter-spacing: normal;
  --text-ui-label-button--font-weight: 500;
  --text-mono-caption: 13px;
  --text-mono-caption--line-height: 1.5;
  --text-mono-caption--letter-spacing: normal;
  --text-mono-caption--font-weight: 500;

  /* Spacing */
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 12px;
  --space-6: 16px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 96px;
  --space-12: 128px;
  --container: 1280px;
  --section-gap: 128px;

  /* Radius */
  --radius-small-controls-icon-tiles-list-rows: 4px;
  --radius-compact-buttons-code-chips-segmented-control: 6px;
  --radius-buttons-inputs-popovers: 8px;
  --radius-cards-pricing-columns-summary-blocks: 12px;
  --radius-app-screenshot-frame: 16px;
  --radius-logo-sphere-avatars: 9999px;

  /* Shadows */
  --shadow-control: 0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 1px -1px rgba(64,64,64,0.1), 0 2px 2px -1px rgba(64,64,64,0.06), inset 0 1px 0 rgba(253,253,253,0.7);
  --shadow-control-filled: 0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 2px rgba(64,64,64,0.1), inset 0 0.5px 0 rgba(253,253,253,0.16);
  --shadow-lift: 0 10px 15px -3px rgba(163,163,163,0.25), 0 4px 6px -4px rgba(163,163,163,0.25);
  --shadow-screenshot: 0 4px 24px rgba(212,212,212,0.4);
  --shadow-hairline: 0 0 0 0.5px #e7e7e7;
}
```

## Tailwind v4 theme

```css
/* Shiori — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
  --color-background: #fcfcfc;
  --color-surface-secondary: #f5f5f5;
  --color-border: #e5e5e5;
  --color-surface-quaternary: #d4d4d4;
  --color-text-quaternary: #a3a3a3;
  --color-text-tertiary: #737373;
  --color-text-secondary: #525252;
  --color-foreground: #0a0a0a;
  --color-brand: #ff6a00;
  --color-brand-highlight: #ff9f1c;
  --color-tint: #8c91a0;
  --color-background: #fcfcfc;
  --color-surface: #f5f5f5;
  --color-surface-raised: #ffffff;
  --color-border: #e5e5e5;
  --color-text: #0a0a0a;
  --color-text-muted: #737373;
  --color-primary: #0a0a0a;
  --color-primary-text: #ffffff;
  --color-accent: #ff6a00;
  --font-display: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, 'JetBrains Mono', monospace;
  --text-display-h1: 36px;
  --text-display-h1--line-height: 1.11;
  --text-display-h1--letter-spacing: -0.7px;
  --text-display-h1--font-weight: 500;
  --text-page-title: 36px;
  --text-page-title--line-height: 1.11;
  --text-page-title--letter-spacing: -0.9px;
  --text-page-title--font-weight: 600;
  --text-lead: 30px;
  --text-lead--line-height: 1.2;
  --text-lead--letter-spacing: -0.4px;
  --text-lead--font-weight: 500;
  --text-h2: 24px;
  --text-h2--line-height: 1.33;
  --text-h2--letter-spacing: -0.6px;
  --text-h2--font-weight: 600;
  --text-h3-section: 20px;
  --text-h3-section--line-height: 1.33;
  --text-h3-section--letter-spacing: normal;
  --text-h3-section--font-weight: 600;
  --text-card-title: 18px;
  --text-card-title--line-height: 1.56;
  --text-card-title--letter-spacing: normal;
  --text-card-title--font-weight: 500;
  --text-body: 16px;
  --text-body--line-height: 1.75;
  --text-body--letter-spacing: normal;
  --text-body--font-weight: 400;
  --text-ui-label-button: 14px;
  --text-ui-label-button--line-height: 1.5;
  --text-ui-label-button--letter-spacing: normal;
  --text-ui-label-button--font-weight: 500;
  --text-mono-caption: 13px;
  --text-mono-caption--line-height: 1.5;
  --text-mono-caption--letter-spacing: normal;
  --text-mono-caption--font-weight: 500;
  --radius-small-controls-icon-tiles-list-rows: 4px;
  --radius-compact-buttons-code-chips-segmented-control: 6px;
  --radius-buttons-inputs-popovers: 8px;
  --radius-cards-pricing-columns-summary-blocks: 12px;
  --radius-app-screenshot-frame: 16px;
  --radius-logo-sphere-avatars: 9999px;
  --shadow-control: 0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 1px -1px rgba(64,64,64,0.1), 0 2px 2px -1px rgba(64,64,64,0.06), inset 0 1px 0 rgba(253,253,253,0.7);
  --shadow-control-filled: 0 0 0 0.5px rgba(82,82,82,0.2), 0 1px 2px rgba(64,64,64,0.1), inset 0 0.5px 0 rgba(253,253,253,0.16);
  --shadow-lift: 0 10px 15px -3px rgba(163,163,163,0.25), 0 4px 6px -4px rgba(163,163,163,0.25);
  --shadow-screenshot: 0 4px 24px rgba(212,212,212,0.4);
  --shadow-hairline: 0 0 0 0.5px #e7e7e7;
  --container-site: 1280px;
}
```

## Theme tokens — light + dark

The shadcn-named layer DevDojo Sites speaks (`bg-background`, `text-foreground`, `bg-primary`, `rounded-medium`…). Paste into site.css after `@import "tailwindcss"` to restyle any site in this look.

```css
/* Shiori — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: estimated — the site has no dark scheme, so the .dark half is a plausible twin of its palette. */
@custom-variant dark (&:where(.dark, .dark *));

:root {
    color-scheme: light;

    --background: #fcfcfc;
    --foreground: #0a0a0a;
    --card: #ffffff; /* estimated */
    --card-foreground: #0a0a0a;
    --popover: #ffffff; /* estimated */
    --popover-foreground: #0a0a0a;
    --primary: #0a0a0a;
    --primary-foreground: #ffffff;
    --secondary: #f5f5f5;
    --secondary-foreground: #0a0a0a;
    --muted: #f5f5f5;
    --muted-foreground: #737373;
    --accent: #fff1e3; /* estimated */
    --accent-foreground: #ff6a00; /* estimated */
    --destructive: #e5484d; /* estimated */
    --destructive-foreground: #ffffff; /* estimated */
    --border: #e5e5e5;
    --input: #e5e5e5;
    --ring: #0a0a0a; /* estimated */

    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 12px;
    --radius: var(--radius-medium);

    --font-display: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, 'JetBrains Mono', monospace;
}

.dark {
    color-scheme: dark;
    /* estimated from the light palette */

    --background: #0a0a0a;
    --foreground: #fcfcfc;
    --card: #141414;
    --card-foreground: #fcfcfc;
    --popover: #141414;
    --popover-foreground: #fcfcfc;
    --primary: #fcfcfc;
    --primary-foreground: #0a0a0a;
    --secondary: #1c1c1c;
    --secondary-foreground: #fcfcfc;
    --muted: #1c1c1c;
    --muted-foreground: #a3a3a3;
    --accent: #2a1708;
    --accent-foreground: #ff9f1c;
    --destructive: #e5484d;
    --destructive-foreground: #ffffff;
    --border: rgba(255,255,255,0.10);
    --input: rgba(255,255,255,0.10);
    --ring: #fcfcfc;
}

@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --radius-small: var(--radius-small);
    --radius-medium: var(--radius-medium);
    --radius-large: var(--radius-large);
    --font-display: var(--font-display);
    --font-body: var(--font-body);
    --font-mono: var(--font-mono);
}
```
