@hearthsound/design 0.1.6 → 0.1.8

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/css/base.css CHANGED
@@ -243,3 +243,12 @@ a.link:focus-visible,
243
243
  scroll-behavior: auto;
244
244
  }
245
245
  }
246
+
247
+ /* p02: inline code in running text, 13 px mono on the control tone, radius 5. */
248
+ .hs-inline-code {
249
+ padding: 1px 5px;
250
+ font-family: var(--hs-font-mono);
251
+ font-size: 13px;
252
+ background: var(--hs-control-tone);
253
+ border-radius: 5px;
254
+ }
@@ -255,3 +255,8 @@
255
255
  white-space: normal;
256
256
  }
257
257
  }
258
+
259
+ /* p24-r3: a permission list inside a grey group takes the group's insets. */
260
+ .hs-settings-group > .hs-permission-list {
261
+ padding: 14px 16px;
262
+ }
@@ -34,13 +34,15 @@
34
34
  }
35
35
 
36
36
  /* The native control keeps its semantics and keyboard behaviour; the box draws it. */
37
+ /* The native control covers the whole row, invisible, so the row is its hit target. */
37
38
  .hs-choice__input {
38
39
  position: absolute;
39
- width: 1px;
40
- height: 1px;
40
+ inset: 0;
41
+ width: 100%;
42
+ height: 100%;
41
43
  margin: 0;
42
44
  opacity: 0;
43
- pointer-events: none;
45
+ cursor: inherit;
44
46
  }
45
47
 
46
48
  .hs-choice__box {
@@ -154,8 +154,30 @@
154
154
  font-variant-numeric: tabular-nums;
155
155
  }
156
156
 
157
- .hs-reorder-list .hs-setting-row__subtitle--mono {
157
+ .hs-setting-row__subtitle--mono {
158
158
  font: 400 12px var(--hs-font-mono);
159
+ overflow-wrap: anywhere;
160
+ }
161
+
162
+ /* p04-r1, p06: a failed outcome or check line. */
163
+ .hs-setting-row__subtitle--error {
164
+ color: var(--hs-error);
165
+ }
166
+
167
+ /* p04-r1: the glyph that leads a plugin outcome row. */
168
+ .hs-setting-row__icon--success {
169
+ color: var(--hs-success);
170
+ }
171
+
172
+ .hs-setting-row__icon--error {
173
+ color: var(--hs-error);
174
+ }
175
+
176
+ /* p04-r1: a muted group heading above a grey group (plugin layers in setup). */
177
+ .hs-group-heading {
178
+ margin: 10px 0 0;
179
+ font: 600 13px var(--hs-font-body);
180
+ color: var(--hs-fg-muted);
159
181
  }
160
182
 
161
183
  .hs-reorder-handle {
@@ -209,6 +209,13 @@ a.hs-lockup:focus-visible {
209
209
  justify-content: center;
210
210
  }
211
211
 
212
+ /* Setup: 760 px column, 640 px form, Back and Continue at the ends. Step titles keep the
213
+ * board's 23 px at every width (p02-p06). */
214
+ .hs-setup .hs-title-3 {
215
+ font-size: 23px;
216
+ line-height: 1.2;
217
+ }
218
+
212
219
  /* Setup: 760 px column, 640 px form, Back and Continue at the ends. */
213
220
  .hs-setup {
214
221
  display: flex;
@@ -245,8 +252,9 @@ a.hs-lockup:focus-visible {
245
252
  padding: 14px;
246
253
  }
247
254
 
255
+ /* The plain frame keeps its 24 px top padding on phones (l12-r1). */
248
256
  .hs-onboarding__body {
249
- padding: 0 14px 24px;
257
+ padding: 24px 14px 24px;
250
258
  }
251
259
 
252
260
  .hs-onboarding__body > .hs-signin {
@@ -275,9 +283,10 @@ a.hs-lockup:focus-visible {
275
283
  height: 26px;
276
284
  }
277
285
 
286
+ /* Phone sign-in: the column is centred in the space left, biased up by 20vh (l12-r1 B). */
278
287
  .hs-onboarding__main {
279
- align-items: flex-start;
280
- padding: 14px 14px 24px;
288
+ align-items: center;
289
+ padding: 14px 14px 20vh;
281
290
  }
282
291
 
283
292
  .hs-setup__actions {
@@ -68,3 +68,9 @@
68
68
  margin-left: 28px;
69
69
  }
70
70
  }
71
+
72
+ /* p24-r1: the smaller drop area inside the Add Plugins dialog. */
73
+ .hs-drop-zone--small {
74
+ padding: 18px 14px;
75
+ gap: 8px;
76
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearthsound/design",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "license": "MIT",
5
5
  "description": "Design language of Hearthsound: tokens, fonts, icons and component styles",
6
6
  "repository": {