SwedbankPay/design.swedbankpay.com

Expose CSS variables

hmosvoll opened this issue · 0 comments

Expose less variables as CSS variables

Is your feature request related to a problem? Please describe.
We have some custom css where we use property values such as the colors and breakpoints from the design guide. We now use these values directly such as color: "#fdc129". It would be nice to avoid this redundans, and make sure we don't miss small to medium adjustments to these values.

Describe the solution you'd like
Exposed css variables on the :root object. If this should include all variables or just key variables I am not sure. Start small maybe?

Describe alternatives you've considered
Just keep redundans, but I am afraid that small changes will go unnoticed.