[Update] Config Window: DeepL Auth Key. 認証キー成功時と失敗時に通知として設定画面上に表示。
This commit is contained in:
@@ -294,6 +294,7 @@ def _darkTheme(base_color):
|
||||
# Error Message Window for Config Window
|
||||
# The color code [#bb4448] is a mixture of [#a9555c] and [#cc3333] (for a redder shade).
|
||||
SB__ERROR_MESSAGE_BG_COLOR = "#bb4448",
|
||||
SB__SUCCESS_MESSAGE_BG_COLOR = "#368777",
|
||||
SB__ERROR_MESSAGE_TEXT_COLOR = "#fff",
|
||||
),
|
||||
|
||||
|
||||
@@ -288,6 +288,7 @@ def _lightTheme(base_color):
|
||||
# Error Message Window for Config Window
|
||||
# Check DarkTheme's this part. Based on the color bb4448, used to source, and pick up the number 600 by the generator (https://m2.material.io/design/color/the-color-system.html#tools-for-picking-colors)
|
||||
SB__ERROR_MESSAGE_BG_COLOR = "#cd4c4f",
|
||||
SB__SUCCESS_MESSAGE_BG_COLOR = "#cd4c4f",
|
||||
SB__ERROR_MESSAGE_TEXT_COLOR = "#fff",
|
||||
),
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class UiScalingManager():
|
||||
self.config_window = SimpleNamespace()
|
||||
self.selectable_language_window = SimpleNamespace()
|
||||
self.main_window_cover = SimpleNamespace()
|
||||
self.error_message_window = SimpleNamespace()
|
||||
self.notification_message_window = SimpleNamespace()
|
||||
self.confirmation_modal = SimpleNamespace()
|
||||
self.dropdown_menu_window = SimpleNamespace()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user