kitconcept / volto-light-theme

https://light-theme.kitconcept.io
11 stars 8 forks source link

set font-weights, font-sizes and font-heights as overridable #371

Closed erral closed 4 months ago

erral commented 5 months ago

I am not a SCSS expert, but without this I can't modify the settings of the body-text() mixin. This way I can override them in my theme's variables.scss and let body-text() set a custom font weight or size.

I don't know if this is the right way to do this... but it's the way I found, so disregard it if it makes no sense.

erral commented 5 months ago

Or perhaps it would be better to use the variables with weight definitions in the font-weight definition and make the same with the -sizes and line-heights?