[OCaml] High Intensity Training Online
refactor scale the global corner radius in em units
Set the single --radius token to 0.4em so the corner scales with each component's own font size. Every button, card, and input already reads this token, so one change harmonizes them and larger controls get a proportional corner. The circular close button keeps its 50% radius on purpose.
lib/web/assets/hito.css
@@ -20,7 +20,7 @@
20
20
--font-size-base: 1rem;
21
21
--font-size-lead: 1.125rem;
22
22
--font-size-heading: 2rem;
23
Removed:
--radius: 0.3rem;
23
Added:
--radius: 0.4em;
24
24
--sans: "Work Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
25
25
--mono: "Courier Prime", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
26
26
}