summaryrefslogtreecommitdiffstats
path: root/tpl/views/switch.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
committerVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
commit5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch)
treee3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/views/switch.pug
parentFixed vertical rule (diff)
downloadiro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip
Split demo in :target views
Diffstat (limited to 'tpl/views/switch.pug')
-rw-r--r--tpl/views/switch.pug18
1 files changed, 18 insertions, 0 deletions
diff --git a/tpl/views/switch.pug b/tpl/views/switch.pug
new file mode 100644
index 0000000..f51077d
--- /dev/null
+++ b/tpl/views/switch.pug
@@ -0,0 +1,18 @@
1mixin view-switch
2 +view('switch', 'Switch')
3 .c-box
4 +switch= 'Cats'
5 +switch= 'Dogs'
6 +switch(checked=true)= 'Foxes'
7 br
8 +switch(disabled=true)= 'Cats'
9 +switch(disabled=true)= 'Dogs'
10 +switch(checked=true disabled=true)= 'Foxes'
11 br
12 +switch(accent=true)= 'Cats'
13 +switch(accent=true)= 'Dogs'
14 +switch(accent=true checked=true)= 'Foxes'
15 br
16 +switch(accent=true disabled=true)= 'Cats'
17 +switch(accent=true disabled=true)= 'Dogs'
18 +switch(accent=true checked=true disabled=true)= 'Foxes'