Browse Source

Changed some colors for solarized icons.

Signed-off-by: weisj <weisj@arcor.de>
pull/16/head
weisj 5 years ago
parent
commit
e159fb558b
  1. 2
      src/main/java/com/github/weisj/darklaf/theme/SolarizedDarkTheme.java
  2. 2
      src/main/java/com/github/weisj/darklaf/theme/SolarizedLightTheme.java
  3. BIN
      src/main/resources/com/github/weisj/darklaf/platform/windows/x64/jniplatform.dll
  4. BIN
      src/main/resources/com/github/weisj/darklaf/platform/windows/x86/jniplatform.dll
  5. 18
      src/main/resources/com/github/weisj/darklaf/theme/solarized_dark/solarized_dark_icons.properties
  6. 22
      src/main/resources/com/github/weisj/darklaf/theme/solarized_light/solarized_light_icons.properties
  7. 2
      src/test/java/UIDemo.java

2
src/main/java/com/github/weisj/darklaf/theme/SolarizedDarkTheme.java

@ -54,6 +54,6 @@ public class SolarizedDarkTheme extends Theme {
@Override @Override
protected IconTheme getPresetIconTheme() { protected IconTheme getPresetIconTheme() {
return IconTheme.DARK; return IconTheme.NONE;
} }
} }

2
src/main/java/com/github/weisj/darklaf/theme/SolarizedLightTheme.java

@ -54,6 +54,6 @@ public class SolarizedLightTheme extends Theme {
@Override @Override
protected IconTheme getPresetIconTheme() { protected IconTheme getPresetIconTheme() {
return IconTheme.LIGHT; return IconTheme.NONE;
} }
} }

BIN
src/main/resources/com/github/weisj/darklaf/platform/windows/x64/jniplatform.dll

Binary file not shown.

BIN
src/main/resources/com/github/weisj/darklaf/platform/windows/x86/jniplatform.dll

Binary file not shown.

18
src/main/resources/com/github/weisj/darklaf/theme/solarized_dark/solarized_dark_icons.properties

@ -22,15 +22,15 @@
# SOFTWARE. # SOFTWARE.
# #
# suppress inspection "UnusedProperty" for whole file # suppress inspection "UnusedProperty" for whole file
%menuIconEnabled = AFB1B3 %menuIconEnabled = 93A1A1
%menuIconHovered = dddddd %menuIconHovered = E9FFFF
%menuIconSelected = AFB1B3 %menuIconSelected = 93A1A1
%menuIconDisabled = 6E6E6E %menuIconDisabled = 5A5A5A
%menuIconHighlight = 268bd2 %menuIconHighlight = 1D6B9C
%fileIconBackground = 9790ad %fileIconBackground = 798D90
%fileIconForeground = 231F20 %fileIconForeground = 002B36
%fileIconHighlight = 5c65b8 %fileIconHighlight = 859900
%textIconEnabled = FFFFFF %textIconEnabled = FFFFFF
%textIconDisabled = 000000 %textIconDisabled = 000000
@ -40,7 +40,7 @@
%windowButtonDisabled = 8C8C8C %windowButtonDisabled = 8C8C8C
%windowCloseHovered = FFFFFF %windowCloseHovered = FFFFFF
%errorIconColor = dd3962 %errorIconColor = DC322F
%informationIconColor = 598bff %informationIconColor = 598bff
%warningIconColor = b58900 %warningIconColor = b58900
%questionIconColor = 598bff %questionIconColor = 598bff

22
src/main/resources/com/github/weisj/darklaf/theme/solarized_light/solarized_light_icons.properties

@ -22,15 +22,15 @@
# SOFTWARE. # SOFTWARE.
# #
# suppress inspection "UnusedProperty" for whole file # suppress inspection "UnusedProperty" for whole file
%menuIconEnabled = 6E6E6E %menuIconEnabled = 586E75
%menuIconHovered = ECECEC %menuIconHovered = BDECFB
%menuIconSelected = FFFFFF %menuIconSelected = FFFFFF
%menuIconDisabled = AFB1B3 %menuIconDisabled = BCBCBC
%menuIconHighlight = 268bd2 %menuIconHighlight = 268BD2
%fileIconBackground = 9790ad %fileIconBackground = 849396
%fileIconForeground = 231F20 %fileIconForeground = 002B36
%fileIconHighlight = 239e62 %fileIconHighlight = 859900
%textIconEnabled = 3E3E3C %textIconEnabled = 3E3E3C
%textIconDisabled = B8BABA %textIconDisabled = B8BABA
@ -40,7 +40,7 @@
%windowButtonDisabled = 9B9C9C %windowButtonDisabled = 9B9C9C
%windowCloseHovered = FFFFFF %windowCloseHovered = FFFFFF
%errorIconColor = dd3962 %errorIconColor = DC322F
%informationIconColor = 239e62 %informationIconColor = 268BD2
%warningIconColor = b58900 %warningIconColor = B58900
%questionIconColor = 239e62 %questionIconColor = 268BD2

2
src/test/java/UIDemo.java

@ -42,7 +42,7 @@ public final class UIDemo {
UIDemo.class.getClassLoader().getResource("mima.png") UIDemo.class.getClassLoader().getResource("mima.png")
)); ));
Icon folderIcon = IconLoader.get().getUIAwareIcon("files/folder.svg", 19, 19); Icon folderIcon = IconLoader.get().getIcon("files/folder.svg", 19, 19, true);
JPanel panel = new JPanel(new GridLayout(3, 4)); JPanel panel = new JPanel(new GridLayout(3, 4));
JPanel content = new JPanel(new BorderLayout()); JPanel content = new JPanel(new BorderLayout());

Loading…
Cancel
Save