actual-css 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/actual.full.css +82 -22
  3. package/dist/actual.full.min.css +1 -1
  4. package/docs/navigation.json +3 -2
  5. package/docs/pages/components/accordion.md +8 -0
  6. package/docs/pages/components/alert.md +7 -5
  7. package/docs/pages/components/app-navigation.md +2 -2
  8. package/docs/pages/components/aura.md +2 -2
  9. package/docs/pages/components/badge.md +4 -3
  10. package/docs/pages/components/card.md +1 -1
  11. package/docs/pages/components/chat.md +2 -2
  12. package/docs/pages/components/fab.md +2 -1
  13. package/docs/pages/components/list.md +1 -1
  14. package/docs/pages/components/meter.md +1 -1
  15. package/docs/pages/components/navbar.md +1 -1
  16. package/docs/pages/components/overview.md +17 -0
  17. package/docs/pages/components/shimmer.md +2 -2
  18. package/docs/pages/enhancements/overview.md +2 -2
  19. package/docs/pages/enhancements/status-bar.md +1 -1
  20. package/docs/pages/forms/ajax.md +1 -1
  21. package/docs/pages/forms/choice-cards.md +1 -1
  22. package/docs/pages/forms/detached-actions.md +1 -1
  23. package/docs/pages/forms/floating-field.md +5 -3
  24. package/docs/pages/forms/form-actions.md +1 -1
  25. package/docs/pages/forms/input-policy.md +1 -1
  26. package/docs/pages/forms/joined-controls.md +1 -1
  27. package/docs/pages/forms/otp.md +2 -2
  28. package/docs/pages/forms/password.md +1 -1
  29. package/docs/pages/forms/states-and-sizes.md +1 -1
  30. package/docs/pages/forms/sticky-actions.md +1 -1
  31. package/docs/pages/forms/unsaved-changes.md +1 -1
  32. package/docs/pages/foundations/theming.md +2 -2
  33. package/docs/pages/foundations/tokens.md +29 -4
  34. package/docs/pages/foundations/typography.md +1 -1
  35. package/docs/pages/guides/progressive-enhancement.md +1 -1
  36. package/docs/pages/layout/app-layout.md +1 -1
  37. package/docs/pages/layout/app-shell.md +1 -1
  38. package/docs/pages/layout/column-layout.md +1 -1
  39. package/docs/pages/layout/media.md +1 -1
  40. package/docs/pages/layout/overview.md +1 -1
  41. package/docs/pages/layout/scroll-snap.md +1 -1
  42. package/docs/pages/layout/scroll-target.md +1 -1
  43. package/docs/pages/layout/sidebar-layout.md +1 -1
  44. package/docs/pages/layout/sidebar-shell.md +1 -1
  45. package/docs/pages/patterns/code-block.md +1 -1
  46. package/docs/pages/patterns/exclusive-accordion.md +1 -1
  47. package/docs/pages/patterns/hierarchical-nav.md +1 -1
  48. package/docs/pages/patterns/icon-input.md +1 -1
  49. package/docs/pages/patterns/intent-nesting.md +1 -1
  50. package/docs/pages/patterns/navigation-list.md +2 -2
  51. package/docs/pages/patterns/overview.md +1 -1
  52. package/docs/pages/patterns/structured-lists.md +1 -1
  53. package/docs/pages/utilities/flex.md +1 -1
  54. package/docs/pages/utilities/links.md +1 -1
  55. package/docs/pages/utilities/list.md +1 -1
  56. package/docs/pages/utilities/shape.md +1 -1
  57. package/docs/pages/utilities/sizing-wrapping.md +1 -1
  58. package/docs/pages/utilities/spacing.md +1 -1
  59. package/docs/pages/utilities/text.md +1 -1
  60. package/package.json +1 -1
  61. package/src/cli/actual-css.js +4 -4
  62. package/src/css/components/accordion.css +10 -6
  63. package/src/css/components/alert.css +4 -0
  64. package/src/css/components/join.css +14 -0
  65. package/src/css/components/navbar.css +9 -6
  66. package/src/css/core/theme.css +20 -1
  67. package/src/css/core/tokens.css +4 -1
  68. package/src/css/forms/custom-select.css +10 -5
  69. package/src/css/forms/input-icon.css +5 -3
  70. package/src/css/typography/prose.css +6 -0
  71. package/src/tooling/design-tokens.js +1 -0
  72. package/src/tooling/theme-contrast.js +41 -2
  73. package/tokens.json +1 -0
@@ -54,6 +54,7 @@
54
54
  "title": "Components",
55
55
  "slug": "components",
56
56
  "pages": [
57
+ "overview",
57
58
  "accordion",
58
59
  "alert",
59
60
  "app-navigation",
@@ -66,10 +67,10 @@
66
67
  "card",
67
68
  "chat",
68
69
  "close",
69
- "dialog",
70
- "drawer",
71
70
  "data-list",
72
71
  "diagrams",
72
+ "dialog",
73
+ "drawer",
73
74
  "fab",
74
75
  "indicator",
75
76
  "key",
@@ -52,6 +52,14 @@ The default builds one raised shell around the whole group. `.flush` and `.separ
52
52
  <summary>Edge to edge</summary>
53
53
  <p>The summary and panel follow the surrounding surface's own gutter.</p>
54
54
  </details>
55
+
56
+ <details>
57
+ <summary>With a list</summary>
58
+ <ul>
59
+ <li>A direct list keeps its marker gutter</li>
60
+ <li>Even with the inline padding removed</li>
61
+ </ul>
62
+ </details>
55
63
  </div>
56
64
  ```
57
65
 
@@ -122,10 +122,12 @@ split / spread row — there is no `.alert-action` class. The action sits before
122
122
  `.close` on a wide alert and wraps under the message on a narrow one.
123
123
 
124
124
  The alert aligns its columns to the block start, so a multi-line message keeps
125
- its icon and `.close` on the first line. A trailing control makes a one-line
126
- row taller than its text: add `.items-center` to put the icon, the text and the
127
- button on one center. Leave it off when the message can wrap — the icon would
128
- center on the whole block.
125
+ its icon and `.close` on the first line. A trailing control makes that line
126
+ taller than its text and pushes the text down. On a one-line message, add
127
+ `.items-center` to put the icon, the text and the button on one center. When
128
+ the message can wrap, add `.items-baseline` instead: it keeps the icon and
129
+ `.close` on the first line of text, where `.items-center` would center them on
130
+ the whole block.
129
131
 
130
132
  ```html demo
131
133
  <div class="stack">
@@ -137,7 +139,7 @@ center on the whole block.
137
139
  </div>
138
140
  </div>
139
141
 
140
- <div class="alert primary" id="install-alert">
142
+ <div class="alert primary items-baseline" id="install-alert">
141
143
  <i class="ti ti-download alert-icon" aria-hidden="true"></i>
142
144
  <div class="cluster justify-content-space-between">
143
145
  <p><strong>Recommended</strong> · Install the desktop app for notifications and offline access.</p>
@@ -1,4 +1,4 @@
1
- # App Navigation
1
+ # App navigation
2
2
 
3
3
  > Primary application destinations in a persistent bottom bar or labelled side navigation.
4
4
 
@@ -36,7 +36,7 @@ permits. The component contains no JavaScript and does not manage routing.
36
36
  The icon slot accepts SVGs, images, and decorative elements such as icon-font
37
37
  `i` elements marked with `aria-hidden="true"`.
38
38
 
39
- ### Hooks
39
+ ## Hooks
40
40
 
41
41
  - `--app-nav-size` controls the minimum bottom-bar size.
42
42
  - `--app-nav-gap` controls spacing between destinations.
@@ -1,10 +1,10 @@
1
1
  # Aura
2
2
 
3
- > **Module** — import `actual-css/css/effects/aura` or `actual-css/css/effects`.
4
-
5
3
  Aura adds a decorative intent-colored border and halo around one direct child.
6
4
  It is visual emphasis only and does not change the child's semantics.
7
5
 
6
+ > **Module** — import `actual-css/css/effects/aura` or `actual-css/css/effects`.
7
+
8
8
  ```html demo
9
9
  <div class="cluster" style="gap: 2.5rem">
10
10
  <span class="aura primary">
@@ -171,15 +171,16 @@ keeps its height and `.sm` / `.lg` scale both together. Wrap the chips in a
171
171
  @rin-moreau
172
172
  </a>
173
173
  <span class="badge primary">
174
- <span class="avatar"><abbr>AM</abbr></span>
174
+ <span class="avatar"><abbr title="Ada Morgan">A</abbr></span>
175
175
  Ada Morgan
176
176
  <button class="close" type="button" aria-label="Remove Ada Morgan"></button>
177
177
  </span>
178
178
  </div>
179
179
  ```
180
180
 
181
- Keep `alt=""` when the handle or name sits next to the image. Initials fit
182
- the default and `.lg` sizes; use an image on `.sm`.
181
+ Keep `alt=""` when the handle or name sits next to the image. On the default
182
+ and `.sm` badges, prefer a photo or a single initial; two-letter initials need
183
+ `.lg` to stay legible.
183
184
 
184
185
  ## Loading status
185
186
 
@@ -46,7 +46,7 @@ to let that primitive control its layout and gap.
46
46
  <p>Using the right HTML tags improves both SEO and accessibility. Lean on landmarks and live lists.</p>
47
47
 
48
48
  <ul class="cluster tight" aria-label="Tags">
49
- <li><span class="badge primary soft secondary">HTML</span></li>
49
+ <li><span class="badge soft secondary">HTML</span></li>
50
50
  <li><span class="badge soft primary">Accessibility</span></li>
51
51
  <li><span class="badge outline">5 min read</span></li>
52
52
  </ul>
@@ -1,10 +1,10 @@
1
1
  # Chat
2
2
 
3
- > **Module** — import `actual-css/css/components/chat` or `actual-css/css/components`.
4
-
5
3
  Chat lays out message metadata, an optional avatar, and a content-sized bubble
6
4
  at either edge of a conversation.
7
5
 
6
+ > **Module** — import `actual-css/css/components/chat` or `actual-css/css/components`.
7
+
8
8
  ```html demo
9
9
  <div class="stack" aria-label="Conversation">
10
10
  <div class="chat chat-start">
@@ -1,8 +1,9 @@
1
1
  # Floating action button
2
2
 
3
+ FAB fixes a primary action near the viewport's block-end and inline-end edges.
4
+
3
5
  > **Module** — import `actual-css/css/components/fab` or `actual-css/css/components`.
4
6
 
5
- FAB fixes a primary action near the viewport's block-end and inline-end edges.
6
7
  The existing button component owns its size, shape, intent, and interaction.
7
8
  As a direct child of `.app-layout`, it instead overlays the main grid area so
8
9
  the layout keeps it clear of adaptive application navigation and safe areas.
@@ -99,7 +99,7 @@ shows a current row with trailing actions and a flyout. Navigable rows usually
99
99
  want a non-zero `--list-item-pad-inline`: without that gutter, the current
100
100
  indicator touches the leading region and the trailing touches the row edge.
101
101
 
102
- ### Hooks
102
+ ## Hooks
103
103
 
104
104
  - `--list-item-min-size` controls the row's minimum touch height.
105
105
  - `--list-item-pad-block` and `--list-item-pad-inline` control row padding.
@@ -68,7 +68,7 @@ marker to that background rather than to the neutral intent.
68
68
  </div>
69
69
  ```
70
70
 
71
- ### Hooks
71
+ ## Hooks
72
72
 
73
73
  - `--meter-track` — track color; raise it when the meter sits on a
74
74
  `--surface-subtle` card, where the default track would disappear.
@@ -27,7 +27,7 @@ normal document scrolling. `.app-nav` is not merely a stacked-icon flavour of it
27
27
  reach for that component only when the destinations are part of a persistent
28
28
  application shell — bottom navigation or labelled side navigation via
29
29
  `.app-layout`. The choice follows the shell contract, not a preference for
30
- icons. See [App Navigation](app-navigation.md).
30
+ icons. See [App navigation](app-navigation.md).
31
31
 
32
32
  ## Class reference
33
33
 
@@ -0,0 +1,17 @@
1
+ # Components
2
+
3
+ > Every component and pattern on one page, to find the one that fits before opening its reference.
4
+
5
+ Components carry a visual identity, states and interaction styling. Patterns
6
+ normalize a recurring semantic shape, such as a navigation list or an icon
7
+ slot, so it composes with the components and the layout primitives.
8
+
9
+ ## Components
10
+
11
+ <!--docs-index:components-->
12
+
13
+ ## Patterns
14
+
15
+ How patterns relate to layout and components: [Patterns overview](../patterns/overview.md).
16
+
17
+ <!--docs-index:patterns-->
@@ -1,10 +1,10 @@
1
1
  # Shimmer
2
2
 
3
- > **Module** — import `actual-css/css/effects/shimmer` or `actual-css/css/effects`.
4
-
5
3
  Shimmer sweeps a highlight across a text label to show an activity in
6
4
  progress: an agent working, a chatbot composing, a job processing.
7
5
 
6
+ > **Module** — import `actual-css/css/effects/shimmer` or `actual-css/css/effects`.
7
+
8
8
  ```html demo
9
9
  <div class="stack">
10
10
  <span class="shimmer" role="status">Working…</span>
@@ -1,4 +1,4 @@
1
- # Progressive Enhancements
1
+ # Progressive enhancements
2
2
 
3
3
  > The optional JavaScript runtime that completes Actual's interactive components — dialog, drawer, flyout, tooltip, tabs, scrollspy, and status bar — through progressive enhancement.
4
4
 
@@ -56,5 +56,5 @@ after opening. The runtime warns in the console when a second copy loads.
56
56
 
57
57
  Each interactive component has its own page documenting the exact markup its
58
58
  enhancement expects: Dialog, Drawer, Flyout, Tooltip, Tabs, Scrollspy, and
59
- Status Bar. The full runtime is loaded on the docs pages, so the examples
59
+ Status bar. The full runtime is loaded on the docs pages, so the examples
60
60
  work with the documented markup alone.
@@ -1,4 +1,4 @@
1
- # Status Bar
1
+ # Status bar
2
2
 
3
3
  > Singleton floating area for short, non-critical, transient feedback.
4
4
 
@@ -1,4 +1,4 @@
1
- # Ajax Submission
1
+ # Ajax submission
2
2
 
3
3
  > Submit a form with `fetch` and show the server's HTML answer in place.
4
4
 
@@ -1,4 +1,4 @@
1
- # Choice Cards
1
+ # Choice cards
2
2
 
3
3
  > Card-style radio and checkbox labels where the whole card acts as a clickable target.
4
4
 
@@ -1,4 +1,4 @@
1
- # Detached Actions
1
+ # Detached actions
2
2
 
3
3
  > `.form-actions` is class-only. It may live inside or outside the `<form>`. Use the native `form` attribute to connect a detached submit button to its form.
4
4
 
@@ -1,10 +1,12 @@
1
1
  # Floating labels
2
2
 
3
- > **Module** — import `actual-css/css/forms/floating-field` or `actual-css/css/forms/all`.
4
-
5
3
  `.floating-field` turns a control and its label into a floating-label cell:
6
4
  the label rests inside the control and floats to the top when the control is
7
- focused or filled. It composes the existing `.field` layout and the text
5
+ focused or filled.
6
+
7
+ > **Module** — import `actual-css/css/forms/floating-field` or `actual-css/css/forms/all`.
8
+
9
+ It composes the existing `.field` layout and the text
8
10
  controls (`.input`, `.textarea`, `.select`) with zero JavaScript.
9
11
 
10
12
  The cell holds exactly one control and its label, in either order: a form
@@ -1,4 +1,4 @@
1
- # Form Actions
1
+ # Form actions
2
2
 
3
3
  > `.form-actions` is the role of the `.cluster` row that closes a form. It may
4
4
  > live inside or outside the `<form>` (see Detached Actions) and has an opt-in
@@ -1,4 +1,4 @@
1
- # Input Policy
1
+ # Input policy
2
2
 
3
3
  > Native input intent first. Actual's runtime filters values only when explicitly asked, and fixed-shape masks stay opt-in through `data-mask`.
4
4
 
@@ -1,4 +1,4 @@
1
- # Joined Controls
1
+ # Joined controls
2
2
 
3
3
  > Use `.join` when controls need to be visually joined into a single unit.
4
4
 
@@ -1,11 +1,11 @@
1
1
  # One-time code input
2
2
 
3
- > **Module** — import `actual-css/css/forms/otp` or `actual-css/css/forms/all`.
4
-
5
3
  OTP presents one native input as separate visual cells. Keeping a single input
6
4
  preserves paste, selection, autofill, password-manager, and
7
5
  `autocomplete="one-time-code"` behavior without JavaScript.
8
6
 
7
+ > **Module** — import `actual-css/css/forms/otp` or `actual-css/css/forms/all`.
8
+
9
9
  ```html demo
10
10
  <label class="field">
11
11
  <span class="field-label">Verification code</span>
@@ -1,4 +1,4 @@
1
- # Password Toggle
1
+ # Password toggle
2
2
 
3
3
  > A password field reveals its value through a linked button. The markup is a
4
4
  > plain command invoker; the behavior ships with the full JS runtime
@@ -1,4 +1,4 @@
1
- # States And Sizes
1
+ # States and sizes
2
2
 
3
3
  > Read-only, disabled, and shared size modifiers for form controls.
4
4
 
@@ -1,4 +1,4 @@
1
- # Sticky Actions
1
+ # Sticky actions
2
2
 
3
3
  > Use `.cluster.form-actions.sticky` when long forms need reachable submit actions while scrolling.
4
4
 
@@ -1,4 +1,4 @@
1
- # Unsaved Changes
1
+ # Unsaved changes
2
2
 
3
3
  > Track whether a form holds data that differs from what was last saved.
4
4
 
@@ -220,8 +220,8 @@ bunx --bun actual-css contrast --theme src/theme.css
220
220
  ```
221
221
 
222
222
  It reads the theme in headless Chrome, in every scheme it declares, and exits 1
223
- when a soft, focus, invalid-focus or inverse pair misses its threshold, so it
224
- can gate a CI job.
223
+ when a soft, control-edge, focus, invalid-focus or inverse pair misses its
224
+ threshold, so it can gate a CI job.
225
225
 
226
226
  Starting from a color scale (Open Props, Radix Colors, Uchū, Tailwind
227
227
  `--color-zinc-*`, a brand ramp): map one step per role rather than importing
@@ -58,6 +58,28 @@ children consume them; check their component pages when nesting layouts.
58
58
 
59
59
  Intent tokens are used by `.primary`, `.secondary`, `.success`, `.warning`, `.danger`, and `.neutral`. They are curated color/foreground pairs. Actual CSS does not compute foregrounds automatically in the core theme contract.
60
60
 
61
+ The swatches read the live tokens, so they follow the scheme and theme picked
62
+ in the header.
63
+
64
+ ```html demo
65
+ <div class="grid docs-swatches">
66
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--primary)"></span><figcaption><code>--primary</code></figcaption></figure>
67
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--secondary)"></span><figcaption><code>--secondary</code></figcaption></figure>
68
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--success)"></span><figcaption><code>--success</code></figcaption></figure>
69
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--warning)"></span><figcaption><code>--warning</code></figcaption></figure>
70
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--danger)"></span><figcaption><code>--danger</code></figcaption></figure>
71
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--neutral)"></span><figcaption><code>--neutral</code></figcaption></figure>
72
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--surface)"></span><figcaption><code>--surface</code></figcaption></figure>
73
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--surface-subtle)"></span><figcaption><code>--surface-subtle</code></figcaption></figure>
74
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--surface-solid)"></span><figcaption><code>--surface-solid</code></figcaption></figure>
75
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--text)"></span><figcaption><code>--text</code></figcaption></figure>
76
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--text-muted)"></span><figcaption><code>--text-muted</code></figcaption></figure>
77
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--border)"></span><figcaption><code>--border</code></figcaption></figure>
78
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--border-control)"></span><figcaption><code>--border-control</code></figcaption></figure>
79
+ <figure class="stack tight"><span class="docs-swatch" style="background: var(--focus)"></span><figcaption><code>--focus</code></figcaption></figure>
80
+ </div>
81
+ ```
82
+
61
83
  The values below are the light fallback. In browsers with `light-dark()` support, the default theme re-declares the same tokens as light/dark pairs so dark mode follows the OS automatically; without support, browsers receive the light fallback.
62
84
 
63
85
  ```css
@@ -107,9 +129,12 @@ A theme with translucent surfaces overrides both with opaque values.
107
129
  `--border` separates surfaces: cards, tables, dividers, panels. `--border-control`
108
130
  is the resting edge that tells a control apart from the surface — fields,
109
131
  checkboxes and radios, switches, OTP cells, choice cards, join addons, the color
110
- and file inputs. It defaults to `--border`; set it alone to make controls
111
- stand out (input border, field outline, form control contrast) without
112
- darkening every separator. Hover, checked, invalid and disabled states keep
132
+ and file inputs. It is derived from `--text` and `--surface`; on the default
133
+ palette it holds 3:1 against the surface, and `actual-css contrast` reports it
134
+ for your theme. `--border-control-mix` sets the ink share; raise it when a
135
+ tinted surface pulls the edge under 3:1. Without `color-mix()` it falls back to
136
+ `--border`. Set `--border-control` itself to soften or strengthen controls (input border,
137
+ field outline, form control contrast) without touching any separator. Hover, checked, invalid and disabled states keep
113
138
  their own colors.
114
139
 
115
140
  Use `*-fg` pairs only for solid backgrounds where the component controls both foreground and background. Do not require a foreground token for every surface token.
@@ -517,7 +542,7 @@ A full theme can override:
517
542
  - intent colors and foreground pairs
518
543
  - surface, text, border, focus, and overlay colors
519
544
  - `--surface-opaque` and `--surface-solid-fg`, when surfaces are translucent
520
- - `--border-control`, when controls need a stronger edge than separators
545
+ - `--border-control-mix` or `--border-control`, when controls need a stronger edge than separators
521
546
  - radius tokens
522
547
  - optional shadow, motion, typography, and soft-variant mix tokens
523
548
 
@@ -142,7 +142,7 @@ The framework exposes three line-height tokens:
142
142
 
143
143
  - `--line-height-tight` (1.25) — used by global headings and by display / title classes
144
144
  - `--line-height` (1.5) — body default
145
- - `--line-height-relaxed` (1.75) — used by `.lead` and `.text-lead` for intro text
145
+ - `--line-height-relaxed` (1.6) — used by `.lead` and `.text-lead` for intro text
146
146
 
147
147
  There is no `--line-height-normal`. It would be redundant with `--line-height`. Prose overrides line-height through `--prose-line-height` and `--prose-heading-line-height` because the readable values for long-form text are different from app UI.
148
148
 
@@ -1,4 +1,4 @@
1
- # The JavaScript Runtime
1
+ # The JavaScript runtime
2
2
 
3
3
  > The optional JavaScript runtime that progressively enhances Actual's semantic markup — self-registering side-effect modules, the `enhance()` DOM lifecycle, stateless command routing, and the floating and surface contracts for custom widgets.
4
4
 
@@ -1,4 +1,4 @@
1
- # App Layout
1
+ # App layout
2
2
 
3
3
  > Specialized application recipe with a topbar, independently scrolling content, and one adaptive primary navigation landmark.
4
4
 
@@ -1,4 +1,4 @@
1
- # App Shell
1
+ # App shell
2
2
 
3
3
  Full-height, single-column document flow. Use it as the outer shell for ordinary pages,
4
4
  simple applications, and other layouts that need a header / main / footer structure spanning the viewport.
@@ -1,4 +1,4 @@
1
- # Column Layout
1
+ # Column layout
2
2
 
3
3
  `.column-layout` is an explicit twelve-column composition canvas. Each direct
4
4
  child places itself with two numbers: `--column-span` (how many units) and
@@ -1,4 +1,4 @@
1
- # Media Object
1
+ # Media object
2
2
 
3
3
  Fixed-width leading element (avatar, icon, image) paired with flexible trailing content.
4
4
 
@@ -1,4 +1,4 @@
1
- # Layout Overview
1
+ # Layout overview
2
2
 
3
3
  Layout provides a small set of composable building blocks for common page, app, and content structure. It is not a utility-first framework, and the twelve-column canvas it does ship (`.column-layout`) is an opt-in vocabulary for deliberate composition rather than the default way to build a page.
4
4
 
@@ -1,4 +1,4 @@
1
- # Scroll Snap
1
+ # Scroll snap
2
2
 
3
3
  Horizontal rails that stay useful without JavaScript and snap in modern browsers.
4
4
 
@@ -1,4 +1,4 @@
1
- # Scroll Target
1
+ # Scroll target
2
2
 
3
3
  Anchor scroll offset: keep `#hash` and `scrollIntoView()` targets clear of sticky headers.
4
4
 
@@ -1,4 +1,4 @@
1
- # Sidebar Layout
1
+ # Sidebar layout
2
2
 
3
3
  Use `.sidebar-layout` for a main region followed by a secondary region. It
4
4
  switches intrinsically according to its own available width: the regions sit
@@ -1,4 +1,4 @@
1
- # Sidebar Shell
1
+ # Sidebar shell
2
2
 
3
3
  > A persistent sidebar beside the main region on a wide screen, each scrolling on its own; a drawer on a phone.
4
4
 
@@ -1,4 +1,4 @@
1
- # Code Block With Copy Button
1
+ # Code block with copy button
2
2
 
3
3
  A self-contained copy-button recipe composed from `.btn`, a `pre > code` block, and the `enhance()` lifecycle.
4
4
 
@@ -1,4 +1,4 @@
1
- # Exclusive Accordion
1
+ # Exclusive accordion
2
2
 
3
3
  Browsers that support the `name` attribute on `<details>` get native exclusive accordions — no JS engine needed. Omit `name` to allow several open at once.
4
4
 
@@ -1,4 +1,4 @@
1
- # Hierarchical Scrollable Nav
1
+ # Hierarchical scrollable nav
2
2
 
3
3
  App shell with a collapsible nav tree. Uses existing primitives only — no treeview component.
4
4
 
@@ -1,4 +1,4 @@
1
- # Icon Input
1
+ # Icon input
2
2
 
3
3
  Use `.input-icon` for a search or filter input with a leading icon.
4
4
 
@@ -1,4 +1,4 @@
1
- # Intent Nesting
1
+ # Intent nesting
2
2
 
3
3
  An intent applies to the component carrying it. Nested components keep their
4
4
  own default intent unless you give them one:
@@ -1,4 +1,4 @@
1
- # Navigation List
1
+ # Navigation list
2
2
 
3
3
  Use `.nav-list` for a vertical list of navigation links: it removes native list
4
4
  chrome, stacks the rows and stretches each `.nav-link` across the row. For a
@@ -89,7 +89,7 @@ A project may add `.site-header` when it needs a visual shell.
89
89
  }
90
90
  ```
91
91
 
92
- ### App Shell With Sidebar
92
+ ### App shell with sidebar
93
93
 
94
94
  A persistent sidebar beside the content — a dashboard, an admin panel — is
95
95
  [`.sidebar-shell`](../layout/sidebar-shell.md): side by side from `64rem`, each
@@ -17,7 +17,7 @@ Use patterns when a semantic element needs a small amount of normalization befor
17
17
  - Avoid broad element selectors such as `nav ul` or `.alert menu`.
18
18
  - A pattern should be useful in more than one component or context.
19
19
 
20
- ## Relationship With Layout
20
+ ## Relationship with layout
21
21
 
22
22
  Patterns often compose with layout primitives.
23
23
 
@@ -1,4 +1,4 @@
1
- # Structured Lists
1
+ # Structured lists
2
2
 
3
3
  Choose list markup from the content semantics, then add only the layout or
4
4
  component contract the collection needs.
@@ -1,4 +1,4 @@
1
- # Flex Helpers
1
+ # Flex helpers
2
2
 
3
3
  Small flex helpers for grow behavior and other one-line needs.
4
4
 
@@ -1,4 +1,4 @@
1
- # Link Variants
1
+ # Link variants
2
2
 
3
3
  Link styling for chrome that is conceptually a link but should not look like prose.
4
4
 
@@ -1,4 +1,4 @@
1
- # List Helpers
1
+ # List helpers
2
2
 
3
3
  Utilities for list chrome reset, readable measure, and editorial kicker labels.
4
4
 
@@ -1,4 +1,4 @@
1
- # Shape Helpers
1
+ # Shape helpers
2
2
 
3
3
  Rare shape utilities for cases that must be perfectly round or square.
4
4
 
@@ -1,4 +1,4 @@
1
- # Sizing And Wrapping
1
+ # Sizing and wrapping
2
2
 
3
3
  Small layout corrections for controls, labels, and compact rails.
4
4
 
@@ -1,4 +1,4 @@
1
- # Spacing Helpers
1
+ # Spacing helpers
2
2
 
3
3
  Semantic step helpers for gap, padding, and margin — the most common inline-style escape hatches.
4
4
 
@@ -1,4 +1,4 @@
1
- # Text Helpers
1
+ # Text helpers
2
2
 
3
3
  Lightweight helpers for muted or secondary text without a full color scale.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "actual-css",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Plain CSS component framework with semantic classes, universal variants, small tokens, theme hooks, and progressive enhancements.",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.4.4",