@tradalab/lyra 3.10.0 → 3.12.0

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.
@@ -236,6 +236,34 @@
236
236
  font-size: var(--compact-font-size);
237
237
  }
238
238
 
239
+ /* TOUCH: `data-touch="true"` on `<html>` sizes the controls for a finger.
240
+ *
241
+ * The kit is sized for a pointer (12px text, 32px controls), and compact only shrinks it. The three
242
+ * scorix Android apps (auth, lunarcalendar, pomodoro) each grew their own copy of this block, and the
243
+ * copies had drifted by 2026-10-19: only auth raised inputs and selects, only the other two raised
244
+ * tabs. This is their union.
245
+ *
246
+ * 40px with 14px text, as Material's own buttons: auth tried 48px and 18px first and the screen read
247
+ * as oversized, with Android scaling text by the user's font setting on top.
248
+ *
249
+ * Unlayered, like compact: the primitives carry their sizes as utility classes, and only an unlayered
250
+ * rule beats those whatever their specificity. */
251
+ [data-touch="true"] [data-slot="button"]:not([data-size^="icon"]),
252
+ [data-touch="true"] [data-slot="tabs-trigger"],
253
+ [data-touch="true"] [data-slot="input"],
254
+ [data-touch="true"] [data-slot="input-group"],
255
+ [data-touch="true"] [data-slot="native-select"],
256
+ [data-touch="true"] [data-slot="select-trigger"],
257
+ [data-touch="true"] [data-slot="select-item"] {
258
+ min-height: 40px;
259
+ font-size: 0.875rem;
260
+ }
261
+
262
+ [data-touch="true"] [data-slot="button"][data-size^="icon"] {
263
+ min-width: 40px;
264
+ min-height: 40px;
265
+ }
266
+
239
267
  /* TOAST above every overlay. Not a style preference.
240
268
  *
241
269
  * A toast reports the outcome of something the reader just did, and they usually did it in a dialog,