Jannis Weis
f548626516
Defaults: Change default dark theme to OneDarkTheme
...
This matches the new default IntelliJ theme more closely.
2 years ago
Jannis Weis
d372be93d2
Theme: Specify predefined values for each OS
2 years ago
Jannis Weis
44807d7a4c
Implement equals and hashCode for FontPrototype
3 years ago
Jannis Weis
a52bc3bc5d
Add FontPrototype to Theme
...
This allows a theme to change the base font of the UI.
We expose also expose this property through the settings ui.
3 years ago
Jannis Weis
63c5a1b836
Extract system preference reporting mechanism to own module
...
To do this the following restructuring is performed:
- Move decorations specific classes to darklaf-platform-decorations
- Move SystemInfo to darklaf-platform-base
- Move theme specification specific classes to darklaf-theme-spec
- Create new module darklaf-platform-preferences for the reporting related classes
3 years ago
Jannis Weis
52d0d13282
Fix license header year ranges
3 years ago
Jannis Weis
25618d5fa7
Setup dependency catalog in settings.gradle.kts
...
This allows us to move the dependency versions back into
gradle.properties so version for plugins and dependencies are declared
in a centralized way.
This commit also removes the legacy macOS framework dependencies.
3 years ago
weisj
db26ca6bfa
Theme: Fix errorprone warnings
3 years ago
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
5580656e79
Build: Update to Gradle 7
...
Upgrade gradle version to 7.0. Make use of typesafe project and library accessors. These replace the current bom project.
Handle different xCode version on macOS.
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