diff options
author | Volpeon <git@volpeon.ink> | 2022-03-12 15:47:42 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-12 15:47:42 +0100 |
commit | 4b16b704d196ecb1605e7cfe7ccc83bb21e76b6e (patch) | |
tree | 02d87e974bdd679ce7e0c0804269678fc0b07065 /tpl/objects | |
parent | Added more utilities (diff) | |
download | iro-design-4b16b704d196ecb1605e7cfe7ccc83bb21e76b6e.tar.gz iro-design-4b16b704d196ecb1605e7cfe7ccc83bb21e76b6e.tar.bz2 iro-design-4b16b704d196ecb1605e7cfe7ccc83bb21e76b6e.zip |
Added table variants
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/table.pug | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tpl/objects/table.pug b/tpl/objects/table.pug index 9fb2a06..0e1632d 100644 --- a/tpl/objects/table.pug +++ b/tpl/objects/table.pug | |||
@@ -1,5 +1,12 @@ | |||
1 | mixin table | 1 | mixin table |
2 | table.o-table | 2 | - |
3 | let classes = { | ||
4 | 'o-table': true, | ||
5 | 'o-table--flush': attributes.flush, | ||
6 | 'o-table--box': attributes.box, | ||
7 | } | ||
8 | |||
9 | table(class=classes) | ||
3 | block | 10 | block |
4 | 11 | ||
5 | mixin table-head | 12 | mixin table-head |