Package net.mcreator.ui.laf.themes
Class ColorScheme
java.lang.Object
net.mcreator.ui.laf.themes.ColorScheme
A ColorScheme is an object defining the look of MCreator in general.
This object contains only the 5 main colors used by the software. However, A ColorScheme
can also defines the style and colors of BlocklyPanel
and RSyntaxTextAreaStyler
if it is defined inside a plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
MAIN_TINT_DEFAULT
-
-
Constructor Details
-
ColorScheme
public ColorScheme()
-
-
Method Details
-
init
protected void init() -
getBackgroundColor
- Returns:
- Background of UI panels
-
getAltBackgroundColor
- Returns:
- Background of components (e.g. text fields, checkboxes and sound selectors)
-
getSecondAltBackgroundColor
- Returns:
- Second background color used (e.g. workspace background)
-
getAltForegroundColor
- Returns:
Secondary text color
-
getForegroundColor
- Returns:
Color used for most of texts
-
getInterfaceAccentColor
- Returns:
Returns the interfaceAccentColor if defined by theme, otherwise the one defined by the user in
PreferencesData
-