From 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Mar 2022 18:29:21 +0100 Subject: Split demo in :target views --- tpl/views/switch.pug | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tpl/views/switch.pug (limited to 'tpl/views/switch.pug') 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 @@ +mixin view-switch + +view('switch', 'Switch') + .c-box + +switch= 'Cats' + +switch= 'Dogs' + +switch(checked=true)= 'Foxes' + br + +switch(disabled=true)= 'Cats' + +switch(disabled=true)= 'Dogs' + +switch(checked=true disabled=true)= 'Foxes' + br + +switch(accent=true)= 'Cats' + +switch(accent=true)= 'Dogs' + +switch(accent=true checked=true)= 'Foxes' + br + +switch(accent=true disabled=true)= 'Cats' + +switch(accent=true disabled=true)= 'Dogs' + +switch(accent=true checked=true disabled=true)= 'Foxes' -- cgit v1.2.3-54-g00ecf