@justai/cuts 0.27.0 → 0.27.2

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/Posts.astro +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justai/cuts",
3
- "version": "0.27.0",
3
+ "version": "0.27.2",
4
4
  "description": "A persona's named parts \u2014 the page shell that holds them, and the cuts themselves.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/src/Posts.astro CHANGED
@@ -102,7 +102,14 @@ const vars = [
102
102
 
103
103
  /* the maker's signature — every persona signs off with justai.pro */
104
104
  .z-foot { text-align: center; color: var(--text-dim); font-size: var(--fs-2xs); padding-block: 24px max(16px, env(safe-area-inset-bottom)); }
105
- .z-foot a { color: var(--accent); text-decoration: none; }
105
+ /* Underlined, deliberately: a link inside body text must not rely on colour alone to be seen
106
+ (WCAG link-in-text-block — the twins' quality gate flagged it where accent-vs-dim contrast ran
107
+ thin). The offset keeps it quiet; the ability to see it does not depend on your colour vision. */
108
+ /* --confirm-accent, then --accent: the raw accent is a BRAND colour, not a text colour — at this
109
+ size on a light ground Apple blue reads 3.2:1. The fleet already solved this once, for the
110
+ sheet: every persona carries a hue-preserving darkened accent that clears 4.5 as text. A link
111
+ is text; it uses the text-grade accent. */
112
+ .z-foot a { color: var(--confirm-accent, var(--accent)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
106
113
  </style>
107
114
 
108
115
  <script>