From b0ccb341c917737bc373d8a7b607ad30acc9c0e4 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 7 May 2024 08:29:19 +0200 Subject: Replace dark theme with media theme --- tpl/objects/action-button.pug | 2 +- tpl/objects/icon.pug | 2 +- tpl/views/lightbox.pug | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tpl') diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug index e11e4a5..c0d7582 100644 --- a/tpl/objects/action-button.pug +++ b/tpl/objects/action-button.pug @@ -17,6 +17,6 @@ mixin action-button a(class=classes href=href) if attributes.icon - +icon(attributes.icon)(block=!block) + +icon(attributes.icon) = ' ' block diff --git a/tpl/objects/icon.pug b/tpl/objects/icon.pug index 98d51ad..80273b0 100644 --- a/tpl/objects/icon.pug +++ b/tpl/objects/icon.pug @@ -9,5 +9,5 @@ mixin icon(id) classes[attributes.class] = true; } - svg(class=classes) + svg(class=classes width="1.142857143em" height="1.142857143em" aria-hidden="true") use(href=href) diff --git a/tpl/views/lightbox.pug b/tpl/views/lightbox.pug index c1e5054..8169a35 100644 --- a/tpl/views/lightbox.pug +++ b/tpl/views/lightbox.pug @@ -1,7 +1,7 @@ mixin view-lightbox +view('lightbox', 'Lightbox') .c-box - +backdrop(class='t-dark') + +backdrop(class='t-media') +lightbox(['avatar.png', 'ava_feralbot.png', 'volpeon_spooky.png']) = "Let's try multiple links! " a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") @@ -14,7 +14,7 @@ mixin view-lightbox = "https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06" .c-box - +backdrop(class='t-dark') + +backdrop(class='t-media') +lightbox(['avatar.png']) = "Let's try multiple links! " a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") -- cgit v1.2.3-70-g09d2