blob: 6f83fdcf4473b3bcc257a5ce1dc100a359d6acd5 (
plain) (
tree)
|
|
mixin switch
-
let classes = {
'o-switch': true,
'o-switch--accent': attributes.accent,
}
label(class=classes)
input.o-switch__native(type='checkbox')&attributes(attributes)
span.o-switch__indicator
span.o-switch__label
block
|