~gitpocket/gitpocket

8
a75930064b6979c319f17fa22d0aa39e14ec7bee
mainfeed-discovery
gitpocket/templates/appearance.html -rw-r--r--564 bytes ViewLogBlameView rawPermalink bd48c40adf style(settings): lift the dark greys and pick the theme from a dropdown yesterday
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{{define "content"}}
<div class="panel"><h3>Theme</h3>
<form method="post" action="/settings/appearance" class="stack">
<label>Theme <select name="theme">
<option value=""{{if eq .Theme ""}} selected{{end}}>System</option>
<option value="light"{{if eq .Theme "light"}} selected{{end}}>Light</option>
<option value="dark"{{if eq .Theme "dark"}} selected{{end}}>Dark</option>
</select></label>
<small>System follows the light or dark setting of your device.</small>
<div class="actions left"><button class="btn primary">Save ▸</button></div>
</form></div>
{{end}}