diff options
author | Volpeon <git@volpeon.ink> | 2024-06-25 17:39:03 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-06-25 17:39:03 +0200 |
commit | 4de75e0f305b2cb4a026073440f2bac7c34df817 (patch) | |
tree | 628f71b6f917bb9357ae14d018149509db655e4e /tpl | |
parent | Update (diff) | |
download | iro-design-4de75e0f305b2cb4a026073440f2bac7c34df817.tar.gz iro-design-4de75e0f305b2cb4a026073440f2bac7c34df817.tar.bz2 iro-design-4de75e0f305b2cb4a026073440f2bac7c34df817.zip |
Focus indicator style
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/checkbox.pug | 4 | ||||
-rw-r--r-- | tpl/objects/radio.pug | 4 | ||||
-rw-r--r-- | tpl/objects/switch.pug | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tpl/objects/checkbox.pug b/tpl/objects/checkbox.pug index 874505b..db794f6 100644 --- a/tpl/objects/checkbox.pug +++ b/tpl/objects/checkbox.pug | |||
@@ -12,7 +12,7 @@ mixin checkbox | |||
12 | type='checkbox' | 12 | type='checkbox' |
13 | class={ 'is-indeterminate': attributes.indeterminate } | 13 | class={ 'is-indeterminate': attributes.indeterminate } |
14 | )&attributes(attributes) | 14 | )&attributes(attributes) |
15 | .o-checkbox__box | 15 | span.o-checkbox__box |
16 | +icon('check')(class='o-checkbox__check-icon') | 16 | +icon('check')(class='o-checkbox__check-icon') |
17 | .o-checkbox__label | 17 | span.o-checkbox__label |
18 | block | 18 | block |
diff --git a/tpl/objects/radio.pug b/tpl/objects/radio.pug index 8cb1b1f..3243b05 100644 --- a/tpl/objects/radio.pug +++ b/tpl/objects/radio.pug | |||
@@ -7,6 +7,6 @@ mixin radio | |||
7 | 7 | ||
8 | label(class=classes) | 8 | label(class=classes) |
9 | input.o-radio__native(type='radio')&attributes(attributes) | 9 | input.o-radio__native(type='radio')&attributes(attributes) |
10 | .o-radio__circle | 10 | span.o-radio__circle |
11 | .o-radio__label | 11 | span.o-radio__label |
12 | block | 12 | block |
diff --git a/tpl/objects/switch.pug b/tpl/objects/switch.pug index 0c9c1ab..6f83fdc 100644 --- a/tpl/objects/switch.pug +++ b/tpl/objects/switch.pug | |||
@@ -7,6 +7,6 @@ mixin switch | |||
7 | 7 | ||
8 | label(class=classes) | 8 | label(class=classes) |
9 | input.o-switch__native(type='checkbox')&attributes(attributes) | 9 | input.o-switch__native(type='checkbox')&attributes(attributes) |
10 | .o-switch__indicator | 10 | span.o-switch__indicator |
11 | .o-switch__label | 11 | span.o-switch__label |
12 | block | 12 | block |