Skip to content

Commit

Permalink
Making ship market comparison colors colorblind friendly (#5715)
Browse files Browse the repository at this point in the history
* Adding compare colors

Adding two new colors: compare_worse and compare_better
Worse is the same as warning_300, which was used previously for the ship market comparison.
Better became a saturated blue.
Updated the ship market to use these two.

* Changing to already existing semantic colors

Better now uses accent_300
Worse reverted to warning_300
  • Loading branch information
bszlrd authored Jan 14, 2024
1 parent 7de452b commit 2ba6d55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/pigui/themes/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local styleColors = {
accent_700 = Color "06318E",

success_100 = Color "CAF8A8",
success_300 = Color "77EE21",
success_300 = Color "D6A8F8",
success_500 = Color "5ACC0A",
success_700 = Color "317005",
success_900 = Color "102502",
Expand All @@ -73,6 +73,7 @@ local styleColors = {
danger_500 = Color "C51010",
danger_700 = Color "8C0606",
danger_900 = Color "2C0505",

}

theme.styleColors = styleColors
Expand Down Expand Up @@ -230,7 +231,7 @@ theme.colors = {
equipScreenHighlight = styleColors.gray_300,
equipScreenBgText = styleColors.gray_400,

shipmarketCompareBetter = styleColors.success_300,
shipmarketCompareBetter = styleColors.accent_300,
shipmarketCompareWorse = styleColors.warning_300,
}

Expand Down

0 comments on commit 2ba6d55

Please sign in to comment.