Skip to content

Commit

Permalink
Config: Make sure light, dark themes have default placeholder text co…
Browse files Browse the repository at this point in the history
…lors
  • Loading branch information
mborgerson committed Sep 24, 2023
1 parent 6f2beb4 commit 8538e16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions angrmanagement/config/color_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"palette_alternatebase": QColor(0xF7, 0xF7, 0xF7, 0xFF),
"palette_tooltipbase": QColor(0xFF, 0xFF, 0xDC, 0xFF),
"palette_tooltiptext": QColor(0x00, 0x00, 0x00, 0xFF),
"palette_placeholdertext": QColor(0x00, 0x00, 0x00, 0xAF),
"palette_text": QColor(0x00, 0x00, 0x00, 0xFF),
"palette_button": QColor(0xEF, 0xEF, 0xEF, 0xFF),
"palette_buttontext": QColor(0x00, 0x00, 0x00, 0xFF),
Expand Down Expand Up @@ -154,6 +155,7 @@
"palette_alternatebase": QColor(0x1D, 0x1D, 0x1D),
"palette_tooltipbase": QColor(0x35, 0x35, 0x35),
"palette_tooltiptext": QColor(0xFF, 0xFF, 0xFF),
"palette_placeholdertext": QColor(0xF8, 0xF8, 0xF8, 0xBB),
"palette_text": QColor(0xE0, 0xE0, 0xE0),
"palette_button": QColor(0x35, 0x35, 0x35),
"palette_buttontext": QColor(0xE0, 0xE0, 0xE0),
Expand Down
2 changes: 1 addition & 1 deletion angrmanagement/config/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def bool_serializer(config_option, value: bool) -> str:
CE("palette_alternatebase", QColor, QColor(0xF7, 0xF7, 0xF7, 0xFF)),
CE("palette_tooltipbase", QColor, QColor(0xFF, 0xFF, 0xDC, 0xFF)),
CE("palette_tooltiptext", QColor, QColor(0x00, 0x00, 0x00, 0xFF)),
CE("palette_placeholdertext", QColor, QColor(0x00, 0x00, 0x00, 0xFF)),
CE("palette_placeholdertext", QColor, QColor(0x00, 0x00, 0x00, 0xAF)),
CE("palette_text", QColor, QColor(0x00, 0x00, 0x00, 0xFF)),
CE("palette_button", QColor, QColor(0xEF, 0xEF, 0xEF, 0xFF)),
CE("palette_buttontext", QColor, QColor(0x00, 0x00, 0x00, 0xFF)),
Expand Down

0 comments on commit 8538e16

Please sign in to comment.