In order to support variable font-size in Minerva Neue, we should implement CSS custom properties as was done in T348984 for Vector.
The difference between Minerva and Vector however, is that Minerva already has a variable font-size implementation via the **Special:MobileOptions** page {F38816920}
**and** it also supports [[ https://dev.to/colingourlay/how-to-support-apple-s-dynamic-text-in-your-web-content-with-css-40c0 | Apple's Dynamic Type ]] feature for iOS in [[ https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/skins/MinervaNeue/+/refs/heads/master/resources/skins.minerva.base.styles/content/main.less#53 | resources/skins.minerva.base.styles/content/main.less ]].
When implementing these initial CSS custom properties, they should be compatible with these existing font-scaling methods.
---
New font-sizes per T356339
Standard: font-size: 16px, line-height: 24px
Medium: font-size 18px, line-height: 27px
Large: font-size: 20px, line-height: 30px