From 48cb00040763459fc46d4aa108bf72c12f48f422 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 21 Jun 2024 23:07:50 +0200 Subject: WIP: Refactoring --- tpl/views/list.pug | 2 +- tpl/views/palette.pug | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tpl/views/palette.pug (limited to 'tpl/views') diff --git a/tpl/views/list.pug b/tpl/views/list.pug index e3e82bb..ce09b27 100644 --- a/tpl/views/list.pug +++ b/tpl/views/list.pug @@ -22,4 +22,4 @@ mixin view-list dt= 'JavaScript' dd= 'A client side scripting language.' p= loremIpsum - + diff --git a/tpl/views/palette.pug b/tpl/views/palette.pug new file mode 100644 index 0000000..384fe03 --- /dev/null +++ b/tpl/views/palette.pug @@ -0,0 +1,5 @@ +mixin view-palette + +view('palette', 'Palettes') + each palette in ['base', 'blue', 'purple', 'red', 'green', 'yellow'] + .c-box + +palette(palette) -- cgit v1.2.3-70-g09d2