From 42dbc8cf369ba13216cfa45580fae0641badccd8 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 27 Jan 2026 16:01:32 +0100 Subject: o-navbar: Add static color themes --- tpl/objects/navbar.pug | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tpl/objects/navbar.pug') 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 'o-navbar': true, 'o-navbar--quiet': attributes.quiet, } + if (attributes.theme) { + classes['o-navbar--' + attributes.theme] = true + } if (attributes.class) { classes[attributes.class] = true; } -- cgit v1.2.3-70-g09d2