Restyled the client frame
- Created new substance theme "Obsidian" - Created new ColorScheme file to hold all globally used colors - Darkened the client frame using the substance color scheme file - Changed substance's colorization factor to 1 - Tweaked the coloring on the dev plugin panel - Set the UI default foreground color on Buttons and MenuItems to White.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
package net.runelite.client.util;
|
||||
|
||||
import java.awt.AWTException;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Font;
|
||||
import java.awt.Frame;
|
||||
@@ -79,6 +80,9 @@ public class SwingUtil
|
||||
ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false);
|
||||
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
|
||||
|
||||
UIManager.put("Button.foreground", Color.WHITE);
|
||||
UIManager.put("MenuItem.foreground", Color.WHITE);
|
||||
|
||||
// Do not render shadows under popups/tooltips.
|
||||
// Fixes black boxes under popups that are above the game applet.
|
||||
System.setProperty("jgoodies.popupDropShadowEnabled", "false");
|
||||
@@ -210,7 +214,7 @@ public class SwingUtil
|
||||
result = JOptionPane.showConfirmDialog(
|
||||
frame,
|
||||
"Are you sure you want to exit?", "Exit",
|
||||
JOptionPane .OK_CANCEL_OPTION,
|
||||
JOptionPane.OK_CANCEL_OPTION,
|
||||
JOptionPane.QUESTION_MESSAGE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user