#3079738-145: Feedback from @droplet related to font-sizes

Created on 13 October 2019, about 5 years ago
Updated 15 December 2023, about 1 year ago

Comment by @droplet #3079738-145: Add Claro administration theme to core :

  --font-size-h1: 2.027rem; /* ~32px */
  --font-size-h2: 1.802rem; /* ~29px */
  --font-size-h3: 1.602rem; /* ~26px */
  --font-size-h4: 1.424rem; /* ~23px */
  --font-size-h5: 1.266rem; /* ~20px */
  --font-size-h6: 1.125rem; /* 18px */
  --font-size-s: 0.889rem; /* ~14px */
  --font-size-xs: 0.79rem; /* ~13px */
  --font-size-xxs: 0.702rem; /* ~11px */

I'm interested in how these values coming up. If that was a @3x design, it's a common issue the designer used a non "multiples of 3" value. I think it can be tidy up. Cross-browser handling the sub-pixel differently.

calc(17rem / 16);
many codes of these styles. It doesn't take advantage of calc, custom var & REM unit.

If you want to scale the base 2px to 18px in :root. Everywhere is broken. There's no much different than use PX.

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Claro 

Last updated 2 days ago

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024