diff options
| author | Shyam Sunder | 2020-08-22 16:59:13 -0400 |
|---|---|---|
| committer | Shyam Sunder | 2020-08-26 13:19:56 -0400 |
| commit | c004eb36c22852e3dc6cfd10954e9ae5ceb80a09 (patch) | |
| tree | dc36f7b69c4476e109a3b4a7926fd7d492cfb6ca /client/html | |
| parent | 1bbcaf11f7b064f2a40245b79d392cbbf0324484 (diff) | |
client/css: implement dark theme option
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/settings.tpl | 9 |
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}) %> |