The Community Platform for Web Components Users and Developers
I've been using CSS variables inside components for important user-customizable options such as color scheme, size and position. For example, the rwt-storyboard component lets users set things like this:
rwt-storyboard { --font-basis: 1.0; --width: calc(10rem * var(--font-basis)); --height: calc(40rem * var(--font-basis)); --color: var(--white); --background: var(--black); --button-color: var(--pure-white); }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
I've been using CSS variables inside components for important user-customizable options such as color scheme, size and position. For example, the rwt-storyboard component lets users set things like this: