Body content here.
-
- Welcome
-
- Introduction paragraph with secondary styling.
-
-
-
-
-
Left Column
-
-
-
Right Column
-
-
-
-```
-
-## Dark Mode
-
-### How Dark Mode Works
-
-Dark mode is triggered by the `data-dark-mode="true"` attribute on the `` element:
-
-```scss
-html[data-dark-mode='true'] {
- --color-bg-primary: color-mix(in srgb, var(--color-gray-800), var(--color-gray-900) 50%);
- --color-fg-primary: var(--color-white);
- // ... other overrides
-}
-```
-
-### Dark Mode in SCSS Modules
-
-Use the `$selector-darkmode` SCSS variable for dark mode overrides in component styles:
-
-```scss
-.myElement {
- background-color: var(--color-bg-primary);
-
- #{$selector-darkmode} & {
- background-color: var(--color-bg-secondary);
- }
-}
-```
-
-### Key Dark Mode Colours
-
-| Semantic Variable | Light Mode | Dark Mode |
-| -------------------------- | ---------- | ---------------------------------------- |
-| `--color-bg-primary` | `#ffffff` | Mix of `#182230` + `#101828` |
-| `--color-bg-secondary` | `#f9fafb` | `#344054` |
-| `--color-bg-tertiary` | `#f2f4f7` | `#182230` |
-| `--color-fg-primary` | `#101828` | `#ffffff` |
-| `--color-fg-secondary` | `#344054` | `#d0d5dd` |
-| `--color-border-primary` | `#d0d5dd` | `#344054` |
-| `--color-border-secondary` | `#eaecf0` | Mix of `#344054` + bg-primary |
-| `--color-link` | `#0e4491` | `#a9c5ec` |
-
-### Detecting Dark Mode in JavaScript
-
-```typescript
-// Check data attribute (preferred)
-const isDark = document.documentElement.getAttribute('data-dark-mode') === 'true';
-
-// Or check for dark mode class (fallback)
-const isDark = document.documentElement.classList.contains('dark');
-```
-
-### Creating Theme-Aware Components
-
-Use CSS custom properties that react to `data-dark-mode`:
-
-```css
-/* Define variables for both modes */
-:root {
- --my-component-bg: #ffffff;
- --my-component-text: #101828;
-}
-
-[data-dark-mode='true'] {
- --my-component-bg: #182230;
- --my-component-text: #d0d5dd;
-}
-
-/* Use variables in component */
-.my-component {
- background: var(--my-component-bg);
- color: var(--my-component-text);
-}
-```
-
-This approach ensures instant theme switching without JavaScript re-rendering.
-
-## Semantic Colour Categories
-
-### Background Colours (`--color-bg-*`)
-
-- `--color-bg-primary`: Main content background
-- `--color-bg-secondary`: Secondary/elevated surfaces
-- `--color-bg-tertiary`: Subtle backgrounds
-- `--color-bg-toolbar`: Toolbar backgrounds
-- `--color-bg-code`: Code block backgrounds
-
-### Foreground/Text Colours (`--color-fg-*`)
-
-- `--color-fg-primary`: Primary text
-- `--color-fg-secondary`: Secondary/muted text
-- `--color-fg-tertiary`: Subtle text
-- `--color-fg-disabled`: Disabled state text
-
-### Border Colours (`--color-border-*`)
-
-- `--color-border-primary`: Primary borders
-- `--color-border-secondary`: Subtle borders
-- `--color-border-tertiary`: Very subtle borders
-
-### Link Colours (`--color-link*`)
-
-- `--color-link`: Default link colour
-- `--color-link-hover`: Link hover state
-
-## Design Tokens Reference
-
-### Spacing (SCSS variables from `core/_variables.scss`)
-
-| Variable | Value |
-|----------|-------|
-| `$spacing-size-1` | 4px |
-| `$spacing-size-2` | 8px |
-| `$spacing-size-3` | 12px |
-| `$spacing-size-4` | 16px |
-| `$spacing-size-5` | 20px |
-| `$spacing-size-6` | 24px |
-| `$spacing-size-8` | 32px |
-| `$spacing-size-10` | 40px |
-| `$spacing-size-12` | 48px |
-| `$spacing-size-16` | 64px |
-| `$spacing-size-20` | 80px |
-| `$spacing-size-24` | 96px |
-
-### Breakpoints (SCSS variables from `core/_breakpoints.scss`)
-
-| Variable | Value | Use For |
-|----------|-------|---------|
-| `$breakpoint-hero-small` | 620px | Small hero layouts |
-| `$breakpoint-hero-large` | 1020px | Large hero layouts |
-| `$breakpoint-landing-page-medium` | 1020px | Landing pages |
-| `$breakpoint-docs-nav-medium` | 1052px | Docs navigation |
-| `$breakpoint-pricing-small` | 620px | Pricing page |
-| `$breakpoint-pricing-medium` | 820px | Pricing page |
-| `$breakpoint-pricing-large` | 1260px | Pricing page |
-
-### Typography (CSS variables from `_root.scss`)
-
-| Variable | Value |
-|----------|-------|
-| `--text-fs-2xs` | 10px |
-| `--text-fs-xs` | 12px |
-| `--text-fs-sm` | 14px |
-| `--text-fs-base` | 16px |
-| `--text-fs-lg` | 20px |
-| `--text-fs-xl` | 24px |
-| `--text-fs-2xl` | 32px |
-| `--text-fs-3xl` | 40px |
-| `--text-lh-tight` | 1.2 |
-| `--text-regular` | 400 |
-| `--text-semibold` | 600 |
-| `--text-bold` | 700 |
-
-### Layout (CSS variables from `_root.scss`)
-
-| Variable | Description |
-|----------|-------------|
-| `--layout-gap` | Grid gap (32px) |
-| `--layout-max-width` | Max page width (1800px) |
-| `--layout-max-width-small` | Narrow content width (1240px) |
-| `--layout-horizontal-margins` | Side margins |
-
-### Border Radius
-
-- `--radius-xs` (4px), `--radius-sm` (6px), `--radius-md` (8px), `--radius-lg` (10px), `--radius-xl` (12px), `--radius-2xl` (16px)
-
-### Shadows
-
-- `--shadow-xs`, `--shadow-sm`, `--shadow-md`, `--shadow-lg`, `--shadow-xl`, `--shadow-2xl`
-
-## Creating Custom Page Styles
-
-Only create custom styles when standard classes don't meet your needs. Create SCSS modules in `packages/