[Update] Config Window: DeepL Auth Key. 認証キー成功時と失敗時に通知として設定画面上に表示。

This commit is contained in:
Sakamoto Shiina
2024-02-15 11:56:58 +09:00
parent 4b8e36794b
commit c1437de575
10 changed files with 105 additions and 63 deletions

View File

@@ -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",
),

View File

@@ -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",
),