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", "system": "dark",
"dark": "light", "dark": "light",
"light": "contrast", "light": "contrast",
"contrast": "system" "contrast": "contrast-dark",
"contrast-dark": "system",
} }
} }

View file

@ -64,7 +64,10 @@
<title>Light theme</title> <title>Light theme</title>
{% elif theme == "contrast" %} {% 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" /> <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" %} {% elif theme == "special" %}
<image href="/static/i/apioform1.png" width="8" height="8" /> <image href="/static/i/apioform1.png" width="8" height="8" />
transform="translate(0 1)" /> transform="translate(0 1)" />

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> <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" %} {% elif theme == "contrast" %}
<iframe height="50" src="https://george.gh0.pw/embed.cgi?trimill" style="border:none;width:100%;" sandbox="allow-top-navigation"></iframe> <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" %} {% 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> <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" %} {% elif theme == "system" %}