@alis-build/design-system 0.26.0 → 0.26.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.
package/alisx.css CHANGED
@@ -806,13 +806,13 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
806
806
  .app-table td .app-icon-btn{width:32px;height:32px}
807
807
 
808
808
  /* ── Prose · rendered markdown on the type scale (rules/type.md) ── */
809
- .prose-compact{--prose-body-size:14px;--prose-body-line:20px;--prose-gap:16px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:500;--prose-h1-above:24px;--prose-h1-below:8px;--prose-h2-size:14px;--prose-h2-line:20px;--prose-h2-weight:500;--prose-h2-above:24px;--prose-h3-above:16px;--prose-minor-ink:var(--on-surface-variant);--prose-code-size:12px}
809
+ .prose-compact{--prose-body-size:14px;--prose-body-line:20px;--prose-gap:16px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:600;--prose-h1-above:24px;--prose-h1-below:8px;--prose-h2-size:14px;--prose-h2-line:20px;--prose-h2-weight:600;--prose-h2-above:24px;--prose-h3-above:16px;--prose-minor-ink:var(--on-surface-variant);--prose-code-size:12px}
810
810
  .prose{max-width:100%;overflow-wrap:anywhere;font-family:var(--font-sans)}
811
811
  .prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}
812
812
  .prose :is(p,li){font-size:var(--prose-body-size,16px);line-height:var(--prose-body-line,24px);letter-spacing:0;font-weight:400}
813
813
  .prose p{margin:0 0 var(--prose-gap,24px)}
814
814
  .prose h1{font-size:var(--prose-h1-size,18px);line-height:var(--prose-h1-line,24px);letter-spacing:var(--prose-h1-tracking,-0.02em);font-weight:var(--prose-h1-weight,600);margin:var(--prose-h1-above,32px) 0 var(--prose-h1-below,12px)}
815
- .prose :is(h2,h3,h4,h5,h6){font-size:var(--prose-h2-size,16px);line-height:var(--prose-h2-line,24px);letter-spacing:0;font-weight:var(--prose-h2-weight,500);margin:var(--prose-h3-above,24px) 0 var(--space-8)}
815
+ .prose :is(h2,h3,h4,h5,h6){font-size:var(--prose-h2-size,16px);line-height:var(--prose-h2-line,24px);letter-spacing:0;font-weight:var(--prose-h2-weight,600);margin:var(--prose-h3-above,24px) 0 var(--space-8)}
816
816
  .prose h2{margin-top:var(--prose-h2-above,32px)}
817
817
  .prose :is(h3,h4,h5,h6){color:var(--prose-minor-ink,inherit)}
818
818
  .prose :is(strong,b){font-weight:600}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
package/rules/type.md CHANGED
@@ -127,7 +127,7 @@ subtitle is never body.
127
127
  | An empty state inside working content with a heading and a hint | supporting on both, and report the copy: [page.md](page.md) asks for one line |
128
128
  | A drop target's line | supporting, in `primary` while something is dragged over |
129
129
  | Code | `.text-mono`, in ink, with supporting when someone copies it (a command, a prompt) and meta when it is a value (an id, a hash, a version) |
130
- | Rendered markdown | `.prose` on the container (`.prose-compact` to step it down under its own heading), no role on the wrapper. A plain fallback line beside it takes supporting on its own element |
130
+ | Rendered markdown | `.prose` on the container (`.prose-compact` to step it down under its own heading), no role on the wrapper. Its h1 is section-title; h2–h6 are body size at 600, h3–h6 in `on-surface-variant`, and compact steps both down at the same weight. A plain fallback line beside it takes supporting on its own element |
131
131
  | Text on a sheet painted with a colour | the sheet's ink: no ink override, no disabled ink. The role still sets size and weight |
132
132
  | A tab's pane | the rules of whatever holds the tabs |
133
133
 
@@ -158,7 +158,7 @@ quiet baseline, with emphasis spent where it means something.
158
158
  - **700**: page-title (500 on a phone, § Three more styles), metric-value, the selected state (`.text-selected`), the
159
159
  filled button, and eyebrow.
160
160
  - **600**: section-title, a text or outlined button's label, emphasis in reading text
161
- (`.text-emphasis`), and `strong` in rendered prose.
161
+ (`.text-emphasis`), and `strong` and the headings in rendered prose.
162
162
  - **500**: object-title, label, tabs, segments, nav rows.
163
163
  - **400**: body, supporting and meta.
164
164