aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/widgets')
-rw-r--r--src/pages/widgets/links.pug7
-rw-r--r--src/pages/widgets/switches.pug5
2 files changed, 8 insertions, 4 deletions
diff --git a/src/pages/widgets/links.pug b/src/pages/widgets/links.pug
index 82e82dbe..cc7f86fe 100644
--- a/src/pages/widgets/links.pug
+++ b/src/pages/widgets/links.pug
@@ -8,12 +8,15 @@ section(class="links" id="links")
div(class="title")
a(href="#"+key)
if services[key].imageType == 'svgMono'
- img(src=`/assets/images/${key}-icon.svg`)
+ img(class='dark' src=`/assets/images/${key}-icon.svg`)
+ img(class='light' src=`/assets/images/${key}-icon-light.svg`)
else
img(src=`/assets/images/${key}-icon.${services[key].imageType}`)
span(data-localise="__MSG_"+key+"__")=services[key].name
div(class="title")
a(href="#about")
- img(src="/assets/images/about-icon.svg")
+ img(class='dark' src="/assets/images/about-icon.svg")
+ img(class='light' src="/assets/images/about-icon-light.svg")
+
span(data-localise="__MSG_about__") About
diff --git a/src/pages/widgets/switches.pug b/src/pages/widgets/switches.pug
index 9fbf5201..6b6f0c2b 100644
--- a/src/pages/widgets/switches.pug
+++ b/src/pages/widgets/switches.pug
@@ -2,8 +2,9 @@ each val, service in services
div(class=service + " some-block")
a(class="title" href=`/pages/options/index.html#${services[service].name.toLowerCase()}`)
if services[service].imageType == 'svgMono'
- img(src=`../../assets/images/${service}-icon.svg`)
+ img(class='dark' src=`/assets/images/${service}-icon.svg`)
+ img(class='light' src=`/assets/images/${service}-icon-light.svg`)
else
- img(src=`../../assets/images/${service}-icon.${services[service].imageType}`)
+ img(src=`/assets/images/${service}-icon.${services[service].imageType}`)
h4(data-localise="__MSG_"+service+"__")=services[service].name
input(class=service + "-enabled" type="checkbox") \ No newline at end of file