weisj
98d398ba5c
Abstract usage of IconLoader away into an interface
...
This opens up the possibility of providing custom icons
through themes.
3 years ago
weisj
627f80ce05
Theme: Add convenience constants for the color palette
3 years ago
weisj
e3a855cbd9
Theme: Fix derived foreground color definitions for OneDarkTheme.
3 years ago
weisj
85e556fdfe
Dispatch events on a copy of the listener list
...
This allows for listeners to be removed/added while dispatching.
3 years ago
weisj
a9ae43f2b2
Ensure contract of Collections#synchronizedList
...
Looping over a synchronized list must either manually synchronize over the list or use the "atomic" List#forEach method.
3 years ago
weisj
774e4fea4d
Modules: Fix resource loading when running on the module path.
3 years ago
weisj
be6fa54058
Modules: Move utils in darklaf to ui.utils to avoid split packages. Move classes in property-loader to the properties subpackage to avoid split packages.
3 years ago
weisj
e716522288
Build: Add and compile module info
...
We add a custom task to compile the module-info with a newer java version.
To ensure the module-info is correct we need to compile it together with all other project sources.
3 years ago
weisj
b01ef6a2f2
Load base icon colors for high contrast themes to make sure all values are present.
4 years ago
weisj
8e7b5737e1
Properties: Add hyperlinkAccent color property.
4 years ago
weisj
29fe87541e
Tooltip: Make use of BufferedImage#getSubImage. Also decrease the shadow opacity for light themes.
4 years ago
weisj
7d9e7d73b7
Update year in LICENSE.
4 years ago
weisj
1e1b49707c
Set base icon colors in #loadIconTheme instead of #customizeIconTheme
4 years ago
weisj
b152520471
Make togglebutton hints depend on contrast property of theme.
4 years ago
weisj
de0e9a6dc2
Provide generated foreground for colors which have a solid accent color dervied background for better legibility.
4 years ago
weisj
f5d7873a23
Require colors to start with #. This avoid ambiguity between numbers and colors.
4 years ago
weisj
159e1394f9
Migrate to new parsing system.
4 years ago
weisj
7e19ea237c
Avoid clearing menu selection if action doesn't clear the selection path.
...
Inherit from BasicLookAndFeel to avoid breaking code which checks whether the laf is of type BasicLookAndFeel. Fixes #227
4 years ago
weisj
c9f7fc8dca
Make SettingsConfiguration serializable.
...
Add method to directly set the SettingsConfiguration of ThemeSettings.
4 years ago
weisj
b1cebab636
Group palette colors in icon editor.
...
Add gray color to palette.
4 years ago
weisj
9b49c7af87
Add color palette consisting of 13 colors compatible with the themes color scheme.
4 years ago
weisj
6170f72a3e
Add convenience method to strip accent colors and font size from a theme.
4 years ago
weisj
8b283ef5d1
Made rollover/click effect more pronounced for dark high contrast theme.
4 years ago
weisj
fa854b2dea
Revert removal of textIcon* properties. Fixes #216
4 years ago
weisj
0bd0de485a
Add accent color support to SolarizedLightTheme.
...
Add missing accent color definitions to other themes.
4 years ago
weisj
7aedb3a38e
Adjust button shadow color for light solarized theme.
4 years ago
weisj
9d7c7ea176
Implement #equals and #hashCode for Theme.
4 years ago
weisj
8e131b11b3
Update style. Enum declarations should always be in separate lines.
4 years ago
weisj
1431f0e53a
Update checkIcon (and thus all text based icons) to make use of the current theme text color to avoid issues where one and not the other value is updated.
...
Removed opacity from check icons.
Add alternative icon for boolean renderers that aren't editable.
4 years ago
weisj
331c5504c3
Make slider variant of JToggleButton animated.
...
Add on/off label hints to slider variant for some themes.
4 years ago
weisj
e1d0c3d9df
Decouple value insets from border insets for JSpinner and JComboBox.
...
Respect custom foreground/background for JSpinner and JComboBox where possible.
4 years ago
weisj
578504ad18
Update combobox dropdown background to match intellij.
4 years ago
weisj
b99b42e2d6
Provide default ThemeProvider factory method.
4 years ago
weisj
51ae12d05e
Fix error messages in DefaultThemeProvider constructor.
...
Ensure themes in DefaultThemeProvider are non-null.
Provide factory methods fro ThemeProvider.
4 years ago
weisj
ae473cb7a1
Updated code style
...
- Keep simple if in one line.
- Wrap enum declarations if necessary.
4 years ago
weisj
9928b9afd4
Switched to google formatting with increased linewidth and indentation size.
4 years ago
weisj
a464d233d1
Updated formatting rules.
4 years ago
weisj
64b7872139
Add convenience method to replace currently registered themes.
...
Add #withDisplayName method to Theme class.
4 years ago
weisj
623962ec0a
Add display name property to Theme.
...
Add RenamedTheme to provide different names for themes.
4 years ago
weisj
720519e654
Increase contrast on window buttons for high_contrast_dark theme.
4 years ago
weisj
65f84bace2
Fix broken synthesised lafs.
4 years ago
weisj
9edb1f5026
Add option to synthesise a LookAndFeel class that automatically installs a theme for better interoperability with the LookAndFeelInfo class.
...
Load available themes as Service.
4 years ago
weisj
7760e68c86
Remove unused method.
4 years ago
weisj
3e088896cb
Improve one-dark icon colors
5 years ago
weisj
c133c515f9
Fixed foreground color generation.
5 years ago
weisj
fdb22593fd
Enable custom selection color fur solarized themes.
5 years ago
weisj
6b9fa9f159
Enabled custom accent/selection colors for OneDarkTheme.
...
Fixed button background being too small.
Fixed selection background for combo box not being respected.
5 years ago
weisj
9024782505
Improve OneDark text foreground colors.
5 years ago
weisj
b3865a091c
Avoid loading accent properties if they aren't present or not needed.
5 years ago
weisj
4e3d4cf93f
Added utility method for themed frame icons.
5 years ago