What version of design-system are you using?
- Strapi design system: 2.x
What's Wrong?
Strapi Design System 2.x sets font-size: 62.5% globally on the html element. This causes two problems: it silently breaks any third-party components or plugins used in the strapi dashboard with rem font size values, and it creates an implicit contract that every rem value in the entire page assumes 1rem = 10px. This can cause accessibility issues as well with regards to font sizes in design systems or components that would otherwise have legible sizes.
To Reproduce
Use any external component that uses rem font size values / tokens in a strapi plugin
Expected Behaviour
No hidden side effect on the html element.
What version of design-system are you using?
What's Wrong?
Strapi Design System 2.x sets
font-size: 62.5%globally on thehtmlelement. This causes two problems: it silently breaks any third-party components or plugins used in the strapi dashboard with rem font size values, and it creates an implicit contract that every rem value in the entire page assumes1rem = 10px. This can cause accessibility issues as well with regards to font sizes in design systems or components that would otherwise have legible sizes.To Reproduce
Use any external component that uses rem font size values / tokens in a strapi plugin
Expected Behaviour
No hidden side effect on the
htmlelement.