theme improvements, high-contrast dark theme

This commit is contained in:
TriMill 2022-10-18 10:26:10 -04:00
parent f2322046a6
commit e0c60add31
3 changed files with 9 additions and 3 deletions

View File

@ -39,7 +39,8 @@ data = {
"system": "dark",
"dark": "light",
"light": "contrast",
"contrast": "system"
"contrast": "contrast-dark",
"contrast-dark": "system",
}
}

View File

@ -64,7 +64,10 @@
<title>Light theme</title>
{% elif theme == "contrast" %}
<path d="M4 0c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 1c1.66 0 3 1.34 3 3s-1.34 3-3 3v-6z" />
<title>High contrast theme</title>
<title>High-contrast theme</title>
{% elif theme == "contrast-dark" %}
<path d="M4 0c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 1c1.66 0 3 1.34 3 3s-1.34 3-3 3v-6z" />
<title>Dark high-contrast theme</title>
{% elif theme == "special" %}
<image href="/static/i/apioform1.png" width="8" height="8" />
transform="translate(0 1)" />
@ -89,4 +92,4 @@
</footer>
{% endif %}
</body>
</html>
</html>

View File

@ -23,6 +23,8 @@ below to view the GEORGE homepage or access the previous and next members in the
<iframe height="50" src="https://george.gh0.pw/embed.cgi?trimill&c_bg=%23f6f5f2&c_fg=%2328262b&c_links=%230642c3&c_george=%230d8101&c_underline=%230d8101" style="border:none;width:100%;" sandbox="allow-top-navigation"></iframe>
{% elif theme == "contrast" %}
<iframe height="50" src="https://george.gh0.pw/embed.cgi?trimill" style="border:none;width:100%;" sandbox="allow-top-navigation"></iframe>
{% elif theme == "contrast-dark" %}
<iframe height="50" src="https://george.gh0.pw/embed.cgi?trimill&c_bg=%23000000&c_fg=%23ffffff&c_links=%2344c0ff&c_george=%2344c0ff&c_underline=%2344c0ff" style="border:none;width:100%;" sandbox="allow-top-navigation"></iframe>
{% elif theme == "special" %}
<iframe height="50" src="https://george.gh0.pw/embed.cgi?trimill&c_bg=%23ffff00&c_fg=%23ff00ff&c_links=%2300ffff&c_george=%2300ff00&c_underline=%2300ff00" style="border:none;width:100%;" sandbox="allow-top-navigation"></iframe>
{% elif theme == "system" %}