<@xiul/xdv-set-custom-properties-from-attributes-mixin>
Mixin to set the custom properties from html attributes.
Installation
npm i @xiul/xdv-set-custom-properties-from-attributes-mixin
Usage
<xdv-checkbox
data-switch-bar-bg='var(--client-tertiary-9)'
>
</xdv-checkbox>
xdvSetCustomProperties ('switch')
The rule --switch-bar-bg is created or modified
--switch-bar-bg: var(--client-tertiary-9)