diff --git a/crates/app/src/public/html/communities/create_post.html b/crates/app/src/public/html/communities/create_post.html index b6b04be..ff7ca5b 100644 --- a/crates/app/src/public/html/communities/create_post.html +++ b/crates/app/src/public/html/communities/create_post.html @@ -128,11 +128,6 @@ } window.history.back(); - - setTimeout(() => { - // if we couldn't go back after 1 whole second, just go home - window.location.href = "/"; - }, 1000); } {% endblock %} diff --git a/crates/app/src/public/html/components.html b/crates/app/src/public/html/components.html index 7db5326..83c69c4 100644 --- a/crates/app/src/public/html/components.html +++ b/crates/app/src/public/html/components.html @@ -477,8 +477,7 @@ user %} {% if user.settings.theme_hue %} --lit: {{ user.settings.theme_lit }} !important; } - -{% if theme_preference %} +{% endif %} {% if theme_preference %} -{% endif %} {% endif %} +{% endif %}
{{ components::theme_color(color=user.settings.theme_color_surface, css="color-surface") }} {{ components::theme_color(color=user.settings.theme_color_text, css="color-text") }} + {{ components::theme_color(color=user.settings.theme_color_text_link, css="color-link") }} {{ components::theme_color(color=user.settings.theme_color_lowered, css="color-lowered") }} {{ components::theme_color(color=user.settings.theme_color_text_lowered, css="color-text-lowered") }} diff --git a/crates/app/src/public/html/profile/settings.html b/crates/app/src/public/html/profile/settings.html index 92a21c8..71f1878 100644 --- a/crates/app/src/public/html/profile/settings.html +++ b/crates/app/src/public/html/profile/settings.html @@ -11,19 +11,23 @@
- {{ text "settings:tab.account" }} + {{ icon "smile" }} + {{ text "settings:tab.account" }} - {{ text "settings:tab.profile" }} + {{ icon "user-round" }} + {{ text "settings:tab.profile" }} - {{ text "settings:tab.theme" }} + {{ icon "paint-bucket" }} + {{ text "settings:tab.theme" }} - {{ text "settings:tab.sessions" }} + {{ icon "cookie" }} + {{ text "settings:tab.sessions" }}
@@ -200,37 +204,6 @@