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/status-indicator.pug | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tpl/views/status-indicator.pug (limited to 'tpl/views/status-indicator.pug') diff --git a/tpl/views/status-indicator.pug b/tpl/views/status-indicator.pug new file mode 100644 index 0000000..6d7ad30 --- /dev/null +++ b/tpl/views/status-indicator.pug @@ -0,0 +1,10 @@ +mixin view-status-indicator + +view('status-indicator', 'Status indicator') + .c-box + +status-indicator + = ' ' + +status-indicator('green') + = ' ' + +status-indicator('yellow') + = ' ' + +status-indicator('red') -- cgit v1.2.3-70-g09d2