Fix settings error color in dark mode

This commit is contained in:
Micah Lee 2021-11-06 21:02:24 -07:00
parent f915f911c6
commit 472e383b7d
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -93,6 +93,7 @@ class GuiCommon:
share_zip_progess_bar_chunk_color = "#4E064F"
history_background_color = "#ffffff"
history_label_color = "#000000"
settings_error_color = "#FF0000"
if color_mode == "dark":
header_color = "#F2F2F2"
title_color = "#F2F2F2"
@ -103,6 +104,7 @@ class GuiCommon:
share_zip_progess_bar_border_color = "#F2F2F2"
history_background_color = "#191919"
history_label_color = "#ffffff"
settings_error_color = "#FF9999"
return {
# OnionShareGui styles
@ -400,7 +402,9 @@ class GuiCommon:
# Tor Settings dialogs
"tor_settings_error": """
QLabel {
color: #FF0000;
color: """
+ settings_error_color
+ """;
}
""",
}