Re-usability is extremely powerful. Make your libraries even more re-usable by allowing them to be themed from apps.
Instead of having users sift through lots of documentation to find your css variables and set them themselves, we’re going to use a service.
Get a list over what styles you want your end users to have control over, in our case we want our users to set their own:
Now replace the styling of these properties in your library component with css variables, like’a so:
Now create a…