Re: [w3c/webcomponents] Theming options for shadow roots (#864)

There's a lot of great suggestions in this thread and ideas for approaching theming.  For my part, I can speak to my thought process behind the [Theming standardization project](https://github.com/castastrophe/wc-theming-standards).

Custom properties can provide context to web components.  They can be defined globally but they can also be scoped very narrowly such that they impact only portions of a site.  They give web component builders a method of revealing appropriate design hooks without giving away every property to customization.  It lets me say, you can set the color but not the width for this border, in order to allow a cohesive look and feel without reducing the design goals of what is being built.  By coalescing around a standard naming, we allow users to mix and match web components and with only 1 set of variables, influence them all.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/864#issuecomment-591670778

Received on Wednesday, 26 February 2020 22:12:22 UTC