client/css: implement dark theme option

This commit is contained in:
Shyam Sunder
2020-08-22 16:59:13 -04:00
parent 1bbcaf11f7
commit c004eb36c2
18 changed files with 251 additions and 42 deletions

View File

@ -22,6 +22,15 @@
}) %>
</li>
<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',