summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2026-01-27 16:01:32 +0100
committerVolpeon <git@volpeon.ink>2026-01-27 16:01:32 +0100
commit42dbc8cf369ba13216cfa45580fae0641badccd8 (patch)
tree61b0a7a80e17946a9980eda3e93743029e6b25ff /tpl/objects
parentHList: action- -> button- (diff)
downloadiro-design-42dbc8cf369ba13216cfa45580fae0641badccd8.tar.gz
iro-design-42dbc8cf369ba13216cfa45580fae0641badccd8.tar.bz2
iro-design-42dbc8cf369ba13216cfa45580fae0641badccd8.zip
o-navbar: Add static color themes
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/navbar.pug3
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/navbar.pug b/tpl/objects/navbar.pug
index 889d6ad..6248e28 100644
--- a/tpl/objects/navbar.pug
+++ b/tpl/objects/navbar.pug
@@ -8,6 +8,9 @@ mixin navbar
8 'o-navbar': true, 8 'o-navbar': true,
9 'o-navbar--quiet': attributes.quiet, 9 'o-navbar--quiet': attributes.quiet,
10 } 10 }
11 if (attributes.theme) {
12 classes['o-navbar--' + attributes.theme] = true
13 }
11 if (attributes.class) { 14 if (attributes.class) {
12 classes[attributes.class] = true; 15 classes[attributes.class] = true;
13 } 16 }