@aitrien/motifspec 1.24.1 → 1.24.3
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/CHANGELOG.md +11 -0
- package/README.md +1 -0
- package/dist/codex.css +5 -4
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +1 -1
- package/dist/tokens.json +1 -1
- package/docs/layouts/portfolio.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Every release of MotifSpec (named brand-codex until 1.10.0), newest first. Entries before 1.10.0 keep the names they were released under. Versions follow the rules in `CONVENTIONS.md`: renaming or removing a semantic token is major, adding tokens, components or icons is minor, and changing a value or fixing a description is a patch. `npm run build` fails if the version in `package.json` has no entry here.
|
|
4
4
|
|
|
5
|
+
## [1.24.3] - 2026-11-16
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- A documentation site's version, beside the wordmark, has `space.inline.sm` before it, so its hover pill no longer touches the wordmark.
|
|
9
|
+
|
|
10
|
+
## [1.24.2] - 2026-11-16
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- A rule for eyebrows in the README's rules for AI assistants, which the MCP server's `get_rules` serves: use one only when it says what the heading can't at a glance (a category, an audience, a feature, a stage or a theme), never to repeat the heading, in vague words, or above every section by habit.
|
|
14
|
+
- The portfolio home page's statement (`docs/layouts/portfolio.md`) has an eyebrow only if it adds something.
|
|
15
|
+
|
|
5
16
|
## [1.24.1] - 2026-11-16
|
|
6
17
|
|
|
7
18
|
### Changed
|
package/README.md
CHANGED
|
@@ -54,6 +54,7 @@ An à la carte project also lists the components it uses, by doc name: `componen
|
|
|
54
54
|
- JavaScript is enhancement. In a site that renders without script, anything a reader needs must work without it; controls that need script ship `hidden` and are revealed by it. In an app that needs script to render at all, MotifSpec's components add no script of their own: native elements (`<details>`, `<meter>`, `<dialog>`, radio buttons) do the work.
|
|
55
55
|
- Serve MotifSpec's own files (CSS, fonts, icons, scripts) from the project, never from a CDN. Where an app gets its data is the project's decision, not a MotifSpec rule.
|
|
56
56
|
- Use plain, functional labels: Work, Writing, About.
|
|
57
|
+
- Use an eyebrow (`cx-eyebrow`) only when it tells the reader something the heading can't say at a glance: a category, an audience, a feature, a stage or a theme. One that repeats the heading, says something vague, or sits above every section out of habit is noise, so leave it out. Most headings need none.
|
|
57
58
|
- Write sample and placeholder content from scratch. Never copy wording from reference or competitor sites; quote only with a named person and a traceable source in the blockquote footer.
|
|
58
59
|
- Give every section `<h2>` in reading text an id and a `cx-anchor` link (see `docs/components/heading-anchor.md`). Dashboard sections have an id and no anchor.
|
|
59
60
|
|
package/dist/codex.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
|
|
3
3
|
@font-face { font-family: "Yarndings 12"; src: url("../fonts/yarndings-12-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
|
|
4
4
|
|
|
5
|
-
/* MotifSpec 1.24.
|
|
5
|
+
/* MotifSpec 1.24.3 — generated from tokens/*.json. Do not edit.
|
|
6
6
|
Themes: semantic colours use light-dark(); color-scheme follows the system unless
|
|
7
7
|
<html data-theme="light|dark"> pins it. --cx-primitive-* are for this file only. */
|
|
8
8
|
:root {
|
|
@@ -724,10 +724,11 @@ p, li, dd, figcaption { text-wrap: pretty; }
|
|
|
724
724
|
/* The bar keeps its height while the wordmark changes size: the wordmark is a touch target high at any size, with its
|
|
725
725
|
text centred in it (align-content, as its line keeps the name and role on one baseline). */
|
|
726
726
|
.cx-header--docs .cx-wordmark { flex: none; padding-block: 0; align-content: center; }
|
|
727
|
-
/* A docs header's version sits beside the wordmark, in the role's place, on the wordmark's baseline
|
|
728
|
-
|
|
727
|
+
/* A docs header's version sits beside the wordmark, in the role's place, on the wordmark's baseline, with space.inline.sm
|
|
728
|
+
between them so its hover pill doesn't touch the wordmark. It is size.target.min high there, so lining up with the
|
|
729
|
+
wordmark can't make the bar taller. */
|
|
729
730
|
.cx-header__brand { flex: none; display: flex; align-items: baseline; }
|
|
730
|
-
.cx-header__brand > .cx-header__version { min-height: var(--cx-size-target-min); }
|
|
731
|
+
.cx-header__brand > .cx-header__version { min-height: var(--cx-size-target-min); margin-inline-start: var(--cx-space-inline-sm); }
|
|
731
732
|
/* A docs header sticks, with its surface, even without dist/codex.js: its menu and "On this page" open from it. */
|
|
732
733
|
.cx-backdrop-page .cx-header--docs:not([data-scrolled]) { position: sticky; background: var(--cx-color-surface-base); }
|
|
733
734
|
@media (width < 64rem) {
|
package/dist/tokens.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MotifSpec 1.24.
|
|
1
|
+
/* MotifSpec 1.24.3 — generated from tokens/*.json. Do not edit.
|
|
2
2
|
Themes: semantic colours use light-dark(); color-scheme follows the system unless
|
|
3
3
|
<html data-theme="light|dark"> pins it. --cx-primitive-* are for this file only. */
|
|
4
4
|
:root {
|
package/dist/tokens.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by npm run build. Do not edit.
|
|
2
|
-
export const version = "1.24.
|
|
2
|
+
export const version = "1.24.3";
|
|
3
3
|
export const changelog = "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md";
|
|
4
4
|
export const showcase = "https://motifspec.com";
|
|
5
5
|
export const tokens = [
|
package/dist/tokens.json
CHANGED
|
@@ -13,7 +13,7 @@ Every template sits on the backdrop (`backdrop.md`): its contours show behind th
|
|
|
13
13
|
<!-- caption: Page templates -->
|
|
14
14
|
| Template | Order | Dominant | Secondary |
|
|
15
15
|
|---|---|---|---|
|
|
16
|
-
| **Home** | Header → statement (eyebrow
|
|
16
|
+
| **Home** | Header → statement (display h1 with an eyebrow only if it adds something, lede, primary + secondary button) on the frost, inside the top fade → selected work (2–3 project cards) → recent writing (5 post rows) → capabilities table → footer | Statement and selected work | Writing rows, capabilities, the backdrop |
|
|
17
17
|
| **Project index** | Header → page head (h1 "Work", entry count, one-line intro) → tag filter → project cards or ledger, newest first → footer | The list of projects | Filter and intro |
|
|
18
18
|
| **Case study** | Header → back link "← All work" → accession label (`cx-label--lead`; on a phone, number, date and status only) → h1 and lede → hero figure (Plate 1) → article layout: TOC + prose (Problem, Constraints, Approach, Outcome with a data table, What I'd change) → on a phone, the full label as a card (`cx-label--card`) → pagination → footer | Title and hero, then prose | Label, TOC |
|
|
19
19
|
| **Writing list** | Header → page head (h1 "Writing", description, RSS link) → tag filter → post rows grouped by year → pagination → footer | Post titles | Numbers, dates, tags |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aitrien/motifspec",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.3",
|
|
4
4
|
"description": "Liam Marshall's design system: DTCG tokens and layered component rules that AI assistants read a layer at a time, with generated CSS, Hugo templates and a rule checker.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|