aboutsummaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorShyam Sunder2020-08-22 16:59:13 -0400
committerShyam Sunder2020-08-26 13:19:56 -0400
commitc004eb36c22852e3dc6cfd10954e9ae5ceb80a09 (patch)
treedc36f7b69c4476e109a3b4a7926fd7d492cfb6ca /client/html
parent1bbcaf11f7b064f2a40245b79d392cbbf0324484 (diff)
client/css: implement dark theme option
Diffstat (limited to 'client/html')
-rw-r--r--client/html/settings.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/html/settings.tpl b/client/html/settings.tpl
index 3b1967f..e8890d3 100644
--- a/client/html/settings.tpl
+++ b/client/html/settings.tpl
@@ -24,6 +24,15 @@
<li>
<%= ctx.makeCheckbox({
+ text: 'Use dark theme',
+ name: 'dark-theme',
+ checked: ctx.browsingSettings.darkTheme,
+ }) %>
+ <p class='hint'>Changing this setting will require you to refresh the page for it to apply.</p>
+ </li>
+
+ <li>
+ <%= ctx.makeCheckbox({
text: 'Upscale small posts',
name: 'upscale-small-posts',
checked: ctx.browsingSettings.upscaleSmallPosts}) %>

© 2015 - 2026 Jakob L. Kreuze