# Custom stylesheets

## Overview

A Space can carry its own stylesheets. Garnet applies the one you select on top of your theme, so you can change spacing, widths, colours or type without waiting for a setting. Stylesheets are CSS only: no scripts, and nothing loaded from the internet.

The classes and variables on this page are the versioned public contract. Garnet keeps them stable across releases; anything else in the app's markup can change without notice.

## How the setting works

1. Open Settings › Appearance › Advanced › Custom stylesheet.
2. Select **New stylesheet** and give it a name ending in `.css`, or pick an existing file under **Stylesheet**.
3. Turn on **Use custom CSS**.

- **Where the files live:** stylesheets are ordinary `.css` files in the Space's `.garnet/styles/` folder. They travel with the Space when you copy its folder, and Garnet Sync carries them to your other devices. Restore Points do not hold them.
- **Starters:** Garnet adds `Starter.css`, `Midnight.css` and `Wide Space.css` to a Space that lacks them. Copy one to start your own.
- **Editing and reloading:** edit the file in any text editor. On desktop Garnet watches the selected file and reloads it when it changes. Where it cannot watch the file, Settings shows **Reload stylesheet**.
- **Status:** Settings shows whether the selected file is Valid, Invalid or not found, and lists what made it invalid.
- **Precedence:** Garnet's own CSS lives in cascade layers, and your stylesheet is added unlayered, so your rules win over Garnet's without `!important`.

## No remote resources

Garnet refuses any stylesheet that would load something from the network, to keep your Space local. It rejects:

- any `@import`;
- `url(…)`, and the string arguments of `src()`, `image-set()`, `image()`, `cross-fade()` and `element()`, unless they resolve to a relative path, a `#fragment` or a `data:` URL;
- `var()`, `env()` or `attr()` inside one of those functions.

Garnet adds the stylesheet to the app as inline CSS, so a relative path does not point into `.garnet/styles/`: embed a small image or font as a `data:` URL instead. When a file breaks these rules, the last valid version stays applied until you fix it. Garnet does not check CSS syntax: the browser skips rules it cannot read.

## When a stylesheet breaks the layout

Turn off **Use custom CSS** in Settings › Appearance › Advanced › Custom stylesheet. The file and your selection stay, and your theme and accent take over again. You can also search Settings for "css" to find the switch.

A stylesheet must not hide navigation, focus rings, confirmations for destructive actions, sign-in controls, or warnings such as sync conflicts and Doctor issues. Garnet may ignore a stylesheet's effect where it breaks accessibility or stability.

## Example

```css
/* A narrower reading column for Journal, and a quieter sidebar edge. */
.garnet-page-journal {
  --garnet-page-max-width: 48rem;
}

.garnet-shell-primary-rail {
  border-inline-end: 1px solid var(--garnet-color-border);
}

[data-mode="dark"] {
  --garnet-color-bg: oklch(0.18 0.01 260);
}
```

Prefer variables over long selectors, and leave the accent colour to the theme: it marks New, the selection and links, and tinting surfaces with `--garnet-color-primary` competes with those jobs.

## Root attributes

Garnet writes these on the `html` element, so you can scope rules to them.

| Attribute | Values |
| --- | --- |
| `data-theme` | `garnet`, `graphite`, `clarity` |
| `data-accent` | `amethyst`, `emerald`, `lapis`, `citrine`, `opal`, or `custom`; absent when the theme's own accent is used |
| `data-mode` | `light`, `dark` |
| `data-garnet-font-scale`, `data-garnet-editor-font-scale`, `data-garnet-editorial-font-scale` | `sm`, `base`, `lg`, `xl` |
| `data-garnet-density` | `comfortable`, `compact` |
| `data-garnet-radius` | `default`, `soft`, `rounded` |
| `data-garnet-contrast` | `soft`, `normal`, `high` |
| `data-garnet-motion` | `system`, `reduced` |
| `data-garnet-field-style` | `subtle`, `filled`, `glass` |
| `data-garnet-experience` | `calm`, `compact`, `large-text`, `custom` |
| `data-garnet-app-root` | `true` on the app's root |
| `data-window-active` | `true`, `false` while the window is in the background; macOS desktop app only |

## Variables

Read these with `var(--garnet-…)` and override them on `:root` or on a hook. A variable you leave unset keeps the theme's value.

### Colour

`--garnet-color-bg`, `--garnet-color-surface`, `--garnet-color-surface-elevated`, `--garnet-color-border`, `--garnet-color-text-primary`, `--garnet-color-text-secondary`, `--garnet-color-text-muted`, `--garnet-color-primary`, `--garnet-color-primary-text`, `--garnet-color-primary-hover`, `--garnet-color-primary-foreground`, `--garnet-color-accent`, `--garnet-color-accent-text`, `--garnet-color-accent-foreground`, `--garnet-color-destructive`, `--garnet-color-destructive-text`, `--garnet-color-destructive-foreground`, `--garnet-color-destructive-hover`, `--garnet-color-success`, `--garnet-color-success-text`, `--garnet-color-link`, `--garnet-opal-surface-gradient`, `--garnet-opal-surface-shadow`

The `-text` variants are readable inline text on a canvas; the `-foreground` variants are labels on a filled colour.

### Item type colours

`--garnet-type-journal`, `--garnet-type-note`, `--garnet-type-people`, `--garnet-type-life-event`, `--garnet-type-place`, `--garnet-type-task`, `--garnet-type-collection`

### Type

`--garnet-app-font-scale`, `--garnet-editor-font-scale`, `--garnet-editorial-font-scale`, `--garnet-font-ui`, `--garnet-font-editorial`, `--garnet-text-2xs`, `--garnet-text-3xs`, `--garnet-text-4xs`

### Spacing and controls

`--garnet-app-shell-content-padding`, `--garnet-app-shell-content-padding-desktop`, `--garnet-app-shell-bottom-nav-height`, `--garnet-app-shell-bottom-nav-offset`, `--garnet-window-controls-top`, `--garnet-safe-area-top`, `--garnet-safe-area-right`, `--garnet-safe-area-bottom`, `--garnet-safe-area-left`, `--garnet-ui-control-height-xs`, `--garnet-ui-control-height-sm`, `--garnet-ui-control-height-md`, `--garnet-ui-control-height-lg`, `--garnet-ui-control-padding-x-xs`, `--garnet-ui-control-padding-x-sm`, `--garnet-ui-control-padding-x-md`, `--garnet-ui-control-padding-x-lg`, `--garnet-ui-control-gap-sm`, `--garnet-ui-control-gap-md`, `--garnet-ui-panel-gap`, `--garnet-ui-panel-gap-sm`, `--garnet-ui-panel-padding`, `--garnet-ui-panel-padding-sm`, `--garnet-ui-menu-padding`, `--garnet-ui-menu-item-padding-x`, `--garnet-ui-menu-item-padding-y`

### Page layout

| Variable | Default and use |
| --- | --- |
| `--garnet-page-max-width` | `none`, so pages fill the window. Set it for a reading width. |
| `--garnet-page-padding` | Padding on every side of a page's content column. |
| `--garnet-page-surface` | `transparent`. The background behind a page's content column. |

### Corners

`--garnet-ui-radius-control`, `--garnet-ui-radius-panel`, `--garnet-ui-radius-panel-inner`, `--garnet-ui-radius-group`, `--garnet-ui-radius-inline`

### Layers and shadows

`--garnet-z-base`, `--garnet-z-raised`, `--garnet-z-sidebar`, `--garnet-z-dropdown`, `--garnet-z-modal`, `--garnet-z-modal-nested`, `--garnet-z-modal-deep`, `--garnet-z-modal-menu`, `--garnet-z-command`, `--garnet-z-command-nested`, `--garnet-z-tooltip`, `--garnet-z-app-lock`, `--garnet-z-skip-link`, `--garnet-shadow-card`, `--garnet-shadow-panel`, `--garnet-shadow-overlay`

`--garnet-shadow-card` is `none` by design: cards sit on the canvas.

### Deprecated

These still work for one release as aliases, then are removed. Use the variable in the second column.

| Deprecated | Use instead |
| --- | --- |
| `--garnet-color-sidebar-accent`, `--garnet-graph-node-color`, `--garnet-heatmap-3` | `--garnet-color-primary` |
| `--garnet-heatmap-4` | `--garnet-color-primary-hover` |
| `--garnet-heatmap-0` | `--garnet-color-surface-elevated` |
| `--garnet-heatmap-1`, `--garnet-heatmap-2` | a mix of `--garnet-color-surface-elevated` and `--garnet-color-primary` |
| `--garnet-color-chip-event-bg`, `--garnet-color-chip-memory-bg`, `--garnet-color-chip-note-bg`, `--garnet-color-chip-people-bg`, `--garnet-color-chip-spending-bg`, `--garnet-color-chip-tracking-bg` | `--garnet-color-surface-elevated` |
| `--garnet-color-chip-event-text`, `--garnet-color-chip-memory-text`, `--garnet-color-chip-note-text`, `--garnet-color-chip-people-text`, `--garnet-color-chip-spending-text`, `--garnet-color-chip-tracking-text` | `--garnet-color-text-secondary` |

## Hook catalog

Every `garnet-*` class below is a stable hook: Garnet keeps the name while the element keeps its role, even when its look changes. One element can carry several hooks, such as `garnet-button garnet-shell-new-trigger`. A few hooks mark garnet.md website, account or share pages rather than the app; a Space stylesheet applies only inside the Garnet app, so those never match there.

There are four tiers:

- **Regions:** page roots, shells, panels and list and detail containers.
- **Components:** shared controls and surfaces.
- **Elements:** meaningful parts of a page.
- **Internal-stable:** styleable and not renamed casually, but tied to how something is built (for example the CodeMirror editor), so they can change when that dependency forces it.

Many hooks also carry `data-*` attributes for their state, such as `data-state` or `data-pinned`.

### Region hooks

| Hook | What it marks |
| --- | --- |
| `garnet-account-auth` | The narrow one-task Account website panel for log in, registration, recovery, two-factor and desktop authorization. |
| `garnet-account-portal` | The signed-in Account website: identity header, section rail and grouped sections. |
| `garnet-analytics-consent-renewal` | The one-time card in the shell's top slot, while a Space is open, that asks someone whose analytics yes was given under an earlier consent notice whether to keep sharing: the short notice with What's sent, No thanks, Keep sharing, and close (2026-11-25). |
| `garnet-app-lock-screen` | App lock screen over the whole app: passcode, biometric unlock, wrong-passcode wait. |
| `garnet-app-privacy-cover` | Plain cover shown while Garnet is in the background, so the app switcher shows no content. |
| `garnet-app-shell` | Product application shell root. |
| `garnet-archived-items` | Archived Items list with an Unarchive control per row; the Notes Archived view. |
| `garnet-area-command-bar` | Always-visible Area or list command bar: search, filter, view, and primary action. The page's one pinned controller: it holds at the top of the scroll port while the list moves beneath it, unless it carries `data-pinned="false"`. |
| `garnet-area-empty-state` | Shared empty work surface under the command bar. |
| `garnet-area-off-item-banner` | Notice on an Item whose Area is Off, with Turn on; the Item stays readable and editable. |
| `garnet-area-off-notice` | Notes notice counting Items that belong to Off Areas, with Turn on and a filter for them. |
| `garnet-area-off-page` | Shown on an Off Area's route instead of the Area, with Turn on. |
| `garnet-area-overview` | Quiet summary and optional analytical visual for an Area. |
| `garnet-areas-grid` | First-class Area cards, including the generic Notes Area. |
| `garnet-areas-off` | Areas index section listing Off Areas with their Item counts and Turn on. |
| `garnet-attachments-browser` | The dedicated Space Attachments browser. |
| `garnet-attachments-grid` | Attachment cards in the dedicated browser. |
| `garnet-blocked-tasks` | Side panel widget: open Tasks that are blocked, and what blocks them. |
| `garnet-boot-splash` | Launch splash; covers route load and session restore. |
| `garnet-calendar` | Shared keyboard-operable month calendar used by dated Areas. |
| `garnet-circles` | Side panel widget: the People page's circles drawing, linked to its list. |
| `garnet-colleagues` | Side panel widget: who else you know at the open person's workplaces. |
| `garnet-collection-chart-bindings` | Per-chart Show, Over and Split by field pickers. |
| `garnet-collection-definition-editor` |  |
| `garnet-collection-goals` | Side panel widget: goal progress across Collections that set one. |
| `garnet-collection-insights` | Derived Collection summaries and charts. |
| `garnet-collection-media-grid` | Media Collection records shown as a cover grid. |
| `garnet-collection-record-detail` | Contextual Collection Record detail and editing surface. |
| `garnet-collection-record-form` | Collection Record form: Add record, and Edit record with Delete (always confirmed). |
| `garnet-collection-records-table` | Collection Records table with read-first editable cells. |
| `garnet-collection-template-library` | Built-in Collection templates to add, remove or use. |
| `garnet-collection-template-lock` | Template lock notice and Customize template action. |
| `garnet-command-bar-selecting` | The command bar while rows are selected. |
| `garnet-command-palette` |  |
| `garnet-command-palette-advanced` | The palette's Advanced view (2026-11-24): the full search (field, Filters, saved and recent searches, syntax help, results by section) in place of Recent, File search, Commands and Open. Opening a result closes the palette. |
| `garnet-command-palette-advanced-toggle` | The palette's Advanced search toggle at its top right, pressed while Advanced shows; Mod+Shift+F and Open Search open the palette on it. |
| `garnet-command-palette-backdrop` |  |
| `garnet-date-spine` | The Date Spine (2026-11-23, after Immich's timeline scrubber), shared by Timeline and Events' Chronology: a strip beside the list, right by default (Settings › Areas › Timeline › Date spine: Right, Left or Off), hidden on phones. A segment per month with activity, as tall as its share of it; year labels that step aside when crowded; a line where the list is; pointing shows the month ("Nov 2025"), pressing or dragging scrolls there. A `slider`: Up and Down by a month, Page Up and Page Down by a year, Home and End. |
| `garnet-desktop-page-container` | Single responsive desktop page container. |
| `garnet-doctor-connections` |  |
| `garnet-editor-context-panel` |  |
| `garnet-editor-mobile-header` |  |
| `garnet-event-anniversaries` | Side panel widget: past Events whose date falls this week. |
| `garnet-event-detail` | Read-first Event detail surface. |
| `garnet-event-editor` | Shared Event create and edit form in a modal or adaptive sheet. |
| `garnet-event-entry` | One semantic Event activation target. |
| `garnet-events-chronology` | Events-only authored-date chronology; it never synthesizes dates. |
| `garnet-events-directory` | Events Area directory shared by Chronology, Gallery, and List views. |
| `garnet-events-gallery` | Events visual-recognition grid with complete text-only entries. |
| `garnet-events-list` | Events scanning directory and retained selection surface. |
| `garnet-family` | Side panel widget: the open person's family, or your own, with ages. |
| `garnet-feature-gate` | The one Sign in or Upgrade dialog every service behind an Account and a plan opens. |
| `garnet-files-item-list` |  |
| `garnet-focused-area-detail` |  |
| `garnet-focused-area-list` |  |
| `garnet-focused-area-mobile-stack` |  |
| `garnet-focused-area-surface` |  |
| `garnet-follow-ups` | Side panel widget: People whose follow-up reminder is due or coming up. |
| `garnet-getting-started-card` | Dismissible Getting started card at the top of the Timeline. |
| `garnet-getting-started-list` | Getting started list under Help in Settings › General; outlives the card. |
| `garnet-help-support-escalation` |  |
| `garnet-import-analysis` |  |
| `garnet-import-collection-mapping` |  |
| `garnet-import-commit` |  |
| `garnet-import-destination` |  |
| `garnet-import-discovery` |  |
| `garnet-import-discovery-review` |  |
| `garnet-import-item-date-mapping` |  |
| `garnet-import-page` |  |
| `garnet-import-preview` |  |
| `garnet-import-preview-entries` |  |
| `garnet-import-preview-totals` |  |
| `garnet-import-recovery` |  |
| `garnet-import-recovery-inspect` |  |
| `garnet-import-restore` | The restore route that replaces the preview when the chosen folder is a Garnet export. |
| `garnet-import-result` |  |
| `garnet-import-staging` |  |
| `garnet-inbox-age` | Side panel widget: Inbox items by age band, and the oldest. |
| `garnet-inbox-review-list` |  |
| `garnet-item-detail-panel` |  |
| `garnet-item-peek` | Side peek beside the Notes list: an editable Item with Expand and Close. |
| `garnet-item-view-switch` | Editor or <Area> (for example Editor \| Tasks), the same two-option switch in the Item editor's header (Note view) and on the Item's Area page (Area view): the detail card (Tasks, Journal, Places, Events), a person's profile, a Collection's page. Moves the Item to the other view in the same Tab; absent for a plain Note, which has no Area page (2026-11-25). |
| `garnet-journal-analytics` | Journal Insights disclosure: writing heatmap, mood trends, and local reflection. |
| `garnet-journal-calendar-view` | Journal Calendar view: month calendar beside the selected day's entries, with its loading and error states. |
| `garnet-journal-composer` | Journal capture composer with local prompts, weather, photos, and Zen write. |
| `garnet-journal-entry-date` | A Journal entry detail's Entry date field (`journal.entryDate`). |
| `garnet-journal-list-view` | Journal List view: entries newest first, grouped by mood with No mood first where the method groups. |
| `garnet-journal-memory-view` | Journal Memory view: entries grouped by day, with its loading, error, and empty states. |
| `garnet-journal-method-label` | A Journal entry card's muted label naming its method. |
| `garnet-journal-method-prompt` | New entry's prompt line for the active Journal method, the editor's description. |
| `garnet-journal-overview` | Journal Overview content area under the command bar, holding the active view and Insights. |
| `garnet-journal-search-result` | One Journal search result: the entry's date, title, and the matching passage with the searched words in <mark>. |
| `garnet-journal-search-results` | Journal search results: the matching entries newest first in place of the active view, with a count and an empty state. |
| `garnet-journal-streak` | Side panel widget: the current and longest Journal writing streak. |
| `garnet-journal-today-view` | Journal Today view: today's entries under the long date, an empty state with New entry, and Recent days. |
| `garnet-keep-in-touch` | Side panel widget: People due a catch-up by their catch-up interval. |
| `garnet-note-people` | Side panel widget: the people an open note mentions, as a zoomable graph and quick facts. |
| `garnet-note-people-person` | One mentioned person and their quick facts in People in this note. |
| `garnet-notes-explorer` |  |
| `garnet-notes-explorer-detail` |  |
| `garnet-notes-explorer-layout` |  |
| `garnet-notifications-overview` | First-visit overview at the top of Settings › Notifications; dismissed per device. |
| `garnet-on-this-day-rail` | Shared horizontal rail for compact natural or pinned memory cards. |
| `garnet-page` | Shared marker on every routed page root. |
| `garnet-page-about` |  |
| `garnet-page-account` |  |
| `garnet-page-areas` |  |
| `garnet-page-attachments` |  |
| `garnet-page-author` | Public author pages for the Garnet team and founder bylines. |
| `garnet-page-blog` |  |
| `garnet-page-blog-category` |  |
| `garnet-page-blog-post` |  |
| `garnet-page-changelog` |  |
| `garnet-page-collections` |  |
| `garnet-page-day-one-alternative` |  |
| `garnet-page-doctor` |  |
| `garnet-page-download` | Public download page for macOS, iOS, and later platforms. |
| `garnet-page-events` |  |
| `garnet-page-explore` |  |
| `garnet-page-feature-request` | One public Feature Request with its status and vote. |
| `garnet-page-feature-requests` | Public Feature Requests board. |
| `garnet-page-files` |  |
| `garnet-page-frame` | The shared page frame: gutter, reading/list/wide maximum width in `data-width`, and the command bar's slot. |
| `garnet-page-help` |  |
| `garnet-page-help-article` |  |
| `garnet-page-help-section` |  |
| `garnet-page-home` |  |
| `garnet-page-import` |  |
| `garnet-page-inbox` |  |
| `garnet-page-item` |  |
| `garnet-page-journal` |  |
| `garnet-page-loading-cover` | Skeleton, then animated gem, over a page mounting behind it. |
| `garnet-page-not-found` |  |
| `garnet-page-notes` |  |
| `garnet-page-onboarding` |  |
| `garnet-page-people` |  |
| `garnet-page-place` |  |
| `garnet-page-pricing` |  |
| `garnet-page-privacy` |  |
| `garnet-page-refund` |  |
| `garnet-page-research` | Public research hub listing data studies. |
| `garnet-page-research-study` | One public data study with its method and CSV download. |
| `garnet-page-restoring` |  |
| `garnet-page-search` |  |
| `garnet-page-settings` |  |
| `garnet-page-shared` |  |
| `garnet-page-side-panel` | The page side panel (2026-11-26): a slot right of every page's content area, in the window's chrome surface from the content area's top to its bottom, that a page fills with its own supporting widgets. Empty, it takes no room. It resizes like the sidebar (one width per device) and hides per page; it leaves while the content area is too narrow. |
| `garnet-page-side-panel-toggle` | Show or Hide side panel, at the end of the Tab strip while the page has a panel. |
| `garnet-page-space-picker` |  |
| `garnet-page-status` |  |
| `garnet-page-support` |  |
| `garnet-page-sync` |  |
| `garnet-page-tasks` |  |
| `garnet-page-terms` |  |
| `garnet-page-test` |  |
| `garnet-page-timeline` |  |
| `garnet-page-trash` | This device's Space Trash page. |
| `garnet-page-widget` | One widget in the page side panel, named by `data-widget` (a `WIDGET_IDS` id from `lib/pageWidgets.ts`). A card of its own with a Full size button in its corner (2026-11-28). |
| `garnet-page-widget-full-size` | The dialog Full size opens: the same widget with room to read it, its dialog title naming it. |
| `garnet-page-widgets-editor` | The page side panel in Customize: move (drag, or the arrow keys on a handle) and hide its widgets, and add hidden ones back. |
| `garnet-people-circles-column` | People's Show rings in page column: drawing and circle filter. |
| `garnet-people-directory` | Full-width People Area directory of person cards. |
| `garnet-people-network` | People's Network: people grouped by the workplaces they work at. |
| `garnet-people-tree` | People's Relationship tree: family trees by generation, then everyone else. |
| `garnet-places-visited` | Side panel widget: Places been to and wanted, and countries visited. |
| `garnet-recently-completed` | Side panel widget: Tasks completed in the last 7 days. |
| `garnet-rediscover` | Side panel widget: people known through work, not in touch for half a year. |
| `garnet-resume-restore` |  |
| `garnet-saved-views` | Portable saved view picker for the current top-level surface. |
| `garnet-second-factor-code` | The two-factor code field the app asks for at log in and before a sensitive Garnet Sync change: authenticator code or recovery code. |
| `garnet-settings-account-session` | Settings → Account & plan card with the read-only Account identity and the app's Log in with browser and Log out controls. |
| `garnet-settings-appearance-advanced` | Settings › Appearance › Advanced disclosure: motion, contrast, corners, fields, density, fonts, avatars, stylesheet. |
| `garnet-settings-appearance-preset` | Settings › Appearance › Experience: the preset cards (Calm, Compact, Large Text), Custom and Reset. |
| `garnet-settings-appearance-text-size` | Settings › Appearance › Text size: Interface text size and the one Reading text size. |
| `garnet-settings-connection` | One Connection: state, ID, what it can read, MCP setup, activity, and Disconnect or Remove. |
| `garnet-settings-connections` | Settings › AI connections: disclosure, command line tool, new connection, and each Connection. |
| `garnet-settings-content` |  |
| `garnet-settings-filename-template` | One Item Type's File name format row. |
| `garnet-settings-files` | Settings › Files panel: the Space's File name formats. |
| `garnet-settings-fonts` | Fonts settings panel. |
| `garnet-settings-grouping` | Settings › Grouping page: each Area's groupings and grouping methods. |
| `garnet-settings-grouping-method` | One grouping method row: name, description and switch. |
| `garnet-settings-rename-history` | Settings › Files › Rename History: recorded rename runs. |
| `garnet-settings-rename-run` | One Rename History run and its Revert this run action. |
| `garnet-settings-standardize` | Settings › Files › Standardize file names: dry run and run. |
| `garnet-settings-trash` | Settings › Data & recovery › Trash card: size on this device, auto-empty, and Open Trash. |
| `garnet-share-landing` | Viewer landing card on share.garnet.md before an open is counted. |
| `garnet-share-link-dialog` | Shared Link create dialog: review, settings, and done states. |
| `garnet-share-link-list` | Active Shared Links for one Item, with copy and delete. |
| `garnet-share-reading` | Viewer read-only rendering of one decrypted Item. |
| `garnet-shared-links` | The Shared links page (2026-11-23, nav item after Inbox; phone: More): every Item this Space has shared, newest change first, with its links; Copy for links this device made, Delete link for any. New links and updates stay in the Item's Share panel. |
| `garnet-shared-links-item` | One shared Item on that page: its name (opens the Item) and its links (`share-link-row`). |
| `garnet-shell-context-header` |  |
| `garnet-shell-help-menu` | The Help menu, opened above the ? beside the sidebar's Space row (2026-11-24): Help (Settings › Help), Documentation (garnet.md/help), Get support (garnet.md/support), Blog (garnet.md/blog), then What's new: a newer Garnet the desktop updater found (Restart for, or Get, that version) and Releases (the blog's Updates category) with the running version. |
| `garnet-shell-help-menu-trigger` | The ? beside the Space row; a dot on it while a newer Garnet is ready or available. |
| `garnet-shell-left-sidebar` |  |
| `garnet-shell-main` |  |
| `garnet-shell-mobile-bottom-nav` |  |
| `garnet-shell-mobile-menu-destinations` | The grid of destinations at the top of the phone's Menu sheet. |
| `garnet-shell-new-tab-page` | The New Tab page: a blank page to write on (2026-11-24), with a large title field ("New note") and the body ("Press / to insert blocks"). `data-item-type` names the kind of Item once it has one. At the first pause in writing it saves the Item (to Inbox, for the types Inbox holds) and the Tab shows it in its editor, with Properties open, in place of this page. |
| `garnet-shell-new-tab-properties` | The New Tab Item's properties, shown once it has a type (a chosen Area, or a Note on writing straight away), editable before the save. |
| `garnet-shell-new-tab-start` | Get started with: one button per Area that is not Off and holds Items (Journal, Notes, People, Events, Tasks, Collections, Places), then Templates when the Space has note templates. Journal, Notes, People, Events and Places start that kind of Item on the page; Tasks opens Tasks' new-task form; Collections asks which Collection and opens its New record form. It fades out and goes inert once the page has a type. |
| `garnet-shell-page-viewport` |  |
| `garnet-shell-primary-rail` |  |
| `garnet-shell-rail-panel` | The panel a sidebar tab other than Home shows. |
| `garnet-shell-rail-recent` | The list of Recent places in the sidebar's Recent tab. |
| `garnet-shell-rail-search` | The full search panel (2026-11-24, it replaced the Search page and the sidebar's Search tab), shown in the command palette's Advanced view and the phone's sheet: the query field, Filters, saved searches, recent searches, and results. |
| `garnet-shell-rail-search-result` | One result row in the search panel; an Item's row is a button that opens it. |
| `garnet-shell-rail-tabs` | The sidebar tabs under the Space header (2026-11-23): Home, Notes, Recent. The shown tab is its icon and name; the others are icons named with their key on hover. |
| `garnet-shell-search-sheet` | The phone's sheet showing the search panel, since the phone has no sidebar. |
| `garnet-shell-sidebar-customize` | Customize sidebar (2026-11-25): the sidebar's Sidebar Shortcuts, Sidebar Sections and Sidebar Folders as one editable list. Each row has a drag handle (the Up and Down arrow keys move it too) and a remove button; a Section or Folder name renames in place; a Shortcut's menu moves it into or out of a Folder. Add shortcut lists the top-level places, then More shortcuts…, a search over places, Settings pages and Items that also takes a pasted web link; Add section and Add folder follow. Rows carry `data-sidebar-entry` (`shortcut`, `section`, `folder`). |
| `garnet-shell-sidebar-nav` | The sidebar's Home tab (2026-11-25): the Space's Sidebar Shortcuts, Sidebar Sections and Sidebar Folders in its order, by default the Shortcuts Timeline, Areas and Explore. Each row carries `data-sidebar-entry`; a Folder opens on a click (`aria-expanded`). Hovering a Folder with the mouse, or the Right arrow on it, lists its Shortcuts beside it in a `popover` carrying `data-sidebar-folder` (the Folder's id), with its search focused (2026-11-25). Replaced `shell-sidebar-pinned-nav` and the Library. |
| `garnet-shell-sidebar-reveal` | Show sidebar at the start of the Tab strip, after the traffic lights' room. Always mounted: it opens as the sidebar closes and closes as it opens, in the same motion (2026-11-24); inert while the sidebar shows. |
| `garnet-shell-sidebar-search` | Search under the sidebar's top row (2026-11-24), a field-like button with ⌘K: opens the command palette on its usual tabs (Recent, File search, Commands, Open). Replaced the sidebar's Search tab. |
| `garnet-shell-sidebar-top-bar` | The sidebar's segment of the window's top row, beside the Tab strip and sharing its height, with no line under it: room for the macOS traffic lights, Hide sidebar, and New Note at its end (2026-11-24). A hidden sidebar leaves Show sidebar at the start of the Tab strip. |
| `garnet-shell-sidebar-utility` | Active Space status strip below desktop rail branding; opens the Space summary menu. |
| `garnet-shell-space-menu` | The Space menu, opened above the sidebar's Space row (2026-11-24): Switch to (Mod+P); Space settings and Manage Spaces; Doctor (with its issue count) and Trash; Settings (with its key); then, when signed in, Account (with the Account's name) and Log out. On a narrow layout the Space sheet shows instead. |
| `garnet-shell-space-menu-sync-status` | The Space menu's sync line under Account, shown only for a synced Space of a signed-in person: Syncing, Synced, Not syncing, or Offline (changes sync when back online). Offline is never shown as a banner. |
| `garnet-shell-space-menu-trigger` | The sidebar's Space row at its foot: the Space's avatar and name, its sync cloud when synced, and a chevron; opens `shell-space-menu`. The only row at the sidebar's foot: New is the top row's menu, New Tab is the Tab strip's + and Mod+T, and Switch to and Settings are in this menu. |
| `garnet-shell-tab-sheet` | The phone sheet of Tabs, opened from the bar's Tabs button. |
| `garnet-shell-tab-strip` | The Tab strip above the page on desktop and iPad, shown even with one Tab. Browser-style since 2026-11-27: New Tab follows the last Tab, and the strip's empty rest moves the window. |
| `garnet-sidebar-customize-button` | The shared Customize button at the foot of a sidebar: Customize sidebar under the navigation sidebar's Home tab, Customize side panel under the page side panel. Faint at rest like the Date Spine, muted while its sidebar (`group/sidebar`) is pointed at, full on hover or focus; Done in its place while customizing, with `data-editing`. |
| `garnet-space-menu-trash` | The Space menu's Trash entry, beside Doctor. |
| `garnet-space-setup` | Space Setup screens that name and place a new Space. |
| `garnet-space-setup-join` | Download a synced Space screens: sign-in, list, folder, size check, progress and recovery. |
| `garnet-space-sync-cloud` | A synced Space's sync state at the right of the sidebar's Space row (2026-11-24): a filled cloud, blue with turning arrows while syncing, green with a checkmark once synced, red with a cross when not syncing (offline, held, or the last run failed). `data-sync-state` is `syncing`, `synced` or `not-syncing`. A local Space shows no cloud. Replaced the sidebar's Sync card. |
| `garnet-stale-collections` | Side panel widget: Collections with no new record in 14 days. |
| `garnet-storage-widget` | Side panel widget: Attachment storage by type, and the largest files. |
| `garnet-switch-to` |  |
| `garnet-switch-to-backdrop` |  |
| `garnet-sync-automatic` | Settings › Sync › Automatic sync: shown only while Automatic sync runs for the open Space; its status (Syncing…, Paused, or Synced N min ago) and Pause sync or Resume sync for this device. |
| `garnet-sync-device-approval-request` | Unlock, Approve from another device: the device name, Ask for approval, then the code and its QR code while the other device approves. |
| `garnet-sync-device-approval-banner` | Shell top-slot notice on an unlocked device while another device of the Account asks to sync, with Check code. |
| `garnet-sync-device-approval-dialog` | Approve a new device: the code to compare, a field to type it instead, Approve or Codes don't match. |
| `garnet-sync-device-approval-code` | The six-digit device approval code, on either device. |
| `garnet-sync-devices` | Sync page Devices card: each signed-in device with its name and last activity, This device, and Remove. |
| `garnet-sync-device-remove-dialog` | Remove a device: lost or stolen (replace the keys) or still have it, the new Recovery Kit, your passphrase, Remove. |
| `garnet-sync-passkeys` | Settings › Sync › Unlock with a passkey: each passkey with its name and last use, Remove, and Add a passkey; on Unlock, Unlock with a passkey. |
| `garnet-sync-first-run-notice` | Shell top-slot notice that the first sync after Turn on sync did not finish, with its reason and Dismiss. |
| `garnet-sync-weak-keystore-notice` | Shell top-slot notice, shown once per device, that this Linux computer has no key store, so Garnet asks for the passphrase each time it starts, with how to fix it and Dismiss. |
| `garnet-sync-history` | Settings › Sync › Sync history: this device's Sync History, on request. |
| `garnet-sync-history-entry` | One Sync History line: path, what sync did and why, when, and the Conflict Copy or Trash link. |
| `garnet-sync-other-account` | Settings › Sync: the open Space syncs with another Account on this device; Stop syncing here and use with this Account. |
| `garnet-sync-other-service-notice` | Settings › Sync: the once-per-Space notice that another sync service also syncs this folder. |
| `garnet-sync-recovery-key-replace` | Settings › Sync › Create a new recovery key: the new Recovery Kit, its save check, a two-factor code when asked, and Replace the old key. |
| `garnet-sync-recovery-key-backup` | Settings › Sync › Copy of your recovery key: Also keep a copy in iCloud Keychain, and on Unlock, Use the copy in iCloud Keychain. |
| `garnet-sync-recovery-contact` | Recovery contact: the Settings › Sync card to set one up and show its code once, on Unlock Ask your recovery contact, and the notice at the top of the app while a recovery waits, with Cancel recovery. |
| `garnet-sync-recovery-kit` | The Recovery Kit on Turn on sync and on Create a new recovery key: Account email, recovery key, date, instructions, Print, Save and Copy. |
| `garnet-sync-recovery-kit-reminder` | The reminder that asks whether you still have your Recovery Kit: a notice at the top of the app and a card on the Sync page, with Yes, it is safe, Make a new one and Not now. |
| `garnet-sync-start-fresh` | Settings › Sync › Start fresh: offered when this device cannot open the synced copy, or a Start fresh waiting, ready or finishing, with Cancel or Finish. |
| `garnet-sync-start-fresh-dialog` | The Start fresh confirmation: files on this device stay, the synced copy is erased, other devices unlock again; a two-factor code or the typed phrase. |
| `garnet-sync-stop` | Settings › Sync › Stop syncing this Space: frees the open Space's Sync Allowance slot and unlinks this device. |
| `garnet-sync-stop-dialog` | The Stop syncing this Space confirmation: this device, other devices, and the encrypted synced copy. |
| `garnet-sync-swap-dialog` | Start syncing at a full Sync Allowance: choose a synced Space to stop syncing, keep or delete its synced copy, then start. |
| `garnet-sync-synced-space` | One Synced Spaces row: name, state (`data-sync-state`), and Start syncing or Download to this device. |
| `garnet-sync-synced-spaces` | Settings › Sync › Synced Spaces: every synced Space and every Space on this device, with N of M Spaces synced, and the Sync all my Spaces on this device switch. |
| `garnet-sync-turn-on` | The Turn on sync screen: passphrase, then the Recovery Kit, its save check and Done, on one screen. |
| `garnet-sync-usage` | Settings › Sync › Sync Storage: service total vs allowance, this device's split, Shared Links, the rest. |
| `garnet-tag-people-action` | Tag people action on an Event card or a Journal entry's photos. |
| `garnet-tag-people-dialog` | Shared Tag people dialog: choose an Item's photo and check the People in it. |
| `garnet-task-board` | Second hook on a Tasks `view-board` root, kept so user CSS keeps working. |
| `garnet-task-detail` | Contextual Task detail surface. |
| `garnet-task-list-directory` | Complete flat directory of active Task Lists. |
| `garnet-task-list-directory-finished` | The Tasks index's Finished group: Done and Dropped Task Lists behind a disclosure, collapsed by default. |
| `garnet-task-list-project-space` | Below a focused Task List's Tasks: its Linked and Story tabs behind a disclosure, collapsed by default. |
| `garnet-task-matrix` | Second hook on a Tasks `view-matrix` root, kept so user CSS keeps working. |
| `garnet-tasks-attention-list` | Bounded derived overdue, today, and blocked Task query. |
| `garnet-tasks-home` | Tasks Area calm overview and title-first capture surface. |
| `garnet-tasks-recent-lists` | Local-only navigation shortcuts for recently opened active Task Lists. |
| `garnet-tasks-starred-lists` | Task List shortcuts backed by TaskList.pinned. |
| `garnet-theme-gallery` |  |
| `garnet-timeline-content` | Timeline date-spine and chronological activity-content layout. |
| `garnet-timeline-controls` | Timeline's own command bar; shares its element with `area-command-bar` rather than wrapping it. |
| `garnet-timeline-date-spine` | Wide iPad and desktop keyboard-operable navigation over real activity dates. |
| `garnet-today-events` | Timeline's Today's Events widget: Events whose dates span today. |
| `garnet-today-tasks` | Timeline's Today's Tasks widget: open Tasks due today or overdue. |
| `garnet-trash-entry` | One Space Trash entry: file name, original folder, why and when, Restore and Delete forever. |
| `garnet-upcoming-birthdays` | Side panel widget: People whose birthday falls in the next 30 days. |
| `garnet-upcoming-events` | Side panel widget: the next Events in the coming 14 days. |
| `garnet-update-notice` | Desktop notice that a newer Garnet is ready (macOS) or available (Linux), with What's new. |
| `garnet-view-board` | Generic Board View: one column per value of the bound property, Unsorted first. |
| `garnet-view-calendar` | Generic Calendar View: Items on a month grid by their bound date. |
| `garnet-view-chronology` | Generic Chronology View: Items newest first by their bound date, with optional chapter bands. |
| `garnet-view-chronology-band` | One chapter band of a Chronology View: a button that opens the chapter Item. |
| `garnet-view-gallery` | Generic Gallery View: one tile per Item with its photograph, avatar, or text preview; Unsorted section first. |
| `garnet-view-list` | Generic grouped or flat List View of one Area's Items, bound to the active method. |
| `garnet-view-map` | Generic Map View: a bundled offline country map with pins for Items that have coordinates and a side list. |
| `garnet-view-matrix` | Generic Matrix View: four cells from two bound boolean properties plus an Unclassified tray. |
| `garnet-view-rings` | Generic Rings View: an ordered enum as concentric rings with soft size hints, its tray first. |
| `garnet-view-table` | Generic Table View with one row per Item and bound property columns. |
| `garnet-website-footer` |  |
| `garnet-website-header` |  |
| `garnet-website-main` |  |
| `garnet-website-mobile-nav` |  |
| `garnet-website-shell` |  |

### Component hooks

| Hook | What it marks |
| --- | --- |
| `garnet-account-avatar` | The Account avatar in the signed-in Account website header: a generated face seeded by the Account ID. |
| `garnet-attachment-ingest-prompt` | The large-file and duplicate-file prompts an attach opens, on top of any modal it was opened from. |
| `garnet-attachment-picker` | The inline attachment overlay: searchable thumbnail grid, multi-select and upload. |
| `garnet-attachments-card` | One Attachment card with preview metadata and selection. |
| `garnet-attachments-convert-tick` | The tick on a text attachment's card or row that selects it for Convert to notes. |
| `garnet-badge` |  |
| `garnet-button` |  |
| `garnet-card` |  |
| `garnet-card-subtle` |  |
| `garnet-checkbox` | The checkbox's 24px target; it draws nothing itself. |
| `garnet-checkbox-box` | The visible 16px box inside a checkbox: style this one. |
| `garnet-chip-transfer` | Box of chosen labels above the labels still available; drag or tap to move. |
| `garnet-detail-panel` | The one record detail beside a list: media, title, properties, body. |
| `garnet-dismiss-button` | The ✕ that closes a dialog, sheet, panel or banner, in its header: clear at rest, a wash on hover or focus. Also carries `garnet-button`. |
| `garnet-dropdown-menu` | A menu popup. Below 768px it sits inside a `garnet-sheet` with no surface of its own; `data-presentation` is `sheet` there and `popover` beside its trigger. |
| `garnet-editor-file-preview` |  |
| `garnet-editor-file-convert-notice` | The quiet line above a readable text file's preview, with Convert to note. |
| `garnet-convert-to-note-dialog` | Convert to note's dialog: move the originals to the Trash or keep them. |
| `garnet-editor-find-panel` | Find and replace bar at the top of a note's editor. |
| `garnet-editor-item-takeover` |  |
| `garnet-editor-link-dialog` | The editor dialog that asks for a link's new URL or a wiki link's new target (Edit link, Change link). |
| `garnet-editor-more-menu` | The Item Editor's ⋯ More options menu (2026-11-24): the word count, then labelled groups Share (Share…, Copy content, Export), View (editor surfaces, Find / Replace, View in Timeline, Reveal in Files), Organize (Pin, Pin to On This Day, Edit Properties, Rename from heading, Duplicate, Save as template) and History (Version, sync ignore, snapshot), then Archive and Delete apart at the foot. Each group is a `role="group"` named by its label. |
| `garnet-editor-picker` | The keyboard-docked editor picker (slash, mention, link, emoji, tag): beside the caret, or docked over the keyboard on a phone; it stays anchored there. |
| `garnet-editor-selection-menu` |  |
| `garnet-editor-style-bar` |  |
| `garnet-editor-switch-to` | Phone Editor header control that opens Switch To. |
| `garnet-empty-state` | The shared empty-page pattern: an icon, one line, and at most one action. |
| `garnet-explorer-more-menu` | Overflow trigger in an ExplorerToolbar command bar for occasional surface actions. |
| `garnet-explorer-view-menu` | Single View trigger in an ExplorerToolbar command bar: layout, sort, density, saved views and overview. |
| `garnet-files-type-filter` |  |
| `garnet-floating-shell-button` |  |
| `garnet-form-dismissal` | Structured form's Continue editing or Discard decision. |
| `garnet-framework-insights` | The Insights dialog or phone sheet opened from the View picker's menu: quiet measures, and the charts over time with their setup, on every plan. |
| `garnet-inbox-connect-dialog` |  |
| `garnet-indexed-count` | Stable numeric value sourced from the local index. |
| `garnet-input` |  |
| `garnet-item-history-dialog` | Shared Item version history list and restore controls. |
| `garnet-item-peek-actions` | The side peek's Expand and Close controls. |
| `garnet-item-primary-property` | The item detail's primary property slot: the active method's one property, under the title. |
| `garnet-item-type-create-form` |  |
| `garnet-item-type-filter` |  |
| `garnet-item-type-overview` |  |
| `garnet-modal` |  |
| `garnet-nav-button` |  |
| `garnet-notes-explorer-context-menu` |  |
| `garnet-notes-explorer-mode-toggle` |  |
| `garnet-notes-explorer-search` |  |
| `garnet-notes-explorer-view-menu` |  |
| `garnet-people-contact-export` | Export People as Contacts dialog: format, options, and the People it writes to a contact file. |
| `garnet-place-map-card` | The selected Place's card over the full Places Map. |
| `garnet-popover` | Popover popup: a floating panel anchored to its trigger; below 768px it sits inside a `garnet-sheet`, `data-presentation` `sheet` or `popover`. |
| `garnet-pricing-pro-lifetime-payment` |  |
| `garnet-pricing-pro-ltd-availability` |  |
| `garnet-pricing-pro-ltd-card` |  |
| `garnet-record-row` | The shared list row: leading, title, meta and trailing slots; `data-selected` carries the selection marker. |
| `garnet-recovery-codes` | Account website two-factor recovery-code list and its replace control. |
| `garnet-review-reminder-settings` | Settings > Notifications > Review reminders: per review, off or a day and time, on every plan. |
| `garnet-review-sheet` | A method review flow's dialog or phone sheet, one Item and one question per step. |
| `garnet-row-menu` | A row's one quiet ⋯ action menu, always visible at the trailing edge. |
| `garnet-row-skeleton` | A list's loading placeholders, at its row form's height. |
| `garnet-segmented-control` | Segmented control track: one choice from a few, side by side. |
| `garnet-select` |  |
| `garnet-sheet` | The phone drawer (`Sheet`): rises from the bottom with a handle, `data-size` `fit` or `full`. Also on `Modal` below 768px, and around menus and popovers below 768px. |
| `garnet-settings-app-lock` | Settings App lock section: on or off, unlock method, timeout, passcode change, not-encryption note. |
| `garnet-settings-custom-accent` | Custom accent picker: colour input, preview and Reset. |
| `garnet-share-link-row` | One Shared Link: label, remaining budget, lock glyph, copy, delete. |
| `garnet-shell-icon-button` |  |
| `garnet-shell-new-trigger` | Quick-compose trigger for a new Journal/Draft/Note. |
| `garnet-space-picker-card` |  |
| `garnet-space-stylesheet-name-dialog` | The Settings dialog that asks for a new stylesheet's file name and shows why a name is refused. |
| `garnet-space-stylesheet-paste-dialog` | The Settings Paste CSS dialog: a name and pasted CSS added as a stylesheet, with why it was refused. |
| `garnet-switch` |  |
| `garnet-tabs` |  |
| `garnet-task-list-project-details` | A Task List's Project details dialog: outcome, status and deadline, each saved on its own. |
| `garnet-task-list-project-linked` | A Task List's Linked tab: Items linking the list or linked from its Tasks, grouped by Item Type. |
| `garnet-task-list-project-reflection` | The close-out reflection prompt in a Task List's Project details after Done or Dropped. |
| `garnet-task-list-project-story` | A Task List's Story tab: linked journal entries, Events and Task completions, newest first by month. |
| `garnet-textarea` |  |
| `garnet-tooltip` | A control's tooltip: its name or a short hint, shown on hover and keyboard focus; Escape dismisses it. |
| `garnet-unsorted-group` | The Unsorted group, column, or tray of a generic View, always shown first. |
| `garnet-version-name-dialog` | The Notes dialog that names a version saved from More actions › Create version. |
| `garnet-view-calendar-day` | Phone Calendar View: the selected day's Items listed below the compact month grid. |
| `garnet-website-blog-archive` |  |
| `garnet-website-blog-toc-inline` |  |
| `garnet-website-blog-toc-sidebar` |  |
| `garnet-website-consent-banner` | Website analytics consent panel fixed to the bottom of the viewport. |
| `garnet-website-display-mode` | Website-only System, Light and Dark control in the footer. |
| `garnet-website-privacy-choices` | Footer control that reopens the website consent panel. |
| `garnet-website-waitlist-form` |  |
| `garnet-view-picker` | View picker in an Area's command bar: a menu button naming the shown View, with “· edited” while Customize changed it; its menu lists Basics, From methods and Yours. |
| `garnet-customize-toggle` | Customize in an Area's command bar: opens the Customize bar; a dot marks an edited View. |
| `garnet-customize-bar` | The Customize bar under an Area's command bar: Grouping, Layout, Sort, Filter, Show, then Reset and Save as view. |
| `garnet-grouping-card` | One Grouping in the Customize bar: a radio card with its name, description and a Method tag for grouping methods. |
| `garnet-layout-tile` | One Layout in the Customize bar: a radio tile with its icon and name. |

### Element hooks

| Hook | What it marks |
| --- | --- |
| `garnet-archived-item-restore` | Unarchive control that clears one Item's archive (archivedAt and the legacy archived tag). |
| `garnet-areas-area-card` | One whole-card Area entry action; opens the dedicated workflow without a nested control. |
| `garnet-areas-files-browse` | Secondary Notes entry point from the Areas index; a technical file browser, not another Area. |
| `garnet-chip-transfer-available` | The labels still available, under a chip transfer's box. |
| `garnet-chip-transfer-chip` | One movable label in a chip transfer, in either zone. |
| `garnet-chip-transfer-selected` | The box holding the chosen labels in a chip transfer. |
| `garnet-doctor-check-status` | Doctor's check state and last-checked time; only the state is a live region. |
| `garnet-doctor-ratings` | Doctor's Safety, Links and Tidiness readouts under the Space's label. |
| `garnet-doctor-rating` | One of those readouts; `data-dimension` is `safety`, `links` or `tidiness`. |
| `garnet-doctor-rating-change` | The ratings that changed since the last check on this device, under the readouts. |
| `garnet-doctor-fix-first` | Doctor's What to fix first list, best fix first. |
| `garnet-doctor-fix` | One fix in that list; `data-kind` is `safety`, `links`, `tidiness` or `import`. |
| `garnet-editor-item-missing` | Editor pane state for an Item that does not exist, with Files and a way back to Timeline. |
| `garnet-editor-item-read-failed` | Editor pane state for an Item whose file could not be read, with Try again and Files. |
| `garnet-editor-pretty-item-surface` |  |
| `garnet-generated-avatar` | Generated default picture for an Account or Person without one: a face, gem or initials tile seeded by its ID. |
| `garnet-generated-cover` | Generated cover for a Place, Event or Collection without a picture of its own (2026-11-23), from `@turbosoft/avatar` in the Avatars palette, seeded by its ID: a Place's country outline with a pin (the Map's offline outlines) or seeded hills, an Event's day and month on a calendar page, a Collection's shelf with one spine per record up to twelve. Always `aria-hidden`; the card's name says what it is. Drawn in the browser, never stored. |
| `garnet-getting-started-action` | One Getting started action; `data-done` once it was opened. |
| `garnet-image-resize-controls` |  |
| `garnet-import-contact-match` | A contact row's May already be in People flag in the Import preview, naming the matching People. |
| `garnet-indexed-count-skeleton` | Reserved number position before the first index snapshot. |
| `garnet-interactive-surface` | Marks a surface that takes the shared hover treatment, on a card or a bare control. |
| `garnet-item-add-field` | The Add field picker of an Item's Properties. |
| `garnet-item-field-suggestion` | A suggested empty field under an Item's Properties. |
| `garnet-item-property-bar` |  |
| `garnet-item-property-section` | One section of an Item's Properties, named by `data-section`. |
| `garnet-item-raw-source` |  |
| `garnet-item-raw-source-content` |  |
| `garnet-item-share-trigger` | Share action in the Item Editor toolbar; badged when Links exist. |
| `garnet-item-title` |  |
| `garnet-logo-lockup` | Inline Garnet gem and wordmark; shares the gem mark's intro. |
| `garnet-logo-mark` | Inline Garnet gem; animates its cut-and-fill intro where requested. |
| `garnet-note-editor` |  |
| `garnet-note-image-blocked` | Shown in a rendered note in place of a remote image that did not load (http:, or Load remote images off). |
| `garnet-notes-explorer-resize-handle` | Desktop Files pane resize separator; the chosen width is stored per device. |
| `garnet-page-pull-indicator` | Pull-to-refresh gap and spinner at the top of a list page; the page scroller carries `data-pull-state` (idle, pulling, armed) and `data-pull-refresh`. |
| `garnet-page-refresh-status` | Visible line under the pull indicator for Refresh's sync progress and any error. |
| `garnet-rail-resize-handle` | Shared rail resize separator used by the Files pane and the desktop sidebar; the chosen width is stored per device. |
| `garnet-settings-browse-font` | Imports a font file from disk. |
| `garnet-settings-editor-font-family` |  |
| `garnet-settings-editor-font-size` |  |
| `garnet-settings-editorial-font-family` |  |
| `garnet-settings-editorial-font-size` |  |
| `garnet-settings-search` |  |
| `garnet-share-link-dialog-done` | Share dialog step: the link, copied, with the egress sentence. |
| `garnet-share-link-dialog-review` | Share dialog step: what leaves the Space, before upload. |
| `garnet-share-link-dialog-settings` | Share dialog step: access, password, expiry, opens, label. |
| `garnet-sheet-handle` | The Sheet's drag handle strip: drag down closes, drag up grows a fit Sheet. |
| `garnet-shell-new-tab` | The rail's New Tab action. |
| `garnet-shell-rail-tab` | One sidebar tab; `data-active` marks the shown one. |
| `garnet-shell-tab` | One Tab in the strip; `data-active` marks the shown one, which takes the page's colour with rounded top corners and curved feet into the page, while the others sit flat on the strip, parted by a thin line. |
| `garnet-shell-tab-close-empty` | The strip button that closes every Tab still on the New Tab page; shown with two or more of them. |
| `garnet-shell-tab-history` | Back and Forward through the active Tab's Tab History: left of the Tabs on desktop and iPad, in the phone's bottom bar. Each button carries `data-direction` (`back` or `forward`). |
| `garnet-shell-tab-history-menu` | The list of Tab History entries Back or Forward reaches, opened by a right-click, a long press, or the context-menu key. |
| `garnet-space-indexing-status` |  |
| `garnet-space-overview` | Durable Manage Spaces overview inside the picker. |
| `garnet-space-setup-areas` | Space Setup Areas step: one checkbox per Area, chosen before the Space is created. |
| `garnet-space-setup-location` | Space Setup's folder row: the suggested path, Change… and the location notices. |
| `garnet-space-stylesheet-status` | Appearance stylesheet validation status indicator. |
| `garnet-surface-actions` |  |
| `garnet-surface-utility-panel` |  |
| `garnet-surface-utility-row` |  |
| `garnet-surface-utility-toggle` |  |
| `garnet-switch-to-row` |  |
| `garnet-task-list-project-summary` | The quiet line on a focused Task List: outcome, a status badge unless Active, and the deadline. |
| `garnet-timeline-collection-summary` | Timeline row for two or more records of one Collection on one local day; its heading toggles its entries. |
| `garnet-timeline-collection-summary-entries` | A Collection summary row's inline entries, loaded on expand. |
| `garnet-timeline-day` | One dated Timeline activity section and stable scroll destination. |
| `garnet-timeline-entry` |  |

### Internal-stable hooks

| Hook | What it marks |
| --- | --- |
| `garnet-cm-bullet` | Rendered list bullet in the pretty Markdown editor. |
| `garnet-cm-code-line` |  |
| `garnet-cm-comment` |  |
| `garnet-cm-comment-marker` |  |
| `garnet-cm-emoji` |  |
| `garnet-cm-emoji-code` |  |
| `garnet-cm-emphasis` |  |
| `garnet-cm-footnote-def` |  |
| `garnet-cm-footnote-inline` | An inline `^[footnote]`, shown in place in the pretty editor. |
| `garnet-cm-footnote-ref` |  |
| `garnet-cm-frontmatter-key` | A front matter key in the source Markdown editor. |
| `garnet-cm-heading` |  |
| `garnet-cm-heading-1` |  |
| `garnet-cm-heading-2` |  |
| `garnet-cm-heading-3` |  |
| `garnet-cm-heading-4` |  |
| `garnet-cm-heading-5` |  |
| `garnet-cm-heading-6` |  |
| `garnet-cm-highlight` |  |
| `garnet-cm-inline-query` |  |
| `garnet-cm-kbd` |  |
| `garnet-cm-link` |  |
| `garnet-cm-list` |  |
| `garnet-cm-math` |  |
| `garnet-cm-math-widget` |  |
| `garnet-cm-mention` |  |
| `garnet-cm-monospace` |  |
| `garnet-cm-quote` |  |
| `garnet-cm-reference-def` |  |
| `garnet-cm-strikethrough` |  |
| `garnet-cm-strong` |  |
| `garnet-cm-sub` |  |
| `garnet-cm-sup` |  |
| `garnet-cm-syntax` |  |
| `garnet-cm-table-line` |  |
| `garnet-cm-tag` |  |
| `garnet-cm-task-checkbox` | Interactive task checkbox in the pretty Markdown editor. |
| `garnet-cm-underline` | `<u>` text in the pretty Markdown editor. |
| `garnet-cm-url` |  |
| `garnet-cm-wikilink` |  |
| `garnet-codemirror-markdown` |  |
| `garnet-codemirror-markdown--pretty` |  |
| `garnet-codemirror-markdown--source` |  |
| `garnet-composer-card` |  |
| `garnet-composer-collection-picker` |  |
| `garnet-composer-expanded` |  |
| `garnet-composer-modal` |  |
| `garnet-composer-modal-overlay` |  |
| `garnet-composer-writing` |  |
| `garnet-editor-body` |  |
| `garnet-editor-empty` |  |
| `garnet-editor-formatbar` |  |
| `garnet-editor-frame` |  |
| `garnet-editor-hidden-block` |  |
| `garnet-editor-paper` |  |
| `garnet-editor-rendered-block` |  |
| `garnet-editor-scroll` |  |
| `garnet-editor-statusbar` |  |
| `garnet-editor-title-input` |  |
| `garnet-editor-toolbar` |  |
| `garnet-editor-workspace` |  |
| `garnet-internal-link` |  |
| `garnet-mac-window` |  |
| `garnet-markdown-block-callout` |  |
| `garnet-markdown-block-divider` |  |
| `garnet-markdown-block-embed` |  |
| `garnet-markdown-block-frontmatter` |  |
| `garnet-markdown-block-image` |  |
| `garnet-markdown-block-table` |  |
| `garnet-markdown-editor-content` | Registered without a garnet- prefix in its own attribute value; see the migration in Task 8. |
| `garnet-markdown-editor-shell` |  |
| `garnet-onboarding-panel` |  |
| `garnet-onboarding-shell` |  |
| `garnet-primary-rail` | Decorative rail treatment, distinct from the shell-primary-rail region hook. |
| `garnet-sidebar-collapsed` |  |
| `garnet-sidebar-expanded` |  |
| `garnet-space-picker` |  |
| `garnet-space-picker-preview` |  |
| `garnet-visual-generation` | Marks a shell frame rendered with the visual-generation design; tied to that rollout. |

## Related

- [Themes](/help/advanced/themes): share a stylesheet that restyles the whole app.
- [Space file format](/help/advanced/file-format): where `.garnet/styles/` sits in a Space.
