fix: some incorrect colours on light themes

This commit is contained in:
Ryan Dowling 2022-07-22 17:31:28 +10:00
parent 7df8bc9420
commit 5f33907199
No known key found for this signature in database
GPG key ID: 5539FCDB88950EFD
4 changed files with 4 additions and 4 deletions

View file

@ -11,6 +11,7 @@ This changelog only contains the changes that are unreleased. For changes for in
- Issue with NPEs when checking for CurseForge mod updates [#608]
- Add --debug-level option back in
- Noisy logs around images for instance/server cards
- Some incorrect colours on light themes
### Misc
- Remove headless dependency from debian package

View file

@ -55,7 +55,6 @@ public final class ModCard extends JPanel {
@Override
public void paint(Graphics g) {
Graphics2D g2 = (Graphics2D) g;
g2.setColor(Color.WHITE);
g2.drawString(this.mod.getName(), 10, 10);
g2.setColor(this.mod.isOptional() ? Color.GREEN : Color.RED);
g2.drawString(this.mod.isOptional() ? "Optional" : "Required",

View file

@ -53,7 +53,7 @@ Button.shadowColor=#A6A6A620
Button.startBorderColor=#C4C4C4
Button.endBorderColor=#C4C4C4
Button.focusedBorderColor=#f57900
Button.default.foreground=#FFFFFF
Button.default.foreground=#000000
Button.default.startBackground=#f57900
Button.default.endBackground=#f57900
Button.default.startBorderColor=#f57900

View file

@ -65,7 +65,7 @@ Borders.color=#bec5cd
Borders.ContrastBorderColor=#bec5cd
Button.startBorderColor=#b0b9c3
Button.endBorderColor=#b0b9c3
Button.default.foreground=#FFFFFF
Button.default.foreground=#1d1d1d
Button.default.startBackground=#28a4c3
Button.default.endBackground=#28a4c3
Button.default.startBorderColor=#258aa4
@ -88,7 +88,7 @@ Component.borderColor=#b0b9c3
Component.focusedBorderColor=#31b1d0
Component.focusColor=#5fc5de
Counter.background=#9AA7B0
Counter.foreground=#FFFFFF
Counter.foreground=#1d1d1d
DefaultTabs.inactiveUnderlineColor=#8699a6
DefaultTabs.hoverBackground=#ced2d9
Editor.background=#d0d3d9