Julian K
Julian K
Sep 13, 2018 · 1 min read

Thank you for your response.

I’m still trying to wrap my head around how this will work with various components and theming.

With your example wouldn’t you just do the following?

.component {--btn-font-size: var(newVariable)}

Or if you wanted a dark theme with a different button size, just wrap that class around anything you want to theme that way?

    Julian K

    Written by

    Julian K

    Design System Lead, UI Designer, Music Collector, Yello Super-fan