diff options
author | Volpeon <git@volpeon.ink> | 2022-02-05 19:33:35 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-05 19:33:35 +0100 |
commit | b2e7a1fac1613f63e879b22c577500de0b033fdc (patch) | |
tree | 6b03addf8992d7af6ab4c8dd3cf117e5ce09a494 /tpl/objects | |
parent | Added field-label (diff) | |
download | iro-design-b2e7a1fac1613f63e879b22c577500de0b033fdc.tar.gz iro-design-b2e7a1fac1613f63e879b22c577500de0b033fdc.tar.bz2 iro-design-b2e7a1fac1613f63e879b22c577500de0b033fdc.zip |
Added radio
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/radio.pug | 6 | ||||
-rw-r--r-- | tpl/objects/text-field.pug | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tpl/objects/radio.pug b/tpl/objects/radio.pug new file mode 100644 index 0000000..da6a026 --- /dev/null +++ b/tpl/objects/radio.pug | |||
@@ -0,0 +1,6 @@ | |||
1 | mixin radio | ||
2 | label.o-radio | ||
3 | input.o-radio__native(type='radio')&attributes(attributes) | ||
4 | .o-radio__circle | ||
5 | .o-radio__label | ||
6 | block | ||
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug index 9069200..c933b69 100644 --- a/tpl/objects/text-field.pug +++ b/tpl/objects/text-field.pug | |||
@@ -9,5 +9,5 @@ mixin text-field | |||
9 | } | 9 | } |
10 | 10 | ||
11 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) | 11 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) |
12 | input(class='o-text-field__input')&attributes(attributes) | 12 | input(class='o-text-field__native')&attributes(attributes) |
13 | .o-text-field__bg | 13 | .o-text-field__bg |