@n1kname/components 0.67.0 → 0.67.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n1kname/components",
3
- "version": "0.67.0",
3
+ "version": "0.67.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -5,7 +5,7 @@
5
5
  * such as the four on a story map.
6
6
  *
7
7
  * Deliberately not cards: open columns with a hairline between them, so a page that already has
8
- * boxes doesn't get more. The quote hangs on a rule in the person's tone. A list, each person a
8
+ * boxes doesn't get more. The quote sits on a soft tint of the person's tone. A list, each person a
9
9
  * heading, their notes and their quote, read in order. Up to four columns; below 640px wide two,
10
10
  * below 420px one, with a rule above each person instead.
11
11
  *
@@ -202,7 +202,8 @@ const tones: Tone[] = ['accent', 'cool'];
202
202
  margin-bottom: 2px;
203
203
  font-size: var(--text-caption);
204
204
  font-weight: 600;
205
- color: var(--c-text-secondary);
205
+ /* Tinted from the surface it sits on, not a flat grey. */
206
+ color: var(--mark);
206
207
  }
207
208
 
208
209
  dd {
@@ -213,11 +214,13 @@ const tones: Tone[] = ['accent', 'cool'];
213
214
  text-wrap: pretty;
214
215
  }
215
216
 
216
- /* The person's voice: hung on a rule in their tone, at the foot of the column. */
217
+ /* The person's voice, at the foot of the column: a 10% tint of their tone, as the Notice. Not
218
+ * a rule down one side, which reads as a coloured bar on a box. */
217
219
  blockquote {
218
220
  margin: auto 0 0;
219
- padding: var(--sp-1) 0 var(--sp-1) var(--sp-3);
220
- border-left: 2px solid var(--mark);
221
+ padding: var(--sp-3) var(--sp-4);
222
+ border-radius: var(--radius-md);
223
+ background: color-mix(in oklab, var(--mark) 10%, var(--c-surface));
221
224
  }
222
225
 
223
226
  blockquote p {
@@ -308,7 +311,7 @@ const tones: Tone[] = ['accent', 'cool'];
308
311
  }
309
312
 
310
313
  blockquote {
311
- border-left-color: CanvasText;
314
+ border: 1px solid CanvasText;
312
315
  }
313
316
  }
314
317
  </style>