mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
Compare commits
83 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8248e91ca | ||
|
|
7317ce44e7 | ||
|
|
10e2a5b1eb | ||
|
|
e675d1b7e2 | ||
|
|
499c4dadd5 | ||
|
|
f550f84acd | ||
|
|
8021f1a7fc | ||
|
|
d50fe606ee | ||
|
|
281f014aa0 | ||
|
|
2f6da3e84a | ||
|
|
f9accc2a7a | ||
|
|
fe15078bbd | ||
|
|
27d4b5eba7 | ||
|
|
e378576632 | ||
|
|
74909da110 | ||
|
|
655bf112ac | ||
|
|
5c3638a5a4 | ||
|
|
2459a3654b | ||
|
|
e9a3456cf5 | ||
|
|
2bcdf774ff | ||
|
|
ef01f23384 | ||
|
|
ab7bbb6593 | ||
|
|
f2dad88875 | ||
|
|
c474565ff5 | ||
|
|
fd9dbbd7e6 | ||
|
|
43ab095e0f | ||
|
|
41e2888bf1 | ||
|
|
e7d5e22960 | ||
|
|
3f3884193d | ||
|
|
dfccabc2b9 | ||
|
|
af7c181596 | ||
|
|
8e84112837 | ||
|
|
822cd16daa | ||
|
|
33ea84004d | ||
|
|
8dbbe20840 | ||
|
|
d990ccc4ab | ||
|
|
9f16249898 | ||
|
|
62fc3139cf | ||
|
|
452452dcc9 | ||
|
|
b6fb06bc65 | ||
|
|
aac6bd1b7c | ||
|
|
d260001cbd | ||
|
|
9c470d77cb | ||
|
|
269075657d | ||
|
|
d0029beb22 | ||
|
|
4b4837e3a1 | ||
|
|
d0160b8b6d | ||
|
|
ea351935b2 | ||
|
|
20ccc2951e | ||
|
|
6f9bad1bdf | ||
|
|
39a0d514a8 | ||
|
|
ad82c591cc | ||
|
|
32ceb168d5 | ||
|
|
16146f4c88 | ||
|
|
60febbf3f8 | ||
|
|
4960b30cfb | ||
|
|
56c161fea0 | ||
|
|
27c439d728 | ||
|
|
78d5e03a66 | ||
|
|
f25e647b6a | ||
|
|
e44212fc65 | ||
|
|
a483403774 | ||
|
|
69750dba19 | ||
|
|
af962b99be | ||
|
|
2399e54a4b | ||
|
|
aea5e8eb16 | ||
|
|
a3a60c1c4b | ||
|
|
c141cb6c6c | ||
|
|
62765ab6ca | ||
|
|
e4f7fed523 | ||
|
|
bf8cc268cc | ||
|
|
8450e74832 | ||
|
|
475b258e4a | ||
|
|
f20803ae57 | ||
|
|
3fcb17931a | ||
|
|
736c7b8377 | ||
|
|
05743e2d8b | ||
|
|
6cd2c7f26d | ||
|
|
469e5bd179 | ||
|
|
dbeb3f04e7 | ||
|
|
e9b17ac24a | ||
|
|
65fbcedaa4 | ||
|
|
c4183ada11 |
123
CHANGELOG.md
123
CHANGELOG.md
@@ -1,6 +1,129 @@
|
||||
FlatLaf Change Log
|
||||
==================
|
||||
|
||||
## 0.25.1
|
||||
|
||||
Re-release of 0.25 because of problems with Maven Central.
|
||||
|
||||
|
||||
## 0.25
|
||||
|
||||
- Hide menu mnemonics by default and show them only when <kbd>Alt</kbd> key is
|
||||
pressed. (issue #43)
|
||||
- Menu: Fixed vertical alignment of sub-menus. (issue #42)
|
||||
- TabbedPane: In scroll-tab-layout, the cropped line is now hidden. (issue #40)
|
||||
- Tree: UI default value `Tree.textBackground` now has a valid color and is no
|
||||
longer `null`.
|
||||
- Tree on macOS: Fixed <kbd>Left</kbd> and <kbd>Right</kbd> keys to collapse or
|
||||
expand nodes.
|
||||
- ComboBox on macOS: Fixed keyboard navigation and show/hide popup.
|
||||
- Button and ToggleButton: Support per component minimum height (set client
|
||||
property `JComponent.minimumHeight` to an integer). (issue #44)
|
||||
- Button and ToggleButton: Do not apply minimum width if button border was
|
||||
changed (is no longer an instance of `FlatButtonBorder`).
|
||||
- ToggleButton: Renamed toggle button type "underline" to "tab" (value of client
|
||||
property `JButton.buttonType` is now `tab`).
|
||||
- ToggleButton: Support per component styling for tab-style toggle buttons with
|
||||
client properties `JToggleButton.tab.underlineHeight` (integer),
|
||||
`JToggleButton.tab.underlineColor` (Color) and
|
||||
`JToggleButton.tab.selectedBackground` (Color). (issue #45)
|
||||
- ToggleButton: No longer use focus width for tab-style toggle buttons to
|
||||
compute component size, which reduces/fixes component size in "Flat IntelliJ"
|
||||
and "Flat Darcula" themes.
|
||||
- TabbedPane: Support per component tab height (set client property
|
||||
`JTabbedPane.tabHeight` to an integer).
|
||||
- ProgressBar: Support square painting (set client property
|
||||
`JProgressBar.square` to `true`) and larger height even if no string is
|
||||
painted (set client property `JProgressBar.largeHeight` to `true`).
|
||||
|
||||
|
||||
## 0.24
|
||||
|
||||
- Support smooth scrolling with touchpads and high precision mouse wheels.
|
||||
(issue #27)
|
||||
- Changed `.properties` file loading order: Now all core `.properties` files are
|
||||
loaded before loading addon `.properties` files. This makes it easier to
|
||||
overwrite core values in addons. Also, addon loading order can be specified.
|
||||
- TableHeader: Paint column borders if renderer has changed, but delegates to
|
||||
the system default renderer (e.g. done in NetBeans).
|
||||
- Label and ToolTip: Fixed font sizes for HTML headings.
|
||||
- Button and ToggleButton: Support square button style (set client property
|
||||
`JButton.buttonType` to `square`).
|
||||
- ToggleButton: Support underline toggle button style (set client property
|
||||
`JButton.buttonType` to `underline`).
|
||||
- Button and TextComponent: Support per component minimum width (set client
|
||||
property `JComponent.minimumWidth` to an integer).
|
||||
- ScrollPane with Table: The border of buttons that are added to one of the four
|
||||
scroll pane corners are now removed if the center component is a table. Also,
|
||||
these corner buttons are made not focusable.
|
||||
- Table: Replaced `Table.showGrid` with `Table.showHorizontalLines` and
|
||||
`Table.showVerticalLines`. (issue #38)
|
||||
- ProgressBar: Now uses blueish color for the progress part in "Flat Dark"
|
||||
theme. In the "Flat Darcula" theme, it remains light gray.
|
||||
- Improved Swing system colors `controlHighlight`, `controlLtHighlight`,
|
||||
`controlShadow` and `controlDkShadow`.
|
||||
|
||||
|
||||
## 0.23.1
|
||||
|
||||
- Tree: Fixed wide selection if scrolled horizontally.
|
||||
- ComboBox: Fixed NPE in Oracle SQL Developer settings.
|
||||
- IntelliJ Themes: Fixed checkbox colors in Material UI Lite dark themes.
|
||||
|
||||
|
||||
## 0.23
|
||||
|
||||
- Updated colors in "Flat Light" and "Flat IntelliJ" themes with colors from
|
||||
"IntelliJ Light Theme", which provides blue coloring that better matches
|
||||
platform colors.
|
||||
- Tree: Support wide selection (enabled by default).
|
||||
- Table: Hide grid and changed intercell spacing to zero.
|
||||
- List, Table and Tree: Added colors for drag-and-drop. Added "enable drag and
|
||||
drop" checkbox to Demo on "Data Components" tab.
|
||||
- List and Tree: Hide cell focus indicator (black rectangle) by default. Can be
|
||||
enabled with `List.showCellFocusIndicator=true` /
|
||||
`Tree.showCellFocusIndicator=true`, but then the cell focus indicator is shown
|
||||
only if more than one item is selected.
|
||||
- Table: Hide cell focus indicator (black rectangle) by default if none of the
|
||||
selected cells is editable. Can be show always with
|
||||
`Table.showCellFocusIndicator=true`.
|
||||
- Support basic color functions in `.properties` files: `rgb(red,green,blue)`,
|
||||
`rgba(red,green,blue,alpha)`, `hsl(hue,saturation,lightness)`,
|
||||
`hsla(hue,saturation,lightness,alpha)`, `lighten(color,amount[,options])` and
|
||||
`darken(color,amount[,options])`.
|
||||
- Replaced prefix `@@` with `$` in `.properties` files.
|
||||
- Fixed link color (in HTML text) and separator color in IntelliJ platform
|
||||
themes.
|
||||
- Use logging instead of printing errors to `System.err`.
|
||||
- Updated IntelliJ Themes in demo to the latest versions.
|
||||
- IntelliJ Themes: Fixed link and separator colors.
|
||||
|
||||
|
||||
## 0.22
|
||||
|
||||
- TextComponent: Support placeholder text that is displayed if text field is
|
||||
empty (set client property "JTextField.placeholderText" to a string).
|
||||
- TextComponent: Scale caret width on HiDPI screens when running on Java 8.
|
||||
- ProgressBar: If progress text is visible:
|
||||
- use smaller font
|
||||
- reduced height
|
||||
- changed style to rounded rectangle
|
||||
- fixed painting issues on low values
|
||||
- ProgressBar: Support configure of arc with `ProgressBar.arc`.
|
||||
- ProgressBar: Reduced thickness from 6 to 4.
|
||||
- TabbedPane: Support background color for selected tabs
|
||||
(`TabbedPane.selectedBackground`) and separators between tabs
|
||||
(`TabbedPane.showTabSeparators`).
|
||||
- CheckBox: changed `CheckBox.arc` from radius to diameter to be consistent with
|
||||
`Button.arc` and `Component.arc`
|
||||
- Button: Enabled `Button.defaultButtonFollowsFocus` on Windows, which allows
|
||||
pressing focused button with <kbd>Enter</kbd> key (as in Windows LaF).
|
||||
- Fixed clipped borders at 125%, 150% and 175% scaling when outer focus width is
|
||||
zero (default in "Flat Light" and "Flat Dark" themes).
|
||||
- On Mac show mnemonics only when <kbd>Ctrl</kbd> and <kbd>Alt</kbd> keys are
|
||||
pressed. (issue #4)
|
||||
|
||||
|
||||
## 0.21
|
||||
|
||||
- ScrollBar: Show decrease/increase arrow buttons if client property
|
||||
|
||||
@@ -45,7 +45,7 @@ build script:
|
||||
|
||||
groupId: com.formdev
|
||||
artifactId: flatlaf
|
||||
version: 0.21
|
||||
version: 0.25.1
|
||||
|
||||
Otherwise download `flatlaf-<version>.jar` here:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
version = "0.21"
|
||||
version = "0.25.1"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -106,7 +106,7 @@ publishing {
|
||||
licenses {
|
||||
license {
|
||||
name.set( "The Apache License, Version 2.0" )
|
||||
url.set( "http://www.apache.org/licenses/LICENSE-2.0.txt" )
|
||||
url.set( "https://www.apache.org/licenses/LICENSE-2.0.txt" )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.formdev.flatlaf;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.Objects;
|
||||
import javax.swing.JComponent;
|
||||
|
||||
@@ -27,14 +28,34 @@ public interface FlatClientProperties
|
||||
/**
|
||||
* Specifies type of a button.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JButton}<br>
|
||||
* <strong>Components</strong> {@link javax.swing.JButton} and {@link javax.swing.JToggleButton}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.String}<br>
|
||||
* <strong>Allowed Values</strong> {@link BUTTON_TYPE_HELP}
|
||||
* <strong>Allowed Values</strong> {@link #BUTTON_TYPE_SQUARE} and {@link #BUTTON_TYPE_HELP}
|
||||
*/
|
||||
String BUTTON_TYPE = "JButton.buttonType";
|
||||
|
||||
/**
|
||||
* Paint the button with square edges.
|
||||
* <p>
|
||||
* <strong>Components</strong> {@link javax.swing.JButton} and {@link javax.swing.JToggleButton}
|
||||
*
|
||||
* @see #BUTTON_TYPE
|
||||
*/
|
||||
String BUTTON_TYPE_SQUARE = "square";
|
||||
|
||||
/**
|
||||
* Paint the toggle button in tab style.
|
||||
* <p>
|
||||
* <strong>Components</strong> {@link javax.swing.JToggleButton}
|
||||
*
|
||||
* @see #TOGGLE_BUTTON_TYPE
|
||||
*/
|
||||
String BUTTON_TYPE_TAB = "tab";
|
||||
|
||||
/**
|
||||
* Paint a help button (circle with question mark).
|
||||
* <p>
|
||||
* <strong>Components</strong> {@link javax.swing.JButton}
|
||||
*
|
||||
* @see #BUTTON_TYPE
|
||||
*/
|
||||
@@ -45,7 +66,7 @@ public interface FlatClientProperties
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JCheckBox}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.String}<br>
|
||||
* <strong>Allowed Values</strong> {@link SELECTED_STATE_INDETERMINATE}
|
||||
* <strong>Allowed Values</strong> {@link #SELECTED_STATE_INDETERMINATE}
|
||||
*/
|
||||
String SELECTED_STATE = "JButton.selectedState";
|
||||
|
||||
@@ -56,6 +77,38 @@ public interface FlatClientProperties
|
||||
*/
|
||||
String SELECTED_STATE_INDETERMINATE = "indeterminate";
|
||||
|
||||
/**
|
||||
* Specifies minimum width of a component.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JButton}, {@link javax.swing.JToggleButton} and {@link javax.swing.text.JTextComponent}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Integer}<br>
|
||||
*/
|
||||
String MINIMUM_WIDTH = "JComponent.minimumWidth";
|
||||
|
||||
/**
|
||||
* Specifies minimum height of a component.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JButton} and {@link javax.swing.JToggleButton}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Integer}<br>
|
||||
*/
|
||||
String MINIMUM_HEIGHT = "JComponent.minimumHeight";
|
||||
|
||||
/**
|
||||
* Specifies whether the progress bar has always the larger height even if no string is painted.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JProgressBar}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Boolean}
|
||||
*/
|
||||
String PROGRESS_BAR_LARGE_HEIGHT = "JProgressBar.largeHeight";
|
||||
|
||||
/**
|
||||
* Specifies whether the progress bar is paint with square edges.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JProgressBar}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Boolean}
|
||||
*/
|
||||
String PROGRESS_BAR_SQUARE = "JProgressBar.square";
|
||||
|
||||
/**
|
||||
* Specifies whether the decrease/increase arrow buttons of a scrollbar are shown.
|
||||
* <p>
|
||||
@@ -64,6 +117,14 @@ public interface FlatClientProperties
|
||||
*/
|
||||
String SCROLL_BAR_SHOW_BUTTONS = "JScrollBar.showButtons";
|
||||
|
||||
/**
|
||||
* Specifies whether separators are shown between tabs.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JTabbedPane}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Boolean}
|
||||
*/
|
||||
String TABBED_PANE_SHOW_TAB_SEPARATORS = "JTabbedPane.showTabSeparators";
|
||||
|
||||
/**
|
||||
* Specifies whether a full border is painted around a tabbed pane.
|
||||
* <p>
|
||||
@@ -72,10 +133,77 @@ public interface FlatClientProperties
|
||||
*/
|
||||
String TABBED_PANE_HAS_FULL_BORDER = "JTabbedPane.hasFullBorder";
|
||||
|
||||
/**
|
||||
* Specifies the height of a tab.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JTabbedPane}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Integer}
|
||||
*/
|
||||
String TABBED_PANE_TAB_HEIGHT = "JTabbedPane.tabHeight";
|
||||
|
||||
/**
|
||||
* Placeholder text that is only painted if the text field is empty.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JTextField} or {@link javax.swing.JComboBox}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.String}
|
||||
*/
|
||||
String PLACEHOLDER_TEXT = "JTextField.placeholderText";
|
||||
|
||||
/**
|
||||
* Height of underline if toggle button type is {@link #BUTTON_TYPE_TAB}.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JToggleButton}<br>
|
||||
* <strong>Value type</strong> {@link java.lang.Integer}
|
||||
*/
|
||||
String TAB_BUTTON_UNDERLINE_HEIGHT = "JToggleButton.tab.underlineHeight";
|
||||
|
||||
/**
|
||||
* Color of underline if toggle button type is {@link #BUTTON_TYPE_TAB}.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JToggleButton}<br>
|
||||
* <strong>Value type</strong> {@link java.awt.Color}
|
||||
*/
|
||||
String TAB_BUTTON_UNDERLINE_COLOR = "JToggleButton.tab.underlineColor";
|
||||
|
||||
/**
|
||||
* Background color if selected and toggle button type is {@link #BUTTON_TYPE_TAB}.
|
||||
* <p>
|
||||
* <strong>Component</strong> {@link javax.swing.JToggleButton}<br>
|
||||
* <strong>Value type</strong> {@link java.awt.Color}
|
||||
*/
|
||||
String TAB_BUTTON_SELECTED_BACKGROUND = "JToggleButton.tab.selectedBackground";
|
||||
|
||||
/**
|
||||
* Checks whether a client property of a component has the given value.
|
||||
*/
|
||||
static boolean clientPropertyEquals( JComponent c, String key, Object value ) {
|
||||
return Objects.equals( c.getClientProperty( key ), value );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a client property of a component is a boolean and returns its value.
|
||||
* If the client property is not set, or not a boolean, defaultValue is returned.
|
||||
*/
|
||||
static boolean clientPropertyBoolean( JComponent c, String key, boolean defaultValue ) {
|
||||
Object value = c.getClientProperty( key );
|
||||
return (value instanceof Boolean) ? (boolean) value : defaultValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a client property of a component is an integer and returns its value.
|
||||
* If the client property is not set, or not an integer, defaultValue is returned.
|
||||
*/
|
||||
static int clientPropertyInt( JComponent c, String key, int defaultValue ) {
|
||||
Object value = c.getClientProperty( key );
|
||||
return (value instanceof Integer) ? (int) value : defaultValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a client property of a component is a color and returns its value.
|
||||
* If the client property is not set, or not a color, defaultValue is returned.
|
||||
*/
|
||||
static Color clientPropertyColor( JComponent c, String key, Color defaultValue ) {
|
||||
Object value = c.getClientProperty( key );
|
||||
return (value instanceof Color) ? (Color) value : defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,11 +23,11 @@ import java.io.InputStream;
|
||||
*
|
||||
* Allows loading of additional .properties files from addon JARs.
|
||||
* {@link java.util.ServiceLoader} is used to load extensions of this class from addon JARs.
|
||||
*
|
||||
* <p>
|
||||
* If you extend this class in a addon JAR, you also have to add a text file named
|
||||
* {@code META-INF/services/com.formdev.flatlaf.FlatDefaultsAddon}
|
||||
* to the addon JAR. The file must contain a single line with the class name.
|
||||
*
|
||||
* <p>
|
||||
* See 'flatlaf-swingx' addon for an example
|
||||
*
|
||||
* @author Karl Tauber
|
||||
@@ -37,6 +37,26 @@ public abstract class FlatDefaultsAddon
|
||||
/**
|
||||
* Finds an addon .properties file for the given LaF class and returns
|
||||
* it as input stream. Or {@code null} if not found.
|
||||
* <p>
|
||||
* This default implementation finds addon .properties file for the given LaF class
|
||||
* in the same package as the subclass.
|
||||
* <p>
|
||||
* Override this method to load addon .properties files from other locations.
|
||||
*/
|
||||
public abstract InputStream getDefaults( Class<?> lafClass );
|
||||
public InputStream getDefaults( Class<?> lafClass ) {
|
||||
Class<?> addonClass = this.getClass();
|
||||
String propertiesName = '/' + addonClass.getPackage().getName().replace( '.', '/' )
|
||||
+ '/' + lafClass.getSimpleName() + ".properties";
|
||||
return addonClass.getResourceAsStream( propertiesName );
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the priority used to sort addon loading.
|
||||
* The order is only important if you want overwrite UI defaults of other addons.
|
||||
* Lower numbers mean higher priority.
|
||||
* Returns 10000 by default.
|
||||
*/
|
||||
public int getPriority() {
|
||||
return 10000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,15 +28,22 @@ import java.awt.Window;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import javax.swing.AbstractButton;
|
||||
import javax.swing.InputMap;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JRootPane;
|
||||
import javax.swing.JTabbedPane;
|
||||
import javax.swing.KeyStroke;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.PopupFactory;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIDefaults;
|
||||
import javax.swing.UIDefaults.LazyValue;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UnsupportedLookAndFeelException;
|
||||
import javax.swing.plaf.ColorUIResource;
|
||||
@@ -55,23 +62,26 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
public abstract class FlatLaf
|
||||
extends BasicLookAndFeel
|
||||
{
|
||||
static final Logger LOG = Logger.getLogger( FlatLaf.class.getName() );
|
||||
|
||||
private BasicLookAndFeel base;
|
||||
|
||||
private String desktopPropertyName;
|
||||
private PropertyChangeListener desktopPropertyListener;
|
||||
|
||||
private KeyEventPostProcessor mnemonicListener;
|
||||
private static boolean altKeyPressed;
|
||||
private static boolean showMnemonics;
|
||||
private static WeakReference<Window> lastShowMnemonicWindow;
|
||||
|
||||
private Consumer<UIDefaults> postInitialization;
|
||||
|
||||
public static boolean install( LookAndFeel newLookAndFeel ) {
|
||||
try {
|
||||
UIManager.setLookAndFeel( newLookAndFeel );
|
||||
return true;
|
||||
UIManager.setLookAndFeel( newLookAndFeel );
|
||||
return true;
|
||||
} catch( Exception ex ) {
|
||||
System.err.println( "Failed to initialize look and feel " + newLookAndFeel.getClass().getName() );
|
||||
return false;
|
||||
LOG.log( Level.SEVERE, "FlatLaf: Failed to initialize look and feel '" + newLookAndFeel.getClass().getName() + "'.", ex );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,8 +123,7 @@ public abstract class FlatLaf
|
||||
|
||||
// add mnemonic listener
|
||||
mnemonicListener = e -> {
|
||||
if( e.getKeyCode() == KeyEvent.VK_ALT )
|
||||
altKeyChanged( e.getID() == KeyEvent.KEY_PRESSED );
|
||||
checkShowMnemonics( e );
|
||||
return false;
|
||||
};
|
||||
KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventPostProcessor( mnemonicListener );
|
||||
@@ -183,10 +192,11 @@ public abstract class FlatLaf
|
||||
if( base == null ) {
|
||||
if( SystemInfo.IS_MAC ) {
|
||||
// use Mac Aqua LaF as base
|
||||
String aquaLafClassName = "com.apple.laf.AquaLookAndFeel";
|
||||
try {
|
||||
base = (BasicLookAndFeel) Class.forName( "com.apple.laf.AquaLookAndFeel" ).newInstance();
|
||||
base = (BasicLookAndFeel) Class.forName( aquaLafClassName ).newInstance();
|
||||
} catch( Exception ex ) {
|
||||
ex.printStackTrace();
|
||||
LOG.log( Level.SEVERE, "FlatLaf: Failed to initialize base look and feel '" + aquaLafClassName + "'.", ex );
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
} else
|
||||
@@ -225,6 +235,7 @@ public abstract class FlatLaf
|
||||
|
||||
initFonts( defaults );
|
||||
initIconColors( defaults, isDark() );
|
||||
initInputMaps( defaults );
|
||||
|
||||
// load defaults from properties
|
||||
List<Class<?>> lafClassesForDefaultsLoading = getLafClassesForDefaultsLoading();
|
||||
@@ -237,12 +248,16 @@ public abstract class FlatLaf
|
||||
if( useScreenMenuBar )
|
||||
defaults.put( "MenuBarUI", aquaMenuBarUI );
|
||||
|
||||
invokePostInitialization( defaults );
|
||||
|
||||
return defaults;
|
||||
}
|
||||
|
||||
void invokePostInitialization( UIDefaults defaults ) {
|
||||
if( postInitialization != null ) {
|
||||
postInitialization.accept( defaults );
|
||||
postInitialization = null;
|
||||
}
|
||||
|
||||
return defaults;
|
||||
}
|
||||
|
||||
List<Class<?>> getLafClassesForDefaultsLoading() {
|
||||
@@ -283,6 +298,9 @@ public abstract class FlatLaf
|
||||
defaults.put( key, uiFont );
|
||||
}
|
||||
defaults.put( "MenuItem.acceleratorFont", uiFont );
|
||||
|
||||
// use smaller font for progress bar
|
||||
defaults.put( "ProgressBar.font", UIScale.scaleFont( uiFont, 0.85f ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -324,11 +342,62 @@ public abstract class FlatLaf
|
||||
defaults.put( "Objects.BlackText", new ColorUIResource( 0x231F20 ) );
|
||||
}
|
||||
|
||||
private void initInputMaps( UIDefaults defaults ) {
|
||||
if( SystemInfo.IS_MAC ) {
|
||||
// AquaLookAndFeel (the base for UI defaults on macOS) uses special
|
||||
// action keys (e.g. "aquaExpandNode") for some macOS specific behaviour.
|
||||
// Those action keys are not available in FlatLaf, which makes it
|
||||
// necessary to make some modifications.
|
||||
|
||||
// combobox
|
||||
defaults.put( "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap( new Object[] {
|
||||
"ESCAPE", "hidePopup",
|
||||
"PAGE_UP", "pageUpPassThrough",
|
||||
"PAGE_DOWN", "pageDownPassThrough",
|
||||
"HOME", "homePassThrough",
|
||||
"END", "endPassThrough",
|
||||
"DOWN", "selectNext",
|
||||
"KP_DOWN", "selectNext",
|
||||
"SPACE", "spacePopup",
|
||||
"ENTER", "enterPressed",
|
||||
"UP", "selectPrevious",
|
||||
"KP_UP", "selectPrevious"
|
||||
} ) );
|
||||
|
||||
// tree node expanding/collapsing
|
||||
modifyInputMap( defaults, "Tree.focusInputMap",
|
||||
"RIGHT", "selectChild",
|
||||
"KP_RIGHT", "selectChild",
|
||||
"LEFT", "selectParent",
|
||||
"KP_LEFT", "selectParent",
|
||||
"shift RIGHT", null,
|
||||
"shift KP_RIGHT", null,
|
||||
"shift LEFT", null,
|
||||
"shift KP_LEFT", null,
|
||||
"ctrl LEFT", null,
|
||||
"ctrl KP_LEFT", null,
|
||||
"ctrl RIGHT", null,
|
||||
"ctrl KP_RIGHT", null
|
||||
);
|
||||
defaults.put( "Tree.focusInputMap.RightToLeft", new UIDefaults.LazyInputMap( new Object[] {
|
||||
"RIGHT", "selectParent",
|
||||
"KP_RIGHT", "selectParent",
|
||||
"LEFT", "selectChild",
|
||||
"KP_LEFT", "selectChild"
|
||||
} ) );
|
||||
}
|
||||
}
|
||||
|
||||
private void modifyInputMap( UIDefaults defaults, String key, Object... bindings ) {
|
||||
// Note: not using `defaults.get(key)` here because this would resolve the lazy value
|
||||
defaults.put( key, new LazyModifyInputMap( defaults.remove( key ), bindings ) );
|
||||
}
|
||||
|
||||
private static void reSetLookAndFeel() {
|
||||
EventQueue.invokeLater( () -> {
|
||||
LookAndFeel lookAndFeel = UIManager.getLookAndFeel();
|
||||
try {
|
||||
// re-set current LaF
|
||||
LookAndFeel lookAndFeel = UIManager.getLookAndFeel();
|
||||
UIManager.setLookAndFeel( lookAndFeel );
|
||||
|
||||
// must fire property change events ourself because old and new LaF are the same
|
||||
@@ -339,7 +408,7 @@ public abstract class FlatLaf
|
||||
// update UI
|
||||
updateUI();
|
||||
} catch( UnsupportedLookAndFeelException ex ) {
|
||||
ex.printStackTrace();
|
||||
LOG.log( Level.SEVERE, "FlatLaf: Failed to reinitialize look and feel '" + lookAndFeel.getClass().getName() + "'.", ex );
|
||||
}
|
||||
} );
|
||||
}
|
||||
@@ -354,35 +423,61 @@ public abstract class FlatLaf
|
||||
}
|
||||
|
||||
public static boolean isShowMnemonics() {
|
||||
return altKeyPressed || !UIManager.getBoolean( "Component.hideMnemonics" );
|
||||
return showMnemonics || !UIManager.getBoolean( "Component.hideMnemonics" );
|
||||
}
|
||||
|
||||
private static void altKeyChanged( boolean pressed ) {
|
||||
if( pressed == altKeyPressed )
|
||||
private static void checkShowMnemonics( KeyEvent e ) {
|
||||
int keyCode = e.getKeyCode();
|
||||
if( SystemInfo.IS_MAC ) {
|
||||
// Ctrl+Alt keys must be pressed on Mac
|
||||
if( keyCode == KeyEvent.VK_CONTROL || keyCode == KeyEvent.VK_ALT )
|
||||
showMnemonics( e.getID() == KeyEvent.KEY_PRESSED && e.isControlDown() && e.isAltDown(), e.getComponent() );
|
||||
} else {
|
||||
// Alt key must be pressed on Windows and Linux
|
||||
if( keyCode == KeyEvent.VK_ALT )
|
||||
showMnemonics( e.getID() == KeyEvent.KEY_PRESSED, e.getComponent() );
|
||||
}
|
||||
}
|
||||
|
||||
private static void showMnemonics( boolean show, Component c ) {
|
||||
if( show == showMnemonics )
|
||||
return;
|
||||
|
||||
altKeyPressed = pressed;
|
||||
showMnemonics = show;
|
||||
|
||||
// check whether it is necessary to repaint
|
||||
if( !UIManager.getBoolean( "Component.hideMnemonics" ) )
|
||||
return;
|
||||
|
||||
// get focus owner
|
||||
Component focusOwner = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
|
||||
if( focusOwner == null )
|
||||
return;
|
||||
if( show ) {
|
||||
// get root pane
|
||||
JRootPane rootPane = SwingUtilities.getRootPane( c );
|
||||
if( rootPane == null )
|
||||
return;
|
||||
|
||||
// get focused window
|
||||
Window window = SwingUtilities.windowForComponent( focusOwner );
|
||||
if( window == null )
|
||||
return;
|
||||
// get window
|
||||
Window window = SwingUtilities.getWindowAncestor( rootPane );
|
||||
if( window == null )
|
||||
return;
|
||||
|
||||
// repaint components with mnemonics in focused window
|
||||
repaintMnemonics( window );
|
||||
// repaint components with mnemonics in focused window
|
||||
repaintMnemonics( window );
|
||||
|
||||
lastShowMnemonicWindow = new WeakReference<>( window );
|
||||
} else if( lastShowMnemonicWindow != null ) {
|
||||
Window window = lastShowMnemonicWindow.get();
|
||||
if( window != null )
|
||||
repaintMnemonics( window );
|
||||
|
||||
lastShowMnemonicWindow = null;
|
||||
}
|
||||
}
|
||||
|
||||
private static void repaintMnemonics( Container container ) {
|
||||
for( Component c : container.getComponents() ) {
|
||||
if( !c.isVisible() )
|
||||
continue;
|
||||
|
||||
if( hasMnemonic( c ) )
|
||||
c.repaint();
|
||||
|
||||
@@ -409,4 +504,40 @@ public abstract class FlatLaf
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
//---- class LazyModifyInputMap -------------------------------------------
|
||||
|
||||
/**
|
||||
* Takes a (lazy) base input map and lazily applies modifications to it specified in bindings.
|
||||
*/
|
||||
private static class LazyModifyInputMap
|
||||
implements LazyValue
|
||||
{
|
||||
private final Object baseInputMap;
|
||||
private final Object[] bindings;
|
||||
|
||||
public LazyModifyInputMap( Object baseInputMap, Object[] bindings ) {
|
||||
this.baseInputMap = baseInputMap;
|
||||
this.bindings = bindings;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object createValue( UIDefaults table ) {
|
||||
// get base input map
|
||||
InputMap inputMap = (baseInputMap instanceof LazyValue)
|
||||
? (InputMap) ((LazyValue)baseInputMap).createValue( table )
|
||||
: (InputMap) baseInputMap;
|
||||
|
||||
// modify input map (replace or remove)
|
||||
for( int i = 0; i < bindings.length; i += 2 ) {
|
||||
KeyStroke keyStroke = KeyStroke.getKeyStroke( (String) bindings[i] );
|
||||
if( bindings[i + 1] != null )
|
||||
inputMap.put( keyStroke, bindings[i + 1] );
|
||||
else
|
||||
inputMap.remove( keyStroke );
|
||||
}
|
||||
|
||||
return inputMap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Level;
|
||||
import javax.swing.UIDefaults;
|
||||
import javax.swing.plaf.ColorUIResource;
|
||||
import com.formdev.flatlaf.json.Json;
|
||||
@@ -72,8 +73,7 @@ public class IntelliJTheme
|
||||
try {
|
||||
return FlatLaf.install( createLaf( in ) );
|
||||
} catch( Exception ex ) {
|
||||
System.err.println( "Failed to load IntelliJ theme" );
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.SEVERE, "FlatLaf: Failed to load IntelliJ theme", ex );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -245,7 +245,7 @@ public class IntelliJTheme
|
||||
try {
|
||||
uiValue = UIDefaultsLoader.parseValue( key, valueStr );
|
||||
} catch( RuntimeException ex ) {
|
||||
UIDefaultsLoader.logParseError( key, valueStr, ex );
|
||||
UIDefaultsLoader.logParseError( Level.CONFIG, key, valueStr, ex );
|
||||
return; // ignore invalid value
|
||||
}
|
||||
}
|
||||
@@ -355,33 +355,43 @@ public class IntelliJTheme
|
||||
value = "#ffffff";
|
||||
}
|
||||
|
||||
String key2 = checkboxDuplicateColors.get( key );
|
||||
|
||||
if( dark )
|
||||
key = StringUtils.removeTrailing( key, ".Dark" );
|
||||
|
||||
String newKey = checkboxKeyMapping.get( key );
|
||||
if( newKey != null ) {
|
||||
ColorUIResource color = toColor( (String) value );
|
||||
if( color != null )
|
||||
if( color != null ) {
|
||||
defaults.put( newKey, color );
|
||||
|
||||
if( key2 != null ) {
|
||||
// When IDEA replaces colors in SVGs it uses color values and not the keys
|
||||
// from com.intellij.ide.ui.UITheme.colorPalette, but there are some keys that
|
||||
// have same color value:
|
||||
// - Checkbox.Background.Default.Dark has same color as Checkbox.Background.Selected.Dark
|
||||
// - Checkbox.Border.Default.Dark has same color as Checkbox.Border.Selected.Dark
|
||||
// - Checkbox.Focus.Thin.Default.Dark has same color as Checkbox.Focus.Thin.Selected.Dark
|
||||
//
|
||||
// So if only e.g. Checkbox.Background.Default.Dark is specified in .theme.json,
|
||||
// then this color is also used for Checkbox.Background.Selected.Dark.
|
||||
//
|
||||
// If Checkbox.Background.Default.Dark and Checkbox.Background.Selected.Dark
|
||||
// are specified in .theme.json, then the later specified is used for both.
|
||||
if( dark )
|
||||
key2 = StringUtils.removeTrailing( key2, ".Dark" );
|
||||
|
||||
String newKey2 = checkboxKeyMapping.get( key2 );
|
||||
if( newKey2 != null )
|
||||
defaults.put( newKey2, color );
|
||||
}
|
||||
}
|
||||
|
||||
checkboxModified = true;
|
||||
}
|
||||
}
|
||||
|
||||
// When IDEA replaces colors in SVGs it uses color values and not the keys
|
||||
// from com.intellij.ide.ui.UITheme.colorPalette, but there are some keys that
|
||||
// have same color value:
|
||||
// - Checkbox.Background.Default.Dark has same color as Checkbox.Background.Selected.Dark
|
||||
// - Checkbox.Border.Default.Dark has same color as Checkbox.Border.Selected.Dark
|
||||
// - Checkbox.Focus.Thin.Default.Dark has same color as Checkbox.Focus.Thin.Selected.Dark
|
||||
//
|
||||
// So if only e.g. Checkbox.Background.Default.Dark is specified in .theme.json,
|
||||
// then this color is also used for Checkbox.Background.Selected.Dark.
|
||||
// Occurs e.g. in "Dark purple" theme.
|
||||
fixCheckBoxColor( defaults, colorPalette, "Checkbox.Background.Default.Dark", "Checkbox.Background.Selected.Dark" );
|
||||
fixCheckBoxColor( defaults, colorPalette, "Checkbox.Border.Default.Dark", "Checkbox.Border.Selected.Dark" );
|
||||
fixCheckBoxColor( defaults, colorPalette, "Checkbox.Focus.Thin.Default.Dark", "Checkbox.Focus.Thin.Selected.Dark" );
|
||||
|
||||
// remove hover and pressed colors
|
||||
if( checkboxModified ) {
|
||||
defaults.remove( "CheckBox.icon.hoverBorderColor" );
|
||||
@@ -391,23 +401,17 @@ public class IntelliJTheme
|
||||
defaults.remove( "CheckBox.icon.selectedHoverBackground" );
|
||||
defaults.remove( "CheckBox.icon.selectedPressedBackground" );
|
||||
}
|
||||
}
|
||||
|
||||
private void fixCheckBoxColor( UIDefaults defaults, Map<String, Object> colorPalette, String key1, String key2 ) {
|
||||
if( colorPalette.containsKey( key1 ) == colorPalette.containsKey( key2 ) )
|
||||
return;
|
||||
|
||||
String newKey1 = checkboxKeyMapping.get( StringUtils.removeTrailing( key1, ".Dark" ) );
|
||||
String newKey2 = checkboxKeyMapping.get( StringUtils.removeTrailing( key2, ".Dark" ) );
|
||||
if( colorPalette.containsKey( key1 ) )
|
||||
defaults.put( newKey2, defaults.get( newKey1 ) );
|
||||
else
|
||||
defaults.put( newKey1, defaults.get( newKey2 ) );
|
||||
// copy values
|
||||
for( Map.Entry<String, String> e : uiKeyCopying.entrySet() )
|
||||
defaults.put( e.getKey(), defaults.get( e.getValue() ) );
|
||||
}
|
||||
|
||||
private static Map<String, String> uiKeyMapping = new HashMap<>();
|
||||
private static Map<String, String> uiKeyCopying = new HashMap<>();
|
||||
private static Map<String, String> uiKeyInverseMapping = new HashMap<>();
|
||||
private static Map<String, String> checkboxKeyMapping = new HashMap<>();
|
||||
private static Map<String, String> checkboxDuplicateColors = new HashMap<>();
|
||||
private static Set<String> noWildcardReplace = new HashSet<>();
|
||||
|
||||
static {
|
||||
@@ -419,6 +423,9 @@ public class IntelliJTheme
|
||||
uiKeyMapping.put( "ComboBox.ArrowButton.iconColor", "ComboBox.buttonArrowColor" );
|
||||
uiKeyMapping.put( "ComboBox.ArrowButton.nonEditableBackground", "ComboBox.buttonBackground" );
|
||||
|
||||
// Link
|
||||
uiKeyMapping.put( "Link.activeForeground", "Component.linkColor" );
|
||||
|
||||
// ProgressBar
|
||||
uiKeyMapping.put( "ProgressBar.background", "" ); // ignore
|
||||
uiKeyMapping.put( "ProgressBar.foreground", "" ); // ignore
|
||||
@@ -429,12 +436,21 @@ public class IntelliJTheme
|
||||
uiKeyMapping.put( "ScrollBar.trackColor", "ScrollBar.track" );
|
||||
uiKeyMapping.put( "ScrollBar.thumbColor", "ScrollBar.thumb" );
|
||||
|
||||
// Separator
|
||||
uiKeyMapping.put( "Separator.separatorColor", "Separator.foreground" );
|
||||
|
||||
// Slider
|
||||
uiKeyMapping.put( "Slider.trackWidth", "" ); // ignore (used in Material Theme UI Lite)
|
||||
|
||||
for( Map.Entry<String, String> e : uiKeyMapping.entrySet() )
|
||||
uiKeyInverseMapping.put( e.getValue(), e.getKey() );
|
||||
|
||||
uiKeyCopying.put( "ToggleButton.tab.underlineColor", "TabbedPane.underlineColor" );
|
||||
uiKeyCopying.put( "ToggleButton.tab.disabledUnderlineColor", "TabbedPane.disabledUnderlineColor" );
|
||||
uiKeyCopying.put( "ToggleButton.tab.selectedBackground", "TabbedPane.selectedBackground" );
|
||||
uiKeyCopying.put( "ToggleButton.tab.hoverBackground", "TabbedPane.hoverColor" );
|
||||
uiKeyCopying.put( "ToggleButton.tab.focusBackground", "TabbedPane.focusColor" );
|
||||
|
||||
checkboxKeyMapping.put( "Checkbox.Background.Default", "CheckBox.icon.background" );
|
||||
checkboxKeyMapping.put( "Checkbox.Background.Disabled", "CheckBox.icon.disabledBackground" );
|
||||
checkboxKeyMapping.put( "Checkbox.Border.Default", "CheckBox.icon.borderColor" );
|
||||
@@ -447,6 +463,14 @@ public class IntelliJTheme
|
||||
checkboxKeyMapping.put( "Checkbox.Foreground.Selected", "CheckBox.icon.checkmarkColor" );
|
||||
checkboxKeyMapping.put( "Checkbox.Focus.Thin.Selected", "CheckBox.icon.selectedFocusedBorderColor" );
|
||||
|
||||
checkboxDuplicateColors.put( "Checkbox.Background.Default.Dark", "Checkbox.Background.Selected.Dark" );
|
||||
checkboxDuplicateColors.put( "Checkbox.Border.Default.Dark", "Checkbox.Border.Selected.Dark" );
|
||||
checkboxDuplicateColors.put( "Checkbox.Focus.Thin.Default.Dark", "Checkbox.Focus.Thin.Selected.Dark" );
|
||||
@SuppressWarnings( "unchecked" )
|
||||
Map.Entry<String, String>[] entries = checkboxDuplicateColors.entrySet().toArray( new Map.Entry[checkboxDuplicateColors.size()] );
|
||||
for( Map.Entry<String, String> e : entries )
|
||||
checkboxDuplicateColors.put( e.getValue(), e.getKey() );
|
||||
|
||||
// because FlatLaf uses Button.background and Button.borderColor,
|
||||
// but IDEA uses Button.startBackground and Button.startBorderColor,
|
||||
// our default button background and border colors may be replaced by
|
||||
@@ -492,9 +516,14 @@ public class IntelliJTheme
|
||||
public UIDefaults getDefaults() {
|
||||
UIDefaults defaults = super.getDefaults();
|
||||
theme.applyProperties( defaults );
|
||||
super.invokePostInitialization( defaults );
|
||||
return defaults;
|
||||
}
|
||||
|
||||
@Override
|
||||
void invokePostInitialization( UIDefaults defaults ) {
|
||||
}
|
||||
|
||||
@Override
|
||||
ArrayList<Class<?>> getLafClassesForDefaultsLoading() {
|
||||
ArrayList<Class<?>> lafClasses = new ArrayList<>();
|
||||
|
||||
@@ -27,6 +27,7 @@ import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Level;
|
||||
import javax.swing.text.StyleContext;
|
||||
import com.formdev.flatlaf.util.StringUtils;
|
||||
import com.formdev.flatlaf.util.SystemInfo;
|
||||
@@ -161,7 +162,7 @@ class LinuxFontPolicy
|
||||
if( "1".equals( strs.get( 5 ) ) )
|
||||
style |= Font.ITALIC;
|
||||
} catch( RuntimeException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.CONFIG, "FlatLaf: Failed to parse 'font=" + generalFont + "'.", ex );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +176,7 @@ class LinuxFontPolicy
|
||||
if( dpi < 50 )
|
||||
dpi = 50;
|
||||
} catch( NumberFormatException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.CONFIG, "FlatLaf: Failed to parse 'forceFontDPI=" + forceFontDPI + "'.", ex );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,7 +215,7 @@ class LinuxFontPolicy
|
||||
while( (line = reader.readLine()) != null )
|
||||
lines.add( line );
|
||||
} catch( IOException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.CONFIG, "FlatLaf: Failed to read '" + filename + "'.", ex );
|
||||
}
|
||||
return lines;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,10 @@ import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.ServiceLoader;
|
||||
import java.util.function.Function;
|
||||
import java.util.logging.Level;
|
||||
import javax.swing.UIDefaults;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UIDefaults.ActiveValue;
|
||||
import javax.swing.UIDefaults.LazyValue;
|
||||
import javax.swing.plaf.ColorUIResource;
|
||||
import javax.swing.plaf.DimensionUIResource;
|
||||
@@ -39,9 +42,10 @@ import com.formdev.flatlaf.ui.FlatEmptyBorder;
|
||||
import com.formdev.flatlaf.ui.FlatLineBorder;
|
||||
import com.formdev.flatlaf.util.ColorFunctions;
|
||||
import com.formdev.flatlaf.util.DerivedColor;
|
||||
import com.formdev.flatlaf.util.ScaledNumber;
|
||||
import com.formdev.flatlaf.util.HSLColor;
|
||||
import com.formdev.flatlaf.util.StringUtils;
|
||||
import com.formdev.flatlaf.util.SystemInfo;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
/**
|
||||
* Load UI defaults from properties files associated to Flat LaF classes and add to UI defaults.
|
||||
@@ -59,7 +63,9 @@ class UIDefaultsLoader
|
||||
private static final String TYPE_PREFIX = "{";
|
||||
private static final String TYPE_PREFIX_END = "}";
|
||||
private static final String VARIABLE_PREFIX = "@";
|
||||
@Deprecated
|
||||
private static final String REF_PREFIX = VARIABLE_PREFIX + "@";
|
||||
private static final String PROPERTY_PREFIX = "$";
|
||||
private static final String OPTIONAL_PREFIX = "?";
|
||||
private static final String GLOBAL_PREFIX = "*.";
|
||||
|
||||
@@ -78,32 +84,41 @@ class UIDefaultsLoader
|
||||
|
||||
static void loadDefaultsFromProperties( List<Class<?>> lafClasses, UIDefaults defaults ) {
|
||||
try {
|
||||
List<ClassLoader> addonClassLoaders = new ArrayList<>();
|
||||
|
||||
// load properties files
|
||||
// load core properties files
|
||||
Properties properties = new Properties();
|
||||
ServiceLoader<FlatDefaultsAddon> addonLoader = ServiceLoader.load( FlatDefaultsAddon.class );
|
||||
for( Class<?> lafClass : lafClasses ) {
|
||||
// load core properties
|
||||
String propertiesName = "/" + lafClass.getName().replace( '.', '/' ) + ".properties";
|
||||
String propertiesName = '/' + lafClass.getName().replace( '.', '/' ) + ".properties";
|
||||
try( InputStream in = lafClass.getResourceAsStream( propertiesName ) ) {
|
||||
if( in != null )
|
||||
properties.load( in );
|
||||
}
|
||||
}
|
||||
|
||||
// load properties from addons
|
||||
for( FlatDefaultsAddon addon : addonLoader ) {
|
||||
// get addons and sort them by priority
|
||||
ServiceLoader<FlatDefaultsAddon> addonLoader = ServiceLoader.load( FlatDefaultsAddon.class );
|
||||
List<FlatDefaultsAddon> addonList = new ArrayList<>();
|
||||
for( FlatDefaultsAddon addon : addonLoader )
|
||||
addonList.add( addon );
|
||||
addonList.sort( (addon1, addon2) -> addon1.getPriority() - addon2.getPriority() );
|
||||
|
||||
// load properties from addons
|
||||
for( FlatDefaultsAddon addon : addonList ) {
|
||||
for( Class<?> lafClass : lafClasses ) {
|
||||
try( InputStream in = addon.getDefaults( lafClass ) ) {
|
||||
if( in != null )
|
||||
properties.load( in );
|
||||
}
|
||||
|
||||
ClassLoader addonClassLoader = addon.getClass().getClassLoader();
|
||||
if( !addonClassLoaders.contains( addonClassLoader ) )
|
||||
addonClassLoaders.add( addonClassLoader );
|
||||
}
|
||||
}
|
||||
|
||||
// collect addon class loaders
|
||||
List<ClassLoader> addonClassLoaders = new ArrayList<>();
|
||||
for( FlatDefaultsAddon addon : addonList ) {
|
||||
ClassLoader addonClassLoader = addon.getClass().getClassLoader();
|
||||
if( !addonClassLoaders.contains( addonClassLoader ) )
|
||||
addonClassLoaders.add( addonClassLoader );
|
||||
}
|
||||
|
||||
// collect all platform specific keys (but do not modify properties)
|
||||
ArrayList<String> platformSpecificKeys = new ArrayList<>();
|
||||
for( Object key : properties.keySet() ) {
|
||||
@@ -140,7 +155,7 @@ class UIDefaultsLoader
|
||||
try {
|
||||
globals.put( key.substring( GLOBAL_PREFIX.length() ), parseValue( key, value, resolver, addonClassLoaders ) );
|
||||
} catch( RuntimeException ex ) {
|
||||
logParseError( key, value, ex );
|
||||
logParseError( Level.SEVERE, key, value, ex );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,25 +180,29 @@ class UIDefaultsLoader
|
||||
try {
|
||||
defaults.put( key, parseValue( key, value, resolver, addonClassLoaders ) );
|
||||
} catch( RuntimeException ex ) {
|
||||
logParseError( key, value, ex );
|
||||
logParseError( Level.SEVERE, key, value, ex );
|
||||
}
|
||||
}
|
||||
} catch( IOException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.SEVERE, "FlatLaf: Failed to load properties files.", ex );
|
||||
}
|
||||
}
|
||||
|
||||
static void logParseError( String key, String value, RuntimeException ex ) {
|
||||
System.err.println( "Failed to parse: '" + key + '=' + value + '\'' );
|
||||
System.err.println( " " + ex.getMessage() );
|
||||
static void logParseError( Level level, String key, String value, RuntimeException ex ) {
|
||||
FlatLaf.LOG.log( level, "FlatLaf: Failed to parse: '" + key + '=' + value + '\'', ex );
|
||||
}
|
||||
|
||||
private static String resolveValue( Properties properties, String value ) {
|
||||
if( !value.startsWith( VARIABLE_PREFIX ) )
|
||||
if( value.startsWith( PROPERTY_PREFIX ) )
|
||||
value = value.substring( PROPERTY_PREFIX.length() );
|
||||
else if( !value.startsWith( VARIABLE_PREFIX ) )
|
||||
return value;
|
||||
|
||||
if( value.startsWith( REF_PREFIX ) )
|
||||
// for compatibility
|
||||
if( value.startsWith( REF_PREFIX ) ) {
|
||||
FlatLaf.LOG.log( Level.WARNING, "FlatLaf: Usage of '@@' in .properties files is deprecated. Use '$' instead." );
|
||||
value = value.substring( REF_PREFIX.length() );
|
||||
}
|
||||
|
||||
boolean optional = false;
|
||||
if( value.startsWith( OPTIONAL_PREFIX ) ) {
|
||||
@@ -196,13 +215,13 @@ class UIDefaultsLoader
|
||||
if( optional )
|
||||
return "null";
|
||||
|
||||
throw new IllegalArgumentException( "variable or reference '" + value + "' not found" );
|
||||
throw new IllegalArgumentException( "variable or property '" + value + "' not found" );
|
||||
}
|
||||
|
||||
return resolveValue( properties, newValue );
|
||||
}
|
||||
|
||||
private enum ValueType { UNKNOWN, STRING, INTEGER, BORDER, ICON, INSETS, SIZE, COLOR, SCALEDNUMBER, INSTANCE, CLASS }
|
||||
private enum ValueType { UNKNOWN, STRING, INTEGER, FLOAT, BORDER, ICON, INSETS, DIMENSION, COLOR, SCALEDINTEGER, INSTANCE, CLASS }
|
||||
|
||||
static Object parseValue( String key, String value ) {
|
||||
return parseValue( key, value, v -> v, Collections.emptyList() );
|
||||
@@ -218,12 +237,24 @@ class UIDefaultsLoader
|
||||
case "true": return true;
|
||||
}
|
||||
|
||||
// check for function "lazy"
|
||||
// Syntax: lazy(uiKey)
|
||||
if( value.startsWith( "lazy(" ) && value.endsWith( ")" ) ) {
|
||||
String uiKey = value.substring( 5, value.length() - 1 ).trim();
|
||||
return (LazyValue) t -> {
|
||||
return lazyUIManagerGet( uiKey );
|
||||
};
|
||||
}
|
||||
|
||||
ValueType valueType = ValueType.UNKNOWN;
|
||||
|
||||
// check whether value type is specified in the value
|
||||
if( value.startsWith( "#" ) )
|
||||
valueType = ValueType.COLOR;
|
||||
else if( value.startsWith( TYPE_PREFIX ) ) {
|
||||
else if( value.startsWith( "\"" ) && value.endsWith( "\"" ) ) {
|
||||
valueType = ValueType.STRING;
|
||||
value = value.substring( 1, value.length() - 1 );
|
||||
} else if( value.startsWith( TYPE_PREFIX ) ) {
|
||||
int end = value.indexOf( TYPE_PREFIX_END );
|
||||
if( end != -1 ) {
|
||||
try {
|
||||
@@ -250,7 +281,7 @@ class UIDefaultsLoader
|
||||
key.endsWith( "Margins" ) || key.endsWith( "Insets" ) )
|
||||
valueType = ValueType.INSETS;
|
||||
else if( key.endsWith( "Size" ) )
|
||||
valueType = ValueType.SIZE;
|
||||
valueType = ValueType.DIMENSION;
|
||||
else if( key.endsWith( "Width" ) || key.endsWith( "Height" ) )
|
||||
valueType = ValueType.INTEGER;
|
||||
else if( key.endsWith( "UI" ) )
|
||||
@@ -261,18 +292,19 @@ class UIDefaultsLoader
|
||||
switch( valueType ) {
|
||||
case STRING: return value;
|
||||
case INTEGER: return parseInteger( value, true );
|
||||
case FLOAT: return parseFloat( value, true );
|
||||
case BORDER: return parseBorder( value, resolver, addonClassLoaders );
|
||||
case ICON: return parseInstance( value, addonClassLoaders );
|
||||
case INSETS: return parseInsets( value );
|
||||
case SIZE: return parseSize( value );
|
||||
case COLOR: return parseColorOrFunction( value, true );
|
||||
case SCALEDNUMBER: return parseScaledNumber( value );
|
||||
case DIMENSION: return parseDimension( value );
|
||||
case COLOR: return parseColorOrFunction( value, resolver, true );
|
||||
case SCALEDINTEGER: return parseScaledInteger( value );
|
||||
case INSTANCE: return parseInstance( value, addonClassLoaders );
|
||||
case CLASS: return parseClass( value, addonClassLoaders );
|
||||
case UNKNOWN:
|
||||
default:
|
||||
// colors
|
||||
ColorUIResource color = parseColorOrFunction( value, false );
|
||||
Object color = parseColorOrFunction( value, resolver, false );
|
||||
if( color != null )
|
||||
return color;
|
||||
|
||||
@@ -281,6 +313,11 @@ class UIDefaultsLoader
|
||||
if( integer != null )
|
||||
return integer;
|
||||
|
||||
// float
|
||||
Float f = parseFloat( value, false );
|
||||
if( f != null )
|
||||
return f;
|
||||
|
||||
// string
|
||||
return value;
|
||||
}
|
||||
@@ -289,10 +326,10 @@ class UIDefaultsLoader
|
||||
private static Object parseBorder( String value, Function<String, String> resolver, List<ClassLoader> addonClassLoaders ) {
|
||||
if( value.indexOf( ',' ) >= 0 ) {
|
||||
// top,left,bottom,right[,lineColor]
|
||||
List<String> parts = StringUtils.split( value, ',' );
|
||||
List<String> parts = split( value, ',' );
|
||||
Insets insets = parseInsets( value );
|
||||
ColorUIResource lineColor = (parts.size() == 5)
|
||||
? parseColorOrFunction( resolver.apply( parts.get( 4 ) ), true )
|
||||
? (ColorUIResource) parseColorOrFunction( resolver.apply( parts.get( 4 ) ), resolver, true )
|
||||
: null;
|
||||
|
||||
return (LazyValue) t -> {
|
||||
@@ -309,7 +346,7 @@ class UIDefaultsLoader
|
||||
try {
|
||||
return findClass( value, addonClassLoaders ).newInstance();
|
||||
} catch( InstantiationException | IllegalAccessException | ClassNotFoundException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.SEVERE, "FlatLaf: Failed to instantiate '" + value + "'.", ex );
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@@ -320,7 +357,7 @@ class UIDefaultsLoader
|
||||
try {
|
||||
return findClass( value, addonClassLoaders );
|
||||
} catch( ClassNotFoundException ex ) {
|
||||
ex.printStackTrace();
|
||||
FlatLaf.LOG.log( Level.SEVERE, "FlatLaf: Failed to find class '" + value + "'.", ex );
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@@ -345,7 +382,7 @@ class UIDefaultsLoader
|
||||
}
|
||||
|
||||
private static Insets parseInsets( String value ) {
|
||||
List<String> numbers = StringUtils.split( value, ',' );
|
||||
List<String> numbers = split( value, ',' );
|
||||
try {
|
||||
return new InsetsUIResource(
|
||||
Integer.parseInt( numbers.get( 0 ) ),
|
||||
@@ -357,8 +394,8 @@ class UIDefaultsLoader
|
||||
}
|
||||
}
|
||||
|
||||
private static Dimension parseSize( String value ) {
|
||||
List<String> numbers = StringUtils.split( value, ',' );
|
||||
private static Dimension parseDimension( String value ) {
|
||||
List<String> numbers = split( value, ',' );
|
||||
try {
|
||||
return new DimensionUIResource(
|
||||
Integer.parseInt( numbers.get( 0 ) ),
|
||||
@@ -368,9 +405,9 @@ class UIDefaultsLoader
|
||||
}
|
||||
}
|
||||
|
||||
private static ColorUIResource parseColorOrFunction( String value, boolean reportError ) {
|
||||
private static Object parseColorOrFunction( String value, Function<String, String> resolver, boolean reportError ) {
|
||||
if( value.endsWith( ")" ) )
|
||||
return parseColorFunctions( value, reportError );
|
||||
return parseColorFunctions( value, resolver, reportError );
|
||||
|
||||
return parseColor( value, reportError );
|
||||
}
|
||||
@@ -438,7 +475,7 @@ class UIDefaultsLoader
|
||||
: (((n >> 8) & 0xffffff) | ((n & 0xff) << 24)); // move alpha from lowest to highest byte
|
||||
}
|
||||
|
||||
private static ColorUIResource parseColorFunctions( String value, boolean reportError ) {
|
||||
private static Object parseColorFunctions( String value, Function<String, String> resolver, boolean reportError ) {
|
||||
int paramsStart = value.indexOf( '(' );
|
||||
if( paramsStart < 0 ) {
|
||||
if( reportError )
|
||||
@@ -447,37 +484,99 @@ class UIDefaultsLoader
|
||||
}
|
||||
|
||||
String function = value.substring( 0, paramsStart ).trim();
|
||||
List<String> params = StringUtils.split( value.substring( paramsStart + 1, value.length() - 1 ), ',' );
|
||||
List<String> params = splitFunctionParams( value.substring( paramsStart + 1, value.length() - 1 ), ',' );
|
||||
if( params.isEmpty() )
|
||||
throw new IllegalArgumentException( "missing parameters in function '" + value + "'" );
|
||||
|
||||
switch( function ) {
|
||||
case "lighten": return parseColorLightenOrDarken( true, params, reportError );
|
||||
case "darken": return parseColorLightenOrDarken( false, params, reportError );
|
||||
case "rgb": return parseColorRgbOrRgba( false, params );
|
||||
case "rgba": return parseColorRgbOrRgba( true, params );
|
||||
case "hsl": return parseColorHslOrHsla( false, params );
|
||||
case "hsla": return parseColorHslOrHsla( true, params );
|
||||
case "lighten": return parseColorLightenOrDarken( true, params, resolver, reportError );
|
||||
case "darken": return parseColorLightenOrDarken( false, params, resolver, reportError );
|
||||
}
|
||||
|
||||
throw new IllegalArgumentException( "unknown color function '" + value + "'" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Syntax: lighten(amount[,options]) or darken(amount[,options])
|
||||
* - amount: percentage 0-100%
|
||||
* - options: [relative] [autoInverse]
|
||||
* Syntax: rgb(red,green,blue) or rgba(red,green,blue,alpha)
|
||||
* - red: an integer 0-255
|
||||
* - green: an integer 0-255
|
||||
* - blue: an integer 0-255
|
||||
* - alpha: an integer 0-255
|
||||
*/
|
||||
private static ColorUIResource parseColorLightenOrDarken( boolean lighten, List<String> params, boolean reportError ) {
|
||||
int amount = parsePercentage( params.get( 0 ) );
|
||||
private static ColorUIResource parseColorRgbOrRgba( boolean hasAlpha, List<String> params ) {
|
||||
int red = parseInteger( params.get( 0 ), 0, 255 );
|
||||
int green = parseInteger( params.get( 1 ), 0, 255 );
|
||||
int blue = parseInteger( params.get( 2 ), 0, 255 );
|
||||
int alpha = hasAlpha ? parseInteger( params.get( 3 ), 0, 255 ) : 255;
|
||||
|
||||
return hasAlpha
|
||||
? new ColorUIResource( new Color( red, green, blue, alpha ) )
|
||||
: new ColorUIResource( red, green, blue );
|
||||
}
|
||||
|
||||
/**
|
||||
* Syntax: hsl(hue,saturation,lightness) or hsla(hue,saturation,lightness,alpha)
|
||||
* - hue: an integer 0-360 representing degrees
|
||||
* - saturation: a percentage 0-100%
|
||||
* - lightness: a percentage 0-100%
|
||||
* - alpha: a percentage 0-100%
|
||||
*/
|
||||
private static ColorUIResource parseColorHslOrHsla( boolean hasAlpha, List<String> params ) {
|
||||
int hue = parseInteger( params.get( 0 ), 0, 360 );
|
||||
int saturation = parsePercentage( params.get( 1 ) );
|
||||
int lightness = parsePercentage( params.get( 2 ) );
|
||||
int alpha = hasAlpha ? parsePercentage( params.get( 3 ) ) : 100;
|
||||
|
||||
float[] hsl = new float[] { hue, saturation, lightness };
|
||||
return new ColorUIResource( HSLColor.toRGB( hsl, alpha / 100f ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Syntax: lighten([color,]amount[,options]) or darken([color,]amount[,options])
|
||||
* - color: a color (e.g. #f00) or a color function
|
||||
* - amount: percentage 0-100%
|
||||
* - options: [relative] [autoInverse] [lazy]
|
||||
*/
|
||||
private static Object parseColorLightenOrDarken( boolean lighten, List<String> params,
|
||||
Function<String, String> resolver, boolean reportError )
|
||||
{
|
||||
boolean isDerived = params.get( 0 ).endsWith( "%" );
|
||||
String colorStr = isDerived ? null : params.get( 0 );
|
||||
int nextParam = isDerived ? 0 : 1;
|
||||
int amount = parsePercentage( params.get( nextParam++ ) );
|
||||
boolean relative = false;
|
||||
boolean autoInverse = false;
|
||||
boolean lazy = false;
|
||||
|
||||
if( params.size() >= 2 ) {
|
||||
String options = params.get( 1 );
|
||||
if( params.size() > nextParam ) {
|
||||
String options = params.get( nextParam++ );
|
||||
relative = options.contains( "relative" );
|
||||
autoInverse = options.contains( "autoInverse" );
|
||||
lazy = options.contains( "lazy" );
|
||||
}
|
||||
|
||||
return new DerivedColor( lighten
|
||||
ColorFunctions.ColorFunction function = lighten
|
||||
? new ColorFunctions.Lighten( amount, relative, autoInverse )
|
||||
: new ColorFunctions.Darken( amount, relative, autoInverse ) );
|
||||
: new ColorFunctions.Darken( amount, relative, autoInverse );
|
||||
|
||||
if( isDerived )
|
||||
return new DerivedColor( function );
|
||||
|
||||
if( lazy ) {
|
||||
return (LazyValue) t -> {
|
||||
Object color = lazyUIManagerGet( colorStr );
|
||||
return (color instanceof Color)
|
||||
? new ColorUIResource( ColorFunctions.applyFunctions( (Color) color, function ) )
|
||||
: null;
|
||||
};
|
||||
}
|
||||
|
||||
ColorUIResource color = (ColorUIResource) parseColorOrFunction( resolver.apply( colorStr ), resolver, reportError );
|
||||
return new ColorUIResource( ColorFunctions.applyFunctions( color, function ) );
|
||||
}
|
||||
|
||||
private static int parsePercentage( String value ) {
|
||||
@@ -496,6 +595,13 @@ class UIDefaultsLoader
|
||||
return val;
|
||||
}
|
||||
|
||||
private static Integer parseInteger( String value, int min, int max ) {
|
||||
Integer integer = parseInteger( value, true );
|
||||
if( integer.intValue() < min || integer.intValue() > max )
|
||||
throw new NumberFormatException( "integer '" + value + "' out of range (" + min + '-' + max + ')' );
|
||||
return integer;
|
||||
}
|
||||
|
||||
private static Integer parseInteger( String value, boolean reportError ) {
|
||||
try {
|
||||
return Integer.parseInt( value );
|
||||
@@ -506,11 +612,76 @@ class UIDefaultsLoader
|
||||
return null;
|
||||
}
|
||||
|
||||
private static ScaledNumber parseScaledNumber( String value ) {
|
||||
private static Float parseFloat( String value, boolean reportError ) {
|
||||
try {
|
||||
return new ScaledNumber( Integer.parseInt( value ) );
|
||||
return Float.parseFloat( value );
|
||||
} catch( NumberFormatException ex ) {
|
||||
throw new NumberFormatException( "invalid integer '" + value + "'" );
|
||||
if( reportError )
|
||||
throw new NumberFormatException( "invalid float '" + value + "'" );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static ActiveValue parseScaledInteger( String value ) {
|
||||
int val = parseInteger( value, true );
|
||||
return (ActiveValue) t -> {
|
||||
return UIScale.scale( val );
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Split string and trim parts.
|
||||
*/
|
||||
private static List<String> split( String str, char delim ) {
|
||||
List<String> result = StringUtils.split( str, delim );
|
||||
|
||||
// trim strings
|
||||
int size = result.size();
|
||||
for( int i = 0; i < size; i++ )
|
||||
result.set( i, result.get( i ).trim() );
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Splits function parameters and allows using functions as parameters.
|
||||
* In other words: Delimiters surrounded by '(' and ')' are ignored.
|
||||
*/
|
||||
private static List<String> splitFunctionParams( String str, char delim ) {
|
||||
ArrayList<String> strs = new ArrayList<>();
|
||||
int nestLevel = 0;
|
||||
int start = 0;
|
||||
int strlen = str.length();
|
||||
for( int i = 0; i < strlen; i++ ) {
|
||||
char ch = str.charAt( i );
|
||||
if( ch == '(' )
|
||||
nestLevel++;
|
||||
else if( ch == ')' )
|
||||
nestLevel--;
|
||||
else if( nestLevel == 0 && ch == delim ) {
|
||||
strs.add( str.substring( start, i ).trim() );
|
||||
start = i + 1;
|
||||
}
|
||||
}
|
||||
strs.add( str.substring( start ).trim() );
|
||||
|
||||
return strs;
|
||||
}
|
||||
|
||||
/**
|
||||
* For use in LazyValue to get value for given key from UIManager and report error
|
||||
* if not found. If key is prefixed by '?', then no error is reported.
|
||||
*/
|
||||
private static Object lazyUIManagerGet( String uiKey ) {
|
||||
boolean optional = false;
|
||||
if( uiKey.startsWith( OPTIONAL_PREFIX ) ) {
|
||||
uiKey = uiKey.substring( OPTIONAL_PREFIX.length() );
|
||||
optional = true;
|
||||
}
|
||||
|
||||
Object value = UIManager.get( uiKey );
|
||||
if( value == null && !optional )
|
||||
FlatLaf.LOG.log( Level.SEVERE, "FlatLaf: '" + uiKey + "' not found in UI defaults." );
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ import com.formdev.flatlaf.ui.FlatUIUtils;
|
||||
public class FlatCheckBoxIcon
|
||||
extends FlatAbstractIcon
|
||||
{
|
||||
protected final int focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
public final int focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
protected final Color focusColor = FlatUIUtils.getUIColor( "CheckBox.icon.focusedColor",
|
||||
UIManager.getColor( "Component.focusColor" ) );
|
||||
protected final int arc = FlatUIUtils.getUIInt( "CheckBox.arc", 2 );
|
||||
@@ -133,17 +133,17 @@ public class FlatCheckBoxIcon
|
||||
protected void paintFocusBorder( Graphics2D g2 ) {
|
||||
// the outline focus border is painted outside of the icon
|
||||
int wh = ICON_SIZE - 1 + (focusWidth * 2);
|
||||
int arcwh = (arc + focusWidth) * 2;
|
||||
int arcwh = arc + (focusWidth * 2);
|
||||
g2.fillRoundRect( -focusWidth + 1, -focusWidth, wh, wh, arcwh, arcwh );
|
||||
}
|
||||
|
||||
protected void paintBorder( Graphics2D g2 ) {
|
||||
int arcwh = arc * 2;
|
||||
int arcwh = arc;
|
||||
g2.fillRoundRect( 1, 0, 14, 14, arcwh, arcwh );
|
||||
}
|
||||
|
||||
protected void paintBackground( Graphics2D g2 ) {
|
||||
int arcwh = (arc * 2) - 1;
|
||||
int arcwh = arc - 1;
|
||||
g2.fillRoundRect( 2, 1, 12, 12, arcwh, arcwh );
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.icons;
|
||||
|
||||
import java.awt.BasicStroke;
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.geom.Line2D;
|
||||
import java.awt.geom.Path2D;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
* "close" icon for {@link javax.swing.JInternalFrame}.
|
||||
*
|
||||
* @uiDefault InternalFrame.iconColor Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatInternalFrameCloseIcon
|
||||
extends FlatAbstractIcon
|
||||
{
|
||||
public FlatInternalFrameCloseIcon() {
|
||||
super( 16, 16, UIManager.getColor( "InternalFrame.iconColor" ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintIcon( Component c, Graphics2D g ) {
|
||||
float mx = 8;
|
||||
float my = 8;
|
||||
float r = 3.25f;
|
||||
|
||||
Path2D path = new Path2D.Float( Path2D.WIND_EVEN_ODD );
|
||||
path.append( new Line2D.Float( mx - r, my - r, mx + r, my + r ), false );
|
||||
path.append( new Line2D.Float( mx - r, my + r, mx + r, my - r ), false );
|
||||
g.setStroke( new BasicStroke( 1f ) );
|
||||
g.draw( path );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.icons;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics2D;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
* "iconify" icon for {@link javax.swing.JInternalFrame}.
|
||||
*
|
||||
* @uiDefault InternalFrame.iconColor Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatInternalFrameIconifyIcon
|
||||
extends FlatAbstractIcon
|
||||
{
|
||||
public FlatInternalFrameIconifyIcon() {
|
||||
super( 16, 16, UIManager.getColor( "InternalFrame.iconColor" ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintIcon( Component c, Graphics2D g ) {
|
||||
g.fillRect( 3, 8, 10, 1 );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.icons;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics2D;
|
||||
import javax.swing.UIManager;
|
||||
import com.formdev.flatlaf.ui.FlatUIUtils;
|
||||
|
||||
/**
|
||||
* "maximize" icon for {@link javax.swing.JInternalFrame}.
|
||||
*
|
||||
* @uiDefault InternalFrame.iconColor Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatInternalFrameMaximizeIcon
|
||||
extends FlatAbstractIcon
|
||||
{
|
||||
public FlatInternalFrameMaximizeIcon() {
|
||||
super( 16, 16, UIManager.getColor( "InternalFrame.iconColor" ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintIcon( Component c, Graphics2D g ) {
|
||||
g.fill( FlatUIUtils.createRectangle( 3, 3, 10, 10, 1 ) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.icons;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.geom.Area;
|
||||
import java.awt.geom.Path2D;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
import javax.swing.UIManager;
|
||||
import com.formdev.flatlaf.ui.FlatUIUtils;
|
||||
|
||||
/**
|
||||
* "minimize" (actually "restore") icon for {@link javax.swing.JInternalFrame}.
|
||||
*
|
||||
* @uiDefault InternalFrame.iconColor Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatInternalFrameMinimizeIcon
|
||||
extends FlatAbstractIcon
|
||||
{
|
||||
public FlatInternalFrameMinimizeIcon() {
|
||||
super( 16, 16, UIManager.getColor( "InternalFrame.iconColor" ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintIcon( Component c, Graphics2D g ) {
|
||||
Path2D r1 = FlatUIUtils.createRectangle( 5, 3, 8, 8, 1 );
|
||||
Path2D r2 = FlatUIUtils.createRectangle( 3, 5, 8, 8, 1 );
|
||||
|
||||
Area area = new Area( r1 );
|
||||
area.subtract( new Area( new Rectangle2D.Float( 3, 5, 8, 8 ) ) );
|
||||
g.fill( area );
|
||||
|
||||
g.fill( r2 );
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ import javax.swing.text.JTextComponent;
|
||||
* {@link FlatUIUtils#paintParentBackground} to paint the empty space correctly.
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.innerFocusWidth int
|
||||
* @uiDefault Component.innerFocusWidth int or float
|
||||
* @uiDefault Component.focusColor Color
|
||||
* @uiDefault Component.borderColor Color
|
||||
* @uiDefault Component.disabledBorderColor Color
|
||||
@@ -60,7 +60,7 @@ public class FlatBorder
|
||||
extends BasicBorders.MarginBorder
|
||||
{
|
||||
protected final int focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
protected final int innerFocusWidth = UIManager.getInt( "Component.innerFocusWidth" );
|
||||
protected final float innerFocusWidth = FlatUIUtils.getUIFloat( "Component.innerFocusWidth", 0 );
|
||||
protected final Color focusColor = UIManager.getColor( "Component.focusColor" );
|
||||
protected final Color borderColor = UIManager.getColor( "Component.borderColor" );
|
||||
protected final Color disabledBorderColor = UIManager.getColor( "Component.disabledBorderColor" );
|
||||
@@ -73,18 +73,20 @@ public class FlatBorder
|
||||
FlatUIUtils.setRenderingHints( g2 );
|
||||
|
||||
boolean isCellEditor = isTableCellEditor( c );
|
||||
float focusWidth = isCellEditor ? 0 : getFocusWidth();
|
||||
float focusWidth = isCellEditor ? 0 : getFocusWidth( c );
|
||||
float borderWidth = getBorderWidth( c );
|
||||
float arc = isCellEditor ? 0 : getArc();
|
||||
float arc = isCellEditor ? 0 : getArc( c );
|
||||
|
||||
if( isFocused( c ) ) {
|
||||
float innerFocusWidth = !(c instanceof JScrollPane) ? this.innerFocusWidth : 0;
|
||||
|
||||
g2.setColor( getFocusColor( c ) );
|
||||
FlatUIUtils.paintOutlineBorder( g2, x, y, width, height, focusWidth,
|
||||
getLineWidth() + scale( (float) innerFocusWidth ), arc );
|
||||
FlatUIUtils.paintComponentOuterBorder( g2, x, y, width, height, focusWidth,
|
||||
getLineWidth( c ) + scale( innerFocusWidth ), arc );
|
||||
}
|
||||
|
||||
g2.setPaint( getBorderColor( c ) );
|
||||
FlatUIUtils.drawRoundRectangle( g2, x, y, width, height, focusWidth, borderWidth, arc );
|
||||
FlatUIUtils.paintComponentBorder( g2, x, y, width, height, focusWidth, borderWidth, arc );
|
||||
} finally {
|
||||
g2.dispose();
|
||||
}
|
||||
@@ -151,7 +153,7 @@ public class FlatBorder
|
||||
@Override
|
||||
public Insets getBorderInsets( Component c, Insets insets ) {
|
||||
boolean isCellEditor = isTableCellEditor( c );
|
||||
float ow = (isCellEditor ? 0 : getFocusWidth()) + getLineWidth();
|
||||
float ow = (isCellEditor ? 0 : getFocusWidth( c )) + getLineWidth( c );
|
||||
|
||||
insets = super.getBorderInsets( c, insets );
|
||||
insets.top = Math.round( scale( (float) insets.top ) + ow );
|
||||
@@ -161,19 +163,19 @@ public class FlatBorder
|
||||
return insets;
|
||||
}
|
||||
|
||||
protected float getFocusWidth() {
|
||||
protected float getFocusWidth( Component c ) {
|
||||
return scale( (float) focusWidth );
|
||||
}
|
||||
|
||||
protected float getLineWidth() {
|
||||
protected float getLineWidth( Component c ) {
|
||||
return scale( 1f );
|
||||
}
|
||||
|
||||
protected float getBorderWidth( Component c ) {
|
||||
return getLineWidth();
|
||||
return getLineWidth( c );
|
||||
}
|
||||
|
||||
protected float getArc() {
|
||||
protected float getArc( Component c ) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class FlatButtonBorder
|
||||
|
||||
@Override
|
||||
public void paintBorder( Component c, Graphics g, int x, int y, int width, int height ) {
|
||||
if( FlatButtonUI.isContentAreaFilled( c ) && !FlatButtonUI.isHelpButton( c ) )
|
||||
if( FlatButtonUI.isContentAreaFilled( c ) && !FlatButtonUI.isHelpButton( c ) && !FlatToggleButtonUI.isTabButton( c ) )
|
||||
super.paintBorder( c, g, x, y, width, height );
|
||||
}
|
||||
|
||||
@@ -104,13 +104,18 @@ public class FlatButtonBorder
|
||||
return insets;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected float getFocusWidth( Component c ) {
|
||||
return FlatToggleButtonUI.isTabButton( c ) ? 0 : super.getFocusWidth(c );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected float getBorderWidth( Component c ) {
|
||||
return FlatButtonUI.isDefaultButton( c ) ? scale( (float) defaultBorderWidth ) : super.getBorderWidth( c );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected float getArc() {
|
||||
return scale( (float) arc );
|
||||
protected float getArc( Component c ) {
|
||||
return FlatButtonUI.isSquareButton( c ) ? 0 : scale( (float) arc );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.geom.RoundRectangle2D;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import javax.swing.AbstractButton;
|
||||
import javax.swing.ButtonModel;
|
||||
import javax.swing.Icon;
|
||||
@@ -39,6 +40,7 @@ import javax.swing.UIManager;
|
||||
import javax.swing.border.Border;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.UIResource;
|
||||
import javax.swing.plaf.basic.BasicButtonListener;
|
||||
import javax.swing.plaf.basic.BasicButtonUI;
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
@@ -134,7 +136,7 @@ public class FlatButtonUI
|
||||
String prefix = getPropertyPrefix();
|
||||
|
||||
focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
arc = UIManager.getInt( prefix + "arc" );
|
||||
arc = UIManager.getInt( "Button.arc" );
|
||||
minimumWidth = UIManager.getInt( prefix + "minimumWidth" );
|
||||
iconTextGap = FlatUIUtils.getUIInt( prefix + "iconTextGap", 4 );
|
||||
|
||||
@@ -149,6 +151,10 @@ public class FlatButtonUI
|
||||
shadowWidth = FlatUIUtils.getUIInt( "Button.shadowWidth", 2 );
|
||||
shadowColor = UIManager.getColor( "Button.shadowColor" );
|
||||
defaultShadowColor = UIManager.getColor( "Button.default.shadowColor" );
|
||||
} else {
|
||||
shadowWidth = 0;
|
||||
shadowColor = null;
|
||||
defaultShadowColor = null;
|
||||
}
|
||||
|
||||
defaultBackground = FlatUIUtils.getUIColor( "Button.default.startBackground", "Button.default.background" );
|
||||
@@ -176,7 +182,7 @@ public class FlatButtonUI
|
||||
LookAndFeel.installProperty( b, "opaque", false );
|
||||
LookAndFeel.installProperty( b, "iconTextGap", scale( iconTextGap ) );
|
||||
|
||||
MigLayoutVisualPadding.install( b, focusWidth );
|
||||
MigLayoutVisualPadding.install( b, getFocusWidth( b ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -187,6 +193,26 @@ public class FlatButtonUI
|
||||
defaults_initialized = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BasicButtonListener createButtonListener( AbstractButton b ) {
|
||||
return new BasicButtonListener( b ) {
|
||||
@Override
|
||||
public void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
FlatButtonUI.this.propertyChange( b, e );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
protected void propertyChange( AbstractButton b, PropertyChangeEvent e ) {
|
||||
switch( e.getPropertyName() ) {
|
||||
case MINIMUM_WIDTH:
|
||||
case MINIMUM_HEIGHT:
|
||||
b.revalidate();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static boolean isContentAreaFilled( Component c ) {
|
||||
return !(c instanceof AbstractButton) || ((AbstractButton)c).isContentAreaFilled();
|
||||
}
|
||||
@@ -205,6 +231,10 @@ public class FlatButtonUI
|
||||
(icon == null && text != null && ("...".equals( text ) || text.length() == 1));
|
||||
}
|
||||
|
||||
static boolean isSquareButton( Component c ) {
|
||||
return c instanceof AbstractButton && clientPropertyEquals( (AbstractButton) c, BUTTON_TYPE, BUTTON_TYPE_SQUARE );
|
||||
}
|
||||
|
||||
static boolean isHelpButton( Component c ) {
|
||||
return c instanceof JButton && clientPropertyEquals( (JButton) c, BUTTON_TYPE, BUTTON_TYPE_HELP );
|
||||
}
|
||||
@@ -224,43 +254,47 @@ public class FlatButtonUI
|
||||
return;
|
||||
}
|
||||
|
||||
if( isContentAreaFilled( c ) ) {
|
||||
Color background = getBackground( c );
|
||||
if( background != null ) {
|
||||
Graphics2D g2 = (Graphics2D) g.create();
|
||||
try {
|
||||
FlatUIUtils.setRenderingHints( g2 );
|
||||
|
||||
Border border = c.getBorder();
|
||||
float focusWidth = (border instanceof FlatBorder) ? scale( (float) this.focusWidth ) : 0;
|
||||
float arc = (border instanceof FlatButtonBorder || isToolBarButton( c )) ? scale( (float) this.arc ) : 0;
|
||||
boolean def = isDefaultButton( c );
|
||||
|
||||
// paint shadow
|
||||
Color shadowColor = def ? defaultShadowColor : this.shadowColor;
|
||||
if( shadowColor != null && shadowWidth > 0 && focusWidth > 0 && !c.hasFocus() && c.isEnabled() ) {
|
||||
g2.setColor( shadowColor );
|
||||
g2.fill( new RoundRectangle2D.Float( focusWidth, focusWidth + UIScale.scale( (float) shadowWidth ),
|
||||
c.getWidth() - focusWidth * 2, c.getHeight() - focusWidth * 2, arc, arc ) );
|
||||
}
|
||||
|
||||
// paint background
|
||||
Color startBg = def ? defaultBackground : startBackground;
|
||||
Color endBg = def ? defaultEndBackground : endBackground;
|
||||
if( background == startBg && endBg != null && !startBg.equals( endBg ) )
|
||||
g2.setPaint( new GradientPaint( 0, 0, startBg, 0, c.getHeight(), endBg ) );
|
||||
else
|
||||
FlatUIUtils.setColor( g2, background, def ? defaultBackground : c.getBackground() );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, c.getWidth(), c.getHeight(), focusWidth, arc );
|
||||
} finally {
|
||||
g2.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
if( isContentAreaFilled( c ) )
|
||||
paintBackground( g, c );
|
||||
|
||||
paint( g, c );
|
||||
}
|
||||
|
||||
protected void paintBackground( Graphics g, JComponent c ) {
|
||||
Color background = getBackground( c );
|
||||
if( background != null ) {
|
||||
Graphics2D g2 = (Graphics2D) g.create();
|
||||
try {
|
||||
FlatUIUtils.setRenderingHints( g2 );
|
||||
|
||||
Border border = c.getBorder();
|
||||
float focusWidth = (border instanceof FlatBorder) ? scale( (float) getFocusWidth( c ) ) : 0;
|
||||
float arc = ((border instanceof FlatButtonBorder && !isSquareButton( c )) || isToolBarButton( c ))
|
||||
? scale( (float) this.arc ) : 0;
|
||||
boolean def = isDefaultButton( c );
|
||||
|
||||
// paint shadow
|
||||
Color shadowColor = def ? defaultShadowColor : this.shadowColor;
|
||||
if( shadowColor != null && shadowWidth > 0 && focusWidth > 0 && !c.hasFocus() && c.isEnabled() ) {
|
||||
g2.setColor( shadowColor );
|
||||
g2.fill( new RoundRectangle2D.Float( focusWidth, focusWidth + UIScale.scale( (float) shadowWidth ),
|
||||
c.getWidth() - focusWidth * 2, c.getHeight() - focusWidth * 2, arc, arc ) );
|
||||
}
|
||||
|
||||
// paint background
|
||||
Color startBg = def ? defaultBackground : startBackground;
|
||||
Color endBg = def ? defaultEndBackground : endBackground;
|
||||
if( background == startBg && endBg != null && !startBg.equals( endBg ) )
|
||||
g2.setPaint( new GradientPaint( 0, 0, startBg, 0, c.getHeight(), endBg ) );
|
||||
else
|
||||
FlatUIUtils.setColor( g2, background, def ? defaultBackground : c.getBackground() );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, c.getWidth(), c.getHeight(), focusWidth, arc );
|
||||
} finally {
|
||||
g2.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintText( Graphics g, AbstractButton b, Rectangle textRect, String text ) {
|
||||
if( isHelpButton( b ) )
|
||||
@@ -350,9 +384,16 @@ public class FlatButtonUI
|
||||
// or apply minimum width, if not in toolbar and not a icon-only button
|
||||
if( isIconOnlyButton( c ) )
|
||||
prefSize.width = Math.max( prefSize.width, prefSize.height );
|
||||
else if( !isToolBarButton( c ) )
|
||||
prefSize.width = Math.max( prefSize.width, scale( minimumWidth + (focusWidth * 2) ) );
|
||||
else if( !isToolBarButton( c ) && c.getBorder() instanceof FlatButtonBorder ) {
|
||||
int focusWidth = getFocusWidth( c );
|
||||
prefSize.width = Math.max( prefSize.width, scale( FlatUIUtils.minimumWidth( c, minimumWidth ) + (focusWidth * 2) ) );
|
||||
prefSize.height = Math.max( prefSize.height, scale( FlatUIUtils.minimumHeight( c, 0 ) + (focusWidth * 2) ) );
|
||||
}
|
||||
|
||||
return prefSize;
|
||||
}
|
||||
|
||||
protected int getFocusWidth( JComponent c ) {
|
||||
return focusWidth;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Rectangle;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicCheckBoxMenuItemUI;
|
||||
|
||||
@@ -74,4 +77,9 @@ public class FlatCheckBoxMenuItemUI
|
||||
defaultTextIconGap = scale( defaultTextIconGap );
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintText( Graphics g, JMenuItem menuItem, Rectangle textRect, String text ) {
|
||||
FlatMenuItemUI.paintText( g, menuItem, textRect, text, disabledForeground, selectionForeground );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ import java.awt.Insets;
|
||||
import java.awt.LayoutManager;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.Shape;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.FocusEvent;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.awt.event.MouseListener;
|
||||
@@ -35,12 +37,16 @@ import java.awt.geom.Rectangle2D;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.lang.ref.WeakReference;
|
||||
import javax.swing.AbstractAction;
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.DefaultListCellRenderer;
|
||||
import javax.swing.InputMap;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JComboBox;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JList;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.KeyStroke;
|
||||
import javax.swing.ListCellRenderer;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.SwingConstants;
|
||||
@@ -52,6 +58,8 @@ import javax.swing.plaf.basic.BasicComboBoxUI;
|
||||
import javax.swing.plaf.basic.BasicComboPopup;
|
||||
import javax.swing.plaf.basic.ComboPopup;
|
||||
import javax.swing.text.JTextComponent;
|
||||
import com.formdev.flatlaf.FlatClientProperties;
|
||||
import com.formdev.flatlaf.util.SystemInfo;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
/**
|
||||
@@ -239,7 +247,8 @@ public class FlatComboBoxUI
|
||||
} else if( editor != null && source == comboBox && propertyName == "componentOrientation" ) {
|
||||
ComponentOrientation o = (ComponentOrientation) e.getNewValue();
|
||||
editor.applyComponentOrientation( o );
|
||||
}
|
||||
} else if( editor != null && FlatClientProperties.PLACEHOLDER_TEXT.equals( propertyName ) )
|
||||
editor.repaint();
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -268,6 +277,18 @@ public class FlatComboBoxUI
|
||||
editor.applyComponentOrientation( comboBox.getComponentOrientation() );
|
||||
|
||||
updateEditorColors();
|
||||
|
||||
// macOS
|
||||
if( SystemInfo.IS_MAC && editor instanceof JTextComponent ) {
|
||||
// delegate actions from editor text field to combobox, which is necessary
|
||||
// because text field on macOS (based on Aqua LaF UI defaults)
|
||||
// already handle those keys
|
||||
InputMap inputMap = ((JTextComponent)editor).getInputMap();
|
||||
new EditorDelegateAction( inputMap, KeyStroke.getKeyStroke( "UP" ) );
|
||||
new EditorDelegateAction( inputMap, KeyStroke.getKeyStroke( "KP_UP" ) );
|
||||
new EditorDelegateAction( inputMap, KeyStroke.getKeyStroke( "DOWN" ) );
|
||||
new EditorDelegateAction( inputMap, KeyStroke.getKeyStroke( "KP_DOWN" ) );
|
||||
}
|
||||
}
|
||||
|
||||
private void updateEditorColors() {
|
||||
@@ -316,7 +337,7 @@ public class FlatComboBoxUI
|
||||
g2.setColor( enabled
|
||||
? (editableBackground != null && comboBox.isEditable() ? editableBackground : c.getBackground())
|
||||
: getDisabledBackground( comboBox ) );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, width, height, focusWidth, arc );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, width, height, focusWidth, arc );
|
||||
|
||||
// paint arrow button background
|
||||
if( enabled ) {
|
||||
@@ -326,7 +347,7 @@ public class FlatComboBoxUI
|
||||
g2.clipRect( arrowX, 0, width - arrowX, height );
|
||||
else
|
||||
g2.clipRect( 0, 0, arrowX + arrowWidth, height );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, width, height, focusWidth, arc );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, width, height, focusWidth, arc );
|
||||
g2.setClip( oldClip );
|
||||
}
|
||||
|
||||
@@ -335,7 +356,7 @@ public class FlatComboBoxUI
|
||||
g2.setColor( enabled ? borderColor : disabledBorderColor );
|
||||
float lw = scale( 1f );
|
||||
float lx = isLeftToRight ? arrowX : arrowX + arrowWidth - lw;
|
||||
g2.fill( new Rectangle2D.Float( lx, focusWidth, lw, height - (focusWidth * 2) ) );
|
||||
g2.fill( new Rectangle2D.Float( lx, focusWidth, lw, height - 1 - (focusWidth * 2)) );
|
||||
}
|
||||
|
||||
paint( g, c );
|
||||
@@ -346,6 +367,8 @@ public class FlatComboBoxUI
|
||||
public void paintCurrentValue( Graphics g, Rectangle bounds, boolean hasFocus ) {
|
||||
ListCellRenderer<Object> renderer = comboBox.getRenderer();
|
||||
uninstallCellPaddingBorder( renderer );
|
||||
if( renderer == null )
|
||||
renderer = new DefaultListCellRenderer();
|
||||
Component c = renderer.getListCellRendererComponent( listBox, comboBox.getSelectedItem(), -1, false, false );
|
||||
c.setFont( comboBox.getFont() );
|
||||
c.applyComponentOrientation( comboBox.getComponentOrientation() );
|
||||
@@ -518,6 +541,8 @@ public class FlatComboBoxUI
|
||||
CellPaddingBorder.uninstall( renderer );
|
||||
CellPaddingBorder.uninstall( lastRendererComponent );
|
||||
|
||||
if( renderer == null )
|
||||
renderer = new DefaultListCellRenderer();
|
||||
Component c = renderer.getListCellRendererComponent( list, value, index, isSelected, cellHasFocus );
|
||||
c.applyComponentOrientation( comboBox.getComponentOrientation() );
|
||||
|
||||
@@ -601,4 +626,31 @@ public class FlatComboBoxUI
|
||||
rendererBorder.paintBorder( c, g, x, y, width, height );
|
||||
}
|
||||
}
|
||||
|
||||
//---- class EditorDelegateAction -----------------------------------------
|
||||
|
||||
/**
|
||||
* Delegates actions from editor text field to combobox.
|
||||
*/
|
||||
private class EditorDelegateAction
|
||||
extends AbstractAction
|
||||
{
|
||||
private final KeyStroke keyStroke;
|
||||
|
||||
EditorDelegateAction( InputMap inputMap, KeyStroke keyStroke ) {
|
||||
this.keyStroke = keyStroke;
|
||||
|
||||
// add to input map
|
||||
inputMap.put( keyStroke, this );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionPerformed( ActionEvent e ) {
|
||||
ActionListener action = comboBox.getActionForKeyStroke( keyStroke );
|
||||
if( action != null ) {
|
||||
action.actionPerformed( new ActionEvent( comboBox, e.getID(),
|
||||
e.getActionCommand(), e.getWhen(), e.getModifiers() ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,6 +98,7 @@ public class FlatEditorPaneUI
|
||||
// and subtract 1px border line width.
|
||||
// Using "(scale( 1 ) * 2)" instead of "scale( 2 )" to deal with rounding
|
||||
// issues. E.g. at scale factor 1.5 the first returns 4, but the second 3.
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( getComponent(), this.minimumWidth );
|
||||
size.width = Math.max( size.width, scale( minimumWidth ) - (scale( 1 ) * 2) );
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,76 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JFileChooser}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicFileChooserUI -->
|
||||
*
|
||||
* @uiDefault FileView.directoryIcon Icon
|
||||
* @uiDefault FileView.fileIcon Icon
|
||||
* @uiDefault FileView.computerIcon Icon
|
||||
* @uiDefault FileView.hardDriveIcon Icon
|
||||
* @uiDefault FileView.floppyDriveIcon Icon
|
||||
*
|
||||
* @uiDefault FileChooser.newFolderIcon Icon
|
||||
* @uiDefault FileChooser.upFolderIcon Icon
|
||||
* @uiDefault FileChooser.homeFolderIcon Icon
|
||||
* @uiDefault FileChooser.detailsViewIcon Icon
|
||||
* @uiDefault FileChooser.listViewIcon Icon
|
||||
* @uiDefault FileChooser.viewMenuIcon Icon
|
||||
*
|
||||
* @uiDefault FileChooser.usesSingleFilePane boolean
|
||||
* @uiDefault FileChooser.readOnly boolean if true, "New Folder" is disabled
|
||||
*
|
||||
* @uiDefault FileChooser.newFolderErrorText String
|
||||
* @uiDefault FileChooser.newFolderErrorSeparator String
|
||||
* @uiDefault FileChooser.newFolderParentDoesntExistTitleText String
|
||||
* @uiDefault FileChooser.newFolderParentDoesntExistText String
|
||||
* @uiDefault FileChooser.fileDescriptionText String
|
||||
* @uiDefault FileChooser.directoryDescriptionText String
|
||||
* @uiDefault FileChooser.saveButtonText String
|
||||
* @uiDefault FileChooser.openButtonText String
|
||||
* @uiDefault FileChooser.saveDialogTitleText String
|
||||
* @uiDefault FileChooser.openDialogTitleText String
|
||||
* @uiDefault FileChooser.cancelButtonText String
|
||||
* @uiDefault FileChooser.updateButtonText String
|
||||
* @uiDefault FileChooser.helpButtonText String
|
||||
* @uiDefault FileChooser.directoryOpenButtonText String
|
||||
*
|
||||
* @uiDefault FileChooser.saveButtonMnemonic String
|
||||
* @uiDefault FileChooser.openButtonMnemonic String
|
||||
* @uiDefault FileChooser.cancelButtonMnemonic String
|
||||
* @uiDefault FileChooser.updateButtonMnemonic String
|
||||
* @uiDefault FileChooser.helpButtonMnemonic String
|
||||
* @uiDefault FileChooser.directoryOpenButtonMnemonic String
|
||||
*
|
||||
* @uiDefault FileChooser.saveButtonToolTipText String
|
||||
* @uiDefault FileChooser.openButtonToolTipText String
|
||||
* @uiDefault FileChooser.cancelButtonToolTipText String
|
||||
* @uiDefault FileChooser.updateButtonToolTipText String
|
||||
* @uiDefault FileChooser.helpButtonToolTipText String
|
||||
* @uiDefault FileChooser.directoryOpenButtonToolTipText String
|
||||
*
|
||||
* @uiDefault FileChooser.acceptAllFileFilterText String
|
||||
*
|
||||
* <!-- MetalFileChooserUI -->
|
||||
*
|
||||
* @uiDefault FileChooser.lookInLabelMnemonic String
|
||||
* @uiDefault FileChooser.lookInLabelText String
|
||||
* @uiDefault FileChooser.saveInLabelText String
|
||||
* @uiDefault FileChooser.fileNameLabelMnemonic String
|
||||
* @uiDefault FileChooser.fileNameLabelText String
|
||||
* @uiDefault FileChooser.folderNameLabelMnemonic String
|
||||
* @uiDefault FileChooser.folderNameLabelText String
|
||||
* @uiDefault FileChooser.filesOfTypeLabelMnemonic String
|
||||
* @uiDefault FileChooser.filesOfTypeLabelText String
|
||||
* @uiDefault FileChooser.upFolderToolTipText String
|
||||
* @uiDefault FileChooser.upFolderAccessibleName String
|
||||
* @uiDefault FileChooser.homeFolderToolTipText String
|
||||
* @uiDefault FileChooser.homeFolderAccessibleName String
|
||||
* @uiDefault FileChooser.newFolderToolTipText String
|
||||
* @uiDefault FileChooser.newFolderAccessibleName String
|
||||
* @uiDefault FileChooser.listViewButtonToolTipText String
|
||||
* @uiDefault FileChooser.listViewButtonAccessibleName String
|
||||
* @uiDefault FileChooser.detailsViewButtonToolTipText String
|
||||
* @uiDefault FileChooser.detailsViewButtonAccessibleName String
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -39,8 +39,10 @@ import javax.swing.plaf.ComponentUI;
|
||||
*
|
||||
* <!-- FlatTextFieldUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault Component.isIntelliJTheme boolean
|
||||
* @uiDefault FormattedTextField.placeholderForeground Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
|
||||
@@ -20,12 +20,14 @@ import java.awt.Color;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Rectangle;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import javax.swing.Icon;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicHTML;
|
||||
import javax.swing.plaf.basic.BasicLabelUI;
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
@@ -77,6 +79,51 @@ public class FlatLabelUI
|
||||
defaults_initialized = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void installComponents( JLabel c ) {
|
||||
super.installComponents( c );
|
||||
|
||||
// update HTML renderer if necessary
|
||||
updateHTMLRenderer( c, c.getText(), false );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void propertyChange( PropertyChangeEvent e ) {
|
||||
String name = e.getPropertyName();
|
||||
if( name == "text" || name == "font" || name == "foreground" ) {
|
||||
JLabel label = (JLabel) e.getSource();
|
||||
updateHTMLRenderer( label, label.getText(), true );
|
||||
} else
|
||||
super.propertyChange( e );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether text contains HTML headings and adds a special CSS rule to
|
||||
* re-calculate heading font sizes based on current component font size.
|
||||
*/
|
||||
static void updateHTMLRenderer( JComponent c, String text, boolean always ) {
|
||||
if( BasicHTML.isHTMLString( text ) &&
|
||||
c.getClientProperty( "html.disable" ) != Boolean.TRUE &&
|
||||
text.contains( "<h" ) &&
|
||||
(text.contains( "<h1" ) || text.contains( "<h2" ) || text.contains( "<h3" ) ||
|
||||
text.contains( "<h4" ) || text.contains( "<h5" ) || text.contains( "<h6" )) )
|
||||
{
|
||||
int headIndex = text.indexOf( "<head>" );
|
||||
|
||||
String style = "<style>BASE_SIZE " + c.getFont().getSize() + "</style>";
|
||||
if( headIndex < 0 )
|
||||
style = "<head>" + style + "</head>";
|
||||
|
||||
int insertIndex = headIndex >= 0 ? (headIndex + "<head>".length()) : "<html>".length();
|
||||
text = text.substring( 0, insertIndex )
|
||||
+ style
|
||||
+ text.substring( insertIndex );
|
||||
} else if( !always )
|
||||
return; // not necessary to invoke BasicHTML.updateRenderer()
|
||||
|
||||
BasicHTML.updateRenderer( c, text );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintEnabledText( JLabel l, Graphics g, String s, int textX, int textY ) {
|
||||
int mnemIndex = FlatLaf.isShowMnemonics() ? l.getDisplayedMnemonicIndex() : -1;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class FlatLineBorder
|
||||
try {
|
||||
FlatUIUtils.setRenderingHints( g2 );
|
||||
g2.setColor( lineColor );
|
||||
FlatUIUtils.drawRoundRectangle( g2, x, y, width, height, 0f, scale( 1f ), 0f );
|
||||
FlatUIUtils.paintComponentBorder( g2, x, y, width, height, 0f, scale( 1f ), 0f );
|
||||
} finally {
|
||||
g2.dispose();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import javax.swing.JList;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
* Cell border for {@link javax.swing.DefaultListCellRenderer}
|
||||
* (used by {@link javax.swing.JList}).
|
||||
* <p>
|
||||
* Uses separate cell margins from UI defaults to allow easy customizing.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatListCellBorder
|
||||
extends FlatLineBorder
|
||||
{
|
||||
final boolean showCellFocusIndicator = UIManager.getBoolean( "List.showCellFocusIndicator" );
|
||||
|
||||
protected FlatListCellBorder() {
|
||||
super( UIManager.getInsets( "List.cellMargins" ), UIManager.getColor( "List.cellFocusColor" ) );
|
||||
}
|
||||
|
||||
//---- class Default ------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for unselected cell that uses margins, but does not paint focus indicator border.
|
||||
*/
|
||||
public static class Default
|
||||
extends FlatListCellBorder
|
||||
{
|
||||
@Override
|
||||
public void paintBorder( Component c, Graphics g, int x, int y, int width, int height ) {
|
||||
// do not paint focus indicator border
|
||||
}
|
||||
}
|
||||
|
||||
//---- class Focused ------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for focused unselected cell that uses margins and paints focus indicator border.
|
||||
*/
|
||||
public static class Focused
|
||||
extends FlatListCellBorder
|
||||
{
|
||||
}
|
||||
|
||||
//---- class Selected -----------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for selected cell that uses margins and paints focus indicator border
|
||||
* if enabled (List.showCellFocusIndicator=true) and exactly one item is selected.
|
||||
*/
|
||||
public static class Selected
|
||||
extends FlatListCellBorder
|
||||
{
|
||||
@Override
|
||||
public void paintBorder( Component c, Graphics g, int x, int y, int width, int height ) {
|
||||
if( !showCellFocusIndicator )
|
||||
return;
|
||||
|
||||
// paint focus indicator border only if exactly one item is selected
|
||||
JList<?> list = (JList<?>) SwingUtilities.getAncestorOfClass( JList.class, c );
|
||||
if( list != null && list.getMinSelectionIndex() == list.getMaxSelectionIndex() )
|
||||
return;
|
||||
|
||||
super.paintBorder( c, g, x, y, width, height );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,6 +52,12 @@ import javax.swing.plaf.basic.BasicListUI;
|
||||
* @uiDefault List.selectionInactiveBackground Color
|
||||
* @uiDefault List.selectionInactiveForeground Color
|
||||
*
|
||||
* <!-- FlatListCellBorder -->
|
||||
*
|
||||
* @uiDefault List.cellMargins Insets
|
||||
* @uiDefault List.cellFocusColor Color
|
||||
* @uiDefault List.showCellFocusIndicator boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatListUI
|
||||
|
||||
@@ -17,10 +17,18 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Color;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Rectangle;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.ButtonModel;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JMenu;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicMenuItemUI;
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JMenuItem}.
|
||||
@@ -74,4 +82,26 @@ public class FlatMenuItemUI
|
||||
defaultTextIconGap = scale( defaultTextIconGap );
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintText( Graphics g, JMenuItem menuItem, Rectangle textRect, String text ) {
|
||||
paintText( g, menuItem, textRect, text, disabledForeground, selectionForeground );
|
||||
}
|
||||
|
||||
public static void paintText( Graphics g, JMenuItem menuItem, Rectangle textRect,
|
||||
String text, Color disabledForeground, Color selectionForeground )
|
||||
{
|
||||
FontMetrics fm = menuItem.getFontMetrics( menuItem.getFont() );
|
||||
int mnemonicIndex = FlatLaf.isShowMnemonics() ? menuItem.getDisplayedMnemonicIndex() : -1;
|
||||
|
||||
ButtonModel model = menuItem.getModel();
|
||||
g.setColor( !model.isEnabled()
|
||||
? disabledForeground
|
||||
: (model.isArmed() || (menuItem instanceof JMenu && model.isSelected())
|
||||
? selectionForeground
|
||||
: menuItem.getForeground()) );
|
||||
|
||||
FlatUIUtils.drawStringUnderlineCharAt( menuItem, g, text, mnemonicIndex,
|
||||
textRect.x, textRect.y + fm.getAscent() );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Rectangle;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicMenuUI;
|
||||
|
||||
@@ -77,4 +80,9 @@ public class FlatMenuUI
|
||||
defaultTextIconGap = scale( defaultTextIconGap );
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintText( Graphics g, JMenuItem menuItem, Rectangle textRect, String text ) {
|
||||
FlatMenuItemUI.paintText( g, menuItem, textRect, text, disabledForeground, selectionForeground );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,20 +35,19 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JOptionPane}.
|
||||
*
|
||||
* <!-- BasicOptionPaneUI -->
|
||||
*
|
||||
* @uiDefault OptionPane.font Font unused
|
||||
* @uiDefault OptionPane.background Color
|
||||
* @uiDefault OptionPane.foreground Color unused
|
||||
* @uiDefault OptionPane.border Border
|
||||
* @uiDefault OptionPane.messageAreaBorder Border
|
||||
* @uiDefault OptionPane.buttonAreaBorder Border
|
||||
* @uiDefault OptionPane.messageForeground Color
|
||||
* @uiDefault OptionPane.messageFont Font
|
||||
* @uiDefault OptionPane.buttonFont Font
|
||||
* @uiDefault OptionPane.messageForeground Color optional; defaults to Label.foreground
|
||||
* @uiDefault OptionPane.messageFont Font optional; defaults to Label.font
|
||||
* @uiDefault OptionPane.buttonFont Font optional; defaults to Button.font
|
||||
*
|
||||
* @uiDefault OptionPane.minimumSize Dimension
|
||||
* @uiDefault OptionPane.maxCharactersPerLine int
|
||||
* @uiDefault OptionPane.iconMessageGap int
|
||||
* @uiDefault OptionPane.messagePadding int
|
||||
* @uiDefault OptionPane.buttonPadding int
|
||||
* @uiDefault OptionPane.buttonMinimumWidth int -1=disabled
|
||||
* @uiDefault OptionPane.sameSizeButtons boolean if true, gives all buttons same size
|
||||
@@ -61,6 +60,25 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
* @uiDefault OptionPane.questionIcon Icon
|
||||
* @uiDefault OptionPane.warningIcon Icon
|
||||
*
|
||||
* @uiDefault OptionPane.okButtonText String
|
||||
* @uiDefault OptionPane.okButtonMnemonic String
|
||||
* @uiDefault OptionPane.okIcon Icon
|
||||
* @uiDefault OptionPane.cancelButtonText String
|
||||
* @uiDefault OptionPane.cancelButtonMnemonic String
|
||||
* @uiDefault OptionPane.cancelIcon Icon
|
||||
* @uiDefault OptionPane.yesButtonText String
|
||||
* @uiDefault OptionPane.yesButtonMnemonic String
|
||||
* @uiDefault OptionPane.yesIcon Icon
|
||||
* @uiDefault OptionPane.noButtonText String
|
||||
* @uiDefault OptionPane.noButtonMnemonic String
|
||||
* @uiDefault OptionPane.noIcon Icon
|
||||
*
|
||||
* <!-- FlatOptionPaneUI -->
|
||||
*
|
||||
* @uiDefault OptionPane.iconMessageGap int
|
||||
* @uiDefault OptionPane.messagePadding int
|
||||
* @uiDefault OptionPane.maxCharactersPerLine int
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatOptionPaneUI
|
||||
|
||||
@@ -17,14 +17,17 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicPasswordFieldUI;
|
||||
import com.formdev.flatlaf.FlatClientProperties;
|
||||
import com.formdev.flatlaf.util.SystemInfo;
|
||||
|
||||
/**
|
||||
@@ -51,6 +54,7 @@ import com.formdev.flatlaf.util.SystemInfo;
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault Component.isIntelliJTheme boolean
|
||||
* @uiDefault PasswordField.placeholderForeground Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
@@ -60,6 +64,7 @@ public class FlatPasswordFieldUI
|
||||
protected int focusWidth;
|
||||
protected int minimumWidth;
|
||||
protected boolean isIntelliJTheme;
|
||||
protected Color placeholderForeground;
|
||||
|
||||
private FocusListener focusListener;
|
||||
|
||||
@@ -75,9 +80,11 @@ public class FlatPasswordFieldUI
|
||||
if( SystemInfo.IS_MAC )
|
||||
LookAndFeel.installProperty( getComponent(), "echoChar", '\u2022' );
|
||||
|
||||
String prefix = getPropertyPrefix();
|
||||
focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
minimumWidth = UIManager.getInt( "Component.minimumWidth" );
|
||||
isIntelliJTheme = UIManager.getBoolean( "Component.isIntelliJTheme" );
|
||||
placeholderForeground = UIManager.getColor( prefix + ".placeholderForeground" );
|
||||
|
||||
LookAndFeel.installProperty( getComponent(), "opaque", focusWidth == 0 );
|
||||
|
||||
@@ -88,6 +95,8 @@ public class FlatPasswordFieldUI
|
||||
protected void uninstallDefaults() {
|
||||
super.uninstallDefaults();
|
||||
|
||||
placeholderForeground = null;
|
||||
|
||||
MigLayoutVisualPadding.uninstall( getComponent() );
|
||||
}
|
||||
|
||||
@@ -107,9 +116,18 @@ public class FlatPasswordFieldUI
|
||||
focusListener = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
|
||||
if( FlatClientProperties.PLACEHOLDER_TEXT.equals( e.getPropertyName() ) )
|
||||
getComponent().repaint();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintSafely( Graphics g ) {
|
||||
FlatTextFieldUI.paintBackground( g, getComponent(), focusWidth, isIntelliJTheme );
|
||||
FlatTextFieldUI.paintPlaceholder( g, getComponent(), placeholderForeground );
|
||||
super.paintSafely( g );
|
||||
}
|
||||
|
||||
@@ -129,6 +147,7 @@ public class FlatPasswordFieldUI
|
||||
}
|
||||
|
||||
private Dimension applyMinimumWidth( Dimension size, JComponent c ) {
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( getComponent(), this.minimumWidth );
|
||||
int focusWidth = (c.getBorder() instanceof FlatBorder) ? this.focusWidth : 0;
|
||||
size.width = Math.max( size.width, scale( minimumWidth + (focusWidth * 2) ) );
|
||||
return size;
|
||||
|
||||
@@ -16,14 +16,19 @@
|
||||
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.FlatClientProperties.*;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Insets;
|
||||
import java.awt.geom.Area;
|
||||
import java.awt.geom.RoundRectangle2D;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JProgressBar;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicProgressBarUI;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
@@ -44,11 +49,21 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
* @uiDefault ProgressBar.repaintInterval int default is 50 milliseconds
|
||||
* @uiDefault ProgressBar.cycleTime int default is 3000 milliseconds
|
||||
*
|
||||
* <!-- FlatProgressBarUI -->
|
||||
*
|
||||
* @uiDefault ProgressBar.arc int
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatProgressBarUI
|
||||
extends BasicProgressBarUI
|
||||
{
|
||||
protected int arc;
|
||||
protected Dimension horizontalSize;
|
||||
protected Dimension verticalSize;
|
||||
|
||||
private PropertyChangeListener propertyChangeListener;
|
||||
|
||||
public static ComponentUI createUI( JComponent c ) {
|
||||
return new FlatProgressBarUI();
|
||||
}
|
||||
@@ -58,16 +73,61 @@ public class FlatProgressBarUI
|
||||
super.installDefaults();
|
||||
|
||||
LookAndFeel.installProperty( progressBar, "opaque", false );
|
||||
|
||||
arc = UIManager.getInt( "ProgressBar.arc" );
|
||||
horizontalSize = UIManager.getDimension( "ProgressBar.horizontalSize" );
|
||||
verticalSize = UIManager.getDimension( "ProgressBar.verticalSize" );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void installListeners() {
|
||||
super.installListeners();
|
||||
|
||||
propertyChangeListener = e -> {
|
||||
switch( e.getPropertyName() ) {
|
||||
case PROGRESS_BAR_LARGE_HEIGHT:
|
||||
case PROGRESS_BAR_SQUARE:
|
||||
progressBar.revalidate();
|
||||
progressBar.repaint();
|
||||
break;
|
||||
}
|
||||
};
|
||||
progressBar.addPropertyChangeListener( propertyChangeListener );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void uninstallListeners() {
|
||||
super.uninstallListeners();
|
||||
|
||||
progressBar.removePropertyChangeListener( propertyChangeListener );
|
||||
propertyChangeListener = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize( JComponent c ) {
|
||||
Dimension size = super.getPreferredSize( c );
|
||||
|
||||
if( progressBar.isStringPainted() || clientPropertyBoolean( c, PROGRESS_BAR_LARGE_HEIGHT, false ) ) {
|
||||
// recalculate progress height/width to make it smaller
|
||||
Insets insets = progressBar.getInsets();
|
||||
FontMetrics fm = progressBar.getFontMetrics( progressBar.getFont() );
|
||||
if( progressBar.getOrientation() == JProgressBar.HORIZONTAL )
|
||||
size.height = Math.max( fm.getHeight() + insets.top + insets.bottom, getPreferredInnerHorizontal().height );
|
||||
else
|
||||
size.width = Math.max( fm.getHeight() + insets.left + insets.right, getPreferredInnerVertical().width );
|
||||
}
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Dimension getPreferredInnerHorizontal() {
|
||||
return UIScale.scale( super.getPreferredInnerHorizontal() );
|
||||
return UIScale.scale( horizontalSize );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Dimension getPreferredInnerVertical() {
|
||||
return UIScale.scale( super.getPreferredInnerVertical() );
|
||||
return UIScale.scale( verticalSize );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -90,13 +150,16 @@ public class FlatProgressBarUI
|
||||
return;
|
||||
|
||||
boolean horizontal = (progressBar.getOrientation() == JProgressBar.HORIZONTAL);
|
||||
int arc = horizontal ? height : width;
|
||||
int arc = clientPropertyBoolean( c, PROGRESS_BAR_SQUARE, false )
|
||||
? 0
|
||||
: Math.min( UIScale.scale( this.arc ), horizontal ? height : width );
|
||||
|
||||
FlatUIUtils.setRenderingHints( (Graphics2D) g );
|
||||
|
||||
// paint track
|
||||
RoundRectangle2D.Float trackShape = new RoundRectangle2D.Float( x, y, width, height, arc, arc );
|
||||
g.setColor( progressBar.getBackground() );
|
||||
((Graphics2D)g).fill( new RoundRectangle2D.Float( x, y, width, height, arc, arc ) );
|
||||
((Graphics2D)g).fill( trackShape );
|
||||
|
||||
// paint progress
|
||||
if( progressBar.isIndeterminate() ) {
|
||||
@@ -112,11 +175,19 @@ public class FlatProgressBarUI
|
||||
} else {
|
||||
int amountFull = getAmountFull( insets, width, height );
|
||||
|
||||
g.setColor( progressBar.getForeground() );
|
||||
((Graphics2D)g).fill( horizontal
|
||||
RoundRectangle2D.Float progressShape = horizontal
|
||||
? new RoundRectangle2D.Float( c.getComponentOrientation().isLeftToRight() ? x : x + (width - amountFull),
|
||||
y, amountFull, height, arc, arc )
|
||||
: new RoundRectangle2D.Float( x, y + (height - amountFull), width, amountFull, arc, arc ) );
|
||||
: new RoundRectangle2D.Float( x, y + (height - amountFull), width, amountFull, arc, arc );
|
||||
|
||||
g.setColor( progressBar.getForeground() );
|
||||
if( amountFull < (horizontal ? height : width) ) {
|
||||
// special painting for low amounts to avoid painting outside of track
|
||||
Area area = new Area( trackShape );
|
||||
area.intersect( new Area( progressShape ) );
|
||||
((Graphics2D)g).fill( area );
|
||||
} else
|
||||
((Graphics2D)g).fill( progressShape );
|
||||
|
||||
if( progressBar.isStringPainted() )
|
||||
paintString( g, x, y, width, height, amountFull, insets );
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Rectangle;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicRadioButtonMenuItemUI;
|
||||
|
||||
@@ -74,4 +77,9 @@ public class FlatRadioButtonMenuItemUI
|
||||
defaultTextIconGap = scale( defaultTextIconGap );
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintText( Graphics g, JMenuItem menuItem, Rectangle textRect, String text ) {
|
||||
FlatMenuItemUI.paintText( g, menuItem, textRect, text, disabledForeground, selectionForeground );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,9 @@ package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Insets;
|
||||
import java.awt.Rectangle;
|
||||
import javax.swing.AbstractButton;
|
||||
import javax.swing.CellRendererPane;
|
||||
@@ -28,6 +30,8 @@ import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.UIResource;
|
||||
import javax.swing.plaf.basic.BasicRadioButtonUI;
|
||||
import com.formdev.flatlaf.icons.FlatCheckBoxIcon;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JRadioButton}.
|
||||
@@ -92,6 +96,26 @@ public class FlatRadioButtonUI
|
||||
defaults_initialized = false;
|
||||
}
|
||||
|
||||
private static Insets tempInsets = new Insets( 0, 0, 0, 0 );
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize( JComponent c ) {
|
||||
Dimension size = super.getPreferredSize( c );
|
||||
|
||||
// small insets fix
|
||||
int focusWidth = getIconFocusWidth( c );
|
||||
if( focusWidth > 0 ) {
|
||||
// Increase preferred width and height if insets were explicitly reduced (e.g. with
|
||||
// an EmptyBorder) and icon has a focus width, which is not included in icon size.
|
||||
// Otherwise the component may be too small and outer focus border may be cut off.
|
||||
Insets insets = c.getInsets( tempInsets );
|
||||
size.width += Math.max( focusWidth - insets.left, 0 ) + Math.max( focusWidth - insets.right, 0 );
|
||||
size.height += Math.max( focusWidth - insets.top, 0 ) + Math.max( focusWidth - insets.bottom, 0 );
|
||||
}
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paint( Graphics g, JComponent c ) {
|
||||
// fill background even if opaque if
|
||||
@@ -104,6 +128,29 @@ public class FlatRadioButtonUI
|
||||
g.fillRect( 0, 0, c.getWidth(), c.getHeight() );
|
||||
}
|
||||
|
||||
// small insets fix
|
||||
int focusWidth = getIconFocusWidth( c );
|
||||
if( focusWidth > 0 ) {
|
||||
boolean ltr = c.getComponentOrientation().isLeftToRight();
|
||||
Insets insets = c.getInsets( tempInsets );
|
||||
int leftOrRightInset = ltr ? insets.left : insets.right;
|
||||
if( focusWidth > leftOrRightInset ) {
|
||||
// The left (or right) inset is smaller than the focus width, which may be
|
||||
// the case if insets were explicitly reduced (e.g. with an EmptyBorder).
|
||||
// In this case the width has been increased in getPreferredSize() and
|
||||
// here it is necessary to fix icon and text painting location.
|
||||
int offset = focusWidth - leftOrRightInset;
|
||||
if( !ltr )
|
||||
offset = -offset;
|
||||
|
||||
// move the graphics origin to the left (or right)
|
||||
g.translate( offset, 0 );
|
||||
super.paint( g, c );
|
||||
g.translate( -offset, 0 );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
super.paint( g, c );
|
||||
}
|
||||
|
||||
@@ -111,4 +158,11 @@ public class FlatRadioButtonUI
|
||||
protected void paintText( Graphics g, AbstractButton b, Rectangle textRect, String text ) {
|
||||
FlatButtonUI.paintText( g, b, textRect, text, b.isEnabled() ? b.getForeground() : disabledText );
|
||||
}
|
||||
|
||||
private int getIconFocusWidth( JComponent c ) {
|
||||
AbstractButton b = (AbstractButton) c;
|
||||
return (b.getIcon() == null && getDefaultIcon() instanceof FlatCheckBoxIcon)
|
||||
? UIScale.scale( ((FlatCheckBoxIcon)getDefaultIcon()).focusWidth )
|
||||
: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Component;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
@@ -32,7 +33,7 @@ public class FlatRoundBorder
|
||||
protected final int arc = UIManager.getInt( "Component.arc" );
|
||||
|
||||
@Override
|
||||
protected float getArc() {
|
||||
protected float getArc( Component c ) {
|
||||
return scale( (float) arc );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,22 +14,37 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Smooth scrolling code partly based on code from IntelliJ IDEA Community Edition,
|
||||
* which is licensed under the Apache 2.0 license. Copyright 2000-2016 JetBrains s.r.o.
|
||||
* See: https://github.com/JetBrains/intellij-community/blob/31e1b5a8e43219b9571951bab6457cfb3012e3ef/platform/platform-api/src/com/intellij/ui/components/SmoothScrollPane.java#L141-L185
|
||||
*
|
||||
*/
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Insets;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.event.ContainerEvent;
|
||||
import java.awt.event.ContainerListener;
|
||||
import java.awt.event.FocusEvent;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.awt.event.MouseWheelEvent;
|
||||
import java.awt.event.MouseWheelListener;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JScrollBar;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.JTable;
|
||||
import javax.swing.JViewport;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.ScrollPaneConstants;
|
||||
import javax.swing.Scrollable;
|
||||
import javax.swing.SwingConstants;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicScrollPaneUI;
|
||||
@@ -46,6 +61,10 @@ import com.formdev.flatlaf.FlatClientProperties;
|
||||
* @uiDefault ScrollPane.border Border
|
||||
* @uiDefault ScrollPane.viewportBorder Border
|
||||
*
|
||||
* <!-- FlatScrollPaneUI -->
|
||||
*
|
||||
* @uiDefault ScrollPane.smoothScrolling boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatScrollPaneUI
|
||||
@@ -90,6 +109,130 @@ public class FlatScrollPaneUI
|
||||
handler = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected MouseWheelListener createMouseWheelListener() {
|
||||
return new BasicScrollPaneUI.MouseWheelHandler() {
|
||||
@Override
|
||||
public void mouseWheelMoved( MouseWheelEvent e ) {
|
||||
// Note: Getting UI value "ScrollPane.smoothScrolling" here to allow
|
||||
// applications to turn smooth scrolling on or off at any time
|
||||
// (e.g. in application options dialog).
|
||||
if( UIManager.getBoolean( "ScrollPane.smoothScrolling" ) &&
|
||||
scrollpane.isWheelScrollingEnabled() &&
|
||||
e.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL &&
|
||||
e.getPreciseWheelRotation() != 0 &&
|
||||
e.getPreciseWheelRotation() != e.getWheelRotation() )
|
||||
{
|
||||
mouseWheelMovedSmooth( e );
|
||||
} else
|
||||
super.mouseWheelMoved( e );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static final double EPSILON = 1e-5d;
|
||||
|
||||
private void mouseWheelMovedSmooth( MouseWheelEvent e ) {
|
||||
// return if there is no viewport
|
||||
JViewport viewport = scrollpane.getViewport();
|
||||
if( viewport == null )
|
||||
return;
|
||||
|
||||
// find scrollbar to scroll
|
||||
JScrollBar scrollbar = scrollpane.getVerticalScrollBar();
|
||||
if( scrollbar == null || !scrollbar.isVisible() || e.isShiftDown() ) {
|
||||
scrollbar = scrollpane.getHorizontalScrollBar();
|
||||
if( scrollbar == null || !scrollbar.isVisible() )
|
||||
return;
|
||||
}
|
||||
|
||||
// consume event
|
||||
e.consume();
|
||||
|
||||
// get precise wheel rotation
|
||||
double rotation = e.getPreciseWheelRotation();
|
||||
|
||||
// get unit and block increment
|
||||
int unitIncrement;
|
||||
int blockIncrement;
|
||||
int orientation = scrollbar.getOrientation();
|
||||
Component view = viewport.getView();
|
||||
if( view instanceof Scrollable ) {
|
||||
Scrollable scrollable = (Scrollable) view;
|
||||
|
||||
// Use (0, 0) view position to obtain constant unit increment of first item
|
||||
// (which might otherwise be variable on smaller-than-unit scrolling).
|
||||
Rectangle visibleRect = new Rectangle( viewport.getViewSize() );
|
||||
unitIncrement = scrollable.getScrollableUnitIncrement( visibleRect, orientation, 1 );
|
||||
blockIncrement = scrollable.getScrollableBlockIncrement( visibleRect, orientation, 1 );
|
||||
|
||||
if( unitIncrement > 0 ) {
|
||||
// For the case that the first item (e.g. in a list) is larger
|
||||
// than the other items, get the unit increment of the second item
|
||||
// and use the smaller one.
|
||||
if( orientation == SwingConstants.VERTICAL ) {
|
||||
visibleRect.y += unitIncrement;
|
||||
visibleRect.height -= unitIncrement;
|
||||
} else {
|
||||
visibleRect.x += unitIncrement;
|
||||
visibleRect.width -= unitIncrement;
|
||||
}
|
||||
int unitIncrement2 = scrollable.getScrollableUnitIncrement( visibleRect, orientation, 1 );
|
||||
if( unitIncrement2 > 0 )
|
||||
unitIncrement = Math.min( unitIncrement, unitIncrement2 );
|
||||
}
|
||||
} else {
|
||||
int direction = rotation < 0 ? -1 : 1;
|
||||
unitIncrement = scrollbar.getUnitIncrement( direction );
|
||||
blockIncrement = scrollbar.getBlockIncrement( direction );
|
||||
}
|
||||
|
||||
// limit scroll amount (number of units to scroll) for small viewports
|
||||
// (e.g. vertical scrolling in file chooser)
|
||||
int scrollAmount = e.getScrollAmount();
|
||||
int viewportWH = (orientation == SwingConstants.VERTICAL)
|
||||
? viewport.getHeight()
|
||||
: viewport.getWidth();
|
||||
if( unitIncrement * scrollAmount > viewportWH )
|
||||
scrollAmount = Math.max( viewportWH / unitIncrement, 1 );
|
||||
|
||||
// compute relative delta
|
||||
double delta = rotation * scrollAmount * unitIncrement;
|
||||
boolean adjustDelta = Math.abs( rotation ) < (1.0 + EPSILON);
|
||||
double adjustedDelta = adjustDelta
|
||||
? Math.max( -blockIncrement, Math.min( delta, blockIncrement ) )
|
||||
: delta;
|
||||
|
||||
// compute new value
|
||||
int value = scrollbar.getValue();
|
||||
double minDelta = scrollbar.getMinimum() - value;
|
||||
double maxDelta = scrollbar.getMaximum() - scrollbar.getModel().getExtent() - value;
|
||||
double boundedDelta = Math.max( minDelta, Math.min( adjustedDelta, maxDelta ) );
|
||||
int newValue = value + (int) Math.round( boundedDelta );
|
||||
|
||||
// set new value
|
||||
if( newValue != value )
|
||||
scrollbar.setValue( newValue );
|
||||
|
||||
/*debug
|
||||
System.out.println( String.format( "%4d %9f / %4d %4d / %12f %5s %12f / %4d %4d %4d / %12f %12f %12f / %4d",
|
||||
e.getWheelRotation(),
|
||||
e.getPreciseWheelRotation(),
|
||||
unitIncrement,
|
||||
blockIncrement,
|
||||
delta,
|
||||
adjustDelta,
|
||||
adjustedDelta,
|
||||
value,
|
||||
scrollbar.getMinimum(),
|
||||
scrollbar.getMaximum(),
|
||||
minDelta,
|
||||
maxDelta,
|
||||
boundedDelta,
|
||||
newValue ) );
|
||||
*/
|
||||
}
|
||||
|
||||
@Override
|
||||
protected PropertyChangeListener createPropertyChangeListener() {
|
||||
return new BasicScrollPaneUI.PropertyChangeHandler() {
|
||||
@@ -97,23 +240,41 @@ public class FlatScrollPaneUI
|
||||
public void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
|
||||
if( FlatClientProperties.SCROLL_BAR_SHOW_BUTTONS.equals( e.getPropertyName() ) ) {
|
||||
JScrollBar vsb = scrollpane.getVerticalScrollBar();
|
||||
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
|
||||
if( vsb != null ) {
|
||||
vsb.revalidate();
|
||||
vsb.repaint();
|
||||
}
|
||||
if( hsb != null ) {
|
||||
hsb.revalidate();
|
||||
hsb.repaint();
|
||||
}
|
||||
switch( e.getPropertyName() ) {
|
||||
case FlatClientProperties.SCROLL_BAR_SHOW_BUTTONS:
|
||||
JScrollBar vsb = scrollpane.getVerticalScrollBar();
|
||||
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
|
||||
if( vsb != null ) {
|
||||
vsb.revalidate();
|
||||
vsb.repaint();
|
||||
}
|
||||
if( hsb != null ) {
|
||||
hsb.revalidate();
|
||||
hsb.repaint();
|
||||
}
|
||||
break;
|
||||
|
||||
case ScrollPaneConstants.LOWER_LEFT_CORNER:
|
||||
case ScrollPaneConstants.LOWER_RIGHT_CORNER:
|
||||
case ScrollPaneConstants.UPPER_LEFT_CORNER:
|
||||
case ScrollPaneConstants.UPPER_RIGHT_CORNER:
|
||||
// remove border from buttons added to corners
|
||||
Object corner = e.getNewValue();
|
||||
if( corner instanceof JButton &&
|
||||
((JButton)corner).getBorder() instanceof FlatButtonBorder &&
|
||||
scrollpane.getViewport() != null &&
|
||||
scrollpane.getViewport().getView() instanceof JTable )
|
||||
{
|
||||
((JButton)corner).setBorder( BorderFactory.createEmptyBorder() );
|
||||
((JButton)corner).setFocusable( false );
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public Handler getHandler() {
|
||||
private Handler getHandler() {
|
||||
if( handler == null )
|
||||
handler = new Handler();
|
||||
return handler;
|
||||
|
||||
@@ -159,7 +159,7 @@ public class FlatSpinnerUI
|
||||
handler = null;
|
||||
}
|
||||
|
||||
public Handler getHandler() {
|
||||
private Handler getHandler() {
|
||||
if( handler == null )
|
||||
handler = new Handler();
|
||||
return handler;
|
||||
@@ -267,7 +267,7 @@ public class FlatSpinnerUI
|
||||
g2.setColor( enabled
|
||||
? c.getBackground()
|
||||
: (isIntelliJTheme ? FlatUIUtils.getParentBackground( c ) : disabledBackground) );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, width, height, focusWidth, arc );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, width, height, focusWidth, arc );
|
||||
|
||||
// paint arrow buttons background
|
||||
if( enabled ) {
|
||||
@@ -277,7 +277,7 @@ public class FlatSpinnerUI
|
||||
g2.clipRect( arrowX, 0, width - arrowX, height );
|
||||
else
|
||||
g2.clipRect( 0, 0, arrowX + arrowWidth, height );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, width, height, focusWidth, arc );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, width, height, focusWidth, arc );
|
||||
g2.setClip( oldClip );
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ public class FlatSpinnerUI
|
||||
g2.setColor( enabled ? borderColor : disabledBorderColor );
|
||||
float lw = scale( 1f );
|
||||
float lx = isLeftToRight ? arrowX : arrowX + arrowWidth - lw;
|
||||
g2.fill( new Rectangle2D.Float( lx, focusWidth, lw, height - (focusWidth * 2) ) );
|
||||
g2.fill( new Rectangle2D.Float( lx, focusWidth, lw, height - 1 - (focusWidth * 2) ) );
|
||||
|
||||
paint( g, c );
|
||||
}
|
||||
@@ -326,6 +326,7 @@ public class FlatSpinnerUI
|
||||
Dimension editorSize = (editor != null) ? editor.getPreferredSize() : new Dimension( 0, 0 );
|
||||
|
||||
// the arrows width is the same as the inner height so that the arrows area is square
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( spinner, FlatSpinnerUI.this.minimumWidth );
|
||||
int innerHeight = editorSize.height + padding.top + padding.bottom;
|
||||
return new Dimension(
|
||||
Math.max( insets.left + insets.right + editorSize.width + padding.left + padding.right + innerHeight, scale( minimumWidth + (focusWidth * 2) ) ),
|
||||
|
||||
@@ -41,30 +41,47 @@ import javax.swing.plaf.UIResource;
|
||||
import javax.swing.plaf.basic.BasicTabbedPaneUI;
|
||||
import javax.swing.text.View;
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTabbedPane}.
|
||||
*
|
||||
* @clientProperty JTabbedPane.showTabSeparators boolean
|
||||
* @clientProperty JTabbedPane.hasFullBorder boolean
|
||||
*
|
||||
* @uiDefault Component.arrowType String triangle (default) or chevron
|
||||
* <!-- BasicTabbedPaneUI -->
|
||||
*
|
||||
* @uiDefault TabbedPane.font Font
|
||||
* @uiDefault TabbedPane.background Color
|
||||
* @uiDefault TabbedPane.foreground Color
|
||||
* @uiDefault TabbedPane.shadow Color used for scroll arrows and cropped line
|
||||
* @uiDefault TabbedPane.textIconGap int
|
||||
* @uiDefault TabbedPane.tabInsets Insets
|
||||
* @uiDefault TabbedPane.selectedTabPadInsets Insets
|
||||
* @uiDefault TabbedPane.tabAreaInsets Insets
|
||||
* @uiDefault TabbedPane.tabsOverlapBorder boolean
|
||||
* @uiDefault TabbedPane.tabRunOverlay int
|
||||
* @uiDefault TabbedPane.tabsOpaque boolean
|
||||
* @uiDefault TabbedPane.contentOpaque boolean unused
|
||||
* @uiDefault TabbedPane.opaque boolean
|
||||
* @uiDefault TabbedPane.selectionFollowsFocus boolean default is true
|
||||
*
|
||||
* <!-- FlatTabbedPaneUI -->
|
||||
*
|
||||
* @uiDefault Component.arrowType String triangle (default) or chevron
|
||||
* @uiDefault TabbedPane.disabledForeground Color
|
||||
* @uiDefault TabbedPane.selectedBackground Color optional
|
||||
* @uiDefault TabbedPane.selectedForeground Color
|
||||
* @uiDefault TabbedPane.underlineColor Color
|
||||
* @uiDefault TabbedPane.disabledUnderlineColor Color
|
||||
* @uiDefault TabbedPane.hoverColor Color
|
||||
* @uiDefault TabbedPane.focusColor Color
|
||||
* @uiDefault TabbedPane.tabSeparatorColor Color optional; defaults to TabbedPane.contentAreaColor
|
||||
* @uiDefault TabbedPane.contentAreaColor Color
|
||||
* @uiDefault TabbedPane.textIconGap int
|
||||
* @uiDefault TabbedPane.tabInsets Insets
|
||||
* @uiDefault TabbedPane.tabAreaInsets Insets
|
||||
* @uiDefault TabbedPane.tabHeight int
|
||||
* @uiDefault TabbedPane.tabSelectionHeight int
|
||||
* @uiDefault TabbedPane.contentSeparatorHeight int
|
||||
* @uiDefault TabbedPane.showTabSeparators boolean
|
||||
* @uiDefault TabbedPane.hasFullBorder boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
@@ -73,16 +90,19 @@ public class FlatTabbedPaneUI
|
||||
extends BasicTabbedPaneUI
|
||||
{
|
||||
protected Color disabledForeground;
|
||||
protected Color selectedBackground;
|
||||
protected Color selectedForeground;
|
||||
protected Color underlineColor;
|
||||
protected Color disabledUnderlineColor;
|
||||
protected Color hoverColor;
|
||||
protected Color focusColor;
|
||||
protected Color tabSeparatorColor;
|
||||
protected Color contentAreaColor;
|
||||
|
||||
protected int tabHeight;
|
||||
protected int tabSelectionHeight;
|
||||
protected int contentSeparatorHeight;
|
||||
protected boolean showTabSeparators;
|
||||
protected boolean hasFullBorder;
|
||||
protected boolean tabsOverlapBorder;
|
||||
|
||||
@@ -95,16 +115,19 @@ public class FlatTabbedPaneUI
|
||||
super.installDefaults();
|
||||
|
||||
disabledForeground = UIManager.getColor( "TabbedPane.disabledForeground" );
|
||||
selectedBackground = UIManager.getColor( "TabbedPane.selectedBackground" );
|
||||
selectedForeground = UIManager.getColor( "TabbedPane.selectedForeground" );
|
||||
underlineColor = UIManager.getColor( "TabbedPane.underlineColor" );
|
||||
disabledUnderlineColor = UIManager.getColor( "TabbedPane.disabledUnderlineColor" );
|
||||
hoverColor = UIManager.getColor( "TabbedPane.hoverColor" );
|
||||
focusColor = UIManager.getColor( "TabbedPane.focusColor" );
|
||||
tabSeparatorColor = UIManager.getColor( "TabbedPane.tabSeparatorColor" );
|
||||
contentAreaColor = UIManager.getColor( "TabbedPane.contentAreaColor" );
|
||||
|
||||
tabHeight = UIManager.getInt( "TabbedPane.tabHeight" );
|
||||
tabSelectionHeight = UIManager.getInt( "TabbedPane.tabSelectionHeight" );
|
||||
contentSeparatorHeight = UIManager.getInt( "TabbedPane.contentSeparatorHeight" );
|
||||
showTabSeparators = UIManager.getBoolean( "TabbedPane.showTabSeparators" );
|
||||
hasFullBorder = UIManager.getBoolean( "TabbedPane.hasFullBorder" );
|
||||
tabsOverlapBorder = UIManager.getBoolean( "TabbedPane.tabsOverlapBorder" );
|
||||
|
||||
@@ -124,11 +147,13 @@ public class FlatTabbedPaneUI
|
||||
super.uninstallDefaults();
|
||||
|
||||
disabledForeground = null;
|
||||
selectedBackground = null;
|
||||
selectedForeground = null;
|
||||
underlineColor = null;
|
||||
disabledUnderlineColor = null;
|
||||
hoverColor = null;
|
||||
focusColor = null;
|
||||
tabSeparatorColor = null;
|
||||
contentAreaColor = null;
|
||||
|
||||
MigLayoutVisualPadding.uninstall( tabPane );
|
||||
@@ -141,9 +166,13 @@ public class FlatTabbedPaneUI
|
||||
public void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
|
||||
if( TABBED_PANE_HAS_FULL_BORDER.equals( e.getPropertyName() ) ) {
|
||||
tabPane.revalidate();
|
||||
tabPane.repaint();
|
||||
switch( e.getPropertyName() ) {
|
||||
case TABBED_PANE_SHOW_TAB_SEPARATORS:
|
||||
case TABBED_PANE_HAS_FULL_BORDER:
|
||||
case TABBED_PANE_TAB_HEIGHT:
|
||||
tabPane.revalidate();
|
||||
tabPane.repaint();
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -153,7 +182,7 @@ public class FlatTabbedPaneUI
|
||||
protected JButton createScrollButton( int direction ) {
|
||||
// this method is invoked before installDefaults(), so we can not use color fields here
|
||||
return new FlatArrowButton( direction, UIManager.getString( "Component.arrowType" ),
|
||||
UIManager.getColor( "TabbedPane.shadow" ),
|
||||
UIManager.getColor( "TabbedPane.foreground" ),
|
||||
UIManager.getColor( "TabbedPane.disabledForeground" ), null,
|
||||
UIManager.getColor( "TabbedPane.hoverColor" ) );
|
||||
}
|
||||
@@ -187,6 +216,7 @@ public class FlatTabbedPaneUI
|
||||
|
||||
@Override
|
||||
protected int calculateTabHeight( int tabPlacement, int tabIndex, int fontHeight ) {
|
||||
int tabHeight = clientPropertyInt( tabPane, TABBED_PANE_TAB_HEIGHT, this.tabHeight );
|
||||
return Math.max( tabHeight, super.calculateTabHeight( tabPlacement, tabIndex, fontHeight ) - 2 /* was added by superclass */ );
|
||||
}
|
||||
|
||||
@@ -197,7 +227,7 @@ public class FlatTabbedPaneUI
|
||||
*/
|
||||
@Override
|
||||
protected Insets getContentBorderInsets( int tabPlacement ) {
|
||||
boolean hasFullBorder = this.hasFullBorder || clientPropertyEquals( tabPane, TABBED_PANE_HAS_FULL_BORDER, true );
|
||||
boolean hasFullBorder = clientPropertyBoolean( tabPane, TABBED_PANE_HAS_FULL_BORDER, this.hasFullBorder );
|
||||
int sh = scale( contentSeparatorHeight );
|
||||
Insets insets = hasFullBorder ? new Insets( sh, sh, sh, sh ) : new Insets( sh, 0, 0, 0 );
|
||||
|
||||
@@ -262,7 +292,9 @@ public class FlatTabbedPaneUI
|
||||
? hoverColor
|
||||
: (enabled && isSelected && tabPane.hasFocus()
|
||||
? focusColor
|
||||
: tabPane.getBackgroundAt( tabIndex )) );
|
||||
: (selectedBackground != null && enabled && isSelected
|
||||
? selectedBackground
|
||||
: tabPane.getBackgroundAt( tabIndex ))) );
|
||||
g.fillRect( x, y, w, h );
|
||||
}
|
||||
|
||||
@@ -270,6 +302,26 @@ public class FlatTabbedPaneUI
|
||||
protected void paintTabBorder( Graphics g, int tabPlacement, int tabIndex,
|
||||
int x, int y, int w, int h, boolean isSelected )
|
||||
{
|
||||
// paint tab separators
|
||||
if( clientPropertyBoolean( tabPane, TABBED_PANE_SHOW_TAB_SEPARATORS, showTabSeparators ) &&
|
||||
!isLastInRun( tabIndex ) )
|
||||
{
|
||||
float sepWidth = UIScale.scale( 1f );
|
||||
float offset = UIScale.scale( 5f );
|
||||
|
||||
g.setColor( (tabSeparatorColor != null) ? tabSeparatorColor : contentAreaColor );
|
||||
if( tabPlacement == LEFT || tabPlacement == RIGHT ) {
|
||||
// paint tab separator at bottom side
|
||||
((Graphics2D)g).fill( new Rectangle2D.Float( x + offset, y + h - sepWidth, w - (offset * 2), sepWidth ) );
|
||||
} else if( tabPane.getComponentOrientation().isLeftToRight() ) {
|
||||
// paint tab separator at right side
|
||||
((Graphics2D)g).fill( new Rectangle2D.Float( x + w - sepWidth, y + offset, sepWidth, h - (offset * 2) ) );
|
||||
} else {
|
||||
// paint tab separator at left side
|
||||
((Graphics2D)g).fill( new Rectangle2D.Float( x, y + offset, sepWidth, h - (offset * 2) ) );
|
||||
}
|
||||
}
|
||||
|
||||
if( isSelected )
|
||||
paintTabSelection( g, tabPlacement, x, y, w, h );
|
||||
}
|
||||
@@ -334,7 +386,7 @@ public class FlatTabbedPaneUI
|
||||
}
|
||||
|
||||
/**
|
||||
* Actually does the nearly the same as super.paintContentBorder() but
|
||||
* Actually does nearly the same as super.paintContentBorder() but
|
||||
* - not using UIManager.getColor("TabbedPane.contentAreaColor") to be GUI builder friendly
|
||||
* - not invoking paintContentBorder*Edge() methods
|
||||
* - repaint selection
|
||||
@@ -379,7 +431,7 @@ public class FlatTabbedPaneUI
|
||||
}
|
||||
|
||||
// compute insets for separator or full border
|
||||
boolean hasFullBorder = this.hasFullBorder || clientPropertyEquals( tabPane, TABBED_PANE_HAS_FULL_BORDER, true );
|
||||
boolean hasFullBorder = clientPropertyBoolean( tabPane, TABBED_PANE_HAS_FULL_BORDER, this.hasFullBorder );
|
||||
int sh = scale( contentSeparatorHeight * 100 ); // multiply by 100 because rotateInsets() does not use floats
|
||||
Insets ci = new Insets( 0, 0, 0, 0 );
|
||||
rotateInsets( hasFullBorder ? new Insets( sh, sh, sh, sh ) : new Insets( sh, 0, 0, 0 ), ci, tabPlacement );
|
||||
@@ -414,6 +466,11 @@ public class FlatTabbedPaneUI
|
||||
{
|
||||
}
|
||||
|
||||
private boolean isLastInRun( int tabIndex ) {
|
||||
int run = getRunForTab( tabPane.getTabCount(), tabIndex );
|
||||
return lastTabInRun( tabPane.getTabCount(), run ) == tabIndex;
|
||||
}
|
||||
|
||||
private boolean isScrollTabLayout() {
|
||||
return tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import javax.swing.JTable;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
* Cell border for {@link javax.swing.table.DefaultTableCellRenderer}
|
||||
* (used by {@link javax.swing.JTable}).
|
||||
* <p>
|
||||
* Uses separate cell margins from UI defaults to allow easy customizing.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatTableCellBorder
|
||||
extends FlatLineBorder
|
||||
{
|
||||
final boolean showCellFocusIndicator = UIManager.getBoolean( "Table.showCellFocusIndicator" );
|
||||
|
||||
protected FlatTableCellBorder() {
|
||||
super( UIManager.getInsets( "Table.cellMargins" ), UIManager.getColor( "Table.cellFocusColor" ) );
|
||||
}
|
||||
|
||||
//---- class Default ------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for unselected cell that uses margins, but does not paint focus indicator border.
|
||||
*/
|
||||
public static class Default
|
||||
extends FlatTableCellBorder
|
||||
{
|
||||
@Override
|
||||
public void paintBorder( Component c, Graphics g, int x, int y, int width, int height ) {
|
||||
// do not paint focus indicator border
|
||||
}
|
||||
}
|
||||
|
||||
//---- class Focused ------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for focused unselected cell that uses margins and paints focus indicator border.
|
||||
*/
|
||||
public static class Focused
|
||||
extends FlatTableCellBorder
|
||||
{
|
||||
}
|
||||
|
||||
//---- class Selected -----------------------------------------------------
|
||||
|
||||
/**
|
||||
* Border for selected cell that uses margins and paints focus indicator border
|
||||
* if enabled (Table.showCellFocusIndicator=true) or at least one selected cell is editable.
|
||||
*/
|
||||
public static class Selected
|
||||
extends FlatTableCellBorder
|
||||
{
|
||||
@Override
|
||||
public void paintBorder( Component c, Graphics g, int x, int y, int width, int height ) {
|
||||
if( !showCellFocusIndicator ) {
|
||||
JTable table = (JTable) SwingUtilities.getAncestorOfClass( JTable.class, c );
|
||||
if( table != null && !isSelectionEditable( table ) )
|
||||
return;
|
||||
}
|
||||
|
||||
super.paintBorder( c, g, x, y, width, height );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether at least one selected cell is editable.
|
||||
*/
|
||||
private boolean isSelectionEditable( JTable table ) {
|
||||
if( table.getRowSelectionAllowed() ) {
|
||||
int columnCount = table.getColumnCount();
|
||||
int[] selectedRows = table.getSelectedRows();
|
||||
for( int selectedRow : selectedRows ) {
|
||||
for( int column = 0; column < columnCount; column++ ) {
|
||||
if( table.isCellEditable( selectedRow, column ) )
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( table.getColumnSelectionAllowed() ) {
|
||||
int rowCount = table.getRowCount();
|
||||
int[] selectedColumns = table.getSelectedColumns();
|
||||
for( int selectedColumn : selectedColumns ) {
|
||||
for( int row = 0; row < rowCount; row++ ) {
|
||||
if( table.isCellEditable( row, selectedColumn ) )
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Component;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Graphics;
|
||||
@@ -29,6 +30,7 @@ import javax.swing.JTable;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicTableHeaderUI;
|
||||
import javax.swing.table.TableCellRenderer;
|
||||
import javax.swing.table.TableColumn;
|
||||
import javax.swing.table.TableColumnModel;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
@@ -81,10 +83,14 @@ public class FlatTableHeaderUI
|
||||
@Override
|
||||
public void paint( Graphics g, JComponent c ) {
|
||||
// do not paint borders if JTableHeader.setDefaultRenderer() was used
|
||||
String rendererClassName = header.getDefaultRenderer().getClass().getName();
|
||||
boolean paintBorders =
|
||||
rendererClassName.equals( "sun.swing.table.DefaultTableCellHeaderRenderer" ) ||
|
||||
rendererClassName.equals( "sun.swing.FilePane$AlignableTableHeaderRenderer" );
|
||||
TableCellRenderer defaultRenderer = header.getDefaultRenderer();
|
||||
boolean paintBorders = isSystemDefaultRenderer( defaultRenderer );
|
||||
if( !paintBorders && header.getColumnModel().getColumnCount() > 0 ) {
|
||||
// check whether the renderer delegates to the system default renderer
|
||||
Component rendererComponent = defaultRenderer.getTableCellRendererComponent(
|
||||
header.getTable(), "", false, false, -1, 0 );
|
||||
paintBorders = isSystemDefaultRenderer( rendererComponent );
|
||||
}
|
||||
|
||||
if( paintBorders )
|
||||
paintColumnBorders( g, c );
|
||||
@@ -95,6 +101,12 @@ public class FlatTableHeaderUI
|
||||
paintDraggedColumnBorders( g, c );
|
||||
}
|
||||
|
||||
private boolean isSystemDefaultRenderer( Object headerRenderer ) {
|
||||
String rendererClassName = headerRenderer.getClass().getName();
|
||||
return rendererClassName.equals( "sun.swing.table.DefaultTableCellHeaderRenderer" ) ||
|
||||
rendererClassName.equals( "sun.swing.FilePane$AlignableTableHeaderRenderer" );
|
||||
}
|
||||
|
||||
private void paintColumnBorders( Graphics g, JComponent c ) {
|
||||
int width = c.getWidth();
|
||||
int height = c.getHeight();
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.event.FocusEvent;
|
||||
import java.awt.event.FocusListener;
|
||||
import javax.swing.JComponent;
|
||||
@@ -54,28 +55,59 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
*
|
||||
* <!-- FlatTableUI -->
|
||||
*
|
||||
* @uiDefault Table.rowHeight int
|
||||
* @uiDefault Table.selectionInactiveBackground Color
|
||||
* @uiDefault Table.selectionInactiveForeground Color
|
||||
* @uiDefault Table.rowHeight int
|
||||
* @uiDefault Table.showHorizontalLines boolean
|
||||
* @uiDefault Table.showVerticalLines boolean
|
||||
* @uiDefault Table.intercellSpacing Dimension
|
||||
* @uiDefault Table.selectionInactiveBackground Color
|
||||
* @uiDefault Table.selectionInactiveForeground Color
|
||||
*
|
||||
* <!-- FlatTableCellBorder -->
|
||||
*
|
||||
* @uiDefault Table.cellMargins Insets
|
||||
* @uiDefault Table.cellFocusColor Color
|
||||
* @uiDefault Table.showCellFocusIndicator boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class FlatTableUI
|
||||
extends BasicTableUI
|
||||
{
|
||||
protected boolean showHorizontalLines;
|
||||
protected boolean showVerticalLines;
|
||||
protected Dimension intercellSpacing;
|
||||
|
||||
protected Color selectionBackground;
|
||||
protected Color selectionForeground;
|
||||
protected Color selectionInactiveBackground;
|
||||
protected Color selectionInactiveForeground;
|
||||
|
||||
private boolean oldShowHorizontalLines;
|
||||
private boolean oldShowVerticalLines;
|
||||
private Dimension oldIntercellSpacing;
|
||||
|
||||
public static ComponentUI createUI( JComponent c ) {
|
||||
return new FlatTableUI();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void installUI( JComponent c ) {
|
||||
super.installUI( c );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void uninstallUI( JComponent c ) {
|
||||
super.uninstallUI( c );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void installDefaults() {
|
||||
super.installDefaults();
|
||||
|
||||
showHorizontalLines = UIManager.getBoolean( "Table.showHorizontalLines" );
|
||||
showVerticalLines = UIManager.getBoolean( "Table.showVerticalLines" );
|
||||
intercellSpacing = UIManager.getDimension( "Table.intercellSpacing" );
|
||||
|
||||
selectionBackground = UIManager.getColor( "Table.selectionBackground" );
|
||||
selectionForeground = UIManager.getColor( "Table.selectionForeground" );
|
||||
selectionInactiveBackground = UIManager.getColor( "Table.selectionInactiveBackground" );
|
||||
@@ -86,6 +118,20 @@ public class FlatTableUI
|
||||
int rowHeight = FlatUIUtils.getUIInt( "Table.rowHeight", 16 );
|
||||
if( rowHeight > 0 )
|
||||
LookAndFeel.installProperty( table, "rowHeight", UIScale.scale( rowHeight ) );
|
||||
|
||||
if( !showHorizontalLines ) {
|
||||
oldShowHorizontalLines = table.getShowHorizontalLines();
|
||||
table.setShowHorizontalLines( false );
|
||||
}
|
||||
if( !showVerticalLines ) {
|
||||
oldShowVerticalLines = table.getShowVerticalLines();
|
||||
table.setShowVerticalLines( false );
|
||||
}
|
||||
|
||||
if( intercellSpacing != null ) {
|
||||
oldIntercellSpacing = table.getIntercellSpacing();
|
||||
table.setIntercellSpacing( intercellSpacing );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -96,6 +142,16 @@ public class FlatTableUI
|
||||
selectionForeground = null;
|
||||
selectionInactiveBackground = null;
|
||||
selectionInactiveForeground = null;
|
||||
|
||||
// restore old show horizontal/vertical lines (if not modified)
|
||||
if( !showHorizontalLines && oldShowHorizontalLines && !table.getShowHorizontalLines() )
|
||||
table.setShowHorizontalLines( true );
|
||||
if( !showVerticalLines && oldShowVerticalLines && !table.getShowVerticalLines() )
|
||||
table.setShowVerticalLines( true );
|
||||
|
||||
// restore old intercell spacing (if not modified)
|
||||
if( intercellSpacing != null && table.getIntercellSpacing().equals( intercellSpacing ) )
|
||||
table.setIntercellSpacing( oldIntercellSpacing );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -117,6 +117,7 @@ public class FlatTextAreaUI
|
||||
// and subtract 1px border line width.
|
||||
// Using "(scale( 1 ) * 2)" instead of "scale( 2 )" to deal with rounding
|
||||
// issues. E.g. at scale factor 1.5 the first returns 4, but the second 3.
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( getComponent(), this.minimumWidth );
|
||||
size.width = Math.max( size.width, scale( minimumWidth ) - (scale( 1 ) * 2) );
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -20,9 +20,12 @@ import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
import java.awt.Color;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Insets;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import javax.swing.JComboBox;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JSpinner;
|
||||
@@ -33,6 +36,7 @@ import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.UIResource;
|
||||
import javax.swing.plaf.basic.BasicTextFieldUI;
|
||||
import javax.swing.text.JTextComponent;
|
||||
import com.formdev.flatlaf.FlatClientProperties;
|
||||
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTextField}.
|
||||
@@ -57,6 +61,7 @@ import javax.swing.text.JTextComponent;
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault Component.minimumWidth int
|
||||
* @uiDefault Component.isIntelliJTheme boolean
|
||||
* @uiDefault TextField.placeholderForeground Color
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
@@ -66,6 +71,7 @@ public class FlatTextFieldUI
|
||||
protected int focusWidth;
|
||||
protected int minimumWidth;
|
||||
protected boolean isIntelliJTheme;
|
||||
protected Color placeholderForeground;
|
||||
|
||||
private FocusListener focusListener;
|
||||
|
||||
@@ -77,9 +83,11 @@ public class FlatTextFieldUI
|
||||
protected void installDefaults() {
|
||||
super.installDefaults();
|
||||
|
||||
String prefix = getPropertyPrefix();
|
||||
focusWidth = UIManager.getInt( "Component.focusWidth" );
|
||||
minimumWidth = UIManager.getInt( "Component.minimumWidth" );
|
||||
isIntelliJTheme = UIManager.getBoolean( "Component.isIntelliJTheme" );
|
||||
placeholderForeground = UIManager.getColor( prefix + ".placeholderForeground" );
|
||||
|
||||
LookAndFeel.installProperty( getComponent(), "opaque", focusWidth == 0 );
|
||||
|
||||
@@ -90,6 +98,8 @@ public class FlatTextFieldUI
|
||||
protected void uninstallDefaults() {
|
||||
super.uninstallDefaults();
|
||||
|
||||
placeholderForeground = null;
|
||||
|
||||
MigLayoutVisualPadding.uninstall( getComponent() );
|
||||
}
|
||||
|
||||
@@ -109,9 +119,18 @@ public class FlatTextFieldUI
|
||||
focusListener = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
|
||||
if( FlatClientProperties.PLACEHOLDER_TEXT.equals( e.getPropertyName() ) )
|
||||
getComponent().repaint();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintSafely( Graphics g ) {
|
||||
paintBackground( g, getComponent(), focusWidth, isIntelliJTheme );
|
||||
paintPlaceholder( g, getComponent(), placeholderForeground );
|
||||
super.paintSafely( g );
|
||||
}
|
||||
|
||||
@@ -146,12 +165,37 @@ public class FlatTextFieldUI
|
||||
: (isIntelliJTheme && (!c.isEnabled() || !c.isEditable())
|
||||
? FlatUIUtils.getParentBackground( c )
|
||||
: background) );
|
||||
FlatUIUtils.fillRoundRectangle( g2, 0, 0, c.getWidth(), c.getHeight(), fFocusWidth, 0 );
|
||||
FlatUIUtils.paintComponentBackground( g2, 0, 0, c.getWidth(), c.getHeight(), fFocusWidth, 0 );
|
||||
} finally {
|
||||
g2.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
static void paintPlaceholder( Graphics g, JTextComponent c, Color placeholderForeground ) {
|
||||
// check whether text component is empty
|
||||
if( c.getDocument().getLength() > 0 )
|
||||
return;
|
||||
|
||||
// check for JComboBox
|
||||
Container parent = c.getParent();
|
||||
JComponent jc = (parent instanceof JComboBox) ? (JComboBox<?>) parent : c;
|
||||
|
||||
// get placeholder text
|
||||
Object placeholder = jc.getClientProperty( FlatClientProperties.PLACEHOLDER_TEXT );
|
||||
if( !(placeholder instanceof String) )
|
||||
return;
|
||||
|
||||
// compute placeholder location
|
||||
Insets insets = c.getInsets();
|
||||
FontMetrics fm = c.getFontMetrics( c.getFont() );
|
||||
int x = insets.left;
|
||||
int y = insets.top + fm.getAscent() + ((c.getHeight() - insets.top - insets.bottom - fm.getHeight()) / 2);
|
||||
|
||||
// paint placeholder
|
||||
g.setColor( placeholderForeground );
|
||||
FlatUIUtils.drawString( c, g, (String) placeholder, x, y );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize( JComponent c ) {
|
||||
return applyMinimumWidth( super.getPreferredSize( c ), c );
|
||||
@@ -173,6 +217,7 @@ public class FlatTextFieldUI
|
||||
(parent != null && parent.getParent() instanceof JSpinner) )
|
||||
return size;
|
||||
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( getComponent(), this.minimumWidth );
|
||||
int focusWidth = (c.getBorder() instanceof FlatBorder) ? this.focusWidth : 0;
|
||||
size.width = Math.max( size.width, scale( minimumWidth + (focusWidth * 2) ) );
|
||||
return size;
|
||||
|
||||
@@ -98,6 +98,7 @@ public class FlatTextPaneUI
|
||||
// and subtract 1px border line width.
|
||||
// Using "(scale( 1 ) * 2)" instead of "scale( 2 )" to deal with rounding
|
||||
// issues. E.g. at scale factor 1.5 the first returns 4, but the second 3.
|
||||
int minimumWidth = FlatUIUtils.minimumWidth( getComponent(), this.minimumWidth );
|
||||
size.width = Math.max( size.width, scale( minimumWidth ) - (scale( 1 ) * 2) );
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -16,12 +16,18 @@
|
||||
|
||||
package com.formdev.flatlaf.ui;
|
||||
|
||||
import static com.formdev.flatlaf.FlatClientProperties.*;
|
||||
import java.awt.Color;
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import javax.swing.AbstractButton;
|
||||
import javax.swing.ButtonModel;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JToggleButton;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JToggleButton}.
|
||||
@@ -38,7 +44,7 @@ import javax.swing.plaf.ComponentUI;
|
||||
* <!-- FlatButtonUI -->
|
||||
*
|
||||
* @uiDefault Component.focusWidth int
|
||||
* @uiDefault ToggleButton.arc int
|
||||
* @uiDefault Button.arc int
|
||||
* @uiDefault ToggleButton.minimumWidth int
|
||||
* @uiDefault ToggleButton.iconTextGap int
|
||||
* @uiDefault ToggleButton.startBackground Color optional; if set, a gradient paint is used and ToggleButton.background is ignored
|
||||
@@ -55,6 +61,13 @@ import javax.swing.plaf.ComponentUI;
|
||||
* @uiDefault ToggleButton.disabledSelectedBackground Color
|
||||
* @uiDefault ToggleButton.toolbar.selectedBackground Color
|
||||
*
|
||||
* @uiDefault ToggleButton.tab.underlineHeight int
|
||||
* @uiDefault ToggleButton.tab.underlineColor Color
|
||||
* @uiDefault ToggleButton.tab.disabledUnderlineColor Color
|
||||
* @uiDefault ToggleButton.tab.selectedBackground Color optional
|
||||
* @uiDefault ToggleButton.tab.hoverBackground Color
|
||||
* @uiDefault ToggleButton.tab.focusBackground Color
|
||||
*
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
@@ -67,6 +80,13 @@ public class FlatToggleButtonUI
|
||||
|
||||
protected Color toolbarSelectedBackground;
|
||||
|
||||
protected int tabUnderlineHeight;
|
||||
protected Color tabUnderlineColor;
|
||||
protected Color tabDisabledUnderlineColor;
|
||||
protected Color tabSelectedBackground;
|
||||
protected Color tabHoverBackground;
|
||||
protected Color tabFocusBackground;
|
||||
|
||||
private boolean defaults_initialized = false;
|
||||
|
||||
private static ComponentUI instance;
|
||||
@@ -93,6 +113,13 @@ public class FlatToggleButtonUI
|
||||
|
||||
toolbarSelectedBackground = UIManager.getColor( "ToggleButton.toolbar.selectedBackground" );
|
||||
|
||||
tabUnderlineHeight = UIManager.getInt( "ToggleButton.tab.underlineHeight" );
|
||||
tabUnderlineColor = UIManager.getColor( "ToggleButton.tab.underlineColor" );
|
||||
tabDisabledUnderlineColor = UIManager.getColor( "ToggleButton.tab.disabledUnderlineColor" );
|
||||
tabSelectedBackground = UIManager.getColor( "ToggleButton.tab.selectedBackground" );
|
||||
tabHoverBackground = UIManager.getColor( "ToggleButton.tab.hoverBackground" );
|
||||
tabFocusBackground = UIManager.getColor( "ToggleButton.tab.focusBackground" );
|
||||
|
||||
defaults_initialized = true;
|
||||
}
|
||||
}
|
||||
@@ -103,6 +130,61 @@ public class FlatToggleButtonUI
|
||||
defaults_initialized = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void propertyChange( AbstractButton b, PropertyChangeEvent e ) {
|
||||
super.propertyChange( b, e );
|
||||
|
||||
switch( e.getPropertyName() ) {
|
||||
case BUTTON_TYPE:
|
||||
if( BUTTON_TYPE_TAB.equals( e.getOldValue() ) || BUTTON_TYPE_TAB.equals( e.getNewValue() ) ) {
|
||||
MigLayoutVisualPadding.uninstall( b );
|
||||
MigLayoutVisualPadding.install( b, getFocusWidth( b ) );
|
||||
b.revalidate();
|
||||
}
|
||||
|
||||
b.repaint();
|
||||
break;
|
||||
|
||||
case TAB_BUTTON_UNDERLINE_HEIGHT:
|
||||
case TAB_BUTTON_UNDERLINE_COLOR:
|
||||
case TAB_BUTTON_SELECTED_BACKGROUND:
|
||||
b.repaint();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static boolean isTabButton( Component c ) {
|
||||
return c instanceof JToggleButton && clientPropertyEquals( (JToggleButton) c, BUTTON_TYPE, BUTTON_TYPE_TAB );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintBackground( Graphics g, JComponent c ) {
|
||||
if( isTabButton( c ) ) {
|
||||
int height = c.getHeight();
|
||||
int width = c.getWidth();
|
||||
boolean selected = ((AbstractButton)c).isSelected();
|
||||
|
||||
// paint background
|
||||
Color background = buttonStateColor( c,
|
||||
selected ? clientPropertyColor( c, TAB_BUTTON_SELECTED_BACKGROUND, tabSelectedBackground ) : null,
|
||||
null, tabFocusBackground, tabHoverBackground, null );
|
||||
if( background != null ) {
|
||||
g.setColor( background );
|
||||
g.fillRect( 0, 0, width, height );
|
||||
}
|
||||
|
||||
// paint underline if selected
|
||||
if( selected ) {
|
||||
int underlineHeight = UIScale.scale( clientPropertyInt( c, TAB_BUTTON_UNDERLINE_HEIGHT, tabUnderlineHeight ) );
|
||||
g.setColor( c.isEnabled()
|
||||
? clientPropertyColor( c, TAB_BUTTON_UNDERLINE_COLOR, tabUnderlineColor )
|
||||
: tabDisabledUnderlineColor );
|
||||
g.fillRect( 0, height - underlineHeight, width, underlineHeight );
|
||||
}
|
||||
} else
|
||||
super.paintBackground( g, c );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Color getBackground( JComponent c ) {
|
||||
ButtonModel model = ((AbstractButton)c).getModel();
|
||||
@@ -130,4 +212,9 @@ public class FlatToggleButtonUI
|
||||
|
||||
return super.getForeground( c );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getFocusWidth( JComponent c ) {
|
||||
return isTabButton( c ) ? 0 : super.getFocusWidth( c );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Insets;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.util.List;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JToolTip;
|
||||
@@ -47,6 +48,8 @@ import com.formdev.flatlaf.util.StringUtils;
|
||||
public class FlatToolTipUI
|
||||
extends BasicToolTipUI
|
||||
{
|
||||
private static PropertyChangeListener sharedPropertyChangedListener;
|
||||
|
||||
private static ComponentUI instance;
|
||||
|
||||
public static ComponentUI createUI( JComponent c ) {
|
||||
@@ -55,6 +58,38 @@ public class FlatToolTipUI
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void installUI( JComponent c ) {
|
||||
super.installUI( c );
|
||||
|
||||
// update HTML renderer if necessary
|
||||
FlatLabelUI.updateHTMLRenderer( c, ((JToolTip)c).getTipText(), false );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void installListeners( JComponent c ) {
|
||||
super.installListeners( c );
|
||||
|
||||
if( sharedPropertyChangedListener == null ) {
|
||||
sharedPropertyChangedListener = e -> {
|
||||
String name = e.getPropertyName();
|
||||
if( name == "text" || name == "font" || name == "foreground" ) {
|
||||
JToolTip toolTip = (JToolTip) e.getSource();
|
||||
FlatLabelUI.updateHTMLRenderer( toolTip, toolTip.getTipText(), false );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
c.addPropertyChangeListener( sharedPropertyChangedListener );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void uninstallListeners( JComponent c ) {
|
||||
super.uninstallListeners( c );
|
||||
|
||||
c.removePropertyChangeListener( sharedPropertyChangedListener );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize( JComponent c ) {
|
||||
if( isMultiLine( c ) ) {
|
||||
|
||||
@@ -21,9 +21,16 @@ import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Insets;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JTree;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.JTree.DropLocation;
|
||||
import javax.swing.plaf.ComponentUI;
|
||||
import javax.swing.plaf.basic.BasicTreeUI;
|
||||
import javax.swing.tree.DefaultTreeCellRenderer;
|
||||
@@ -33,13 +40,50 @@ import com.formdev.flatlaf.util.UIScale;
|
||||
/**
|
||||
* Provides the Flat LaF UI delegate for {@link javax.swing.JTree}.
|
||||
*
|
||||
* TODO document used UI defaults of superclass
|
||||
* <!-- BasicTreeUI -->
|
||||
*
|
||||
* @uiDefault Tree.font Font
|
||||
* @uiDefault Tree.background Color
|
||||
* @uiDefault Tree.hash Color
|
||||
* @uiDefault Tree.dropLineColor Color
|
||||
* @uiDefault Tree.expandedIcon Icon
|
||||
* @uiDefault Tree.collapsedIcon Icon
|
||||
* @uiDefault Tree.leftChildIndent int
|
||||
* @uiDefault Tree.rightChildIndent int
|
||||
* @uiDefault Tree.rowHeight int
|
||||
* @uiDefault Tree.scrollsOnExpand boolean
|
||||
* @uiDefault Tree.scrollsHorizontallyAndVertically boolean
|
||||
* @uiDefault Tree.paintLines boolean
|
||||
* @uiDefault Tree.lineTypeDashed boolean
|
||||
* @uiDefault Tree.showsRootHandles boolean
|
||||
* @uiDefault Tree.repaintWholeRow boolean
|
||||
*
|
||||
* <!-- DefaultTreeCellRenderer -->
|
||||
*
|
||||
* @uiDefault Tree.leafIcon Icon
|
||||
* @uiDefault Tree.closedIcon Icon
|
||||
* @uiDefault Tree.openIcon Icon
|
||||
* @uiDefault Tree.textBackground Color
|
||||
* @uiDefault Tree.textForeground Color
|
||||
* @uiDefault Tree.selectionBackground Color
|
||||
* @uiDefault Tree.selectionForeground Color
|
||||
* @uiDefault Tree.selectionBorderColor Color focus indicator border color
|
||||
* @uiDefault Tree.drawsFocusBorderAroundIcon boolean
|
||||
* @uiDefault Tree.drawDashedFocusIndicator boolean
|
||||
* @uiDefault Tree.rendererFillBackground boolean default is true
|
||||
* @uiDefault Tree.rendererMargins Insets
|
||||
* @uiDefault Tree.dropCellBackground Color
|
||||
* @uiDefault Tree.dropCellForeground Color
|
||||
*
|
||||
* <!-- FlatTreeUI -->
|
||||
*
|
||||
* @uiDefault Tree.border Border
|
||||
* @uiDefault Tree.selectionBackground Color
|
||||
* @uiDefault Tree.selectionForeground Color
|
||||
* @uiDefault Tree.selectionInactiveBackground Color
|
||||
* @uiDefault Tree.selectionInactiveForeground Color
|
||||
* @uiDefault Tree.wideSelection boolean
|
||||
* @uiDefault Tree.showCellFocusIndicator boolean
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
@@ -50,6 +94,9 @@ public class FlatTreeUI
|
||||
protected Color selectionForeground;
|
||||
protected Color selectionInactiveBackground;
|
||||
protected Color selectionInactiveForeground;
|
||||
protected Color selectionBorderColor;
|
||||
protected boolean wideSelection;
|
||||
protected boolean showCellFocusIndicator;
|
||||
|
||||
public static ComponentUI createUI( JComponent c ) {
|
||||
return new FlatTreeUI();
|
||||
@@ -65,6 +112,9 @@ public class FlatTreeUI
|
||||
selectionForeground = UIManager.getColor( "Tree.selectionForeground" );
|
||||
selectionInactiveBackground = UIManager.getColor( "Tree.selectionInactiveBackground" );
|
||||
selectionInactiveForeground = UIManager.getColor( "Tree.selectionInactiveForeground" );
|
||||
selectionBorderColor = UIManager.getColor( "Tree.selectionBorderColor" );
|
||||
wideSelection = UIManager.getBoolean( "Tree.wideSelection" );
|
||||
showCellFocusIndicator = UIManager.getBoolean( "Tree.showCellFocusIndicator" );
|
||||
|
||||
// scale
|
||||
int rowHeight = FlatUIUtils.getUIInt( "Tree.rowHeight", 16 );
|
||||
@@ -84,21 +134,115 @@ public class FlatTreeUI
|
||||
selectionForeground = null;
|
||||
selectionInactiveBackground = null;
|
||||
selectionInactiveForeground = null;
|
||||
selectionBorderColor = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected MouseListener createMouseListener() {
|
||||
if( !wideSelection )
|
||||
return super.createMouseListener();
|
||||
|
||||
return new BasicTreeUI.MouseHandler() {
|
||||
@Override
|
||||
public void mousePressed( MouseEvent e ) {
|
||||
super.mousePressed( handleWideMouseEvent( e ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseReleased( MouseEvent e ) {
|
||||
super.mouseReleased( handleWideMouseEvent( e ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseDragged( MouseEvent e ) {
|
||||
super.mouseDragged( handleWideMouseEvent( e ) );
|
||||
}
|
||||
|
||||
private MouseEvent handleWideMouseEvent( MouseEvent e ) {
|
||||
if( !tree.isEnabled() || !SwingUtilities.isLeftMouseButton( e ) || e.isConsumed() )
|
||||
return e;
|
||||
|
||||
int x = e.getX();
|
||||
int y = e.getY();
|
||||
TreePath path = getClosestPathForLocation( tree, x, y );
|
||||
if( path == null || isLocationInExpandControl( path, x, y ) )
|
||||
return e;
|
||||
|
||||
Rectangle bounds = getPathBounds( tree, path );
|
||||
if( bounds == null || y < bounds.y || y >= (bounds.y + bounds.height) )
|
||||
return e;
|
||||
|
||||
int newX = Math.max( bounds.x, Math.min( x, bounds.x + bounds.width - 1 ) );
|
||||
if( newX == x )
|
||||
return e;
|
||||
|
||||
// clone mouse event, but with new X coordinate
|
||||
return new MouseEvent( e.getComponent(), e.getID(), e.getWhen(),
|
||||
e.getModifiers() | e.getModifiersEx(), newX, e.getY(),
|
||||
e.getClickCount(), e.isPopupTrigger(), e.getButton() );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
protected PropertyChangeListener createPropertyChangeListener() {
|
||||
if( !wideSelection )
|
||||
return super.createPropertyChangeListener();
|
||||
|
||||
return new BasicTreeUI.PropertyChangeHandler() {
|
||||
@Override
|
||||
public void propertyChange( PropertyChangeEvent e ) {
|
||||
super.propertyChange( e );
|
||||
|
||||
if( e.getSource() == tree && e.getPropertyName() == "dropLocation" ) {
|
||||
JTree.DropLocation oldValue = (JTree.DropLocation) e.getOldValue();
|
||||
repaintWideDropLocation( oldValue );
|
||||
repaintWideDropLocation( tree.getDropLocation() );
|
||||
}
|
||||
}
|
||||
|
||||
private void repaintWideDropLocation(JTree.DropLocation loc) {
|
||||
if( loc == null || isDropLine( loc ) )
|
||||
return;
|
||||
|
||||
Rectangle r = tree.getPathBounds( loc.getPath() );
|
||||
if( r != null )
|
||||
tree.repaint( 0, r.y, tree.getWidth(), r.height );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as super.paintRow(), but uses inactive selection background/foreground if tree is not focused.
|
||||
* Same as super.paintRow(), but supports wide selection and uses
|
||||
* inactive selection background/foreground if tree is not focused.
|
||||
*/
|
||||
@Override
|
||||
protected void paintRow( Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row,
|
||||
boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf )
|
||||
protected void paintRow( Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds,
|
||||
TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf )
|
||||
{
|
||||
if( editingComponent != null && editingRow == row )
|
||||
return;
|
||||
|
||||
boolean isEditing = (editingComponent != null && editingRow == row);
|
||||
boolean hasFocus = tree.hasFocus();
|
||||
boolean cellHasFocus = hasFocus && (row == getLeadSelectionRow());
|
||||
boolean isSelected = tree.isRowSelected( row );
|
||||
boolean isDropRow = isDropRow( row );
|
||||
|
||||
// wide selection background
|
||||
if( wideSelection && (isSelected || isDropRow) ) {
|
||||
// fill background
|
||||
g.setColor( isDropRow
|
||||
? UIManager.getColor( "Tree.dropCellBackground" )
|
||||
: (hasFocus ? selectionBackground : selectionInactiveBackground) );
|
||||
g.fillRect( 0, bounds.y, tree.getWidth(), bounds.height );
|
||||
|
||||
// paint expand/collapse icon
|
||||
if( shouldPaintExpandControl( path, row, isExpanded, hasBeenExpanded, isLeaf ) ) {
|
||||
paintExpandControl( g, clipBounds, insets, bounds,
|
||||
path, row, isExpanded, hasBeenExpanded, isLeaf );
|
||||
}
|
||||
}
|
||||
|
||||
if( isEditing )
|
||||
return;
|
||||
|
||||
// get renderer component
|
||||
Component rendererComponent = currentCellRenderer.getTreeCellRendererComponent( tree,
|
||||
@@ -106,7 +250,7 @@ public class FlatTreeUI
|
||||
|
||||
// apply inactive selection background/foreground if tree is not focused
|
||||
Color oldBackgroundSelectionColor = null;
|
||||
if( isSelected && !hasFocus ) {
|
||||
if( isSelected && !hasFocus && !isDropRow ) {
|
||||
if( rendererComponent instanceof DefaultTreeCellRenderer ) {
|
||||
DefaultTreeCellRenderer renderer = (DefaultTreeCellRenderer) rendererComponent;
|
||||
if( renderer.getBackgroundSelectionColor() == selectionBackground ) {
|
||||
@@ -122,11 +266,43 @@ public class FlatTreeUI
|
||||
rendererComponent.setForeground( selectionInactiveForeground );
|
||||
}
|
||||
|
||||
// remove focus selection border if exactly one item is selected
|
||||
Color oldBorderSelectionColor = null;
|
||||
if( isSelected && hasFocus &&
|
||||
(!showCellFocusIndicator || tree.getMinSelectionRow() == tree.getMaxSelectionRow()) &&
|
||||
rendererComponent instanceof DefaultTreeCellRenderer )
|
||||
{
|
||||
DefaultTreeCellRenderer renderer = (DefaultTreeCellRenderer) rendererComponent;
|
||||
if( renderer.getBorderSelectionColor() == selectionBorderColor ) {
|
||||
oldBorderSelectionColor = renderer.getBorderSelectionColor();
|
||||
renderer.setBorderSelectionColor( null );
|
||||
}
|
||||
}
|
||||
|
||||
// paint renderer
|
||||
rendererPane.paintComponent( g, rendererComponent, tree, bounds.x, bounds.y, bounds.width, bounds.height, true );
|
||||
|
||||
// restore background selection color
|
||||
// restore background selection color and border selection color
|
||||
if( oldBackgroundSelectionColor != null )
|
||||
((DefaultTreeCellRenderer)rendererComponent).setBackgroundSelectionColor( oldBackgroundSelectionColor );
|
||||
if( oldBorderSelectionColor != null )
|
||||
((DefaultTreeCellRenderer)rendererComponent).setBorderSelectionColor( oldBorderSelectionColor );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether dropping on a row.
|
||||
* See DefaultTreeCellRenderer.getTreeCellRendererComponent().
|
||||
*/
|
||||
private boolean isDropRow( int row ) {
|
||||
JTree.DropLocation dropLocation = tree.getDropLocation();
|
||||
return dropLocation != null &&
|
||||
dropLocation.getChildIndex() == -1 &&
|
||||
tree.getRowForPath( dropLocation.getPath() ) == row;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Rectangle getDropLineRect( DropLocation loc ) {
|
||||
Rectangle r = super.getDropLineRect( loc );
|
||||
return wideSelection ? new Rectangle( 0, r.y, tree.getWidth(), r.height ) : r;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,9 @@ import javax.swing.JComponent;
|
||||
import javax.swing.LookAndFeel;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.ColorUIResource;
|
||||
import com.formdev.flatlaf.FlatClientProperties;
|
||||
import com.formdev.flatlaf.util.DerivedColor;
|
||||
import com.formdev.flatlaf.util.HiDPIUtils;
|
||||
import com.formdev.flatlaf.util.JavaCompatibility;
|
||||
import com.formdev.flatlaf.util.UIScale;
|
||||
|
||||
@@ -101,10 +103,23 @@ public class FlatUIUtils
|
||||
return (value instanceof Integer) ? (Integer) value : defaultValue;
|
||||
}
|
||||
|
||||
public static float getUIFloat( String key, float defaultValue ) {
|
||||
Object value = UIManager.get( key );
|
||||
return (value instanceof Number) ? ((Number)value).floatValue() : defaultValue;
|
||||
}
|
||||
|
||||
public static Color nonUIResource( Color c ) {
|
||||
return (c instanceof ColorUIResource) ? new Color( c.getRGB(), true ) : c;
|
||||
}
|
||||
|
||||
public static int minimumWidth( JComponent c, int minimumWidth ) {
|
||||
return FlatClientProperties.clientPropertyInt( c, FlatClientProperties.MINIMUM_WIDTH, minimumWidth );
|
||||
}
|
||||
|
||||
public static int minimumHeight( JComponent c, int minimumHeight ) {
|
||||
return FlatClientProperties.clientPropertyInt( c, FlatClientProperties.MINIMUM_HEIGHT, minimumHeight );
|
||||
}
|
||||
|
||||
public static boolean isTableCellEditor( Component c ) {
|
||||
return c instanceof JComponent && Boolean.TRUE.equals( ((JComponent)c).getClientProperty( "JComboBox.isTableCellEditor" ) );
|
||||
}
|
||||
@@ -125,9 +140,73 @@ public class FlatUIUtils
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws a round rectangle.
|
||||
* Paints an outer border, which is usually a focus border.
|
||||
* <p>
|
||||
* The outside bounds of the painted border are {@code x,y,width,height}.
|
||||
* The line width of the painted border is {@code focusWidth + lineWidth}.
|
||||
* The given arc diameter refers to the inner rectangle ({@code x,y,width,height} minus {@code focusWidth}).
|
||||
*
|
||||
* @see #paintComponentBorder
|
||||
* @see #paintComponentBackground
|
||||
*/
|
||||
public static void drawRoundRectangle( Graphics2D g, int x, int y, int width, int height,
|
||||
public static void paintComponentOuterBorder( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float lineWidth, float arc )
|
||||
{
|
||||
double systemScaleFactor = UIScale.getSystemScaleFactor( g );
|
||||
if( systemScaleFactor != 1 && systemScaleFactor != 2 ) {
|
||||
// paint at scale 1x to avoid clipping on right and bottom edges at 125%, 150% or 175%
|
||||
HiDPIUtils.paintAtScale1x( g, x, y, width, height, systemScaleFactor,
|
||||
(g2d, x2, y2, width2, height2, scaleFactor) -> {
|
||||
paintComponentOuterBorderImpl( g2d, x2, y2, width2, height2,
|
||||
(float) (focusWidth * scaleFactor), (float) (lineWidth * scaleFactor), (float) (arc * scaleFactor) );
|
||||
} );
|
||||
return;
|
||||
}
|
||||
|
||||
paintComponentOuterBorderImpl( g, x, y, width, height, focusWidth, lineWidth, arc );
|
||||
}
|
||||
|
||||
private static void paintComponentOuterBorderImpl( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float lineWidth, float arc )
|
||||
{
|
||||
float outerRadius = (arc > 0) ? arc + focusWidth - UIScale.scale( 2f ) : focusWidth;
|
||||
float ow = focusWidth + lineWidth;
|
||||
float innerRadius = outerRadius - ow;
|
||||
|
||||
Path2D path = new Path2D.Float( Path2D.WIND_EVEN_ODD );
|
||||
path.append( createRoundRectanglePath( x, y, width, height, outerRadius, outerRadius, outerRadius, outerRadius ), false );
|
||||
path.append( createRoundRectanglePath( x + ow, y + ow, width - (ow * 2), height - (ow * 2), innerRadius, innerRadius, innerRadius, innerRadius ), false );
|
||||
g.fill( path );
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws the border of a component as round rectangle.
|
||||
* <p>
|
||||
* The outside bounds of the painted border are
|
||||
* {@code x + focusWidth, y + focusWidth, width - (focusWidth * 2), height - (focusWidth * 2)}.
|
||||
* The given arc diameter refers to the painted rectangle (and not to {@code x,y,width,height}).
|
||||
*
|
||||
* @see #paintComponentOuterBorder
|
||||
* @see #paintComponentBackground
|
||||
*/
|
||||
public static void paintComponentBorder( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float lineWidth, float arc )
|
||||
{
|
||||
double systemScaleFactor = UIScale.getSystemScaleFactor( g );
|
||||
if( systemScaleFactor != 1 && systemScaleFactor != 2 ) {
|
||||
// paint at scale 1x to avoid clipping on right and bottom edges at 125%, 150% or 175%
|
||||
HiDPIUtils.paintAtScale1x( g, x, y, width, height, systemScaleFactor,
|
||||
(g2d, x2, y2, width2, height2, scaleFactor) -> {
|
||||
paintComponentBorderImpl( g2d, x2, y2, width2, height2,
|
||||
(float) (focusWidth * scaleFactor), (float) (lineWidth * scaleFactor), (float) (arc * scaleFactor) );
|
||||
} );
|
||||
return;
|
||||
}
|
||||
|
||||
paintComponentBorderImpl( g, x, y, width, height, focusWidth, lineWidth, arc );
|
||||
}
|
||||
|
||||
private static void paintComponentBorderImpl( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float lineWidth, float arc )
|
||||
{
|
||||
float arc2 = arc > lineWidth ? arc - lineWidth : 0f;
|
||||
@@ -146,9 +225,33 @@ public class FlatUIUtils
|
||||
}
|
||||
|
||||
/**
|
||||
* Fills a round rectangle.
|
||||
* Fills the background of a component with a round rectangle.
|
||||
* <p>
|
||||
* The bounds of the painted round rectangle are
|
||||
* {@code x + focusWidth, y + focusWidth, width - (focusWidth * 2), height - (focusWidth * 2)}.
|
||||
* The given arc diameter refers to the painted rectangle (and not to {@code x,y,width,height}).
|
||||
*
|
||||
* @see #paintComponentOuterBorder
|
||||
* @see #paintComponentBorder
|
||||
*/
|
||||
public static void fillRoundRectangle( Graphics2D g, int x, int y, int width, int height,
|
||||
public static void paintComponentBackground( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float arc )
|
||||
{
|
||||
double systemScaleFactor = UIScale.getSystemScaleFactor( g );
|
||||
if( systemScaleFactor != 1 && systemScaleFactor != 2 ) {
|
||||
// paint at scale 1x to avoid clipping on right and bottom edges at 125%, 150% or 175%
|
||||
HiDPIUtils.paintAtScale1x( g, x, y, width, height, systemScaleFactor,
|
||||
(g2d, x2, y2, width2, height2, scaleFactor) -> {
|
||||
paintComponentBackgroundImpl( g2d, x2, y2, width2, height2,
|
||||
(float) (focusWidth * scaleFactor), (float) (arc * scaleFactor) );
|
||||
} );
|
||||
return;
|
||||
}
|
||||
|
||||
paintComponentBackgroundImpl( g, x, y, width, height, focusWidth, arc );
|
||||
}
|
||||
|
||||
private static void paintComponentBackgroundImpl( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float arc )
|
||||
{
|
||||
g.fill( new RoundRectangle2D.Float(
|
||||
@@ -190,22 +293,14 @@ public class FlatUIUtils
|
||||
}
|
||||
|
||||
/**
|
||||
* Paints an outline border.
|
||||
* Creates a not-filled rectangle shape with the given line width.
|
||||
*/
|
||||
public static void paintOutlineBorder( Graphics2D g, int x, int y, int width, int height,
|
||||
float focusWidth, float lineWidth, float arc )
|
||||
{
|
||||
float outerArc = (arc > 0) ? arc + focusWidth - UIScale.scale( 2f ) : focusWidth;
|
||||
float ow = focusWidth + lineWidth;
|
||||
|
||||
public static Path2D createRectangle( float x, float y, float width, float height, float lineWidth ) {
|
||||
Path2D path = new Path2D.Float( Path2D.WIND_EVEN_ODD );
|
||||
path.append( createOutlinePath( x, y, width, height, outerArc ), false );
|
||||
path.append( createOutlinePath( x + ow, y + ow, width - (ow * 2), height - (ow * 2), outerArc - ow ), false );
|
||||
g.fill( path );
|
||||
}
|
||||
|
||||
private static Shape createOutlinePath( float x, float y, float width, float height, float arc ) {
|
||||
return createRoundRectanglePath( x, y, width, height, arc, arc, arc, arc );
|
||||
path.append( new Rectangle2D.Float( x, y, width, height ), false );
|
||||
path.append( new Rectangle2D.Float( x + lineWidth, y + lineWidth,
|
||||
width - (lineWidth * 2), height - (lineWidth * 2) ), false );
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -222,7 +317,7 @@ public class FlatUIUtils
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a filled rounded rectangle shape and allows specifying the radius or each corner.
|
||||
* Creates a filled rounded rectangle shape and allows specifying the radius of each corner.
|
||||
*/
|
||||
public static Shape createRoundRectanglePath( float x, float y, float width, float height,
|
||||
float arcTopLeft, float arcTopRight, float arcBottomLeft, float arcBottomRight )
|
||||
@@ -256,10 +351,16 @@ public class FlatUIUtils
|
||||
return rect;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a closed path for the given points.
|
||||
*/
|
||||
public static Path2D createPath( double... points ) {
|
||||
return createPath( true, points );
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a open or closed path for the given points.
|
||||
*/
|
||||
public static Path2D createPath( boolean close, double... points ) {
|
||||
Path2D path = new Path2D.Float();
|
||||
path.moveTo( points[0], points[1] );
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.awt.Color;
|
||||
*/
|
||||
public class ColorFunctions
|
||||
{
|
||||
public static Color applyFunctions( Color color, ColorFunction[] functions ) {
|
||||
public static Color applyFunctions( Color color, ColorFunction... functions ) {
|
||||
float[] hsl = HSLColor.fromRGB( color );
|
||||
float alpha = color.getAlpha() / 255f;
|
||||
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.util;
|
||||
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.geom.AffineTransform;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
import javax.swing.JComponent;
|
||||
|
||||
/**
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class HiDPIUtils
|
||||
{
|
||||
public interface Painter {
|
||||
public void paint( Graphics2D g, int x, int y, int width, int height, double scaleFactor );
|
||||
}
|
||||
|
||||
public static void paintAtScale1x( Graphics2D g, JComponent c, Painter painter ) {
|
||||
paintAtScale1x( g, 0, 0, c.getWidth(), c.getHeight(), painter );
|
||||
}
|
||||
|
||||
public static void paintAtScale1x( Graphics2D g, int x, int y, int width, int height, Painter painter ) {
|
||||
paintAtScale1x( g, x, y, width, height, UIScale.getSystemScaleFactor( g ), painter );
|
||||
}
|
||||
|
||||
/**
|
||||
* Paint at system scale factor 1x to avoid rounding issues at 125%, 150% and 175% scaling.
|
||||
* <p>
|
||||
* Scales the given Graphics2D down to 100% and invokes the
|
||||
* given painter passing scaled x, y, width and height.
|
||||
* <p>
|
||||
* Uses the same scaling calculation as the JRE uses.
|
||||
*/
|
||||
public static void paintAtScale1x( Graphics2D g, int x, int y, int width, int height,
|
||||
double scaleFactor, Painter painter )
|
||||
{
|
||||
if( scaleFactor == 1 ) {
|
||||
painter.paint( g, x, y, width, height, 1 );
|
||||
return;
|
||||
}
|
||||
|
||||
// save original transform
|
||||
AffineTransform transform = g.getTransform();
|
||||
|
||||
// scale rectangle
|
||||
Rectangle2D.Double scaledRect = scale( transform, x, y, width, height );
|
||||
|
||||
try {
|
||||
// unscale to factor 1.0
|
||||
double scale = 1.0 / scaleFactor;
|
||||
g.scale( scale, scale );
|
||||
|
||||
// compute origin delta x/y
|
||||
double dx = Math.floor( scaledRect.x ) - transform.getTranslateX();
|
||||
double dy = Math.floor( scaledRect.y ) - transform.getTranslateY();
|
||||
|
||||
// move origin to make sure that origin x/y are at whole numbers
|
||||
if( dx != 0 || dy != 0 )
|
||||
g.translate( dx, dy );
|
||||
|
||||
int swidth = (int) scaledRect.width;
|
||||
int sheight = (int) scaledRect.height;
|
||||
|
||||
// paint
|
||||
painter.paint( g, 0, 0, swidth, sheight, scaleFactor );
|
||||
} finally {
|
||||
// restore original transform
|
||||
g.setTransform( transform );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Scales a rectangle in the same way as the JRE does in
|
||||
* sun.java2d.pipe.PixelToParallelogramConverter.fillRectangle(),
|
||||
* which is used by Graphics.fillRect().
|
||||
*/
|
||||
private static Rectangle2D.Double scale( AffineTransform transform, int x, int y, int width, int height ) {
|
||||
double dx1 = transform.getScaleX();
|
||||
double dy2 = transform.getScaleY();
|
||||
double px = x * dx1 + transform.getTranslateX();
|
||||
double py = y * dy2 + transform.getTranslateY();
|
||||
dx1 *= width;
|
||||
dy2 *= height;
|
||||
|
||||
double newx = normalize( px );
|
||||
double newy = normalize( py );
|
||||
dx1 = normalize( px + dx1 ) - newx;
|
||||
dy2 = normalize( py + dy2 ) - newy;
|
||||
|
||||
return new Rectangle2D.Double( newx, newy, dx1, dy2 );
|
||||
}
|
||||
|
||||
private static double normalize( double value ) {
|
||||
return Math.floor( value + 0.25 ) + 0.25;
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,10 @@ import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import javax.swing.JComponent;
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
|
||||
/**
|
||||
* Provides Java version compatibility methods.
|
||||
@@ -52,7 +55,7 @@ public class JavaCompatibility
|
||||
? new Class[] { JComponent.class, Graphics2D.class, String.class, int.class, float.class, float.class }
|
||||
: new Class[] { JComponent.class, Graphics.class, String.class, int.class, int.class, int.class } );
|
||||
} catch( Exception ex ) {
|
||||
ex.printStackTrace();
|
||||
Logger.getLogger( FlatLaf.class.getName() ).log( Level.SEVERE, null, ex );
|
||||
throw new RuntimeException( ex );
|
||||
}
|
||||
}
|
||||
@@ -64,7 +67,7 @@ public class JavaCompatibility
|
||||
else
|
||||
drawStringUnderlineCharAtMethod.invoke( null, c, g, text, underlinedIndex, x, y );
|
||||
} catch( IllegalAccessException | IllegalArgumentException | InvocationTargetException ex ) {
|
||||
ex.printStackTrace();
|
||||
Logger.getLogger( FlatLaf.class.getName() ).log( Level.SEVERE, null, ex );
|
||||
throw new RuntimeException( ex );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* Copyright 2019 FormDev Software GmbH
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.formdev.flatlaf.util;
|
||||
|
||||
import static com.formdev.flatlaf.util.UIScale.scale;
|
||||
|
||||
/**
|
||||
* A number that scales its value.
|
||||
*
|
||||
* NOTE:
|
||||
* Using ScaledNumber in UI defaults works only if the value is get with
|
||||
* sun.swing.DefaultLookup.getInt(), which is used by some basic UI delegates,
|
||||
* because this method uses "instanceof Number".
|
||||
* UIManager.getInt() on the other hand uses "instanceof Integer" and does not work.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
*/
|
||||
public class ScaledNumber
|
||||
extends Number
|
||||
{
|
||||
private final int value;
|
||||
|
||||
public ScaledNumber( int value ) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int intValue() {
|
||||
return scale( value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public long longValue() {
|
||||
return scale( value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public float floatValue() {
|
||||
return scale( (float) value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public double doubleValue() {
|
||||
return scale( (float) value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Integer.hashCode( value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals( Object obj ) {
|
||||
return (obj instanceof ScaledNumber)
|
||||
? (value == ((ScaledNumber)obj).value)
|
||||
: false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Integer.toString( value );
|
||||
}
|
||||
}
|
||||
@@ -197,6 +197,14 @@ public class UIScale
|
||||
return new FontUIResource( font.getFamily(), font.getStyle(), newFontSize );
|
||||
}
|
||||
|
||||
/**
|
||||
* Scales the given font.
|
||||
*/
|
||||
public static FontUIResource scaleFont( FontUIResource font, float scaleFactor ) {
|
||||
int newFontSize = Math.round( font.getSize() * scaleFactor );
|
||||
return new FontUIResource( font.getFamily(), font.getStyle(), newFontSize );
|
||||
}
|
||||
|
||||
/**
|
||||
* Similar to sun.java2d.SunGraphicsEnvironment.getScaleFactor(String)
|
||||
*/
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
module com.formdev.flatlaf {
|
||||
requires java.desktop;
|
||||
requires java.logging;
|
||||
|
||||
exports com.formdev.flatlaf;
|
||||
exports com.formdev.flatlaf.icons;
|
||||
|
||||
@@ -30,6 +30,12 @@ Component.innerFocusWidth=0
|
||||
Component.arrowType=triangle
|
||||
|
||||
|
||||
#---- ProgressBar ----
|
||||
|
||||
ProgressBar.foreground=#a0a0a0
|
||||
ProgressBar.selectionForeground=@background
|
||||
|
||||
|
||||
#---- RadioButton ----
|
||||
|
||||
RadioButton.icon.centerDiameter=5
|
||||
|
||||
@@ -35,6 +35,12 @@
|
||||
@buttonHoverBackground=lighten(3%,autoInverse)
|
||||
@buttonPressedBackground=lighten(6%,autoInverse)
|
||||
|
||||
# Drop (use lazy colors for IntelliJ platform themes, which usually do not specify these colors)
|
||||
@dropCellBackground=darken(List.selectionBackground,10%,lazy)
|
||||
@dropCellForeground=lazy(List.selectionForeground)
|
||||
@dropLineColor=lighten(List.selectionBackground,10%,lazy)
|
||||
@dropLineShortColor=lighten(List.selectionBackground,30%,lazy)
|
||||
|
||||
|
||||
#---- globals ----
|
||||
|
||||
@@ -58,10 +64,9 @@
|
||||
|
||||
activeCaption=#434E60
|
||||
inactiveCaption=#393C3D
|
||||
controlHighlight=#616669
|
||||
controlLtHighlight=#303234
|
||||
controlShadow=#afb3b5
|
||||
controlDkShadow=#d7d9da
|
||||
controlHighlight=darken($controlShadow,20%)
|
||||
controlLtHighlight=darken($controlShadow,25%)
|
||||
controlDkShadow=lighten($controlShadow,10%)
|
||||
|
||||
|
||||
#---- Button ----
|
||||
@@ -73,7 +78,7 @@ Button.pressedBackground=@buttonPressedBackground
|
||||
Button.borderColor=#5e6060
|
||||
Button.disabledBorderColor=#5e6060
|
||||
Button.focusedBorderColor=#466d94
|
||||
Button.hoverBorderColor=@@Button.focusedBorderColor
|
||||
Button.hoverBorderColor=$Button.focusedBorderColor
|
||||
|
||||
Button.default.background=#365880
|
||||
Button.default.foreground=#bbbbbb
|
||||
@@ -95,7 +100,7 @@ CheckBox.icon.borderColor=#6B6B6B
|
||||
CheckBox.icon.disabledBorderColor=#545556
|
||||
CheckBox.icon.selectedBorderColor=#6B6B6B
|
||||
CheckBox.icon.focusedBorderColor=#466D94
|
||||
CheckBox.icon.hoverBorderColor=@@CheckBox.icon.focusedBorderColor
|
||||
CheckBox.icon.hoverBorderColor=$CheckBox.icon.focusedBorderColor
|
||||
CheckBox.icon.selectedFocusedBorderColor=#466D94
|
||||
CheckBox.icon.background=#43494A
|
||||
CheckBox.icon.disabledBackground=@background
|
||||
@@ -149,14 +154,14 @@ MenuItemCheckBox.icon.disabledCheckmarkColor=#606060
|
||||
|
||||
#---- PopupMenu ----
|
||||
|
||||
PopupMenu.borderColor=#515151
|
||||
PopupMenu.borderColor=#5e5e5e
|
||||
|
||||
|
||||
#---- ProgressBar ----
|
||||
|
||||
ProgressBar.background=#555555
|
||||
ProgressBar.foreground=#a0a0a0
|
||||
ProgressBar.selectionForeground=@background
|
||||
ProgressBar.foreground=#4A88C7
|
||||
ProgressBar.selectionForeground=@foreground
|
||||
ProgressBar.selectionBackground=@foreground
|
||||
|
||||
|
||||
@@ -190,7 +195,7 @@ SplitPaneDivider.oneTouchHoverArrowColor=#7A7D81
|
||||
|
||||
#---- TabbedPane ----
|
||||
|
||||
TabbedPane.disabledForeground=#777777
|
||||
TabbedPane.disabledForeground=@disabledText
|
||||
TabbedPane.underlineColor=#4A88C7
|
||||
TabbedPane.disabledUnderlineColor=#7a7a7a
|
||||
TabbedPane.hoverColor=#2e3133
|
||||
|
||||
@@ -22,21 +22,22 @@
|
||||
|
||||
Button.focusedBackground=null
|
||||
|
||||
Button.default.background=#4A86C7
|
||||
Button.default.foreground=#f0f0f0
|
||||
Button.default.background=#4D8AC9
|
||||
Button.default.foreground=#FFFFFF
|
||||
Button.default.focusedBackground=null
|
||||
Button.default.borderColor=#3167ad
|
||||
Button.default.hoverBorderColor=#a8cef6
|
||||
Button.default.focusedBorderColor=#a8cef6
|
||||
Button.default.borderColor=#3D75B2
|
||||
Button.default.hoverBorderColor=#A9C9F5
|
||||
Button.default.focusedBorderColor=#A9C9F5
|
||||
Button.default.focusColor=#97c3f3
|
||||
Button.default.boldText=true
|
||||
Button.default.borderWidth=1
|
||||
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.selectedBorderColor=#4982CC
|
||||
CheckBox.icon.selectedBorderColor=#4B97D9
|
||||
CheckBox.icon.selectedFocusedBorderColor=#ACCFF7
|
||||
CheckBox.icon.selectedBackground=#4D89C9
|
||||
CheckBox.icon.selectedBackground=#4F9EE3
|
||||
CheckBox.icon.checkmarkColor=#FFFFFF
|
||||
|
||||
CheckBox.icon.selectedHoverBackground=#5E94CE
|
||||
|
||||
@@ -65,9 +65,9 @@ ViewportUI=com.formdev.flatlaf.ui.FlatViewportUI
|
||||
|
||||
desktop=@textComponentBackground
|
||||
activeCaptionText=@foreground
|
||||
activeCaptionBorder=@@activeCaption
|
||||
activeCaptionBorder=$activeCaption
|
||||
inactiveCaptionText=@foreground
|
||||
inactiveCaptionBorder=@@inactiveCaption
|
||||
inactiveCaptionBorder=$inactiveCaption
|
||||
window=@background
|
||||
windowBorder=@foreground
|
||||
windowText=@foreground
|
||||
@@ -80,8 +80,9 @@ textHighlightText=@selectionForeground
|
||||
textInactiveText=@disabledText
|
||||
control=@background
|
||||
controlText=@foreground
|
||||
scrollbar=@@ScrollBar.track
|
||||
info=@@ToolTip.background
|
||||
controlShadow=$Component.borderColor
|
||||
scrollbar=$ScrollBar.track
|
||||
info=$ToolTip.background
|
||||
infoText=@foreground
|
||||
|
||||
|
||||
@@ -94,15 +95,21 @@ Button.margin=2,14,2,14
|
||||
Button.iconTextGap=4
|
||||
Button.rollover=true
|
||||
Button.defaultButtonFollowsFocus=false
|
||||
[win]Button.defaultButtonFollowsFocus=true
|
||||
|
||||
Button.default.borderWidth=1
|
||||
|
||||
|
||||
#---- Caret ----
|
||||
|
||||
Caret.width={scaledInteger}1
|
||||
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.border=com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
CheckBox.icon=com.formdev.flatlaf.icons.FlatCheckBoxIcon
|
||||
CheckBox.arc=2
|
||||
CheckBox.arc=4
|
||||
CheckBox.margin=2,2,2,2
|
||||
CheckBox.iconTextGap=4
|
||||
CheckBox.rollover=true
|
||||
@@ -131,7 +138,7 @@ ComboBox.padding=2,6,2,6
|
||||
#---- Component ----
|
||||
|
||||
Component.focusWidth=0
|
||||
Component.innerFocusWidth=0
|
||||
Component.innerFocusWidth={float}0.5
|
||||
Component.arc=5
|
||||
Component.minimumWidth=64
|
||||
Component.arrowType=chevron
|
||||
@@ -141,8 +148,8 @@ Component.hideMnemonics=true
|
||||
#---- EditorPane ----
|
||||
|
||||
EditorPane.border=com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
EditorPane.background=@textComponentBackground
|
||||
EditorPane.margin=@textComponentMargin
|
||||
EditorPane.background=@textComponentBackground
|
||||
|
||||
|
||||
#---- FileChooser ----
|
||||
@@ -166,34 +173,41 @@ FileView.floppyDriveIcon=com.formdev.flatlaf.icons.FlatFileViewFloppyDriveIcon
|
||||
#---- FormattedTextField ----
|
||||
|
||||
FormattedTextField.border=com.formdev.flatlaf.ui.FlatBorder
|
||||
FormattedTextField.background=@textComponentBackground
|
||||
FormattedTextField.margin=@textComponentMargin
|
||||
FormattedTextField.background=@textComponentBackground
|
||||
FormattedTextField.placeholderForeground=@disabledText
|
||||
|
||||
|
||||
#---- HelpButton ----
|
||||
|
||||
HelpButton.icon=com.formdev.flatlaf.icons.FlatHelpButtonIcon
|
||||
HelpButton.borderColor=@@CheckBox.icon.borderColor
|
||||
HelpButton.disabledBorderColor=@@CheckBox.icon.disabledBorderColor
|
||||
HelpButton.focusedBorderColor=@@CheckBox.icon.focusedBorderColor
|
||||
HelpButton.hoverBorderColor=@@?CheckBox.icon.hoverBorderColor
|
||||
HelpButton.background=@@CheckBox.icon.background
|
||||
HelpButton.disabledBackground=@@CheckBox.icon.disabledBackground
|
||||
HelpButton.focusedBackground=@@?CheckBox.icon.focusedBackground
|
||||
HelpButton.hoverBackground=@@?CheckBox.icon.hoverBackground
|
||||
HelpButton.pressedBackground=@@?CheckBox.icon.pressedBackground
|
||||
HelpButton.questionMarkColor=@@CheckBox.icon.checkmarkColor
|
||||
HelpButton.disabledQuestionMarkColor=@@CheckBox.icon.disabledCheckmarkColor
|
||||
HelpButton.borderColor=$CheckBox.icon.borderColor
|
||||
HelpButton.disabledBorderColor=$CheckBox.icon.disabledBorderColor
|
||||
HelpButton.focusedBorderColor=$CheckBox.icon.focusedBorderColor
|
||||
HelpButton.hoverBorderColor=$?CheckBox.icon.hoverBorderColor
|
||||
HelpButton.background=$CheckBox.icon.background
|
||||
HelpButton.disabledBackground=$CheckBox.icon.disabledBackground
|
||||
HelpButton.focusedBackground=$?CheckBox.icon.focusedBackground
|
||||
HelpButton.hoverBackground=$?CheckBox.icon.hoverBackground
|
||||
HelpButton.pressedBackground=$?CheckBox.icon.pressedBackground
|
||||
HelpButton.questionMarkColor=$CheckBox.icon.checkmarkColor
|
||||
HelpButton.disabledQuestionMarkColor=$CheckBox.icon.disabledCheckmarkColor
|
||||
|
||||
|
||||
#---- List ----
|
||||
|
||||
List.border=1,0,1,0
|
||||
List.cellNoFocusBorder=1,6,1,6
|
||||
List.focusCellHighlightBorder=1,6,1,6,@cellFocusColor
|
||||
List.focusSelectedCellHighlightBorder=1,6,1,6,@cellFocusColor
|
||||
List.border=0,0,0,0
|
||||
List.cellMargins=1,6,1,6
|
||||
List.cellFocusColor=@cellFocusColor
|
||||
List.cellNoFocusBorder=com.formdev.flatlaf.ui.FlatListCellBorder$Default
|
||||
List.focusCellHighlightBorder=com.formdev.flatlaf.ui.FlatListCellBorder$Focused
|
||||
List.focusSelectedCellHighlightBorder=com.formdev.flatlaf.ui.FlatListCellBorder$Selected
|
||||
List.selectionInactiveBackground=@selectionInactiveBackground
|
||||
List.selectionInactiveForeground=@selectionInactiveForeground
|
||||
List.dropCellBackground=@dropCellBackground
|
||||
List.dropCellForeground=@dropCellForeground
|
||||
List.dropLineColor=@dropLineColor
|
||||
|
||||
|
||||
#---- Menu ----
|
||||
@@ -201,6 +215,8 @@ List.selectionInactiveForeground=@selectionInactiveForeground
|
||||
Menu.border=com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
Menu.arrowIcon=com.formdev.flatlaf.icons.FlatMenuArrowIcon
|
||||
Menu.margin=2,2,2,2
|
||||
Menu.submenuPopupOffsetX={scaledInteger}-4
|
||||
Menu.submenuPopupOffsetY={scaledInteger}-1
|
||||
|
||||
|
||||
#---- MenuBar ----
|
||||
@@ -226,7 +242,7 @@ OptionPane.maxCharactersPerLine=80
|
||||
OptionPane.iconMessageGap=16
|
||||
OptionPane.messagePadding=3
|
||||
OptionPane.buttonPadding=8
|
||||
OptionPane.buttonMinimumWidth={scaledNumber}72
|
||||
OptionPane.buttonMinimumWidth={scaledInteger}72
|
||||
OptionPane.sameSizeButtons=true
|
||||
OptionPane.setButtonMargin=false
|
||||
OptionPane.buttonOrientation=4
|
||||
@@ -241,8 +257,9 @@ OptionPane.warningIcon=com.formdev.flatlaf.icons.FlatOptionPaneWarningIcon
|
||||
#---- PasswordField ----
|
||||
|
||||
PasswordField.border=com.formdev.flatlaf.ui.FlatBorder
|
||||
PasswordField.background=@textComponentBackground
|
||||
PasswordField.margin=@textComponentMargin
|
||||
PasswordField.background=@textComponentBackground
|
||||
PasswordField.placeholderForeground=@disabledText
|
||||
|
||||
|
||||
#---- PopupMenu ----
|
||||
@@ -261,8 +278,9 @@ PopupMenuSeparator.stripeIndent=4
|
||||
#---- ProgressBar ----
|
||||
|
||||
ProgressBar.border=com.formdev.flatlaf.ui.FlatEmptyBorder
|
||||
ProgressBar.horizontalSize=146,6
|
||||
ProgressBar.verticalSize=6,146
|
||||
ProgressBar.arc=4
|
||||
ProgressBar.horizontalSize=146,4
|
||||
ProgressBar.verticalSize=4,146
|
||||
|
||||
|
||||
#---- RadioButton ----
|
||||
@@ -288,15 +306,16 @@ RadioButtonMenuItem.margin=2,2,2,2
|
||||
ScrollBar.width=10
|
||||
ScrollBar.showButtons=false
|
||||
ScrollBar.squareButtons=false
|
||||
ScrollBar.buttonArrowColor=@@ComboBox.buttonArrowColor
|
||||
ScrollBar.buttonDisabledArrowColor=@@ComboBox.buttonDisabledArrowColor
|
||||
ScrollBar.buttonArrowColor=$ComboBox.buttonArrowColor
|
||||
ScrollBar.buttonDisabledArrowColor=$ComboBox.buttonDisabledArrowColor
|
||||
|
||||
|
||||
#---- ScrollPane ----
|
||||
|
||||
ScrollPane.border=com.formdev.flatlaf.ui.FlatBorder
|
||||
ScrollPane.background=@@ScrollBar.track
|
||||
ScrollPane.background=$ScrollBar.track
|
||||
ScrollPane.fillUpperCorner=true
|
||||
ScrollPane.smoothScrolling=true
|
||||
|
||||
|
||||
#---- Separator ----
|
||||
@@ -317,10 +336,10 @@ Slider.thumbWidth=11
|
||||
|
||||
Spinner.border=com.formdev.flatlaf.ui.FlatRoundBorder
|
||||
Spinner.background=@textComponentBackground
|
||||
Spinner.buttonBackground=@@ComboBox.buttonEditableBackground
|
||||
Spinner.buttonArrowColor=@@ComboBox.buttonArrowColor
|
||||
Spinner.buttonDisabledArrowColor=@@ComboBox.buttonDisabledArrowColor
|
||||
Spinner.buttonHoverArrowColor=@@ComboBox.buttonHoverArrowColor
|
||||
Spinner.buttonBackground=$ComboBox.buttonEditableBackground
|
||||
Spinner.buttonArrowColor=$ComboBox.buttonArrowColor
|
||||
Spinner.buttonDisabledArrowColor=$ComboBox.buttonDisabledArrowColor
|
||||
Spinner.buttonHoverArrowColor=$ComboBox.buttonHoverArrowColor
|
||||
Spinner.padding=@textComponentMargin
|
||||
Spinner.editorBorderPainted=false
|
||||
|
||||
@@ -331,11 +350,11 @@ SplitPane.dividerSize={integer}5
|
||||
SplitPane.continuousLayout=true
|
||||
SplitPane.border=null
|
||||
SplitPane.centerOneTouchButtons=true
|
||||
SplitPane.oneTouchButtonSize={scaledNumber}6
|
||||
SplitPane.oneTouchButtonOffset={scaledNumber}2
|
||||
SplitPane.oneTouchButtonSize={scaledInteger}6
|
||||
SplitPane.oneTouchButtonOffset={scaledInteger}2
|
||||
|
||||
SplitPaneDivider.border=null
|
||||
SplitPaneDivider.oneTouchArrowColor=@@ComboBox.buttonArrowColor
|
||||
SplitPaneDivider.oneTouchArrowColor=$ComboBox.buttonArrowColor
|
||||
|
||||
|
||||
#---- TabbedPane ----
|
||||
@@ -349,20 +368,30 @@ TabbedPane.tabAreaInsets=0,0,0,0
|
||||
TabbedPane.selectedTabPadInsets=0,0,0,0
|
||||
TabbedPane.tabRunOverlay=0
|
||||
TabbedPane.tabsOverlapBorder=true
|
||||
TabbedPane.shadow=@@ComboBox.buttonArrowColor
|
||||
TabbedPane.shadow=@background
|
||||
|
||||
|
||||
#---- Table ----
|
||||
|
||||
Table.rowHeight=20
|
||||
Table.showHorizontalLines=false
|
||||
Table.showVerticalLines=false
|
||||
Table.intercellSpacing={dimension}0,0
|
||||
Table.scrollPaneBorder=com.formdev.flatlaf.ui.FlatBorder
|
||||
Table.ascendingSortIcon=com.formdev.flatlaf.icons.FlatAscendingSortIcon
|
||||
Table.descendingSortIcon=com.formdev.flatlaf.icons.FlatDescendingSortIcon
|
||||
Table.sortIconColor=@icon
|
||||
Table.cellNoFocusBorder=2,3,2,3
|
||||
Table.focusSelectedCellHighlightBorder=2,3,2,3,@cellFocusColor
|
||||
Table.cellMargins=2,3,2,3
|
||||
Table.cellFocusColor=@cellFocusColor
|
||||
Table.cellNoFocusBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Default
|
||||
Table.focusCellHighlightBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Focused
|
||||
Table.focusSelectedCellHighlightBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Selected
|
||||
Table.selectionInactiveBackground=@selectionInactiveBackground
|
||||
Table.selectionInactiveForeground=@selectionInactiveForeground
|
||||
Table.dropCellBackground=@dropCellBackground
|
||||
Table.dropCellForeground=@dropCellForeground
|
||||
Table.dropLineColor=@dropLineColor
|
||||
Table.dropLineShortColor=@dropLineShortColor
|
||||
|
||||
|
||||
#---- TableHeader ----
|
||||
@@ -374,43 +403,51 @@ TableHeader.cellBorder=2,3,2,3
|
||||
#---- TextArea ----
|
||||
|
||||
TextArea.border=com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
TextArea.background=@textComponentBackground
|
||||
TextArea.margin=@textComponentMargin
|
||||
TextArea.background=@textComponentBackground
|
||||
|
||||
|
||||
#---- TextField ----
|
||||
|
||||
TextField.border=com.formdev.flatlaf.ui.FlatBorder
|
||||
TextField.background=@textComponentBackground
|
||||
TextField.margin=@textComponentMargin
|
||||
TextField.background=@textComponentBackground
|
||||
TextField.placeholderForeground=@disabledText
|
||||
|
||||
|
||||
#---- TextPane ----
|
||||
|
||||
TextPane.border=com.formdev.flatlaf.ui.FlatMarginBorder
|
||||
TextPane.background=@textComponentBackground
|
||||
TextPane.margin=@textComponentMargin
|
||||
TextPane.background=@textComponentBackground
|
||||
|
||||
|
||||
#---- TitledBorder ----
|
||||
|
||||
TitledBorder.titleColor=@foreground
|
||||
TitledBorder.border=1,1,1,1,@@Separator.foreground
|
||||
TitledBorder.border=1,1,1,1,$Separator.foreground
|
||||
|
||||
|
||||
#---- ToggleButton ----
|
||||
|
||||
ToggleButton.border=com.formdev.flatlaf.ui.FlatButtonBorder
|
||||
ToggleButton.arc=6
|
||||
ToggleButton.margin=2,14,2,14
|
||||
ToggleButton.iconTextGap=4
|
||||
ToggleButton.rollover=true
|
||||
|
||||
ToggleButton.background=@@Button.background
|
||||
ToggleButton.pressedBackground=@@Button.pressedBackground
|
||||
ToggleButton.background=$Button.background
|
||||
ToggleButton.pressedBackground=$Button.pressedBackground
|
||||
|
||||
ToggleButton.toolbar.hoverBackground=@@Button.toolbar.hoverBackground
|
||||
ToggleButton.toolbar.pressedBackground=@@Button.toolbar.pressedBackground
|
||||
ToggleButton.toolbar.hoverBackground=$Button.toolbar.hoverBackground
|
||||
ToggleButton.toolbar.pressedBackground=$Button.toolbar.pressedBackground
|
||||
|
||||
# button type "tab"
|
||||
ToggleButton.tab.underlineHeight=2
|
||||
ToggleButton.tab.underlineColor=$TabbedPane.underlineColor
|
||||
ToggleButton.tab.disabledUnderlineColor=$TabbedPane.disabledUnderlineColor
|
||||
ToggleButton.tab.selectedBackground=$?TabbedPane.selectedBackground
|
||||
ToggleButton.tab.hoverBackground=$TabbedPane.hoverColor
|
||||
ToggleButton.tab.focusBackground=$TabbedPane.focusColor
|
||||
|
||||
|
||||
#---- ToolBar ----
|
||||
@@ -424,14 +461,14 @@ ToolBar.floatingBackground=@background
|
||||
|
||||
ToolBar.separatorSize=null
|
||||
ToolBar.separatorWidth=7
|
||||
ToolBar.separatorColor=@@Separator.foreground
|
||||
ToolBar.separatorColor=$Separator.foreground
|
||||
|
||||
|
||||
#---- ToolTip ----
|
||||
|
||||
ToolTip.border=4,6,4,6,@@Component.borderColor
|
||||
ToolTip.border=4,6,4,6,$Component.borderColor
|
||||
ToolTip.borderInactive=null
|
||||
ToolTip.backgroundInactive=@@ToolTip.background
|
||||
ToolTip.backgroundInactive=$ToolTip.background
|
||||
ToolTip.foregroundInactive=@disabledText
|
||||
|
||||
|
||||
@@ -440,9 +477,14 @@ ToolTip.foregroundInactive=@disabledText
|
||||
Tree.border=1,1,1,1
|
||||
Tree.selectionInactiveBackground=@selectionInactiveBackground
|
||||
Tree.selectionInactiveForeground=@selectionInactiveForeground
|
||||
Tree.textBackground=null
|
||||
Tree.textBackground=$Tree.background
|
||||
Tree.selectionBorderColor=@cellFocusColor
|
||||
Tree.dropCellBackground=@dropCellBackground
|
||||
Tree.dropCellForeground=@dropCellForeground
|
||||
Tree.dropLineColor=@dropLineColor
|
||||
Tree.rendererFillBackground=false
|
||||
Tree.rendererMargins=1,2,1,2
|
||||
Tree.wideSelection=true
|
||||
Tree.paintLines=false
|
||||
Tree.leftChildIndent=7
|
||||
Tree.rightChildIndent=11
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
@background=#f2f2f2
|
||||
@foreground=#000000
|
||||
@selectionBackground=#4A6EB7
|
||||
@selectionBackground=#2675BF
|
||||
@selectionForeground=#ffffff
|
||||
@selectionInactiveBackground=#d4d4d4
|
||||
@selectionInactiveForeground=@foreground
|
||||
@disabledText=#999999
|
||||
@disabledText=#8C8C8C
|
||||
@textComponentBackground=#ffffff
|
||||
@cellFocusColor=#000000
|
||||
@icon=#afafaf
|
||||
@@ -35,6 +35,12 @@
|
||||
@buttonHoverBackground=darken(3%,autoInverse)
|
||||
@buttonPressedBackground=darken(10%,autoInverse)
|
||||
|
||||
# Drop (use lazy colors for IntelliJ platform themes, which usually do not specify these colors)
|
||||
@dropCellBackground=lighten(List.selectionBackground,10%,lazy)
|
||||
@dropCellForeground=lazy(List.selectionForeground)
|
||||
@dropLineColor=lighten(List.selectionBackground,20%,lazy)
|
||||
@dropLineShortColor=darken(List.selectionBackground,20%,lazy)
|
||||
|
||||
|
||||
#---- globals ----
|
||||
|
||||
@@ -44,7 +50,7 @@
|
||||
*.textForeground=@foreground
|
||||
*.caretForeground=@foreground
|
||||
*.inactiveBackground=@background
|
||||
*.inactiveForeground=#777777
|
||||
*.inactiveForeground=@disabledText
|
||||
*.selectionBackground=@selectionBackground
|
||||
*.selectionForeground=@selectionForeground
|
||||
*.disabledBackground=@background
|
||||
@@ -60,8 +66,7 @@ activeCaption=#99b4d1
|
||||
inactiveCaption=#bfcddb
|
||||
controlHighlight=#e3e3e3
|
||||
controlLtHighlight=#fff
|
||||
controlShadow=#a0a0a0
|
||||
controlDkShadow=#696969
|
||||
controlDkShadow=darken($controlShadow,15%)
|
||||
|
||||
|
||||
#---- Button ----
|
||||
@@ -71,20 +76,20 @@ Button.focusedBackground=#e3f1fa
|
||||
Button.hoverBackground=@buttonHoverBackground
|
||||
Button.pressedBackground=@buttonPressedBackground
|
||||
|
||||
Button.borderColor=#bfbfbf
|
||||
Button.disabledBorderColor=#cfcfcf
|
||||
Button.focusedBorderColor=#87afda
|
||||
Button.hoverBorderColor=@@Button.focusedBorderColor
|
||||
Button.borderColor=$Component.borderColor
|
||||
Button.disabledBorderColor=$Component.disabledBorderColor
|
||||
Button.focusedBorderColor=$Component.focusedBorderColor
|
||||
Button.hoverBorderColor=$Button.focusedBorderColor
|
||||
|
||||
Button.default.background=@@Button.background
|
||||
Button.default.background=$Button.background
|
||||
Button.default.foreground=@foreground
|
||||
Button.default.focusedBackground=@@Button.focusedBackground
|
||||
Button.default.focusedBackground=$Button.focusedBackground
|
||||
Button.default.hoverBackground=@buttonHoverBackground
|
||||
Button.default.pressedBackground=@buttonPressedBackground
|
||||
Button.default.borderColor=#4D89C9
|
||||
Button.default.hoverBorderColor=@@Button.hoverBorderColor
|
||||
Button.default.focusedBorderColor=@@Button.focusedBorderColor
|
||||
Button.default.focusColor=@@Component.focusColor
|
||||
Button.default.borderColor=#4F9EE3
|
||||
Button.default.hoverBorderColor=$Button.hoverBorderColor
|
||||
Button.default.focusedBorderColor=$Button.focusedBorderColor
|
||||
Button.default.focusColor=$Component.focusColor
|
||||
Button.default.borderWidth=2
|
||||
|
||||
Button.toolbar.hoverBackground=#dfdfdf
|
||||
@@ -93,18 +98,18 @@ Button.toolbar.pressedBackground=#d8d8d8
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.borderColor=#878787
|
||||
CheckBox.icon.borderColor=#b0b0b0
|
||||
CheckBox.icon.disabledBorderColor=#BDBDBD
|
||||
CheckBox.icon.selectedBorderColor=#878787
|
||||
CheckBox.icon.selectedBorderColor=$CheckBox.icon.borderColor
|
||||
CheckBox.icon.focusedBorderColor=#7B9FC7
|
||||
CheckBox.icon.hoverBorderColor=@@CheckBox.icon.focusedBorderColor
|
||||
CheckBox.icon.hoverBorderColor=$CheckBox.icon.focusedBorderColor
|
||||
CheckBox.icon.background=#FFFFFF
|
||||
CheckBox.icon.disabledBackground=@background
|
||||
CheckBox.icon.focusedBackground=@@Button.focusedBackground
|
||||
CheckBox.icon.focusedBackground=$Button.focusedBackground
|
||||
CheckBox.icon.hoverBackground=@buttonHoverBackground
|
||||
CheckBox.icon.pressedBackground=@buttonPressedBackground
|
||||
CheckBox.icon.selectedBackground=#FFFFFF
|
||||
CheckBox.icon.checkmarkColor=#4D89C9
|
||||
CheckBox.icon.checkmarkColor=#4F9EE3
|
||||
CheckBox.icon.disabledCheckmarkColor=#ABABAB
|
||||
|
||||
|
||||
@@ -124,12 +129,12 @@ Component.borderColor=#c4c4c4
|
||||
Component.disabledBorderColor=#cfcfcf
|
||||
Component.focusedBorderColor=#87afda
|
||||
Component.focusColor=#97c3f3
|
||||
Component.linkColor=#4a78c2
|
||||
Component.linkColor=#2470B3
|
||||
|
||||
|
||||
#---- HelpButton ----
|
||||
|
||||
HelpButton.questionMarkColor=#4D89C9
|
||||
HelpButton.questionMarkColor=#4F9EE3
|
||||
|
||||
|
||||
#---- List ----
|
||||
@@ -150,19 +155,19 @@ MenuBar.borderColor=#cdcdcd
|
||||
|
||||
#---- MenuItemCheckBox ----
|
||||
|
||||
MenuItemCheckBox.icon.checkmarkColor=#4D89C9
|
||||
MenuItemCheckBox.icon.checkmarkColor=#4F9EE3
|
||||
MenuItemCheckBox.icon.disabledCheckmarkColor=#ABABAB
|
||||
|
||||
|
||||
#---- PopupMenu ----
|
||||
|
||||
PopupMenu.borderColor=#cdcdcd
|
||||
PopupMenu.borderColor=#adadad
|
||||
|
||||
|
||||
#---- ProgressBar ----
|
||||
|
||||
ProgressBar.background=#c4c4c4
|
||||
ProgressBar.foreground=#808080
|
||||
ProgressBar.background=#D1D1D1
|
||||
ProgressBar.foreground=#1E82E6
|
||||
ProgressBar.selectionForeground=@textComponentBackground
|
||||
ProgressBar.selectionBackground=@foreground
|
||||
|
||||
@@ -177,7 +182,7 @@ ScrollBar.hoverThumbColor=#c6c6c6
|
||||
|
||||
#---- Separator ----
|
||||
|
||||
Separator.foreground=#cdcdcd
|
||||
Separator.foreground=#d1d1d1
|
||||
|
||||
|
||||
#---- Slider ----
|
||||
@@ -197,7 +202,7 @@ SplitPaneDivider.oneTouchHoverArrowColor=#333333
|
||||
|
||||
#---- TabbedPane ----
|
||||
|
||||
TabbedPane.disabledForeground=#999999
|
||||
TabbedPane.disabledForeground=@disabledText
|
||||
TabbedPane.underlineColor=#4083C9
|
||||
TabbedPane.disabledUnderlineColor=#ababab
|
||||
TabbedPane.hoverColor=#d9d9d9
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
@@ -37,6 +37,8 @@ class BasicComponentsPanel
|
||||
JLabel buttonLabel = new JLabel();
|
||||
JButton button1 = new JButton();
|
||||
JButton button2 = new JButton();
|
||||
JButton button5 = new JButton();
|
||||
JButton button6 = new JButton();
|
||||
JButton button3 = new JButton();
|
||||
JButton button4 = new JButton();
|
||||
JButton button13 = new JButton();
|
||||
@@ -62,21 +64,25 @@ class BasicComponentsPanel
|
||||
JLabel spinnerLabel = new JLabel();
|
||||
JSpinner spinner1 = new JSpinner();
|
||||
JSpinner spinner2 = new JSpinner();
|
||||
JComboBox<String> comboBox6 = new JComboBox<>();
|
||||
JLabel textFieldLabel = new JLabel();
|
||||
JTextField textField1 = new JTextField();
|
||||
JTextField textField2 = new JTextField();
|
||||
JTextField textField3 = new JTextField();
|
||||
JTextField textField4 = new JTextField();
|
||||
JTextField textField6 = new JTextField();
|
||||
JLabel formattedTextFieldLabel = new JLabel();
|
||||
JFormattedTextField formattedTextField1 = new JFormattedTextField();
|
||||
JFormattedTextField formattedTextField2 = new JFormattedTextField();
|
||||
JFormattedTextField formattedTextField3 = new JFormattedTextField();
|
||||
JFormattedTextField formattedTextField4 = new JFormattedTextField();
|
||||
JFormattedTextField formattedTextField5 = new JFormattedTextField();
|
||||
JLabel passwordFieldLabel = new JLabel();
|
||||
JPasswordField passwordField1 = new JPasswordField();
|
||||
JPasswordField passwordField2 = new JPasswordField();
|
||||
JPasswordField passwordField3 = new JPasswordField();
|
||||
JPasswordField passwordField4 = new JPasswordField();
|
||||
JPasswordField passwordField5 = new JPasswordField();
|
||||
JLabel textAreaLabel = new JLabel();
|
||||
JScrollPane scrollPane1 = new JScrollPane();
|
||||
JTextArea textArea1 = new JTextArea();
|
||||
@@ -162,10 +168,21 @@ class BasicComponentsPanel
|
||||
button2.setEnabled(false);
|
||||
add(button2, "cell 2 1");
|
||||
|
||||
//---- button5 ----
|
||||
button5.setText("square");
|
||||
button5.putClientProperty("JButton.buttonType", "square");
|
||||
add(button5, "cell 3 1");
|
||||
|
||||
//---- button6 ----
|
||||
button6.setText("square");
|
||||
button6.setEnabled(false);
|
||||
button6.putClientProperty("JButton.buttonType", "square");
|
||||
add(button6, "cell 4 1");
|
||||
|
||||
//---- button3 ----
|
||||
button3.setText("Help");
|
||||
button3.putClientProperty("JButton.buttonType", "help");
|
||||
add(button3, "cell 3 1");
|
||||
add(button3, "cell 4 1");
|
||||
|
||||
//---- button4 ----
|
||||
button4.setText("Help");
|
||||
@@ -304,6 +321,11 @@ class BasicComponentsPanel
|
||||
spinner2.setEnabled(false);
|
||||
add(spinner2, "cell 2 5,growx");
|
||||
|
||||
//---- comboBox6 ----
|
||||
comboBox6.setEditable(true);
|
||||
comboBox6.putClientProperty("JTextField.placeholderText", "placeholder");
|
||||
add(comboBox6, "cell 5 5,growx");
|
||||
|
||||
//---- textFieldLabel ----
|
||||
textFieldLabel.setText("JTextField:");
|
||||
add(textFieldLabel, "cell 0 6");
|
||||
@@ -328,6 +350,10 @@ class BasicComponentsPanel
|
||||
textField4.setEditable(false);
|
||||
add(textField4, "cell 4 6,growx");
|
||||
|
||||
//---- textField6 ----
|
||||
textField6.putClientProperty("JTextField.placeholderText", "placeholder");
|
||||
add(textField6, "cell 5 6,growx");
|
||||
|
||||
//---- formattedTextFieldLabel ----
|
||||
formattedTextFieldLabel.setText("JFormattedTextField:");
|
||||
add(formattedTextFieldLabel, "cell 0 7");
|
||||
@@ -352,6 +378,10 @@ class BasicComponentsPanel
|
||||
formattedTextField4.setEditable(false);
|
||||
add(formattedTextField4, "cell 4 7,growx");
|
||||
|
||||
//---- formattedTextField5 ----
|
||||
formattedTextField5.putClientProperty("JTextField.placeholderText", "placeholder");
|
||||
add(formattedTextField5, "cell 5 7,growx");
|
||||
|
||||
//---- passwordFieldLabel ----
|
||||
passwordFieldLabel.setText("JPasswordField:");
|
||||
add(passwordFieldLabel, "cell 0 8");
|
||||
@@ -376,6 +406,10 @@ class BasicComponentsPanel
|
||||
passwordField4.setEditable(false);
|
||||
add(passwordField4, "cell 4 8,growx");
|
||||
|
||||
//---- passwordField5 ----
|
||||
passwordField5.putClientProperty("JTextField.placeholderText", "placeholder");
|
||||
add(passwordField5, "cell 5 8,growx");
|
||||
|
||||
//---- textAreaLabel ----
|
||||
textAreaLabel.setText("JTextArea:");
|
||||
add(textAreaLabel, "cell 0 9");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "11.0.2" encoding: "UTF-8"
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "13.0.1" encoding: "UTF-8"
|
||||
|
||||
new FormModel {
|
||||
contentType: "form/swing"
|
||||
@@ -54,12 +54,27 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 2 1"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JButton" ) {
|
||||
name: "button5"
|
||||
"text": "square"
|
||||
"$client.JButton.buttonType": "square"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 3 1"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JButton" ) {
|
||||
name: "button6"
|
||||
"text": "square"
|
||||
"enabled": false
|
||||
"$client.JButton.buttonType": "square"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 4 1"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JButton" ) {
|
||||
name: "button3"
|
||||
"text": "Help"
|
||||
"$client.JButton.buttonType": "help"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 3 1"
|
||||
"value": "cell 4 1"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JButton" ) {
|
||||
name: "button4"
|
||||
@@ -253,6 +268,16 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 2 5,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JComboBox" ) {
|
||||
name: "comboBox6"
|
||||
"editable": true
|
||||
"$client.JTextField.placeholderText": "placeholder"
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.typeParameters": "String"
|
||||
}
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 5,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "textFieldLabel"
|
||||
"text": "JTextField:"
|
||||
@@ -287,6 +312,12 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 4 6,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JTextField" ) {
|
||||
name: "textField6"
|
||||
"$client.JTextField.placeholderText": "placeholder"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 6,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "formattedTextFieldLabel"
|
||||
"text": "JFormattedTextField:"
|
||||
@@ -321,6 +352,12 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 4 7,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JFormattedTextField" ) {
|
||||
name: "formattedTextField5"
|
||||
"$client.JTextField.placeholderText": "placeholder"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 7,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "passwordFieldLabel"
|
||||
"text": "JPasswordField:"
|
||||
@@ -355,6 +392,12 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 4 8,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPasswordField" ) {
|
||||
name: "passwordField5"
|
||||
"$client.JTextField.placeholderText": "placeholder"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 8,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "textAreaLabel"
|
||||
"text": "JTextArea:"
|
||||
|
||||
@@ -77,6 +77,9 @@ class ControlBar
|
||||
EventQueue.invokeLater( () -> {
|
||||
// update info label because user scale factor may change
|
||||
updateInfoLabel();
|
||||
|
||||
// this is necessary because embedded JOptionPane's "steal" the default button
|
||||
frame.getRootPane().setDefaultButton( closeButton );
|
||||
} );
|
||||
}
|
||||
} );
|
||||
|
||||
@@ -16,8 +16,12 @@
|
||||
|
||||
package com.formdev.flatlaf.demo;
|
||||
|
||||
import java.awt.datatransfer.DataFlavor;
|
||||
import java.awt.datatransfer.StringSelection;
|
||||
import java.awt.datatransfer.Transferable;
|
||||
import javax.swing.*;
|
||||
import javax.swing.table.*;
|
||||
import javax.swing.tree.*;
|
||||
import net.miginfocom.swing.*;
|
||||
|
||||
/**
|
||||
@@ -30,22 +34,53 @@ class DataComponentsPanel
|
||||
initComponents();
|
||||
}
|
||||
|
||||
private void dndChanged() {
|
||||
boolean dnd = dndCheckBox.isSelected();
|
||||
list1.setDragEnabled( dnd );
|
||||
list2.setDragEnabled( dnd );
|
||||
tree1.setDragEnabled( dnd );
|
||||
tree2.setDragEnabled( dnd );
|
||||
table1.setDragEnabled( dnd );
|
||||
|
||||
DropMode dropMode = dnd ? DropMode.ON_OR_INSERT : DropMode.USE_SELECTION;
|
||||
list1.setDropMode( dropMode );
|
||||
tree1.setDropMode( dropMode );
|
||||
table1.setDropMode( dropMode );
|
||||
|
||||
String key = "FlatLaf.oldTransferHandler";
|
||||
if( dnd ) {
|
||||
list1.putClientProperty( key, list1.getTransferHandler() );
|
||||
list1.setTransferHandler( new DummyTransferHandler() );
|
||||
|
||||
tree1.putClientProperty( key, tree1.getTransferHandler() );
|
||||
tree1.setTransferHandler( new DummyTransferHandler() );
|
||||
|
||||
table1.putClientProperty( key, table1.getTransferHandler() );
|
||||
table1.setTransferHandler( new DummyTransferHandler() );
|
||||
} else {
|
||||
list1.setTransferHandler( (TransferHandler) list1.getClientProperty( key ) );
|
||||
tree1.setTransferHandler( (TransferHandler) tree1.getClientProperty( key ) );
|
||||
table1.setTransferHandler( (TransferHandler) table1.getClientProperty( key ) );
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings( { "unchecked", "rawtypes" } )
|
||||
private void initComponents() {
|
||||
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
|
||||
JLabel listLabel = new JLabel();
|
||||
JScrollPane scrollPane1 = new JScrollPane();
|
||||
JList<String> list1 = new JList<>();
|
||||
list1 = new JList<>();
|
||||
JScrollPane scrollPane2 = new JScrollPane();
|
||||
JList<String> list2 = new JList<>();
|
||||
list2 = new JList<>();
|
||||
JLabel treeLabel = new JLabel();
|
||||
JScrollPane scrollPane3 = new JScrollPane();
|
||||
JTree tree1 = new JTree();
|
||||
tree1 = new JTree();
|
||||
JScrollPane scrollPane4 = new JScrollPane();
|
||||
JTree tree2 = new JTree();
|
||||
tree2 = new JTree();
|
||||
JLabel tableLabel = new JLabel();
|
||||
JScrollPane scrollPane5 = new JScrollPane();
|
||||
JTable table1 = new JTable();
|
||||
table1 = new JTable();
|
||||
dndCheckBox = new JCheckBox();
|
||||
|
||||
//======== this ========
|
||||
setLayout(new MigLayout(
|
||||
@@ -57,7 +92,8 @@ class DataComponentsPanel
|
||||
// rows
|
||||
"[]" +
|
||||
"[::200]" +
|
||||
"[::150]"));
|
||||
"[::150]" +
|
||||
"[]"));
|
||||
|
||||
//---- listLabel ----
|
||||
listLabel.setText("JList:");
|
||||
@@ -65,15 +101,25 @@ class DataComponentsPanel
|
||||
|
||||
//======== scrollPane1 ========
|
||||
{
|
||||
scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
|
||||
scrollPane1.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
|
||||
//---- list1 ----
|
||||
list1.setModel(new AbstractListModel<String>() {
|
||||
String[] values = {
|
||||
"abc",
|
||||
"de",
|
||||
"f"
|
||||
"item 1",
|
||||
"item 2",
|
||||
"item 3",
|
||||
"item 4",
|
||||
"item 5",
|
||||
"item 6",
|
||||
"item 7",
|
||||
"item 8",
|
||||
"item 9",
|
||||
"item 10",
|
||||
"item 11",
|
||||
"item 12",
|
||||
"item 13",
|
||||
"item 14",
|
||||
"item 15"
|
||||
};
|
||||
@Override
|
||||
public int getSize() { return values.length; }
|
||||
@@ -86,15 +132,25 @@ class DataComponentsPanel
|
||||
|
||||
//======== scrollPane2 ========
|
||||
{
|
||||
scrollPane2.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
|
||||
scrollPane2.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
|
||||
//---- list2 ----
|
||||
list2.setModel(new AbstractListModel<String>() {
|
||||
String[] values = {
|
||||
"abc",
|
||||
"de",
|
||||
"f"
|
||||
"item 1",
|
||||
"item 2",
|
||||
"item 3",
|
||||
"item 4",
|
||||
"item 5",
|
||||
"item 6",
|
||||
"item 7",
|
||||
"item 8",
|
||||
"item 9",
|
||||
"item 10",
|
||||
"item 11",
|
||||
"item 12",
|
||||
"item 13",
|
||||
"item 14",
|
||||
"item 15"
|
||||
};
|
||||
@Override
|
||||
public int getSize() { return values.length; }
|
||||
@@ -115,6 +171,33 @@ class DataComponentsPanel
|
||||
|
||||
//---- tree1 ----
|
||||
tree1.setShowsRootHandles(true);
|
||||
tree1.setEditable(true);
|
||||
tree1.setModel(new DefaultTreeModel(
|
||||
new DefaultMutableTreeNode("JTree") {
|
||||
{
|
||||
DefaultMutableTreeNode node1 = new DefaultMutableTreeNode("colors");
|
||||
node1.add(new DefaultMutableTreeNode("blue"));
|
||||
node1.add(new DefaultMutableTreeNode("violet"));
|
||||
node1.add(new DefaultMutableTreeNode("red"));
|
||||
node1.add(new DefaultMutableTreeNode("yellow"));
|
||||
add(node1);
|
||||
node1 = new DefaultMutableTreeNode("sports");
|
||||
node1.add(new DefaultMutableTreeNode("basketball"));
|
||||
node1.add(new DefaultMutableTreeNode("soccer"));
|
||||
node1.add(new DefaultMutableTreeNode("football"));
|
||||
node1.add(new DefaultMutableTreeNode("hockey"));
|
||||
add(node1);
|
||||
node1 = new DefaultMutableTreeNode("food");
|
||||
node1.add(new DefaultMutableTreeNode("hot dogs"));
|
||||
DefaultMutableTreeNode node2 = new DefaultMutableTreeNode("pizza");
|
||||
node2.add(new DefaultMutableTreeNode("pizza aglio e olio"));
|
||||
node2.add(new DefaultMutableTreeNode("pizza margherita bianca"));
|
||||
node1.add(node2);
|
||||
node1.add(new DefaultMutableTreeNode("ravioli"));
|
||||
node1.add(new DefaultMutableTreeNode("bananas"));
|
||||
add(node1);
|
||||
}
|
||||
}));
|
||||
scrollPane3.setViewportView(tree1);
|
||||
}
|
||||
add(scrollPane3, "cell 1 1,growx");
|
||||
@@ -138,8 +221,18 @@ class DataComponentsPanel
|
||||
//---- table1 ----
|
||||
table1.setModel(new DefaultTableModel(
|
||||
new Object[][] {
|
||||
{"Item 1a", "Item 2a", "January", "July", 123, null},
|
||||
{"Item 1b", "Item 2b", "February", "August", 456, true},
|
||||
{"item 1", "item 1b", "January", "July", 123, null},
|
||||
{"item 2", "item 2b", "February", "August", 456, true},
|
||||
{"item 3", null, "March", null, null, null},
|
||||
{"item 4", null, "April", null, null, null},
|
||||
{"item 5", null, "May", null, null, null},
|
||||
{"item 6", null, "June", null, null, null},
|
||||
{"item 7", null, "July", null, null, null},
|
||||
{"item 8", null, "August", null, null, null},
|
||||
{"item 9", null, "September", null, null, null},
|
||||
{"item 10", null, "October", null, null, null},
|
||||
{"item 11", null, "November", null, null, null},
|
||||
{"item 12", null, "December", null, null, null},
|
||||
},
|
||||
new String[] {
|
||||
"Not editable", "Text", "Combo", "Combo Editable", "Integer", "Boolean"
|
||||
@@ -197,11 +290,60 @@ class DataComponentsPanel
|
||||
scrollPane5.setViewportView(table1);
|
||||
}
|
||||
add(scrollPane5, "cell 1 2 2 1,growx,width 300");
|
||||
|
||||
//---- dndCheckBox ----
|
||||
dndCheckBox.setText("enable drag and drop");
|
||||
dndCheckBox.setMnemonic('D');
|
||||
dndCheckBox.addActionListener(e -> dndChanged());
|
||||
add(dndCheckBox, "cell 0 3 3 1");
|
||||
// JFormDesigner - End of component initialization //GEN-END:initComponents
|
||||
|
||||
((JComboBox)((DefaultCellEditor)table1.getColumnModel().getColumn( 3 ).getCellEditor()).getComponent()).setEditable( true );
|
||||
}
|
||||
|
||||
// JFormDesigner - Variables declaration - DO NOT MODIFY //GEN-BEGIN:variables
|
||||
private JList<String> list1;
|
||||
private JList<String> list2;
|
||||
private JTree tree1;
|
||||
private JTree tree2;
|
||||
private JTable table1;
|
||||
private JCheckBox dndCheckBox;
|
||||
// JFormDesigner - End of variables declaration //GEN-END:variables
|
||||
|
||||
//---- class DummyTransferHandler -----------------------------------------
|
||||
|
||||
private static class DummyTransferHandler
|
||||
extends TransferHandler
|
||||
{
|
||||
@Override
|
||||
protected Transferable createTransferable( JComponent c ) {
|
||||
if( c instanceof JList && ((JList<?>)c).isSelectionEmpty() )
|
||||
return null;
|
||||
if( c instanceof JTree && ((JTree)c).isSelectionEmpty() )
|
||||
return null;
|
||||
if( c instanceof JTable && ((JTable)c).getSelectionModel().isSelectionEmpty() )
|
||||
return null;
|
||||
|
||||
return new StringSelection( "dummy" );
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSourceActions( JComponent c ) {
|
||||
return COPY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canImport( TransferSupport support ) {
|
||||
return support.isDataFlavorSupported( DataFlavor.stringFlavor );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean importData( TransferSupport support ) {
|
||||
String message = String.valueOf( support.getDropLocation() );
|
||||
SwingUtilities.invokeLater( () -> {
|
||||
JOptionPane.showMessageDialog( null, message, "Drop", JOptionPane.PLAIN_MESSAGE );
|
||||
} );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "11.0.2" encoding: "UTF-8"
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "13.0.1" encoding: "UTF-8"
|
||||
|
||||
new FormModel {
|
||||
contentType: "form/swing"
|
||||
@@ -9,7 +9,7 @@ new FormModel {
|
||||
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$layoutConstraints": "hidemode 3"
|
||||
"$columnConstraints": "[][200][200]"
|
||||
"$rowConstraints": "[][::200][::150]"
|
||||
"$rowConstraints": "[][::200][::150][]"
|
||||
} ) {
|
||||
name: "this"
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
@@ -20,17 +20,28 @@ new FormModel {
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
|
||||
name: "scrollPane1"
|
||||
"verticalScrollBarPolicy": 21
|
||||
"horizontalScrollBarPolicy": 31
|
||||
add( new FormComponent( "javax.swing.JList" ) {
|
||||
name: "list1"
|
||||
"model": &DefaultListModel0 new javax.swing.DefaultListModel {
|
||||
addElement( "abc" )
|
||||
addElement( "de" )
|
||||
addElement( "f" )
|
||||
"model": new javax.swing.DefaultListModel {
|
||||
addElement( "item 1" )
|
||||
addElement( "item 2" )
|
||||
addElement( "item 3" )
|
||||
addElement( "item 4" )
|
||||
addElement( "item 5" )
|
||||
addElement( "item 6" )
|
||||
addElement( "item 7" )
|
||||
addElement( "item 8" )
|
||||
addElement( "item 9" )
|
||||
addElement( "item 10" )
|
||||
addElement( "item 11" )
|
||||
addElement( "item 12" )
|
||||
addElement( "item 13" )
|
||||
addElement( "item 14" )
|
||||
addElement( "item 15" )
|
||||
}
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.typeParameters": "String"
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
@@ -38,14 +49,29 @@ new FormModel {
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
|
||||
name: "scrollPane2"
|
||||
"verticalScrollBarPolicy": 21
|
||||
"horizontalScrollBarPolicy": 31
|
||||
add( new FormComponent( "javax.swing.JList" ) {
|
||||
name: "list2"
|
||||
"model": #DefaultListModel0
|
||||
"model": new javax.swing.DefaultListModel {
|
||||
addElement( "item 1" )
|
||||
addElement( "item 2" )
|
||||
addElement( "item 3" )
|
||||
addElement( "item 4" )
|
||||
addElement( "item 5" )
|
||||
addElement( "item 6" )
|
||||
addElement( "item 7" )
|
||||
addElement( "item 8" )
|
||||
addElement( "item 9" )
|
||||
addElement( "item 10" )
|
||||
addElement( "item 11" )
|
||||
addElement( "item 12" )
|
||||
addElement( "item 13" )
|
||||
addElement( "item 14" )
|
||||
addElement( "item 15" )
|
||||
}
|
||||
"enabled": false
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.typeParameters": "String"
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
@@ -62,6 +88,64 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JTree" ) {
|
||||
name: "tree1"
|
||||
"showsRootHandles": true
|
||||
"editable": true
|
||||
"model": new javax.swing.tree.DefaultTreeModel( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "JTree"
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "colors"
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "blue"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "violet"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "red"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "yellow"
|
||||
} )
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "sports"
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "basketball"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "soccer"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "football"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "hockey"
|
||||
} )
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "food"
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "hot dogs"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "pizza"
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "pizza aglio e olio"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "pizza margherita bianca"
|
||||
} )
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "ravioli"
|
||||
} )
|
||||
add( new javax.swing.tree.DefaultMutableTreeNode {
|
||||
userObject: "bananas"
|
||||
} )
|
||||
} )
|
||||
} )
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 1,growx"
|
||||
@@ -71,6 +155,9 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JTree" ) {
|
||||
name: "tree2"
|
||||
"enabled": false
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 2 1,growx"
|
||||
@@ -87,21 +174,101 @@ new FormModel {
|
||||
name: "table1"
|
||||
"model": new com.jformdesigner.model.SwingTableModel( new java.util.Vector {
|
||||
add( new java.util.Vector {
|
||||
add( "Item 1a" )
|
||||
add( "Item 2a" )
|
||||
add( "item 1" )
|
||||
add( "item 1b" )
|
||||
add( "January" )
|
||||
add( "July" )
|
||||
add( 123 )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "Item 1b" )
|
||||
add( "Item 2b" )
|
||||
add( "item 2" )
|
||||
add( "item 2b" )
|
||||
add( "February" )
|
||||
add( "August" )
|
||||
add( 456 )
|
||||
add( true )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 3" )
|
||||
add( null )
|
||||
add( "March" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 4" )
|
||||
add( null )
|
||||
add( "April" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 5" )
|
||||
add( null )
|
||||
add( "May" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 6" )
|
||||
add( null )
|
||||
add( "June" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 7" )
|
||||
add( null )
|
||||
add( "July" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 8" )
|
||||
add( null )
|
||||
add( "August" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 9" )
|
||||
add( null )
|
||||
add( "September" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 10" )
|
||||
add( null )
|
||||
add( "October" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 11" )
|
||||
add( null )
|
||||
add( "November" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
add( new java.util.Vector {
|
||||
add( "item 12" )
|
||||
add( null )
|
||||
add( "December" )
|
||||
add( null )
|
||||
add( null )
|
||||
add( null )
|
||||
} )
|
||||
}, new java.util.Vector {
|
||||
add( "Not editable" )
|
||||
add( "Text" )
|
||||
@@ -132,10 +299,24 @@ new FormModel {
|
||||
add( null )
|
||||
} )
|
||||
"autoCreateRowSorter": true
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 2 2 1,growx,width 300"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JCheckBox" ) {
|
||||
name: "dndCheckBox"
|
||||
"text": "enable drag and drop"
|
||||
"mnemonic": 68
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "dndChanged", false ) )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 3 3 1"
|
||||
} )
|
||||
}, new FormLayoutConstraints( null ) {
|
||||
"location": new java.awt.Point( 0, 0 )
|
||||
"size": new java.awt.Dimension( 790, 715 )
|
||||
|
||||
@@ -51,6 +51,12 @@ class DemoFrame
|
||||
DemoPrefs.getState().putInt( FlatLafDemo.KEY_TAB, tabbedPane.getSelectedIndex() );
|
||||
}
|
||||
|
||||
private void menuItemActionPerformed(ActionEvent e) {
|
||||
SwingUtilities.invokeLater( () -> {
|
||||
JOptionPane.showMessageDialog( this, e.getActionCommand(), "Menu Item", JOptionPane.PLAIN_MESSAGE );
|
||||
} );
|
||||
}
|
||||
|
||||
private void initComponents() {
|
||||
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
|
||||
JMenuBar menuBar1 = new JMenuBar();
|
||||
@@ -68,6 +74,14 @@ class DemoFrame
|
||||
JMenuItem deleteMenuItem = new JMenuItem();
|
||||
JMenu viewMenu = new JMenu();
|
||||
JCheckBoxMenuItem checkBoxMenuItem1 = new JCheckBoxMenuItem();
|
||||
JMenu menu1 = new JMenu();
|
||||
JMenu subViewsMenu = new JMenu();
|
||||
JMenu subSubViewsMenu = new JMenu();
|
||||
JMenuItem errorLogViewMenuItem = new JMenuItem();
|
||||
JMenuItem searchViewMenuItem = new JMenuItem();
|
||||
JMenuItem projectViewMenuItem = new JMenuItem();
|
||||
JMenuItem structureViewMenuItem = new JMenuItem();
|
||||
JMenuItem propertiesViewMenuItem = new JMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem1 = new JRadioButtonMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem2 = new JRadioButtonMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem3 = new JRadioButtonMenuItem();
|
||||
@@ -103,27 +117,35 @@ class DemoFrame
|
||||
//======== fileMenu ========
|
||||
{
|
||||
fileMenu.setText("File");
|
||||
fileMenu.setMnemonic('F');
|
||||
|
||||
//---- newMenuItem ----
|
||||
newMenuItem.setText("New");
|
||||
newMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
newMenuItem.setMnemonic('N');
|
||||
newMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
fileMenu.add(newMenuItem);
|
||||
|
||||
//---- openMenuItem ----
|
||||
openMenuItem.setText("Open");
|
||||
openMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
openMenuItem.setMnemonic('O');
|
||||
openMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
fileMenu.add(openMenuItem);
|
||||
fileMenu.addSeparator();
|
||||
|
||||
//---- closeMenuItem ----
|
||||
closeMenuItem.setText("Close");
|
||||
closeMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_W, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
closeMenuItem.setMnemonic('C');
|
||||
closeMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
fileMenu.add(closeMenuItem);
|
||||
fileMenu.addSeparator();
|
||||
|
||||
//---- exitMenuItem ----
|
||||
exitMenuItem.setText("Exit");
|
||||
exitMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
exitMenuItem.setMnemonic('X');
|
||||
exitMenuItem.addActionListener(e -> exitActionPerformed());
|
||||
fileMenu.add(exitMenuItem);
|
||||
}
|
||||
@@ -132,37 +154,50 @@ class DemoFrame
|
||||
//======== editMenu ========
|
||||
{
|
||||
editMenu.setText("Edit");
|
||||
editMenu.setMnemonic('E');
|
||||
|
||||
//---- undoMenuItem ----
|
||||
undoMenuItem.setText("Undo");
|
||||
undoMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
undoMenuItem.setMnemonic('U');
|
||||
undoMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(undoMenuItem);
|
||||
|
||||
//---- redoMenuItem ----
|
||||
redoMenuItem.setText("Redo");
|
||||
redoMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Y, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
redoMenuItem.setMnemonic('R');
|
||||
redoMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(redoMenuItem);
|
||||
editMenu.addSeparator();
|
||||
|
||||
//---- cutMenuItem ----
|
||||
cutMenuItem.setText("Cut");
|
||||
cutMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
cutMenuItem.setMnemonic('C');
|
||||
cutMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(cutMenuItem);
|
||||
|
||||
//---- copyMenuItem ----
|
||||
copyMenuItem.setText("Copy");
|
||||
copyMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
copyMenuItem.setMnemonic('O');
|
||||
copyMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(copyMenuItem);
|
||||
|
||||
//---- pasteMenuItem ----
|
||||
pasteMenuItem.setText("Paste");
|
||||
pasteMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
|
||||
pasteMenuItem.setMnemonic('P');
|
||||
pasteMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(pasteMenuItem);
|
||||
editMenu.addSeparator();
|
||||
|
||||
//---- deleteMenuItem ----
|
||||
deleteMenuItem.setText("Delete");
|
||||
deleteMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0));
|
||||
deleteMenuItem.setMnemonic('D');
|
||||
deleteMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
editMenu.add(deleteMenuItem);
|
||||
}
|
||||
menuBar1.add(editMenu);
|
||||
@@ -170,24 +205,84 @@ class DemoFrame
|
||||
//======== viewMenu ========
|
||||
{
|
||||
viewMenu.setText("View");
|
||||
viewMenu.setMnemonic('V');
|
||||
|
||||
//---- checkBoxMenuItem1 ----
|
||||
checkBoxMenuItem1.setText("Show Toolbar");
|
||||
checkBoxMenuItem1.setSelected(true);
|
||||
checkBoxMenuItem1.setMnemonic('T');
|
||||
checkBoxMenuItem1.addActionListener(e -> menuItemActionPerformed(e));
|
||||
viewMenu.add(checkBoxMenuItem1);
|
||||
|
||||
//======== menu1 ========
|
||||
{
|
||||
menu1.setText("Show View");
|
||||
menu1.setMnemonic('V');
|
||||
|
||||
//======== subViewsMenu ========
|
||||
{
|
||||
subViewsMenu.setText("Sub Views");
|
||||
subViewsMenu.setMnemonic('S');
|
||||
|
||||
//======== subSubViewsMenu ========
|
||||
{
|
||||
subSubViewsMenu.setText("Sub sub Views");
|
||||
subSubViewsMenu.setMnemonic('U');
|
||||
|
||||
//---- errorLogViewMenuItem ----
|
||||
errorLogViewMenuItem.setText("Error Log");
|
||||
errorLogViewMenuItem.setMnemonic('E');
|
||||
errorLogViewMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
subSubViewsMenu.add(errorLogViewMenuItem);
|
||||
}
|
||||
subViewsMenu.add(subSubViewsMenu);
|
||||
|
||||
//---- searchViewMenuItem ----
|
||||
searchViewMenuItem.setText("Search");
|
||||
searchViewMenuItem.setMnemonic('S');
|
||||
searchViewMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
subViewsMenu.add(searchViewMenuItem);
|
||||
}
|
||||
menu1.add(subViewsMenu);
|
||||
|
||||
//---- projectViewMenuItem ----
|
||||
projectViewMenuItem.setText("Project");
|
||||
projectViewMenuItem.setMnemonic('P');
|
||||
projectViewMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
menu1.add(projectViewMenuItem);
|
||||
|
||||
//---- structureViewMenuItem ----
|
||||
structureViewMenuItem.setText("Structure");
|
||||
structureViewMenuItem.setMnemonic('T');
|
||||
structureViewMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
menu1.add(structureViewMenuItem);
|
||||
|
||||
//---- propertiesViewMenuItem ----
|
||||
propertiesViewMenuItem.setText("Properties");
|
||||
propertiesViewMenuItem.setMnemonic('O');
|
||||
propertiesViewMenuItem.addActionListener(e -> menuItemActionPerformed(e));
|
||||
menu1.add(propertiesViewMenuItem);
|
||||
}
|
||||
viewMenu.add(menu1);
|
||||
viewMenu.addSeparator();
|
||||
|
||||
//---- radioButtonMenuItem1 ----
|
||||
radioButtonMenuItem1.setText("Details");
|
||||
radioButtonMenuItem1.setSelected(true);
|
||||
radioButtonMenuItem1.setMnemonic('D');
|
||||
radioButtonMenuItem1.addActionListener(e -> menuItemActionPerformed(e));
|
||||
viewMenu.add(radioButtonMenuItem1);
|
||||
|
||||
//---- radioButtonMenuItem2 ----
|
||||
radioButtonMenuItem2.setText("Small Icons");
|
||||
radioButtonMenuItem2.setMnemonic('S');
|
||||
radioButtonMenuItem2.addActionListener(e -> menuItemActionPerformed(e));
|
||||
viewMenu.add(radioButtonMenuItem2);
|
||||
|
||||
//---- radioButtonMenuItem3 ----
|
||||
radioButtonMenuItem3.setText("Large Icons");
|
||||
radioButtonMenuItem3.setMnemonic('L');
|
||||
radioButtonMenuItem3.addActionListener(e -> menuItemActionPerformed(e));
|
||||
viewMenu.add(radioButtonMenuItem3);
|
||||
}
|
||||
menuBar1.add(viewMenu);
|
||||
@@ -195,9 +290,11 @@ class DemoFrame
|
||||
//======== helpMenu ========
|
||||
{
|
||||
helpMenu.setText("Help");
|
||||
helpMenu.setMnemonic('H');
|
||||
|
||||
//---- aboutMenuItem ----
|
||||
aboutMenuItem.setText("About");
|
||||
aboutMenuItem.setMnemonic('A');
|
||||
aboutMenuItem.addActionListener(e -> aboutActionPerformed());
|
||||
helpMenu.add(aboutMenuItem);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "11.0.2" encoding: "UTF-8"
|
||||
JFDML JFormDesigner: "7.0.0.0.194" Java: "13.0.1" encoding: "UTF-8"
|
||||
|
||||
new FormModel {
|
||||
contentType: "form/swing"
|
||||
@@ -117,15 +117,20 @@ new FormModel {
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "fileMenu"
|
||||
"text": "File"
|
||||
"mnemonic": 70
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "newMenuItem"
|
||||
"text": "New"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 78, 4226, false )
|
||||
"mnemonic": 78
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "openMenuItem"
|
||||
"text": "Open"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 79, 4226, false )
|
||||
"mnemonic": 79
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPopupMenu$Separator" ) {
|
||||
name: "separator2"
|
||||
@@ -134,6 +139,8 @@ new FormModel {
|
||||
name: "closeMenuItem"
|
||||
"text": "Close"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 87, 4226, false )
|
||||
"mnemonic": 67
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPopupMenu$Separator" ) {
|
||||
name: "separator1"
|
||||
@@ -142,21 +149,27 @@ new FormModel {
|
||||
name: "exitMenuItem"
|
||||
"text": "Exit"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 81, 4226, false )
|
||||
"mnemonic": 88
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "exitActionPerformed", false ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "editMenu"
|
||||
"text": "Edit"
|
||||
"mnemonic": 69
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "undoMenuItem"
|
||||
"text": "Undo"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 90, 4226, false )
|
||||
"mnemonic": 85
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "redoMenuItem"
|
||||
"text": "Redo"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 89, 4226, false )
|
||||
"mnemonic": 82
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPopupMenu$Separator" ) {
|
||||
name: "separator4"
|
||||
@@ -165,16 +178,22 @@ new FormModel {
|
||||
name: "cutMenuItem"
|
||||
"text": "Cut"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 88, 4226, false )
|
||||
"mnemonic": 67
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "copyMenuItem"
|
||||
"text": "Copy"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 67, 4226, false )
|
||||
"mnemonic": 79
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "pasteMenuItem"
|
||||
"text": "Paste"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 86, 4226, false )
|
||||
"mnemonic": 80
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPopupMenu$Separator" ) {
|
||||
name: "separator3"
|
||||
@@ -183,15 +202,65 @@ new FormModel {
|
||||
name: "deleteMenuItem"
|
||||
"text": "Delete"
|
||||
"accelerator": static javax.swing.KeyStroke getKeyStroke( 127, 0, false )
|
||||
"mnemonic": 68
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "viewMenu"
|
||||
"text": "View"
|
||||
"mnemonic": 86
|
||||
add( new FormComponent( "javax.swing.JCheckBoxMenuItem" ) {
|
||||
name: "checkBoxMenuItem1"
|
||||
"text": "Show Toolbar"
|
||||
"selected": true
|
||||
"mnemonic": 84
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "menu1"
|
||||
"text": "Show View"
|
||||
"mnemonic": 86
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "subViewsMenu"
|
||||
"text": "Sub Views"
|
||||
"mnemonic": 83
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "subSubViewsMenu"
|
||||
"text": "Sub sub Views"
|
||||
"mnemonic": 85
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "errorLogViewMenuItem"
|
||||
"text": "Error Log"
|
||||
"mnemonic": 69
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "searchViewMenuItem"
|
||||
"text": "Search"
|
||||
"mnemonic": 83
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "projectViewMenuItem"
|
||||
"text": "Project"
|
||||
"mnemonic": 80
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "structureViewMenuItem"
|
||||
"text": "Structure"
|
||||
"mnemonic": 84
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "propertiesViewMenuItem"
|
||||
"text": "Properties"
|
||||
"mnemonic": 79
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JPopupMenu$Separator" ) {
|
||||
name: "separator8"
|
||||
@@ -201,24 +270,32 @@ new FormModel {
|
||||
"text": "Details"
|
||||
"selected": true
|
||||
"$buttonGroup": new FormReference( "buttonGroup1" )
|
||||
"mnemonic": 68
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JRadioButtonMenuItem" ) {
|
||||
name: "radioButtonMenuItem2"
|
||||
"text": "Small Icons"
|
||||
"$buttonGroup": new FormReference( "buttonGroup1" )
|
||||
"mnemonic": 83
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JRadioButtonMenuItem" ) {
|
||||
name: "radioButtonMenuItem3"
|
||||
"text": "Large Icons"
|
||||
"$buttonGroup": new FormReference( "buttonGroup1" )
|
||||
"mnemonic": 76
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemActionPerformed", true ) )
|
||||
} )
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
|
||||
name: "helpMenu"
|
||||
"text": "Help"
|
||||
"mnemonic": 72
|
||||
add( new FormComponent( "javax.swing.JMenuItem" ) {
|
||||
name: "aboutMenuItem"
|
||||
"text": "About"
|
||||
"mnemonic": 65
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "aboutActionPerformed", false ) )
|
||||
} )
|
||||
} )
|
||||
|
||||
@@ -31,6 +31,14 @@ class MoreComponentsPanel
|
||||
initComponents();
|
||||
}
|
||||
|
||||
private void changeProgress() {
|
||||
int value = slider3.getValue();
|
||||
progressBar1.setValue( value );
|
||||
progressBar2.setValue( value );
|
||||
progressBar3.setValue( value );
|
||||
progressBar4.setValue( value );
|
||||
}
|
||||
|
||||
private void indeterminateCheckBoxActionPerformed() {
|
||||
boolean indeterminate = indeterminateCheckBox.isSelected();
|
||||
progressBar1.setIndeterminate( indeterminate );
|
||||
@@ -61,7 +69,14 @@ class MoreComponentsPanel
|
||||
JToggleButton toggleButton7 = new JToggleButton();
|
||||
JLabel scrollBarLabel = new JLabel();
|
||||
JScrollBar scrollBar1 = new JScrollBar();
|
||||
JLabel label4 = new JLabel();
|
||||
JScrollBar scrollBar4 = new JScrollBar();
|
||||
JPanel panel3 = new JPanel();
|
||||
JLabel label3 = new JLabel();
|
||||
JScrollPane scrollPane15 = new JScrollPane();
|
||||
JEditorPane editorPane6 = new JEditorPane();
|
||||
JScrollPane scrollPane16 = new JScrollPane();
|
||||
JTextPane textPane6 = new JTextPane();
|
||||
JScrollBar scrollBar5 = new JScrollBar();
|
||||
JScrollBar scrollBar6 = new JScrollBar();
|
||||
JLabel separatorLabel = new JLabel();
|
||||
@@ -70,7 +85,7 @@ class MoreComponentsPanel
|
||||
JLabel sliderLabel = new JLabel();
|
||||
JSlider slider1 = new JSlider();
|
||||
JSlider slider6 = new JSlider();
|
||||
JSlider slider3 = new JSlider();
|
||||
slider3 = new JSlider();
|
||||
JSlider slider5 = new JSlider();
|
||||
JLabel progressBarLabel = new JLabel();
|
||||
progressBar1 = new JProgressBar();
|
||||
@@ -163,12 +178,12 @@ class MoreComponentsPanel
|
||||
|
||||
//---- progressBar3 ----
|
||||
progressBar3.setOrientation(SwingConstants.VERTICAL);
|
||||
progressBar3.setValue(50);
|
||||
progressBar3.setValue(60);
|
||||
add(progressBar3, "cell 4 0 1 6,growy");
|
||||
|
||||
//---- progressBar4 ----
|
||||
progressBar4.setOrientation(SwingConstants.VERTICAL);
|
||||
progressBar4.setValue(55);
|
||||
progressBar4.setValue(60);
|
||||
progressBar4.setStringPainted(true);
|
||||
add(progressBar4, "cell 4 0 1 6,growy");
|
||||
|
||||
@@ -203,11 +218,53 @@ class MoreComponentsPanel
|
||||
scrollBar1.setOrientation(Adjustable.HORIZONTAL);
|
||||
add(scrollBar1, "cell 1 1,growx");
|
||||
|
||||
//---- label4 ----
|
||||
label4.setText("HTML:");
|
||||
add(label4, "cell 5 1");
|
||||
|
||||
//---- scrollBar4 ----
|
||||
scrollBar4.setOrientation(Adjustable.HORIZONTAL);
|
||||
scrollBar4.setEnabled(false);
|
||||
add(scrollBar4, "cell 1 2,growx");
|
||||
|
||||
//======== panel3 ========
|
||||
{
|
||||
panel3.setOpaque(false);
|
||||
panel3.setLayout(new MigLayout(
|
||||
"ltr,insets 0,hidemode 3",
|
||||
// columns
|
||||
"[]",
|
||||
// rows
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]"));
|
||||
|
||||
//---- label3 ----
|
||||
label3.setText("<html>JLabel HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a></html>");
|
||||
panel3.add(label3, "cell 0 0");
|
||||
|
||||
//======== scrollPane15 ========
|
||||
{
|
||||
|
||||
//---- editorPane6 ----
|
||||
editorPane6.setContentType("text/html");
|
||||
editorPane6.setText("JEditorPane HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a>");
|
||||
scrollPane15.setViewportView(editorPane6);
|
||||
}
|
||||
panel3.add(scrollPane15, "cell 0 1,grow");
|
||||
|
||||
//======== scrollPane16 ========
|
||||
{
|
||||
|
||||
//---- textPane6 ----
|
||||
textPane6.setContentType("text/html");
|
||||
textPane6.setText("JTextPane HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a>");
|
||||
scrollPane16.setViewportView(textPane6);
|
||||
}
|
||||
panel3.add(scrollPane16, "cell 0 2,grow");
|
||||
}
|
||||
add(panel3, "cell 5 2 1 9,aligny top,growy 0");
|
||||
|
||||
//---- scrollBar5 ----
|
||||
scrollBar5.setOrientation(Adjustable.HORIZONTAL);
|
||||
scrollBar5.putClientProperty("JScrollBar.showButtons", true);
|
||||
@@ -250,6 +307,7 @@ class MoreComponentsPanel
|
||||
slider3.setMajorTickSpacing(50);
|
||||
slider3.setPaintLabels(true);
|
||||
slider3.setValue(30);
|
||||
slider3.addChangeListener(e -> changeProgress());
|
||||
add(slider3, "cell 1 7 3 1,aligny top,grow 100 0");
|
||||
|
||||
//---- slider5 ----
|
||||
@@ -266,12 +324,12 @@ class MoreComponentsPanel
|
||||
add(progressBarLabel, "cell 0 8");
|
||||
|
||||
//---- progressBar1 ----
|
||||
progressBar1.setValue(50);
|
||||
progressBar1.setValue(60);
|
||||
add(progressBar1, "cell 1 8 3 1,growx");
|
||||
|
||||
//---- progressBar2 ----
|
||||
progressBar2.setStringPainted(true);
|
||||
progressBar2.setValue(55);
|
||||
progressBar2.setValue(60);
|
||||
add(progressBar2, "cell 1 8 3 1,growx");
|
||||
|
||||
//---- indeterminateCheckBox ----
|
||||
@@ -330,6 +388,7 @@ class MoreComponentsPanel
|
||||
// JFormDesigner - Variables declaration - DO NOT MODIFY //GEN-BEGIN:variables
|
||||
private JProgressBar progressBar3;
|
||||
private JProgressBar progressBar4;
|
||||
private JSlider slider3;
|
||||
private JProgressBar progressBar1;
|
||||
private JProgressBar progressBar2;
|
||||
private JCheckBox indeterminateCheckBox;
|
||||
|
||||
@@ -85,7 +85,7 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JProgressBar" ) {
|
||||
name: "progressBar3"
|
||||
"orientation": 1
|
||||
"value": 50
|
||||
"value": 60
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
@@ -95,7 +95,7 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JProgressBar" ) {
|
||||
name: "progressBar4"
|
||||
"orientation": 1
|
||||
"value": 55
|
||||
"value": 60
|
||||
"stringPainted": true
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
@@ -140,6 +140,12 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 1,growx"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "label4"
|
||||
"text": "HTML:"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 1"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JScrollBar" ) {
|
||||
name: "scrollBar4"
|
||||
"orientation": 0
|
||||
@@ -147,6 +153,42 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 2,growx"
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$columnConstraints": "[]"
|
||||
"$rowConstraints": "[][][]"
|
||||
"$layoutConstraints": "ltr,insets 0,hidemode 3"
|
||||
} ) {
|
||||
name: "panel3"
|
||||
"opaque": false
|
||||
add( new FormComponent( "javax.swing.JLabel" ) {
|
||||
name: "label3"
|
||||
"text": "<html>JLabel HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a></html>"
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 0"
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
|
||||
name: "scrollPane15"
|
||||
add( new FormComponent( "javax.swing.JEditorPane" ) {
|
||||
name: "editorPane6"
|
||||
"contentType": "text/html"
|
||||
"text": "JEditorPane HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a>"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 1,grow"
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
|
||||
name: "scrollPane16"
|
||||
add( new FormComponent( "javax.swing.JTextPane" ) {
|
||||
name: "textPane6"
|
||||
"contentType": "text/html"
|
||||
"text": "JTextPane HTML<br>Sample <b>content</b><br> <u>text</u> with <a href=\"#\">link</a>"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 2,grow"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 5 2 1 9,aligny top,growy 0"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JScrollBar" ) {
|
||||
name: "scrollBar5"
|
||||
"orientation": 0
|
||||
@@ -205,6 +247,10 @@ new FormModel {
|
||||
"majorTickSpacing": 50
|
||||
"paintLabels": true
|
||||
"value": 30
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
addEvent( new FormEvent( "javax.swing.event.ChangeListener", "stateChanged", "changeProgress", false ) )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 7 3 1,aligny top,grow 100 0"
|
||||
} )
|
||||
@@ -227,7 +273,7 @@ new FormModel {
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JProgressBar" ) {
|
||||
name: "progressBar1"
|
||||
"value": 50
|
||||
"value": 60
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
@@ -237,7 +283,7 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JProgressBar" ) {
|
||||
name: "progressBar2"
|
||||
"stringPainted": true
|
||||
"value": 55
|
||||
"value": 60
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
package com.formdev.flatlaf.demo;
|
||||
|
||||
import static com.formdev.flatlaf.FlatClientProperties.TABBED_PANE_HAS_FULL_BORDER;
|
||||
import static com.formdev.flatlaf.FlatClientProperties.TABBED_PANE_SHOW_TAB_SEPARATORS;
|
||||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.*;
|
||||
@@ -29,6 +30,14 @@ class TabsPanel
|
||||
tabbedPane4.setTabLayoutPolicy( tabLayoutPolicy );
|
||||
}
|
||||
|
||||
private void showTabSeparatorsChanged() {
|
||||
Boolean showTabSeparators = showTabSeparatorsCheckBox.isSelected() ? true : null;
|
||||
tabbedPane1.putClientProperty( TABBED_PANE_SHOW_TAB_SEPARATORS, showTabSeparators );
|
||||
tabbedPane2.putClientProperty( TABBED_PANE_SHOW_TAB_SEPARATORS, showTabSeparators );
|
||||
tabbedPane3.putClientProperty( TABBED_PANE_SHOW_TAB_SEPARATORS, showTabSeparators );
|
||||
tabbedPane4.putClientProperty( TABBED_PANE_SHOW_TAB_SEPARATORS, showTabSeparators );
|
||||
}
|
||||
|
||||
private void hasFullBorderChanged() {
|
||||
Boolean hasFullBorder = hasFullBorderCheckBox.isSelected() ? true : null;
|
||||
tabbedPane1.putClientProperty( TABBED_PANE_HAS_FULL_BORDER, hasFullBorder );
|
||||
@@ -96,6 +105,7 @@ class TabsPanel
|
||||
JPanel panel14 = new JPanel();
|
||||
moreTabsCheckBox = new JCheckBox();
|
||||
tabScrollCheckBox = new JCheckBox();
|
||||
showTabSeparatorsCheckBox = new JCheckBox();
|
||||
hasFullBorderCheckBox = new JCheckBox();
|
||||
CellConstraints cc = new CellConstraints();
|
||||
|
||||
@@ -285,6 +295,7 @@ class TabsPanel
|
||||
// columns
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]",
|
||||
// rows
|
||||
"[center]"));
|
||||
@@ -301,11 +312,16 @@ class TabsPanel
|
||||
tabScrollCheckBox.addActionListener(e -> tabScrollChanged());
|
||||
panel14.add(tabScrollCheckBox, "cell 1 0,alignx left,growx 0");
|
||||
|
||||
//---- showTabSeparatorsCheckBox ----
|
||||
showTabSeparatorsCheckBox.setText("JTabbedPane.showTabSeparators");
|
||||
showTabSeparatorsCheckBox.addActionListener(e -> showTabSeparatorsChanged());
|
||||
panel14.add(showTabSeparatorsCheckBox, "cell 2 0");
|
||||
|
||||
//---- hasFullBorderCheckBox ----
|
||||
hasFullBorderCheckBox.setText("JTabbedPane.hasFullBorder");
|
||||
hasFullBorderCheckBox.setMnemonic('F');
|
||||
hasFullBorderCheckBox.addActionListener(e -> hasFullBorderChanged());
|
||||
panel14.add(hasFullBorderCheckBox, "cell 2 0,alignx left,growx 0");
|
||||
panel14.add(hasFullBorderCheckBox, "cell 3 0,alignx left,growx 0");
|
||||
}
|
||||
panel9.add(panel14, cc.xywh(1, 11, 3, 1));
|
||||
}
|
||||
@@ -320,6 +336,7 @@ class TabsPanel
|
||||
private JTabbedPane tabbedPane4;
|
||||
private JCheckBox moreTabsCheckBox;
|
||||
private JCheckBox tabScrollCheckBox;
|
||||
private JCheckBox showTabSeparatorsCheckBox;
|
||||
private JCheckBox hasFullBorderCheckBox;
|
||||
// JFormDesigner - End of variables declaration //GEN-END:variables
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ new FormModel {
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$layoutConstraints": "insets 0,hidemode 3"
|
||||
"$columnConstraints": "[][][]"
|
||||
"$columnConstraints": "[][][][]"
|
||||
"$rowConstraints": "[center]"
|
||||
} ) {
|
||||
name: "panel14"
|
||||
@@ -225,6 +225,16 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 1 0,alignx left,growx 0"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JCheckBox" ) {
|
||||
name: "showTabSeparatorsCheckBox"
|
||||
"text": "JTabbedPane.showTabSeparators"
|
||||
auxiliary() {
|
||||
"JavaCodeGenerator.variableLocal": false
|
||||
}
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "showTabSeparatorsChanged", false ) )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 2 0"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JCheckBox" ) {
|
||||
name: "hasFullBorderCheckBox"
|
||||
"text": "JTabbedPane.hasFullBorder"
|
||||
@@ -234,7 +244,7 @@ new FormModel {
|
||||
}
|
||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "hasFullBorderChanged", false ) )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 2 0,alignx left,growx 0"
|
||||
"value": "cell 3 0,alignx left,growx 0"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class com.jgoodies.forms.layout.CellConstraints ) {
|
||||
"gridY": 11
|
||||
@@ -245,7 +255,7 @@ new FormModel {
|
||||
} )
|
||||
}, new FormLayoutConstraints( null ) {
|
||||
"location": new java.awt.Point( 0, 0 )
|
||||
"size": new java.awt.Dimension( 500, 515 )
|
||||
"size": new java.awt.Dimension( 610, 515 )
|
||||
} )
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,9 +92,6 @@
|
||||
"Rose": "#ff79c6",
|
||||
"Violet": "#bd93f9"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"shortcutForeground": "#ff79c6"
|
||||
},
|
||||
"Label": {
|
||||
"foreground": "#f8f8f2",
|
||||
"errorForeground": "#ff5554"
|
||||
@@ -163,22 +160,6 @@
|
||||
"inactiveBackground": "#44475a"
|
||||
}
|
||||
},
|
||||
"ScrollBar": {
|
||||
"thumbColor": "#bd93f9",
|
||||
"hoverThumbColor": "#bd93f9",
|
||||
"Transparent": {
|
||||
"thumbColor": "#bd93f9",
|
||||
"hoverThumbColor": "#bd93f9"
|
||||
},
|
||||
"Mac": {
|
||||
"thumbColor": "#bd93f9",
|
||||
"hoverThumbColor": "#bd93f9",
|
||||
"Transparent": {
|
||||
"thumbColor": "#bd93f9",
|
||||
"hoverThumbColor": "#bd93f9"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"SearchField": {
|
||||
"background": "#44475a"
|
||||
|
||||
@@ -1,17 +1,29 @@
|
||||
{
|
||||
"author": "Vlad Volkov",
|
||||
"colors": {
|
||||
"border": "#434343",
|
||||
"focused": "#5a5a5a",
|
||||
"separator": "#434343",
|
||||
"background": "#191919",
|
||||
"paneBackground": "#252525",
|
||||
"lightBackground": "#323232",
|
||||
"headerBackground": "#3c3c3c",
|
||||
"darkerForeground": "#7d7d7d",
|
||||
"foreground": "#c8c8c8",
|
||||
"shadow": "#252525",
|
||||
"accent": "#FFC83C"
|
||||
"accent": "#FFC83C",
|
||||
"greyDot15": "#d8d8d8",
|
||||
"greyDot25": "#bfbfbf",
|
||||
"greyDot33": "#aaaaaa",
|
||||
"greyDot50": "#7d7d7d",
|
||||
"greyDot65": "#5a5a5a",
|
||||
"greyDot70": "#4d4d4d",
|
||||
"greyDot75": "#434343",
|
||||
"greyDot80": "#323232",
|
||||
"greyDot85": "#252525",
|
||||
"greyDot90": "#191919",
|
||||
"navyDot85": "#191d21",
|
||||
"navyDot90": "#1f2021",
|
||||
"lightBlue": "#90dae6",
|
||||
"green": "#5B8021",
|
||||
"red": "#800040",
|
||||
"desaturatedBlue": "#1e282d",
|
||||
"desaturatedOrange": "#8049117f",
|
||||
"transparentGreen": "#5B80217f",
|
||||
"transparentRed": "#8000407f",
|
||||
"transparentYellow": "#8066357f",
|
||||
"transparentViolet": "#9478F67f",
|
||||
"yellow": "#806635"
|
||||
},
|
||||
"dark": true,
|
||||
"editorScheme": "/Hiberbee.xml",
|
||||
@@ -31,7 +43,7 @@
|
||||
"Objects.Yellow": "#f7cd46",
|
||||
"Objects.Green": "#78b756",
|
||||
"Objects.Purple": "#9478f6",
|
||||
"Objects.BlackText": "#4b4b4b",
|
||||
"Objects.BlackText": "#4d4d4d",
|
||||
"Objects.Blue": "#49b0f1",
|
||||
"Objects.YellowDark": "#fd971f",
|
||||
"Objects.GreenAndroid": "#78c856"
|
||||
@@ -39,76 +51,78 @@
|
||||
},
|
||||
"name": "Hiberbee",
|
||||
"ui": {
|
||||
"ActionButton.hoverBackground": "separator",
|
||||
"ActionButton.hoverBorderColor": "focused",
|
||||
"ActionButton.pressedBackground": "focused",
|
||||
"Borders.ContrastBorderColor": "separator",
|
||||
"Borders.color": "border",
|
||||
"ActionButton.hoverBackground": "greyDot65",
|
||||
"ActionButton.hoverBorderColor": "greyDot50",
|
||||
"ActionButton.pressedBackground": "greyDot65",
|
||||
"Borders.ContrastBorderColor": "greyDot65",
|
||||
"ActionButton.pressedBorderColor": "lightBlue",
|
||||
"Borders.color": "greyDot65",
|
||||
"Button.arc": "5",
|
||||
"Button.background": "lightBackground",
|
||||
"Button.default.endBackground": "lightBackground",
|
||||
"Button.default.endBorderColor": "border",
|
||||
"Button.default.focusColor": "headerBackground",
|
||||
"Button.default.focusedBorderColor": "accent",
|
||||
"Button.default.foreground": "accent",
|
||||
"Button.default.shadowColor": "shadow",
|
||||
"Button.default.startBackground": "lightBackground",
|
||||
"Button.default.startBorderColor": "border",
|
||||
"Button.endBackground": "lightBackground",
|
||||
"Button.endBorderColor": "border",
|
||||
"Button.background": "greyDot80",
|
||||
"Button.default.endBackground": "greyDot80",
|
||||
"Button.default.endBorderColor": "greyDot65",
|
||||
"Button.default.startBorderColor": "greyDot65",
|
||||
"Button.default.focusColor": "greyDot50",
|
||||
"Button.default.focusedBorderColor": "lightBlue",
|
||||
"Button.default.foreground": "greyDot25",
|
||||
"Button.default.shadowColor": "navyDot90",
|
||||
"Button.default.startBackground": "greyDot80",
|
||||
"Button.endBackground": "greyDot80",
|
||||
"Button.startBorderColor": "greyDot65",
|
||||
"Button.endBorderColor": "greyDot65",
|
||||
"Button.focusedBorderColor": "accent",
|
||||
"Button.foreground": "foreground",
|
||||
"Button.shadowColor": "shadow",
|
||||
"Button.foreground": "greyDot25",
|
||||
"Button.shadowColor": "navyDot90",
|
||||
"Button.shadowWidth": "0",
|
||||
"Button.startBackground": "lightBackground",
|
||||
"Button.startBorderColor": "border",
|
||||
"CheckBox.background": "lightBackground",
|
||||
"CheckBoxMenuItem.background": "lightBackground",
|
||||
"CheckBoxMenuItem.disabledBackground": "darkBackground",
|
||||
"Button.startBackground": "greyDot80",
|
||||
"CheckBox.background": "greyDot80",
|
||||
"CheckBoxMenuItem.background": "greyDot80",
|
||||
"CheckBoxMenuItem.disabledBackground": "greyDot85",
|
||||
"CheckBoxMenuItem.selectionForeground": "accent",
|
||||
"ComboBox.ArrowButton.disabledIconColor": "separator",
|
||||
"ComboBox.ArrowButton.disabledIconColor": "greyDot50",
|
||||
"ComboBox.ArrowButton.iconColor": "accent",
|
||||
"ComboBox.ArrowButton.nonEditableBackground": "separator",
|
||||
"ComboBox.background": "lightBackground",
|
||||
"ComboBox.ArrowButton.nonEditableBackground": "greyDot70",
|
||||
"ComboBox.background": "greyDot80",
|
||||
"ComboBox.modifiedItemForeground": "accent",
|
||||
"ComboBox.nonEditableBackground": "headerBackground",
|
||||
"ComboPopup.border": "0,0,0,0,4b4b4b",
|
||||
"CompletionPopup.foreground": "foreground",
|
||||
"ComboBox.nonEditableBackground": "greyDot75",
|
||||
"ComboPopup.border": "1,1,1,1,5a5a5a",
|
||||
"CompletionPopup.foreground": "greyDot25",
|
||||
"CompletionPopup.matchForeground": "accent",
|
||||
"CompletionPopup.selectionBackground": "separator",
|
||||
"CompletionPopup.selectionInactiveBackground": "lightBackground",
|
||||
"CompletionPopup.selectionBackground": "navyDot85",
|
||||
"CompletionPopup.selectionInactiveBackground": "greyDot80",
|
||||
"Component.arc": "5",
|
||||
"Component.borderColor": "focused",
|
||||
"Component.errorFocusColor": "#501428",
|
||||
"Component.focusColor": "#595959",
|
||||
"Component.borderColor": "greyDot65",
|
||||
"Component.errorFocusColor": "red",
|
||||
"Component.focusColor": "accent",
|
||||
"Component.focusWidth": "0",
|
||||
"Component.focusedBorderColor": "#666666",
|
||||
"Component.hoverIconColor": "foreground",
|
||||
"Component.iconColor": "accent",
|
||||
"Component.inactiveErrorFocusColor": "#3c0a14",
|
||||
"Component.inactiveWarningFocusColor": "#4b3219",
|
||||
"Component.warningFocusColor": "#966432",
|
||||
"Counter.background": "lightBackground",
|
||||
"Counter.foreground": "foreground",
|
||||
"Debugger.Variables.evaluatingExpressionForeground": "#6782cd",
|
||||
"Debugger.Variables.changedValueForeground": "#F9D778",
|
||||
"DebuggerPopup.borderColor": "border",
|
||||
"DefaultTabs.background": "lightBackground",
|
||||
"DefaultTabs.hoverBackground": "#191C21",
|
||||
"Component.focusedBorderColor": "greyDot50",
|
||||
"Component.hoverIconColor": "accent",
|
||||
"Component.iconColor": "lightBlue",
|
||||
"Component.inactiveErrorFocusColor": "transparentRed",
|
||||
"Component.inactiveWarningFocusColor": "transparentYellow",
|
||||
"Component.warningFocusColor": "yellow",
|
||||
"Counter.background": "greyDot80",
|
||||
"Counter.foreground": "greyDot25",
|
||||
"Debugger.Variables.changedValueForeground": "accent",
|
||||
"Debugger.Variables.evaluatingExpressionForeground": "lightBlue",
|
||||
"DebuggerPopup.borderColor": "greyDot65",
|
||||
"DefaultTabs.background": "greyDot80",
|
||||
"DefaultTabs.borderColor": "greyDot65",
|
||||
"DefaultTabs.hoverBackground": "navyDot85",
|
||||
"DefaultTabs.underlineColor": "accent",
|
||||
"DefaultTabs.underlineHeight": 1,
|
||||
"DefaultTabs.underlinedTabBackground": "border",
|
||||
"DefaultTabs.underlinedTabForeground": "accent",
|
||||
"DragAndDrop.areaBackground": "#666666",
|
||||
"DragAndDrop.areaForeground": "foreground",
|
||||
"Editor.background": "background",
|
||||
"Editor.foreground": "foreground",
|
||||
"EditorPane.background": "lightBackground",
|
||||
"DefaultTabs.underlinedTabBackground": "greyDot75",
|
||||
"DefaultTabs.underlinedTabForeground": "lightBlue",
|
||||
"DragAndDrop.areaBackground": "greyDot75",
|
||||
"DragAndDrop.areaForeground": "greyDot25",
|
||||
"Editor.background": "greyDot90",
|
||||
"Editor.foreground": "greyDot25",
|
||||
"EditorPane.background": "greyDot80",
|
||||
"EditorPane.caretForeground": "accent",
|
||||
"EditorPane.foreground": "foreground",
|
||||
"EditorPane.inactiveBackground": "paneBackground",
|
||||
"EditorPane.inactiveForeground": "#808080",
|
||||
"EditorPane.selectionBackground": "#191C21",
|
||||
"EditorPane.foreground": "greyDot25",
|
||||
"EditorPane.inactiveBackground": "greyDot85",
|
||||
"EditorPane.inactiveForeground": "greyDot50",
|
||||
"EditorPane.selectionBackground": "navyDot85",
|
||||
"EditorPane.selectionForeground": "accent",
|
||||
"EditorTabs.underlineHeight": 1,
|
||||
"FileColor.Blue": "#23282d",
|
||||
@@ -117,188 +131,192 @@
|
||||
"FileColor.Rose": "#2d2323",
|
||||
"FileColor.Violet": "#2D232D",
|
||||
"FileColor.Yellow": "#2d2d23",
|
||||
"GutterTooltip.infoForeground": "darkerForeground",
|
||||
"InplaceRefactoringPopup.borderColor": "focused",
|
||||
"Label.background": "lightBackground",
|
||||
"Link.activeForeground": "#7da5f0",
|
||||
"GutterTooltip.infoForeground": "greyDot50",
|
||||
"InplaceRefactoringPopup.borderColor": "lightBlue",
|
||||
"Label.background": "greyDot80",
|
||||
"Link.activeForeground": "lightBlue",
|
||||
"Link.hoverForeground": "accent",
|
||||
"Link.pressedForeground": "#6782cd",
|
||||
"Link.visitedForeground": "foreground",
|
||||
"List.background": "lightBackground",
|
||||
"List.selectionBackground": "#23262B",
|
||||
"Link.pressedForeground": "lightBlue",
|
||||
"Link.visitedForeground": "greyDot25",
|
||||
"List.background": "greyDot80",
|
||||
"List.selectionBackground": "navyDot85",
|
||||
"List.selectionForeground": "accent",
|
||||
"MemoryIndicator.allocatedBackground": "#0a3c14",
|
||||
"MemoryIndicator.usedBackground": "#320a19",
|
||||
"Menu.acceleratorForeground": "foreground",
|
||||
"MemoryIndicator.allocatedBackground": "green",
|
||||
"MemoryIndicator.usedBackground": "red",
|
||||
"Menu.acceleratorForeground": "greyDot25",
|
||||
"Menu.acceleratorSelectionForeground": "accent",
|
||||
"Menu.background": "lightBackground",
|
||||
"Menu.foreground": "foreground",
|
||||
"Menu.background": "greyDot80",
|
||||
"Menu.borderColor": "greyDot65",
|
||||
"Menu.foreground": "greyDot25",
|
||||
"Menu.selectionForeground": "accent",
|
||||
"Menu.separatorColor": "separator",
|
||||
"MenuBar.selectionBackground": "focused",
|
||||
"MenuBar.shadow": "shadow",
|
||||
"Menu.separatorColor": "greyDot65",
|
||||
"MenuBar.borderColor": "greyDot65",
|
||||
"MenuBar.selectionBackground": "navyDot85",
|
||||
"MenuBar.shadow": "navyDot90",
|
||||
"MenuItem.selectionForeground": "accent",
|
||||
"Notification.MoreButton.background": "paneBackground",
|
||||
"Notification.MoreButton.innerBorderColor": "separator",
|
||||
"Notification.ToolWindow.errorBackground": "#37160b",
|
||||
"Notification.ToolWindow.errorBorderColor": "#ed6b88",
|
||||
"Notification.ToolWindow.errorForeground": "#e1e1e1",
|
||||
"Notification.ToolWindow.informativeBackground": "#3c5014",
|
||||
"Notification.ToolWindow.informativeBorderColor": "#556914",
|
||||
"Notification.ToolWindow.informativeForeground": "darkerForeground",
|
||||
"Notification.ToolWindow.warningBackground": "#372c0b",
|
||||
"Notification.ToolWindow.warningBorderColor": "accent",
|
||||
"Notification.ToolWindow.warningForeground": "#e1e1e1",
|
||||
"Notification.background": "paneBackground",
|
||||
"Notification.errorBackground": "#37160b",
|
||||
"Notification.errorBorderColor": "#ed6b88",
|
||||
"Notification.errorForeground": "foreground",
|
||||
"Notification.foreground": "foreground",
|
||||
"OptionPane.background": "lightBackground",
|
||||
"OptionPane.foreground": "foreground",
|
||||
"Panel.background": "lightBackground",
|
||||
"Panel.foreground": "foreground",
|
||||
"ParameterInfo.background": "paneBackground",
|
||||
"ParameterInfo.currentOverloadBackground": "foreground",
|
||||
"Notification.MoreButton.background": "greyDot85",
|
||||
"Notification.MoreButton.innerBorderColor": "greyDot65",
|
||||
"Notification.ToolWindow.errorBackground": "red",
|
||||
"Notification.ToolWindow.errorBorderColor": "greyDot50",
|
||||
"Notification.ToolWindow.errorForeground": "greyDot15",
|
||||
"Notification.ToolWindow.informativeBackground": "#304000",
|
||||
"Notification.ToolWindow.informativeBorderColor": "greyDot65",
|
||||
"Notification.ToolWindow.informativeForeground": "greyDot15",
|
||||
"Notification.ToolWindow.warningBackground": "yellow",
|
||||
"Notification.ToolWindow.warningBorderColor": "greyDot65",
|
||||
"Notification.ToolWindow.warningForeground": "greyDot15",
|
||||
"Notification.background": "greyDot85",
|
||||
"Notification.errorBackground": "red",
|
||||
"Notification.errorBorderColor": "greyDot65",
|
||||
"Notification.errorForeground": "greyDot15",
|
||||
"Notification.foreground": "greyDot25",
|
||||
"OptionPane.background": "greyDot80",
|
||||
"OptionPane.foreground": "greyDot25",
|
||||
"Panel.background": "greyDot80",
|
||||
"Panel.foreground": "greyDot25",
|
||||
"ParameterInfo.background": "greyDot85",
|
||||
"ParameterInfo.currentOverloadBackground": "lightBlue",
|
||||
"ParameterInfo.currentParameterForeground": "accent",
|
||||
"ParameterInfo.foreground": "foreground",
|
||||
"ParameterInfo.infoForeground": "darkerForeground",
|
||||
"ParameterInfo.lineSeparatorColor": "separator",
|
||||
"Plugins.Button.installBackground": "lightBackground",
|
||||
"Plugins.Button.installBorderColor": "border",
|
||||
"Plugins.Button.installFillBackground": "lightBackground",
|
||||
"Plugins.Button.installFillForeground": "foreground",
|
||||
"ParameterInfo.foreground": "greyDot25",
|
||||
"ParameterInfo.infoForeground": "greyDot33",
|
||||
"ParameterInfo.lineSeparatorColor": "greyDot70",
|
||||
"Plugins.Button.installBackground": "greyDot80",
|
||||
"Plugins.Button.installBorderColor": "greyDot65",
|
||||
"Plugins.Button.installFillBackground": "greyDot80",
|
||||
"Plugins.Button.installFillForeground": "greyDot25",
|
||||
"Plugins.Button.installForeground": "accent",
|
||||
"Plugins.SearchField.background": "headerBackground",
|
||||
"Plugins.SectionHeader.background": "headerBackground",
|
||||
"Plugins.SectionHeader.foreground": "foreground",
|
||||
"Plugins.Tab.hoverBackground": "paneBackground",
|
||||
"Plugins.Tab.selectedBackground": "#191C21",
|
||||
"Plugins.background": "lightBackground",
|
||||
"Plugins.disabledForeground": "darkerForeground",
|
||||
"Plugins.lightSelectionBackground": "separator",
|
||||
"Plugins.tagBackground": "paneBackground",
|
||||
"Plugins.tagForeground": "foreground",
|
||||
"Popup.Advertiser.background": "paneBackground",
|
||||
"Popup.Advertiser.foreground": "darkerForeground",
|
||||
"Popup.Header.activeBackground": "headerBackground",
|
||||
"Popup.Header.inactiveBackground": "paneBackground",
|
||||
"Popup.paintBorder": false,
|
||||
"PopupMenu.background": "lightBackground",
|
||||
"PopupMenu.foreground": "foreground",
|
||||
"PopupMenu.selectionBackground": "#191C21",
|
||||
"PopupMenu.selectionForeground": "accent",
|
||||
"Plugins.SearchField.background": "greyDot75",
|
||||
"Plugins.SectionHeader.background": "greyDot75",
|
||||
"Plugins.SectionHeader.foreground": "greyDot25",
|
||||
"Plugins.Tab.hoverBackground": "navyDot85",
|
||||
"Plugins.Tab.selectedBackground": "greyDot85",
|
||||
"Plugins.background": "greyDot80",
|
||||
"Plugins.disabledForeground": "greyDot50",
|
||||
"Plugins.lightSelectionBackground": "greyDot70",
|
||||
"Plugins.tagBackground": "greyDot85",
|
||||
"Plugins.tagForeground": "greyDot25",
|
||||
"Popup.Advertiser.background": "greyDot85",
|
||||
"Popup.Advertiser.foreground": "greyDot50",
|
||||
"Popup.Header.activeBackground": "greyDot75",
|
||||
"Popup.Header.inactiveBackground": "greyDot85",
|
||||
"Popup.paintBorder": true,
|
||||
"PopupMenu.background": "greyDot80",
|
||||
"PopupMenu.foreground": "greyDot25",
|
||||
"PopupMenu.selectionBackground": "navyDot85",
|
||||
"PopupMenu.selectionForeground": "lightBlue",
|
||||
"PopupMenuSeparator.stripeWidth": 1,
|
||||
"ProgressBar.failedColor": "#ec5f5d",
|
||||
"ProgressBar.failedEndColor": "#ffa9ca",
|
||||
"ProgressBar.indeterminateEndColor": "#f9d778",
|
||||
"ProgressBar.indeterminateStartColor": "#ee9b70",
|
||||
"ProgressBar.passedColor": "#78b756",
|
||||
"ProgressBar.passedEndColor": "#b4da82",
|
||||
"ProgressBar.progressColor": "#ffe499",
|
||||
"ProgressBar.trackColor": "accent",
|
||||
"RadioButton.background": "lightBackground",
|
||||
"ScrollBar.Mac.hoverTrackColor": "headerBackground",
|
||||
"Slider.background": "lightBackground",
|
||||
"ScrollBar.Mac.trackColor": "lightBackground",
|
||||
"ScrollPane.background": "paneBackground",
|
||||
"ScrollPane.foreground": "darkerForeground",
|
||||
"SearchEverywhere.Advertiser.background": "paneBackground",
|
||||
"SearchEverywhere.Advertiser.foreground": "darkerForeground",
|
||||
"SearchEverywhere.Header.background": "paneBackground",
|
||||
"SearchEverywhere.List.separatorColor": "separator",
|
||||
"SearchEverywhere.List.separatorForeground": "separator",
|
||||
"SearchEverywhere.SearchField.background": "headerBackground",
|
||||
"SearchEverywhere.SearchField.borderColor": "border",
|
||||
"SearchEverywhere.SearchField.infoForeground": "darkerForeground",
|
||||
"SearchEverywhere.Tab.selectedBackground": "separator",
|
||||
"ProgressBar.failedColor": "red",
|
||||
"ProgressBar.failedEndColor": "greyDot65",
|
||||
"ProgressBar.indeterminateEndColor": "greyDot25",
|
||||
"ProgressBar.indeterminateStartColor": "accent",
|
||||
"ProgressBar.passedColor": "green",
|
||||
"ProgressBar.passedEndColor": "greyDot65",
|
||||
"ProgressBar.progressColor": "accent",
|
||||
"ProgressBar.trackColor": "greyDot75",
|
||||
"RadioButton.background": "greyDot75",
|
||||
"ScrollBar.Mac.hoverTrackColor": "greyDot75",
|
||||
"ScrollBar.Mac.trackColor": "greyDot75",
|
||||
"ScrollPane.background": "greyDot85",
|
||||
"ScrollPane.foreground": "greyDot25",
|
||||
"SearchEverywhere.Advertiser.background": "greyDot85",
|
||||
"SearchEverywhere.Advertiser.foreground": "greyDot33",
|
||||
"SearchEverywhere.Header.background": "greyDot85",
|
||||
"SearchEverywhere.List.separatorColor": "greyDot70",
|
||||
"SearchEverywhere.List.separatorForeground": "greyDot70",
|
||||
"SearchEverywhere.SearchField.background": "greyDot75",
|
||||
"SearchEverywhere.SearchField.borderColor": "greyDot70",
|
||||
"SearchEverywhere.SearchField.infoForeground": "greyDot50",
|
||||
"SearchEverywhere.Tab.selectedBackground": "greyDot70",
|
||||
"SearchEverywhere.Tab.selectedForeground": "accent",
|
||||
"SearchMatch.endBackground": "accent",
|
||||
"SearchMatch.startBackground": "accent",
|
||||
"Separator.separatorColor": "separator",
|
||||
"SidePanel.background": "paneBackground",
|
||||
"Slider.focus": "focused",
|
||||
"SpeedSearch.background": "lightBackground",
|
||||
"SpeedSearch.borderColor": "border",
|
||||
"SpeedSearch.errorForeground": "#ed6b88",
|
||||
"Separator.separatorColor": "greyDot70",
|
||||
"SidePanel.background": "greyDot85",
|
||||
"Slider.background": "greyDot80",
|
||||
"Slider.focus": "greyDot65",
|
||||
"SpeedSearch.background": "greyDot80",
|
||||
"SpeedSearch.borderColor": "greyDot70",
|
||||
"SpeedSearch.errorForeground": "red",
|
||||
"SpeedSearch.foreground": "accent",
|
||||
"SplitPane.background": "lightBackground",
|
||||
"SplitPane.darkShadow": "shadow",
|
||||
"SplitPane.background": "greyDot80",
|
||||
"SplitPane.darkShadow": "navyDot90",
|
||||
"SplitPane.highlight": "accent",
|
||||
"SplitPane.shadow": "shadow",
|
||||
"TabbedPane.background": "lightBackground",
|
||||
"TabbedPane.contentAreaColor": "lightBackground",
|
||||
"TabbedPane.disabledUnderlineColor": "border",
|
||||
"TabbedPane.focusColor": "focused",
|
||||
"TabbedPane.foreground": "foreground",
|
||||
"TabbedPane.hoverColor": "separator",
|
||||
"SplitPane.shadow": "navyDot90",
|
||||
"TabbedPane.background": "greyDot80",
|
||||
"TabbedPane.contentAreaColor": "greyDot80",
|
||||
"TabbedPane.disabledUnderlineColor": "greyDot75",
|
||||
"TabbedPane.focusColor": "greyDot65",
|
||||
"TabbedPane.foreground": "greyDot25",
|
||||
"TabbedPane.hoverColor": "navyDot85",
|
||||
"TabbedPane.tabSelectionHeight": 1,
|
||||
"TabbedPane.underlineColor": "accent",
|
||||
"Table.background": "lightBackground",
|
||||
"Table.dropLineColor": "border",
|
||||
"Table.dropLineShortColor": "separator",
|
||||
"Table.background": "greyDot80",
|
||||
"Table.dropLineColor": "greyDot75",
|
||||
"Table.dropLineShortColor": "greyDot70",
|
||||
"Table.focusCellForeground": "accent",
|
||||
"Table.selectionBackground": "#191C21",
|
||||
"Table.selectionBackground": "navyDot85",
|
||||
"Table.selectionForeground": "accent",
|
||||
"Table.sortIconColor": "accent",
|
||||
"Table.stripeColor": "border",
|
||||
"TableHeader.background": "paneBackground",
|
||||
"TableHeader.bottomSeparatorColor": "border",
|
||||
"TableHeader.separatorColor": "separator",
|
||||
"TextArea.background": "paneBackground",
|
||||
"Table.stripeColor": "greyDot75",
|
||||
"TableHeader.background": "greyDot85",
|
||||
"TableHeader.bottomSeparatorColor": "greyDot75",
|
||||
"TableHeader.separatorColor": "greyDot70",
|
||||
"TextArea.background": "greyDot85",
|
||||
"TextArea.caretForeground": "accent",
|
||||
"TextArea.foreground": "foreground",
|
||||
"TextArea.selectionBackground": "#191C21",
|
||||
"TextField.background": "headerBackground",
|
||||
"TextArea.foreground": "greyDot25",
|
||||
"TextArea.selectionBackground": "navyDot85",
|
||||
"TextField.background": "greyDot75",
|
||||
"TextField.caretForeground": "accent",
|
||||
"TextField.darkShadow": "shadow",
|
||||
"TextField.foreground": "foreground",
|
||||
"TextField.highlight": "#ffffff",
|
||||
"TextField.selectionBackground": "#191C21",
|
||||
"TextPane.background": "lightBackground",
|
||||
"TitlePane.background": "paneBackground",
|
||||
"ToggleButton.borderColor": "separator",
|
||||
"ToggleButton.buttonColor": "headerBackground",
|
||||
"ToggleButton.offBackground": "#232323",
|
||||
"ToggleButton.offForeground": "darkerForeground",
|
||||
"ToggleButton.onBackground": "focused",
|
||||
"TextField.darkShadow": "navyDot90",
|
||||
"TextField.foreground": "greyDot25",
|
||||
"TextField.highlight": "greyDot15",
|
||||
"TextField.selectionBackground": "navyDot85",
|
||||
"TextPane.background": "greyDot80",
|
||||
"TitlePane.background": "greyDot85",
|
||||
"ToggleButton.borderColor": "greyDot70",
|
||||
"ToggleButton.buttonColor": "greyDot75",
|
||||
"ToggleButton.offBackground": "greyDot75",
|
||||
"ToggleButton.offForeground": "greyDot25",
|
||||
"ToggleButton.onBackground": "greyDot50",
|
||||
"ToggleButton.onForeground": "accent",
|
||||
"ToolBar.background": "lightBackground",
|
||||
"ToolBar.borderHandleColor": "separator",
|
||||
"ToolBar.shadow": "shadow",
|
||||
"ToolTip.Actions.background": "lightBackground",
|
||||
"ToolTip.Actions.infoForeground": "darkerForeground",
|
||||
"ToolTip.background": "headerBackground",
|
||||
"ToolTip.foreground": "foreground",
|
||||
"ToolTip.infoForeground": "darkerForeground",
|
||||
"ToolWindow.Button.hoverBackground": "focused",
|
||||
"ToolWindow.Button.selectedBackground": "separator",
|
||||
"ToolBar.background": "greyDot80",
|
||||
"ToolBar.borderHandleColor": "greyDot70",
|
||||
"ToolBar.darkShadow": "navyDot90",
|
||||
"ToolBar.shadow": "navyDot90",
|
||||
"ToolTip.Actions.background": "greyDot80",
|
||||
"ToolTip.Actions.infoForeground": "greyDot50",
|
||||
"ToolTip.background": "greyDot75",
|
||||
"ToolTip.foreground": "greyDot25",
|
||||
"ToolTip.infoForeground": "greyDot50",
|
||||
"ToolWindow.Button.hoverBackground": "navyDot85",
|
||||
"ToolWindow.Button.selectedBackground": "greyDot70",
|
||||
"ToolWindow.Button.selectedForeground": "accent",
|
||||
"ToolWindow.Header.background": "paneBackground",
|
||||
"ToolWindow.Header.inactiveBackground": "lightBackground",
|
||||
"ToolWindow.HeaderTab.hoverBackground": "border",
|
||||
"ToolWindow.HeaderTab.hoverInactiveBackground": "headerBackground",
|
||||
"ToolWindow.HeaderTab.inactiveUnderlineColor": "border",
|
||||
"ToolWindow.HeaderTab.selectedInactiveBackground": "headerBackground",
|
||||
"ToolWindow.Header.background": "greyDot85",
|
||||
"ToolWindow.Header.inactiveBackground": "greyDot80",
|
||||
"ToolWindow.HeaderTab.hoverBackground": "navyDot85",
|
||||
"ToolWindow.HeaderTab.hoverInactiveBackground": "navyDot90",
|
||||
"ToolWindow.HeaderTab.inactiveUnderlineColor": "greyDot75",
|
||||
"ToolWindow.HeaderTab.selectedInactiveBackground": "greyDot80",
|
||||
"ToolWindow.HeaderTab.underlineColor": "accent",
|
||||
"ToolWindow.HeaderTab.underlineHeight": 1,
|
||||
"ToolWindow.HeaderTab.underlinedTabInactiveBackground": "border",
|
||||
"Tree.background": "paneBackground",
|
||||
"ToolWindow.HeaderTab.underlinedTabInactiveBackground": "greyDot75",
|
||||
"Tree.background": "greyDot85",
|
||||
"Tree.modifiedItemForeground": "accent",
|
||||
"Tree.paintLines": 0,
|
||||
"Tree.selectionBackground": "#191C21",
|
||||
"Tree.rowHeight": 20,
|
||||
"Tree.selectionBackground": "navyDot85",
|
||||
"Tree.selectionForeground": "accent",
|
||||
"Tree.selectionInactiveBackground": "#191C217f",
|
||||
"ValidationTooltip.errorBackground": "#261313",
|
||||
"ValidationTooltip.errorBorderColor": "#ff0072",
|
||||
"ValidationTooltip.warningBackground": "#372c0b",
|
||||
"ValidationTooltip.warningBorderColor": "accent",
|
||||
"VersionControl.FileHistory.Commit.selectedBranchBackground": "separator",
|
||||
"VersionControl.Log.Commit.currentBranchBackground": "#232323",
|
||||
"VersionControl.Log.Commit.unmatchedForeground": "foreground",
|
||||
"WelcomeScreen.Projects.selectionBackground": "#191C21",
|
||||
"WelcomeScreen.Projects.selectionInactiveBackground": "#191C217f",
|
||||
"WelcomeScreen.separatorColor": "separator",
|
||||
"Window.border": "1,1,1,1,4b4b4b"
|
||||
"Tree.selectionInactiveBackground": "navyDot90",
|
||||
"ValidationTooltip.errorBackground": "red",
|
||||
"ValidationTooltip.errorBorderColor": "greyDot65",
|
||||
"ValidationTooltip.warningBackground": "#805e00",
|
||||
"ValidationTooltip.warningBorderColor": "greyDot65",
|
||||
"VersionControl.FileHistory.Commit.selectedBranchBackground": "greyDot70",
|
||||
"VersionControl.Log.Commit.currentBranchBackground": "greyDot85",
|
||||
"VersionControl.Log.Commit.unmatchedForeground": "greyDot25",
|
||||
"WelcomeScreen.Projects.selectionBackground": "navyDot85",
|
||||
"WelcomeScreen.Projects.selectionInactiveBackground": "navyDot90",
|
||||
"WelcomeScreen.separatorColor": "greyDot65",
|
||||
"Window.border": "0,0,0,0,5a5a5a"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"editorScheme": "/Material Theme.xml",
|
||||
"colors": {
|
||||
"mySelectionColor": "#3E6183",
|
||||
"myHoverColor": "#415E83",
|
||||
"mySelectionAccentColor": "#212E43",
|
||||
"myTabBlueColor": "#314763",
|
||||
"myAccentRedColor": "#FF666F",
|
||||
@@ -12,31 +13,29 @@
|
||||
"myThemeBackgroundColor": "#1F292E",
|
||||
"myHlightControlsColor": "#21384E",
|
||||
"myControlsColor": "#293840",
|
||||
"myDisableGreyColor": "#32424A"
|
||||
"myDisableGreyColor": "#32424A",
|
||||
"myDisableTxtColor": "#8C8C8C"
|
||||
},
|
||||
"ui": {
|
||||
"*": {
|
||||
"separatorColor": "#2B3940",
|
||||
"background": "#1F292E",
|
||||
"borderColor": "#1F292E",
|
||||
"selectionBackground": "#3E6183",
|
||||
"disabledForeground": "#8C8C8C",
|
||||
"modifiedItemForeground": "#FF666F",
|
||||
"disabledText": "#8C8C8C",
|
||||
"inactiveForeground": "#8C8C8C",
|
||||
"background": "myThemeBackgroundColor",
|
||||
"borderColor": "myThemeBackgroundColor",
|
||||
"disabledForeground": "myDisableTxtColor",
|
||||
"disabledText": "myDisableTxtColor",
|
||||
"inactiveForeground": "myDisableTxtColor",
|
||||
"infoForeground": "#808080",
|
||||
"highlight": "#FF666F",
|
||||
"underlineColor": "#FF666F",
|
||||
"focusColor": "#FF666F",
|
||||
"selectedBackground": "#3E6183",
|
||||
"underlinedTabBackground": "#2B4057",
|
||||
"hoverColor": "#415E83",
|
||||
"pressedBackground": "#3E6183"
|
||||
"modifiedItemForeground": "myAccentRedColor",
|
||||
"highlight": "myAccentRedColor",
|
||||
"underlineColor": "myAccentRedColor",
|
||||
"focusColor": "myAccentRedColor",
|
||||
"underlinedTabBackground": "myTabBlueColor",
|
||||
"hoverColor": "myHoverColor",
|
||||
"selectionBackground": "mySelectionColor",
|
||||
"selectedBackground": "mySelectionColor",
|
||||
"pressedBackground": "mySelectionColor"
|
||||
},
|
||||
"Tree.rowHeight": 24,
|
||||
"ToolWindow.HeaderTab.hoverInactiveBackground": "mySelectionColor",
|
||||
"ToolWindow.Button.hoverBackground": "mySelectionColor",
|
||||
"StatusBar.hoverBackground": "mySelectionColor",
|
||||
"DefaultTabs.hoverBackground": "mySelectionColor",
|
||||
"ActionButton.hoverBackground": "mySelectionColor",
|
||||
"Separator.separatorColor": "myDisableGreyColor",
|
||||
@@ -63,7 +62,8 @@
|
||||
"hoverInactiveBackground": "mySelectionColor"
|
||||
},
|
||||
"Button": {
|
||||
"selectedBackground": "mySelectionColor"
|
||||
"selectedBackground": "mySelectionColor",
|
||||
"hoverBackground": "mySelectionColor"
|
||||
}
|
||||
},
|
||||
"TextArea": {
|
||||
@@ -102,7 +102,10 @@
|
||||
"TextField": {
|
||||
"background": "myDisableGreyColor"
|
||||
},
|
||||
"StatusBar.borderColor": "myThemeBackgroundColor",
|
||||
"StatusBar": {
|
||||
"hoverBackground": "mySelectionColor",
|
||||
"borderColor": "myThemeBackgroundColor"
|
||||
},
|
||||
"SplitPane.highlight": "myThemeBackgroundColor",
|
||||
"ProgressBar": {
|
||||
"progressColor": "myAccentRedColor",
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
"acceleratorSelectionForeground": "#8b9eb5",
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#404552",
|
||||
"disabledBackground": "#474B57",
|
||||
"disabledBackground": "#37373d",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
"disabledText": "#D3DAE3",
|
||||
"focusColor": "#3F3F46",
|
||||
"focusColor": "#08507C",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
"foreground": "#D3DAE3",
|
||||
"inactiveBackground": "#474B57",
|
||||
"inactiveBackground": "#37373d",
|
||||
"inactiveForeground": "#8b9eb5",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"selectionBackground": "#8888FF",
|
||||
@@ -52,7 +52,7 @@
|
||||
"disabledText": "#D3DAE3",
|
||||
"endBackground": "#383C4A",
|
||||
"endBorderColor": "#383C4A",
|
||||
"focus": "#3F3F46",
|
||||
"focus": "#08507C",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
"foreground": "#8b9eb5",
|
||||
"highlight": "#FFFFFF",
|
||||
@@ -110,21 +110,20 @@
|
||||
"background": "#393f4c",
|
||||
"foreground": "#D3DAE3",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"matchForeground": "#42A5F52",
|
||||
"matchForeground": "#42A5F5",
|
||||
"matchSelectionForeground": "#42A5F5",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#08507C",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#8b9eb5",
|
||||
"selectionInactiveBackground": "#3F3F46",
|
||||
"selectionInactiveBackground": "#8888FF50",
|
||||
"selectionBackground": "#8888FF80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
"Component": {
|
||||
"arc": 4,
|
||||
"borderColor": "#3F3F46",
|
||||
"borderColor": "#08507C",
|
||||
"disabledBorderColor": "#383C4A",
|
||||
"focusColor": "#42A5F5",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
@@ -150,22 +149,22 @@
|
||||
}
|
||||
},
|
||||
"DebuggerTabs": {
|
||||
"selectedBackground": "#3F3F46",
|
||||
"underlinedTabBackground": "#3F3F46"
|
||||
"selectedBackground": "#08507C",
|
||||
"underlinedTabBackground": "#08507C"
|
||||
},
|
||||
"DebuggerPopup": {
|
||||
"borderColor": "#3F3F46"
|
||||
"borderColor": "#08507C"
|
||||
},
|
||||
"DefaultTabs": {
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#2f343f",
|
||||
"hoverBackground": "#41416A",
|
||||
"hoverColor": "#262b33",
|
||||
"hoverMaskColor": "#3F3F46",
|
||||
"hoverMaskColor": "#08507C",
|
||||
"inactiveUnderlineColor": "#D3DAE3",
|
||||
"inactiveMaskColor": "#262b33",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground":"#41416A"
|
||||
"underlinedTabBackground": "#41416A"
|
||||
},
|
||||
"Desktop.background": "#2f343f",
|
||||
"DialogWrapper.southPanelBackground": "#2f343f",
|
||||
@@ -191,20 +190,29 @@
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#393f4c",
|
||||
"hoverColor": "#3F3F46",
|
||||
"hoverMaskColor": "#3F3F46",
|
||||
"hoverColor": "#08507C",
|
||||
"hoverMaskColor": "#08507C",
|
||||
"inactiveMaskColor": "#2f343f",
|
||||
"inactiveColoredFileBackground": "#2f343f",
|
||||
"inactiveUnderlineColor": "#D3DAE3",
|
||||
"selectedForeground": "#D3DAE3",
|
||||
"selectedBackground": "#41416A",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#41416A"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#393f4c",
|
||||
"hoverBackground": "#08507C",
|
||||
"hoverColor": "#08507C",
|
||||
"inactiveUnderlineColor": "#42A5F5",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#41416A",
|
||||
"underlinedTabForeground": "#D3DAE3"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#474B57",
|
||||
"Yellow": "#37373d",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#393f4c",
|
||||
"foreground": "#D3DAE3",
|
||||
"selectionBackground": "#8888FF",
|
||||
"selectionBackground": "#8888FF50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25"
|
||||
"selectionInactiveBackground": "#09477125"
|
||||
},
|
||||
"material": {
|
||||
"background": "#2f343f",
|
||||
@@ -302,8 +310,8 @@
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#393f4c",
|
||||
"usedColor": "#3F3F46",
|
||||
"usedBackground": "#3F3F46"
|
||||
"usedColor": "#08507C",
|
||||
"usedBackground": "#08507C"
|
||||
},
|
||||
"Menu": {
|
||||
"acceleratorForeground": "#8b9eb5",
|
||||
@@ -407,16 +415,16 @@
|
||||
"Plugins": {
|
||||
"background": "#2f343f",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
"eapTagBackground": "#3F3F46",
|
||||
"eapTagBackground": "#08507C",
|
||||
"lightSelectionBackground": "#8888FF",
|
||||
"selectionBackground": "#8888FF",
|
||||
"tagForeground": "#42A5F5",
|
||||
"tagBackground": "#3F3F46",
|
||||
"tagBackground": "#08507C",
|
||||
"Button": {
|
||||
"installBackground": "#383C4A",
|
||||
"installBorderColor": "#383C4A",
|
||||
"installForeground": "#D3DAE3",
|
||||
"installFocusedBackground": "#3F3F46",
|
||||
"installFocusedBackground": "#08507C",
|
||||
"installFillForeground": "#8b9eb5",
|
||||
"installFillBackground": "#383C4A",
|
||||
"updateBackground": "#383C4A",
|
||||
@@ -472,8 +480,8 @@
|
||||
"indeterminateEndColor": "#42A5F5",
|
||||
"indeterminateStartColor": "#42A5F5",
|
||||
"progressColor": "#42A5F5",
|
||||
"selectionBackground": "#3F3F46",
|
||||
"trackColor": "#3F3F46"
|
||||
"selectionBackground": "#08507C",
|
||||
"trackColor": "#08507C"
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#2f343f",
|
||||
@@ -511,7 +519,7 @@
|
||||
"trackColor": "#2f343f30"
|
||||
}
|
||||
},
|
||||
"thumb": "#3F3F46",
|
||||
"thumb": "#08507C",
|
||||
"thumbBorderColor": "#42A5F570",
|
||||
"thumbColor": "#42A5F570",
|
||||
"trackColor": "#2f343f30",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#2f343f"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#D3DAE3",
|
||||
"separatorForeground": "#8b9eb5",
|
||||
"separatorColor": "#404552"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -544,7 +552,7 @@
|
||||
"Tab": {
|
||||
"active.foreground": "#FFFFFF",
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedBackground": "#3F3F46"
|
||||
"selectedBackground": "#08507C"
|
||||
}
|
||||
},
|
||||
"SearchMatch": {
|
||||
@@ -561,14 +569,17 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#2f343f",
|
||||
"buttonBorderColor": "#42A5F5",
|
||||
"buttonColor": "#42A5F5",
|
||||
"foreground": "#D3DAE3",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#393f4c",
|
||||
"trackColor": "#41416A",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#42A5F5"
|
||||
},
|
||||
"SpeedSearch": {
|
||||
"background": "#3F3F46",
|
||||
"background": "#08507C",
|
||||
"borderColor": "#404552",
|
||||
"foreground": "#D3DAE3",
|
||||
"errorForeground": "#D3DAE3"
|
||||
@@ -589,7 +600,7 @@
|
||||
},
|
||||
"TabbedPane": {
|
||||
"background": "#2f343f",
|
||||
"contentAreaColor": "#3F3F46",
|
||||
"contentAreaColor": "#08507C",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#404552",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
@@ -599,7 +610,7 @@
|
||||
"fontSizeOffset": 0,
|
||||
"foreground": "#D3DAE3",
|
||||
"highlight": "#404552",
|
||||
"hoverColor": "#3F3F46",
|
||||
"hoverColor": "#08507C",
|
||||
"labelShift": 0,
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedLabelShift": 0,
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#42A5F5"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#262b33",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#393f4c",
|
||||
"selectionBackground": "#41416A",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25",
|
||||
"selectionInactiveBackground": "#41416A",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#D3DAE3",
|
||||
"stripeColor": "#262b33"
|
||||
@@ -671,8 +683,8 @@
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#262b33",
|
||||
"Button.hoverBackground": "#3F3F46",
|
||||
"inactiveBackground": "#393f4c",
|
||||
"Button.hoverBackground": "#08507C",
|
||||
"inactiveBackground": "#2f343f",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"inactiveInfoForeground": "#8b9eb5"
|
||||
},
|
||||
@@ -697,7 +709,7 @@
|
||||
"Actions.background": "#2f343f",
|
||||
"Actions.infoForeground": "#8b9eb5",
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#3F3F46",
|
||||
"borderColor": "#08507C",
|
||||
"foreground": "#D3DAE3",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"separatorColor": "#404552",
|
||||
@@ -718,13 +730,13 @@
|
||||
"background": "#2f343f"
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#3F3F46",
|
||||
"hoverBackground": "#08507C",
|
||||
"hoverInactiveBackground": "#393f4c",
|
||||
"inactiveUnderlineColor": "#42A5F5",
|
||||
"selectedBackground": "#262b33",
|
||||
"selectedInactiveBackground": "#262b33",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#3F3F46",
|
||||
"underlinedTabBackground": "#08507C",
|
||||
"underlinedTabInactiveBackground": "#393f4c"
|
||||
}
|
||||
},
|
||||
@@ -734,10 +746,10 @@
|
||||
"hash": "#404552",
|
||||
"modifiedItemForeground": "#42A5F5",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#08507C",
|
||||
"selectionBackground": "#09477170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25",
|
||||
"selectionInactiveBackground": "#09477125",
|
||||
"textBackground": "#262b33"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,16 +785,16 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#8b9eb5",
|
||||
"Commit.currentBranchBackground": "#08507C"
|
||||
"Commit.currentBranchBackground": "#393f4c"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
"backgroundBase": "#3F3F46"
|
||||
"backgroundBase": "#08507C"
|
||||
}
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#262b33",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#D3DAE3"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#2f343f",
|
||||
@@ -826,8 +838,8 @@
|
||||
"Actions.Yellow": "#F9EE98",
|
||||
"Checkbox.Background.Default": "#262b33",
|
||||
"Checkbox.Background.Default.Dark": "#262b33",
|
||||
"Checkbox.Background.Disabled": "#474B57",
|
||||
"Checkbox.Background.Disabled.Dark": "#474B57",
|
||||
"Checkbox.Background.Disabled": "#37373d",
|
||||
"Checkbox.Background.Disabled.Dark": "#37373d",
|
||||
"Checkbox.Border.Default": "#404552",
|
||||
"Checkbox.Border.Default.Dark": "#404552",
|
||||
"Checkbox.Border.Disabled": "#D3DAE3",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#42A5F5",
|
||||
"Checkbox.Foreground.Disabled": "#D3DAE3",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#D3DAE3",
|
||||
"Checkbox.Background.Selected": "#42A5F5",
|
||||
"Checkbox.Background.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Background.Selected": "#2f343f",
|
||||
"Checkbox.Background.Selected.Dark": "#2f343f",
|
||||
"Checkbox.Border.Selected": "#42A5F5",
|
||||
"Checkbox.Border.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Foreground.Selected": "#D3DAE3",
|
||||
"Checkbox.Foreground.Selected.Dark": "#D3DAE3",
|
||||
"Checkbox.Foreground.Selected": "#42A5F5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Focus.Thin.Selected": "#D3DAE3",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#D3DAE3",
|
||||
"Objects.Grey": "#747C84",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#D3DAE3",
|
||||
"Objects.YellowDark": "#CDA869",
|
||||
"Objects.GreenAndroid": "#8F9D6A"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,13 +8,13 @@
|
||||
"acceleratorSelectionForeground": "#8b9eb5",
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#404552",
|
||||
"disabledBackground": "#474B57",
|
||||
"disabledBackground": "#37373d",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
"disabledText": "#D3DAE3",
|
||||
"focusColor": "#3F3F46",
|
||||
"focusColor": "#08507C",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
"foreground": "#D3DAE3",
|
||||
"inactiveBackground": "#474B57",
|
||||
"inactiveBackground": "#37373d",
|
||||
"inactiveForeground": "#8b9eb5",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"selectionBackground": "#8888FF",
|
||||
@@ -52,7 +52,7 @@
|
||||
"disabledText": "#D3DAE3",
|
||||
"endBackground": "#383C4A",
|
||||
"endBorderColor": "#383C4A",
|
||||
"focus": "#3F3F46",
|
||||
"focus": "#08507C",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
"foreground": "#8b9eb5",
|
||||
"highlight": "#FFFFFF",
|
||||
@@ -110,21 +110,20 @@
|
||||
"background": "#393f4c",
|
||||
"foreground": "#D3DAE3",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"matchForeground": "#42A5F52",
|
||||
"matchForeground": "#42A5F5",
|
||||
"matchSelectionForeground": "#42A5F5",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#08507C",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#8b9eb5",
|
||||
"selectionInactiveBackground": "#3F3F46",
|
||||
"selectionInactiveBackground": "#8888FF50",
|
||||
"selectionBackground": "#8888FF80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
"Component": {
|
||||
"arc": 4,
|
||||
"borderColor": "#3F3F46",
|
||||
"borderColor": "#08507C",
|
||||
"disabledBorderColor": "#383C4A",
|
||||
"focusColor": "#42A5F5",
|
||||
"focusedBorderColor": "#42A5F5",
|
||||
@@ -150,22 +149,22 @@
|
||||
}
|
||||
},
|
||||
"DebuggerTabs": {
|
||||
"selectedBackground": "#3F3F46",
|
||||
"underlinedTabBackground": "#3F3F46"
|
||||
"selectedBackground": "#08507C",
|
||||
"underlinedTabBackground": "#08507C"
|
||||
},
|
||||
"DebuggerPopup": {
|
||||
"borderColor": "#3F3F46"
|
||||
"borderColor": "#08507C"
|
||||
},
|
||||
"DefaultTabs": {
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#2f343f",
|
||||
"hoverBackground": "#41416A",
|
||||
"hoverColor": "#2f343f",
|
||||
"hoverMaskColor": "#3F3F46",
|
||||
"hoverMaskColor": "#08507C",
|
||||
"inactiveUnderlineColor": "#D3DAE3",
|
||||
"inactiveMaskColor": "#2f343f",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground":"#41416A"
|
||||
"underlinedTabBackground": "#41416A"
|
||||
},
|
||||
"Desktop.background": "#2f343f",
|
||||
"DialogWrapper.southPanelBackground": "#2f343f",
|
||||
@@ -191,20 +190,29 @@
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#393f4c",
|
||||
"hoverColor": "#3F3F46",
|
||||
"hoverMaskColor": "#3F3F46",
|
||||
"hoverColor": "#08507C",
|
||||
"hoverMaskColor": "#08507C",
|
||||
"inactiveMaskColor": "#2f343f",
|
||||
"inactiveColoredFileBackground": "#2f343f",
|
||||
"inactiveUnderlineColor": "#D3DAE3",
|
||||
"selectedForeground": "#D3DAE3",
|
||||
"selectedBackground": "#41416A",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#41416A"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#393f4c",
|
||||
"hoverBackground": "#08507C",
|
||||
"hoverColor": "#08507C",
|
||||
"inactiveUnderlineColor": "#42A5F5",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#41416A",
|
||||
"underlinedTabForeground": "#D3DAE3"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#474B57",
|
||||
"Yellow": "#37373d",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#393f4c",
|
||||
"foreground": "#D3DAE3",
|
||||
"selectionBackground": "#8888FF",
|
||||
"selectionBackground": "#8888FF50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25"
|
||||
"selectionInactiveBackground": "#09477125"
|
||||
},
|
||||
"material": {
|
||||
"background": "#2f343f",
|
||||
@@ -302,8 +310,8 @@
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#393f4c",
|
||||
"usedColor": "#3F3F46",
|
||||
"usedBackground": "#3F3F46"
|
||||
"usedColor": "#08507C",
|
||||
"usedBackground": "#08507C"
|
||||
},
|
||||
"Menu": {
|
||||
"acceleratorForeground": "#8b9eb5",
|
||||
@@ -407,16 +415,16 @@
|
||||
"Plugins": {
|
||||
"background": "#2f343f",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
"eapTagBackground": "#3F3F46",
|
||||
"eapTagBackground": "#08507C",
|
||||
"lightSelectionBackground": "#8888FF",
|
||||
"selectionBackground": "#8888FF",
|
||||
"tagForeground": "#42A5F5",
|
||||
"tagBackground": "#3F3F46",
|
||||
"tagBackground": "#08507C",
|
||||
"Button": {
|
||||
"installBackground": "#383C4A",
|
||||
"installBorderColor": "#383C4A",
|
||||
"installForeground": "#D3DAE3",
|
||||
"installFocusedBackground": "#3F3F46",
|
||||
"installFocusedBackground": "#08507C",
|
||||
"installFillForeground": "#8b9eb5",
|
||||
"installFillBackground": "#383C4A",
|
||||
"updateBackground": "#383C4A",
|
||||
@@ -472,8 +480,8 @@
|
||||
"indeterminateEndColor": "#42A5F5",
|
||||
"indeterminateStartColor": "#42A5F5",
|
||||
"progressColor": "#42A5F5",
|
||||
"selectionBackground": "#3F3F46",
|
||||
"trackColor": "#3F3F46"
|
||||
"selectionBackground": "#08507C",
|
||||
"trackColor": "#08507C"
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#2f343f",
|
||||
@@ -511,7 +519,7 @@
|
||||
"trackColor": "#2f343f30"
|
||||
}
|
||||
},
|
||||
"thumb": "#3F3F46",
|
||||
"thumb": "#08507C",
|
||||
"thumbBorderColor": "#42A5F570",
|
||||
"thumbColor": "#42A5F570",
|
||||
"trackColor": "#2f343f30",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#2f343f"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#D3DAE3",
|
||||
"separatorForeground": "#8b9eb5",
|
||||
"separatorColor": "#404552"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -544,7 +552,7 @@
|
||||
"Tab": {
|
||||
"active.foreground": "#FFFFFF",
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedBackground": "#3F3F46"
|
||||
"selectedBackground": "#08507C"
|
||||
}
|
||||
},
|
||||
"SearchMatch": {
|
||||
@@ -561,14 +569,17 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#2f343f",
|
||||
"buttonBorderColor": "#42A5F5",
|
||||
"buttonColor": "#42A5F5",
|
||||
"foreground": "#D3DAE3",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#393f4c",
|
||||
"trackColor": "#41416A",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#42A5F5"
|
||||
},
|
||||
"SpeedSearch": {
|
||||
"background": "#3F3F46",
|
||||
"background": "#08507C",
|
||||
"borderColor": "#404552",
|
||||
"foreground": "#D3DAE3",
|
||||
"errorForeground": "#D3DAE3"
|
||||
@@ -589,7 +600,7 @@
|
||||
},
|
||||
"TabbedPane": {
|
||||
"background": "#2f343f",
|
||||
"contentAreaColor": "#3F3F46",
|
||||
"contentAreaColor": "#08507C",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#404552",
|
||||
"disabledForeground": "#D3DAE3",
|
||||
@@ -599,7 +610,7 @@
|
||||
"fontSizeOffset": 0,
|
||||
"foreground": "#D3DAE3",
|
||||
"highlight": "#404552",
|
||||
"hoverColor": "#3F3F46",
|
||||
"hoverColor": "#08507C",
|
||||
"labelShift": 0,
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedLabelShift": 0,
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#42A5F5"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#2f343f",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#393f4c",
|
||||
"selectionBackground": "#41416A",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25",
|
||||
"selectionInactiveBackground": "#41416A",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#D3DAE3",
|
||||
"stripeColor": "#262b33"
|
||||
@@ -671,8 +683,8 @@
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#262b33",
|
||||
"Button.hoverBackground": "#3F3F46",
|
||||
"inactiveBackground": "#393f4c",
|
||||
"Button.hoverBackground": "#08507C",
|
||||
"inactiveBackground": "#2f343f",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"inactiveInfoForeground": "#8b9eb5"
|
||||
},
|
||||
@@ -697,7 +709,7 @@
|
||||
"Actions.background": "#2f343f",
|
||||
"Actions.infoForeground": "#8b9eb5",
|
||||
"background": "#2f343f",
|
||||
"borderColor": "#3F3F46",
|
||||
"borderColor": "#08507C",
|
||||
"foreground": "#D3DAE3",
|
||||
"infoForeground": "#8b9eb5",
|
||||
"separatorColor": "#404552",
|
||||
@@ -718,13 +730,13 @@
|
||||
"background": "#2f343f"
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#3F3F46",
|
||||
"hoverBackground": "#08507C",
|
||||
"hoverInactiveBackground": "#393f4c",
|
||||
"inactiveUnderlineColor": "#42A5F5",
|
||||
"selectedBackground": "#262b33",
|
||||
"selectedInactiveBackground": "#262b33",
|
||||
"underlineColor": "#42A5F5",
|
||||
"underlinedTabBackground": "#3F3F46",
|
||||
"underlinedTabBackground": "#08507C",
|
||||
"underlinedTabInactiveBackground": "#393f4c"
|
||||
}
|
||||
},
|
||||
@@ -734,10 +746,10 @@
|
||||
"hash": "#404552",
|
||||
"modifiedItemForeground": "#42A5F5",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#08507C",
|
||||
"selectionBackground": "#09477170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#08507C25",
|
||||
"selectionInactiveBackground": "#09477125",
|
||||
"textBackground": "#2f343f"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,16 +785,16 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#8b9eb5",
|
||||
"Commit.currentBranchBackground": "#08507C"
|
||||
"Commit.currentBranchBackground": "#393f4c"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
"backgroundBase": "#3F3F46"
|
||||
"backgroundBase": "#08507C"
|
||||
}
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#2f343f",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#D3DAE3"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#2f343f",
|
||||
@@ -826,8 +838,8 @@
|
||||
"Actions.Yellow": "#F9EE98",
|
||||
"Checkbox.Background.Default": "#262b33",
|
||||
"Checkbox.Background.Default.Dark": "#262b33",
|
||||
"Checkbox.Background.Disabled": "#474B57",
|
||||
"Checkbox.Background.Disabled.Dark": "#474B57",
|
||||
"Checkbox.Background.Disabled": "#37373d",
|
||||
"Checkbox.Background.Disabled.Dark": "#37373d",
|
||||
"Checkbox.Border.Default": "#404552",
|
||||
"Checkbox.Border.Default.Dark": "#404552",
|
||||
"Checkbox.Border.Disabled": "#D3DAE3",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#42A5F5",
|
||||
"Checkbox.Foreground.Disabled": "#D3DAE3",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#D3DAE3",
|
||||
"Checkbox.Background.Selected": "#42A5F5",
|
||||
"Checkbox.Background.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Background.Selected": "#2f343f",
|
||||
"Checkbox.Background.Selected.Dark": "#2f343f",
|
||||
"Checkbox.Border.Selected": "#42A5F5",
|
||||
"Checkbox.Border.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Foreground.Selected": "#D3DAE3",
|
||||
"Checkbox.Foreground.Selected.Dark": "#D3DAE3",
|
||||
"Checkbox.Foreground.Selected": "#42A5F5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#42A5F5",
|
||||
"Checkbox.Focus.Thin.Selected": "#D3DAE3",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#D3DAE3",
|
||||
"Objects.Grey": "#747C84",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#D3DAE3",
|
||||
"Objects.YellowDark": "#CDA869",
|
||||
"Objects.GreenAndroid": "#8F9D6A"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
"inactiveBackground": "#3c4150",
|
||||
"inactiveForeground": "#979FAD",
|
||||
"infoForeground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionBackgroundInactive": "#2F333D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#2F333D",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#2979ff50"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#3A3F4B"
|
||||
"selectionBackground": "#4D515D"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#282C34",
|
||||
"Borders.color": "#282C34",
|
||||
@@ -79,7 +79,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#2F333D",
|
||||
"foreground": "#979FAD",
|
||||
"infoForeground": "#979FAD",
|
||||
"matchForeground": "#2979ff2",
|
||||
"matchForeground": "#2979ff",
|
||||
"matchSelectionForeground": "#2979ff",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#3A3F4B",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#979FAD",
|
||||
"selectionInactiveBackground": "#383D48",
|
||||
"selectionBackground": "#3A3F4B80",
|
||||
"selectionInactiveBackground": "#4D515D50",
|
||||
"selectionBackground": "#4D515D80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#6B727D",
|
||||
"inactiveMaskColor": "#21252B",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground":"#383E49"
|
||||
"underlinedTabBackground": "#383E49"
|
||||
},
|
||||
"Desktop.background": "#282C34",
|
||||
"DialogWrapper.southPanelBackground": "#282C34",
|
||||
@@ -186,7 +185,7 @@
|
||||
"foreground": "#979FAD",
|
||||
"inactiveBackground": "#282C34",
|
||||
"inactiveForeground": "#6B727D",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#383D48",
|
||||
"hoverMaskColor": "#383D48",
|
||||
"inactiveMaskColor": "#282C34",
|
||||
"inactiveColoredFileBackground": "#282C34",
|
||||
"inactiveUnderlineColor": "#6B727D",
|
||||
"selectedForeground": "#979FAD",
|
||||
"selectedBackground": "#383E49",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground": "#383E49"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#282C34",
|
||||
"borderColor": "#2F333D",
|
||||
"hoverBackground": "#383D48",
|
||||
"hoverColor": "#383D48",
|
||||
"inactiveUnderlineColor": "#2979ff",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground": "#383E49",
|
||||
"underlinedTabForeground": "#979FAD"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#2F333D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25"
|
||||
@@ -314,7 +322,7 @@
|
||||
"disabledBackground": "#2F333D",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#282C34"
|
||||
},
|
||||
@@ -325,7 +333,7 @@
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"highlight": "#282C34",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#21252B"
|
||||
},
|
||||
@@ -337,7 +345,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -408,8 +416,8 @@
|
||||
"background": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"eapTagBackground": "#383D48",
|
||||
"lightSelectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"lightSelectionBackground": "#4D515D",
|
||||
"selectionBackground": "#4D515D",
|
||||
"tagForeground": "#2979ff",
|
||||
"tagBackground": "#383D48",
|
||||
"Button": {
|
||||
@@ -487,7 +495,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#282C34",
|
||||
"buttonBorderColor": "#2979ff",
|
||||
"buttonColor": "#2979ff",
|
||||
"foreground": "#979FAD",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#2F333D",
|
||||
"trackColor": "#383E49",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#2979ff"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#2979ff"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#21252B",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#2F333D",
|
||||
"selectionBackground": "#383E49",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25",
|
||||
"selectionInactiveBackground": "#383E49",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#979FAD",
|
||||
"stripeColor": "#21252B"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#21252B",
|
||||
"Button.hoverBackground": "#383D48",
|
||||
"inactiveBackground": "#2F333D",
|
||||
"inactiveBackground": "#282C34",
|
||||
"infoForeground": "#979FAD",
|
||||
"inactiveInfoForeground": "#979FAD"
|
||||
},
|
||||
@@ -734,7 +746,7 @@
|
||||
"hash": "#282C34",
|
||||
"modifiedItemForeground": "#2979ff",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#3A3F4B70",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#979FAD",
|
||||
"Commit.currentBranchBackground": "#3A3F4B"
|
||||
"Commit.currentBranchBackground": "#2F333D"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#21252B",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#979FAD"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#282C34",
|
||||
@@ -796,7 +808,7 @@
|
||||
"separatorColor": "#282C34",
|
||||
"Projects": {
|
||||
"background": "#2F333D",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionInactiveBackground": "#2F333D"
|
||||
}
|
||||
},
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#2979ff",
|
||||
"Checkbox.Foreground.Disabled": "#6B727D",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6B727D",
|
||||
"Checkbox.Background.Selected": "#2979ff",
|
||||
"Checkbox.Background.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Background.Selected": "#282C34",
|
||||
"Checkbox.Background.Selected.Dark": "#282C34",
|
||||
"Checkbox.Border.Selected": "#2979ff",
|
||||
"Checkbox.Border.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Foreground.Selected": "#979FAD",
|
||||
"Checkbox.Foreground.Selected.Dark": "#979FAD",
|
||||
"Checkbox.Foreground.Selected": "#2979ff",
|
||||
"Checkbox.Foreground.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Focus.Thin.Selected": "#979FAD",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#979FAD",
|
||||
"Objects.Grey": "#59626F",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#979FAD",
|
||||
"Objects.YellowDark": "#D19A66",
|
||||
"Objects.GreenAndroid": "#98C379"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
"inactiveBackground": "#3c4150",
|
||||
"inactiveForeground": "#979FAD",
|
||||
"infoForeground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionBackgroundInactive": "#2F333D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#2F333D",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#2979ff50"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#3A3F4B"
|
||||
"selectionBackground": "#4D515D"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#282C34",
|
||||
"Borders.color": "#282C34",
|
||||
@@ -79,7 +79,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#2F333D",
|
||||
"foreground": "#979FAD",
|
||||
"infoForeground": "#979FAD",
|
||||
"matchForeground": "#2979ff2",
|
||||
"matchForeground": "#2979ff",
|
||||
"matchSelectionForeground": "#2979ff",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#3A3F4B",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#979FAD",
|
||||
"selectionInactiveBackground": "#383D48",
|
||||
"selectionBackground": "#3A3F4B80",
|
||||
"selectionInactiveBackground": "#4D515D50",
|
||||
"selectionBackground": "#4D515D80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#6B727D",
|
||||
"inactiveMaskColor": "#282C34",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground":"#383E49"
|
||||
"underlinedTabBackground": "#383E49"
|
||||
},
|
||||
"Desktop.background": "#282C34",
|
||||
"DialogWrapper.southPanelBackground": "#282C34",
|
||||
@@ -186,7 +185,7 @@
|
||||
"foreground": "#979FAD",
|
||||
"inactiveBackground": "#282C34",
|
||||
"inactiveForeground": "#6B727D",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#383D48",
|
||||
"hoverMaskColor": "#383D48",
|
||||
"inactiveMaskColor": "#282C34",
|
||||
"inactiveColoredFileBackground": "#282C34",
|
||||
"inactiveUnderlineColor": "#6B727D",
|
||||
"selectedForeground": "#979FAD",
|
||||
"selectedBackground": "#383E49",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground": "#383E49"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#282C34",
|
||||
"borderColor": "#2F333D",
|
||||
"hoverBackground": "#383D48",
|
||||
"hoverColor": "#383D48",
|
||||
"inactiveUnderlineColor": "#2979ff",
|
||||
"underlineColor": "#2979ff",
|
||||
"underlinedTabBackground": "#383E49",
|
||||
"underlinedTabForeground": "#979FAD"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#2F333D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25"
|
||||
@@ -314,7 +322,7 @@
|
||||
"disabledBackground": "#2F333D",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#282C34"
|
||||
},
|
||||
@@ -325,7 +333,7 @@
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"highlight": "#282C34",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#282C34"
|
||||
},
|
||||
@@ -337,7 +345,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -408,8 +416,8 @@
|
||||
"background": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"eapTagBackground": "#383D48",
|
||||
"lightSelectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"lightSelectionBackground": "#4D515D",
|
||||
"selectionBackground": "#4D515D",
|
||||
"tagForeground": "#2979ff",
|
||||
"tagBackground": "#383D48",
|
||||
"Button": {
|
||||
@@ -487,7 +495,7 @@
|
||||
"disabledBackground": "#282C34",
|
||||
"disabledForeground": "#6B727D",
|
||||
"foreground": "#979FAD",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#282C34",
|
||||
"buttonBorderColor": "#2979ff",
|
||||
"buttonColor": "#2979ff",
|
||||
"foreground": "#979FAD",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#2F333D",
|
||||
"trackColor": "#383E49",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#2979ff"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#2979ff"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#282C34",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#2F333D",
|
||||
"selectionBackground": "#383E49",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25",
|
||||
"selectionInactiveBackground": "#383E49",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#979FAD",
|
||||
"stripeColor": "#21252B"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#21252B",
|
||||
"Button.hoverBackground": "#383D48",
|
||||
"inactiveBackground": "#2F333D",
|
||||
"inactiveBackground": "#282C34",
|
||||
"infoForeground": "#979FAD",
|
||||
"inactiveInfoForeground": "#979FAD"
|
||||
},
|
||||
@@ -734,7 +746,7 @@
|
||||
"hash": "#282C34",
|
||||
"modifiedItemForeground": "#2979ff",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#3A3F4B70",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A3F4B25",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#979FAD",
|
||||
"Commit.currentBranchBackground": "#3A3F4B"
|
||||
"Commit.currentBranchBackground": "#2F333D"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#282C34",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#979FAD"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#282C34",
|
||||
@@ -796,7 +808,7 @@
|
||||
"separatorColor": "#282C34",
|
||||
"Projects": {
|
||||
"background": "#2F333D",
|
||||
"selectionBackground": "#3A3F4B",
|
||||
"selectionBackground": "#4D515D",
|
||||
"selectionInactiveBackground": "#2F333D"
|
||||
}
|
||||
},
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#2979ff",
|
||||
"Checkbox.Foreground.Disabled": "#6B727D",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6B727D",
|
||||
"Checkbox.Background.Selected": "#2979ff",
|
||||
"Checkbox.Background.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Background.Selected": "#282C34",
|
||||
"Checkbox.Background.Selected.Dark": "#282C34",
|
||||
"Checkbox.Border.Selected": "#2979ff",
|
||||
"Checkbox.Border.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Foreground.Selected": "#979FAD",
|
||||
"Checkbox.Foreground.Selected.Dark": "#979FAD",
|
||||
"Checkbox.Foreground.Selected": "#2979ff",
|
||||
"Checkbox.Foreground.Selected.Dark": "#2979ff",
|
||||
"Checkbox.Focus.Thin.Selected": "#979FAD",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#979FAD",
|
||||
"Objects.Grey": "#59626F",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#979FAD",
|
||||
"Objects.YellowDark": "#D19A66",
|
||||
"Objects.GreenAndroid": "#98C379"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -8,13 +8,13 @@
|
||||
"acceleratorSelectionForeground": "#6272A4",
|
||||
"background": "#282A36",
|
||||
"borderColor": "#21222C",
|
||||
"disabledBackground": "#34353D",
|
||||
"disabledBackground": "#313341",
|
||||
"disabledForeground": "#6272A4",
|
||||
"disabledText": "#6272A4",
|
||||
"focusColor": "#6272A4",
|
||||
"focusedBorderColor": "#FF79C5",
|
||||
"foreground": "#F8F8F2",
|
||||
"inactiveBackground": "#34353D",
|
||||
"inactiveBackground": "#313341",
|
||||
"inactiveForeground": "#6272A4",
|
||||
"infoForeground": "#6272A4",
|
||||
"selectionBackground": "#44475A",
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#282A36",
|
||||
"foreground": "#F8F8F2",
|
||||
"infoForeground": "#6272A4",
|
||||
"matchForeground": "#FF79C52",
|
||||
"matchForeground": "#FF79C5",
|
||||
"matchSelectionForeground": "#FF79C5",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#44475A",
|
||||
"selectedGrayedForeground": "#8BE9FD",
|
||||
"selectionGrayForeground": "#8BE9FD",
|
||||
"selectionInactiveInfoForeground": "#6272A4",
|
||||
"selectionInactiveBackground": "#6272A4",
|
||||
"selectionInactiveBackground": "#44475A50",
|
||||
"selectionBackground": "#44475A80",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInfoForeground": "#8BE9FD"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#6272A4",
|
||||
"inactiveMaskColor": "#191A21",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground":"#44475A"
|
||||
"underlinedTabBackground": "#44475A"
|
||||
},
|
||||
"Desktop.background": "#282A36",
|
||||
"DialogWrapper.southPanelBackground": "#282A36",
|
||||
@@ -194,17 +193,26 @@
|
||||
"hoverColor": "#6272A4",
|
||||
"hoverMaskColor": "#6272A4",
|
||||
"inactiveMaskColor": "#282A36",
|
||||
"inactiveColoredFileBackground": "#282A36",
|
||||
"inactiveUnderlineColor": "#6272A4",
|
||||
"selectedForeground": "#F8F8F2",
|
||||
"selectedBackground": "#44475A",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground": "#44475A"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#282A36",
|
||||
"borderColor": "#282A36",
|
||||
"hoverBackground": "#6272A4",
|
||||
"hoverColor": "#6272A4",
|
||||
"inactiveUnderlineColor": "#FF79C5",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground": "#44475A",
|
||||
"underlinedTabForeground": "#F8F8F2"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#34353D",
|
||||
"Yellow": "#313341",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#282A36",
|
||||
"foreground": "#F8F8F2",
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionBackground": "#44475A50",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25"
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#282A36"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#F8F8F2",
|
||||
"separatorForeground": "#6272A4",
|
||||
"separatorColor": "#21222C"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#282A36",
|
||||
"buttonBorderColor": "#FF79C5",
|
||||
"buttonColor": "#FF79C5",
|
||||
"foreground": "#F8F8F2",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#282A36",
|
||||
"trackColor": "#44475A",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#FF79C5"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#FF79C5"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#191A21",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#282A36",
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25",
|
||||
"selectionInactiveBackground": "#44475A",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"sortIconColor": "#F8F8F2",
|
||||
"stripeColor": "#191A21"
|
||||
@@ -734,7 +746,7 @@
|
||||
"hash": "#21222C",
|
||||
"modifiedItemForeground": "#FF79C5",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionBackground": "#44475A70",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#6272A4",
|
||||
"Commit.currentBranchBackground": "#44475A"
|
||||
"Commit.currentBranchBackground": "#282A36"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#8BE9FD",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#191A21",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#F8F8F2"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#282A36",
|
||||
@@ -826,8 +838,8 @@
|
||||
"Actions.Yellow": "#50FA7B",
|
||||
"Checkbox.Background.Default": "#191A21",
|
||||
"Checkbox.Background.Default.Dark": "#191A21",
|
||||
"Checkbox.Background.Disabled": "#34353D",
|
||||
"Checkbox.Background.Disabled.Dark": "#34353D",
|
||||
"Checkbox.Background.Disabled": "#313341",
|
||||
"Checkbox.Background.Disabled.Dark": "#313341",
|
||||
"Checkbox.Border.Default": "#21222C",
|
||||
"Checkbox.Border.Default.Dark": "#21222C",
|
||||
"Checkbox.Border.Disabled": "#6272A4",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#FF79C5",
|
||||
"Checkbox.Foreground.Disabled": "#6272A4",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6272A4",
|
||||
"Checkbox.Background.Selected": "#FF79C5",
|
||||
"Checkbox.Background.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Background.Selected": "#282A36",
|
||||
"Checkbox.Background.Selected.Dark": "#282A36",
|
||||
"Checkbox.Border.Selected": "#FF79C5",
|
||||
"Checkbox.Border.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Foreground.Selected": "#F8F8F2",
|
||||
"Checkbox.Foreground.Selected.Dark": "#F8F8F2",
|
||||
"Checkbox.Foreground.Selected": "#FF79C5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Focus.Thin.Selected": "#F8F8F2",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#F8F8F2",
|
||||
"Objects.Grey": "#6272A4",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#F8F8F2",
|
||||
"Objects.YellowDark": "#BD93F9",
|
||||
"Objects.GreenAndroid": "#F1FA8C"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,13 +8,13 @@
|
||||
"acceleratorSelectionForeground": "#6272A4",
|
||||
"background": "#282A36",
|
||||
"borderColor": "#21222C",
|
||||
"disabledBackground": "#34353D",
|
||||
"disabledBackground": "#313341",
|
||||
"disabledForeground": "#6272A4",
|
||||
"disabledText": "#6272A4",
|
||||
"focusColor": "#6272A4",
|
||||
"focusedBorderColor": "#FF79C5",
|
||||
"foreground": "#F8F8F2",
|
||||
"inactiveBackground": "#34353D",
|
||||
"inactiveBackground": "#313341",
|
||||
"inactiveForeground": "#6272A4",
|
||||
"infoForeground": "#6272A4",
|
||||
"selectionBackground": "#44475A",
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#282A36",
|
||||
"foreground": "#F8F8F2",
|
||||
"infoForeground": "#6272A4",
|
||||
"matchForeground": "#FF79C52",
|
||||
"matchForeground": "#FF79C5",
|
||||
"matchSelectionForeground": "#FF79C5",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#44475A",
|
||||
"selectedGrayedForeground": "#8BE9FD",
|
||||
"selectionGrayForeground": "#8BE9FD",
|
||||
"selectionInactiveInfoForeground": "#6272A4",
|
||||
"selectionInactiveBackground": "#6272A4",
|
||||
"selectionInactiveBackground": "#44475A50",
|
||||
"selectionBackground": "#44475A80",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInfoForeground": "#8BE9FD"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#6272A4",
|
||||
"inactiveMaskColor": "#282A36",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground":"#44475A"
|
||||
"underlinedTabBackground": "#44475A"
|
||||
},
|
||||
"Desktop.background": "#282A36",
|
||||
"DialogWrapper.southPanelBackground": "#282A36",
|
||||
@@ -194,17 +193,26 @@
|
||||
"hoverColor": "#6272A4",
|
||||
"hoverMaskColor": "#6272A4",
|
||||
"inactiveMaskColor": "#282A36",
|
||||
"inactiveColoredFileBackground": "#282A36",
|
||||
"inactiveUnderlineColor": "#6272A4",
|
||||
"selectedForeground": "#F8F8F2",
|
||||
"selectedBackground": "#44475A",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground": "#44475A"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#282A36",
|
||||
"borderColor": "#282A36",
|
||||
"hoverBackground": "#6272A4",
|
||||
"hoverColor": "#6272A4",
|
||||
"inactiveUnderlineColor": "#FF79C5",
|
||||
"underlineColor": "#FF79C5",
|
||||
"underlinedTabBackground": "#44475A",
|
||||
"underlinedTabForeground": "#F8F8F2"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#34353D",
|
||||
"Yellow": "#313341",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#282A36",
|
||||
"foreground": "#F8F8F2",
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionBackground": "#44475A50",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25"
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#282A36"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#F8F8F2",
|
||||
"separatorForeground": "#6272A4",
|
||||
"separatorColor": "#21222C"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#282A36",
|
||||
"buttonBorderColor": "#FF79C5",
|
||||
"buttonColor": "#FF79C5",
|
||||
"foreground": "#F8F8F2",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#282A36",
|
||||
"trackColor": "#44475A",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#FF79C5"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#FF79C5"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#282A36",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#282A36",
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25",
|
||||
"selectionInactiveBackground": "#44475A",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"sortIconColor": "#F8F8F2",
|
||||
"stripeColor": "#191A21"
|
||||
@@ -734,7 +746,7 @@
|
||||
"hash": "#21222C",
|
||||
"modifiedItemForeground": "#FF79C5",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#44475A",
|
||||
"selectionBackground": "#44475A70",
|
||||
"selectionForeground": "#8BE9FD",
|
||||
"selectionInactiveForeground": "#8BE9FD",
|
||||
"selectionInactiveBackground": "#44475A25",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#6272A4",
|
||||
"Commit.currentBranchBackground": "#44475A"
|
||||
"Commit.currentBranchBackground": "#282A36"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#8BE9FD",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#282A36",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#F8F8F2"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#282A36",
|
||||
@@ -826,8 +838,8 @@
|
||||
"Actions.Yellow": "#50FA7B",
|
||||
"Checkbox.Background.Default": "#191A21",
|
||||
"Checkbox.Background.Default.Dark": "#191A21",
|
||||
"Checkbox.Background.Disabled": "#34353D",
|
||||
"Checkbox.Background.Disabled.Dark": "#34353D",
|
||||
"Checkbox.Background.Disabled": "#313341",
|
||||
"Checkbox.Background.Disabled.Dark": "#313341",
|
||||
"Checkbox.Border.Default": "#21222C",
|
||||
"Checkbox.Border.Default.Dark": "#21222C",
|
||||
"Checkbox.Border.Disabled": "#6272A4",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#FF79C5",
|
||||
"Checkbox.Foreground.Disabled": "#6272A4",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6272A4",
|
||||
"Checkbox.Background.Selected": "#FF79C5",
|
||||
"Checkbox.Background.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Background.Selected": "#282A36",
|
||||
"Checkbox.Background.Selected.Dark": "#282A36",
|
||||
"Checkbox.Border.Selected": "#FF79C5",
|
||||
"Checkbox.Border.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Foreground.Selected": "#F8F8F2",
|
||||
"Checkbox.Foreground.Selected.Dark": "#F8F8F2",
|
||||
"Checkbox.Foreground.Selected": "#FF79C5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#FF79C5",
|
||||
"Checkbox.Focus.Thin.Selected": "#F8F8F2",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#F8F8F2",
|
||||
"Objects.Grey": "#6272A4",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#F8F8F2",
|
||||
"Objects.YellowDark": "#BD93F9",
|
||||
"Objects.GreenAndroid": "#F1FA8C"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,19 +8,19 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#DFE1E4",
|
||||
"disabledBackground": "#FDFDFD",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledBackground": "#dcdcdc",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledText": "#9ba0a3",
|
||||
"focusColor": "#CCE5FF",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#FDFDFD",
|
||||
"inactiveBackground": "#dcdcdc",
|
||||
"inactiveForeground": "#292D31",
|
||||
"infoForeground": "#292D31",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionBackgroundInactive": "#F7F8FA",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveBackground": "#F7F8FA",
|
||||
"selectionBackgroundInactive": "#f3f3f3",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#f3f3f3",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"activeCaption": "#F7F8FA",
|
||||
@@ -48,27 +48,27 @@
|
||||
"startBackground": "#cce5ff",
|
||||
"startBorderColor": "#cce5ff"
|
||||
},
|
||||
"disabledBorderColor": "#F1F3F6",
|
||||
"disabledText": "#6C737C",
|
||||
"endBackground": "#F1F3F6",
|
||||
"endBorderColor": "#F1F3F6",
|
||||
"disabledBorderColor": "#edf1f5",
|
||||
"disabledText": "#9ba0a3",
|
||||
"endBackground": "#edf1f5",
|
||||
"endBorderColor": "#edf1f5",
|
||||
"focus": "#CCE5FF",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"foreground": "#292D31",
|
||||
"highlight": "#111111",
|
||||
"mt.background": "#F1F3F6",
|
||||
"highlight": "#FFFFFF",
|
||||
"mt.background": "#edf1f5",
|
||||
"mt.foreground": "#292D31",
|
||||
"mt.selectedForeground": "#111111",
|
||||
"mt.selectedForeground": "#FFFFFF",
|
||||
"mt.selection.color1": "#cce5ff",
|
||||
"mt.selection.color2": "#cce5ff",
|
||||
"startBackground": "#F1F3F6",
|
||||
"startBorderColor": "#F1F3F6",
|
||||
"shadowColor": "#F1F3F6",
|
||||
"startBackground": "#edf1f5",
|
||||
"startBorderColor": "#edf1f5",
|
||||
"shadowColor": "#edf1f5",
|
||||
"shadowWidth": 0
|
||||
},
|
||||
"CheckBox": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"select": "#79CB60"
|
||||
},
|
||||
@@ -77,7 +77,7 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
@@ -87,45 +87,44 @@
|
||||
"foreground": "#5B6168",
|
||||
"swatchesDefaultRecentColor": "#5B6168"
|
||||
},
|
||||
"ComboBoxButton.background": "#F1F3F6",
|
||||
"ComboBoxButton.background": "#edf1f5",
|
||||
"ComboBox": {
|
||||
"ArrowButton": {
|
||||
"background": "#F1F3F6",
|
||||
"disabledIconColor": "#6C737C",
|
||||
"background": "#edf1f5",
|
||||
"disabledIconColor": "#9ba0a3",
|
||||
"iconColor": "#5B6168",
|
||||
"nonEditableBackground": "#F7F8FA"
|
||||
},
|
||||
"background": "#FFFFFF",
|
||||
"buttonBackground": "#F1F3F6",
|
||||
"disabledForeground": "#6C737C",
|
||||
"background": "#fafbfc",
|
||||
"buttonBackground": "#edf1f5",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"modifiedItemForeground": "#79CB60",
|
||||
"nonEditableBackground": "#F7F8FA",
|
||||
"nonEditableBackground": "#f3f3f3",
|
||||
"padding": "5,5,5,5",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"ComboPopup.border": "#DFE1E4",
|
||||
"CompletionPopup": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"matchForeground": "#79CB602",
|
||||
"matchForeground": "#79CB60",
|
||||
"matchSelectionForeground": "#79CB60",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#3A66D1",
|
||||
"selectedGrayedForeground": "#111111",
|
||||
"selectionGrayForeground": "#111111",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#292D31",
|
||||
"selectionInactiveBackground": "#CCE5FF",
|
||||
"selectionInactiveBackground": "#3A66D150",
|
||||
"selectionBackground": "#3A66D180",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInfoForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
"Component": {
|
||||
"arc": 4,
|
||||
"borderColor": "#CCE5FF",
|
||||
"disabledBorderColor": "#F1F3F6",
|
||||
"disabledBorderColor": "#edf1f5",
|
||||
"focusColor": "#79CB60",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"hoverIconColor": "#79CB60",
|
||||
@@ -136,7 +135,7 @@
|
||||
"controlText": "#292D31",
|
||||
"Counter": {
|
||||
"background": "#79CB60",
|
||||
"foreground": "#111111"
|
||||
"foreground": "#FFFFFF"
|
||||
},
|
||||
"Debugger": {
|
||||
"Variables": {
|
||||
@@ -160,12 +159,12 @@
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"hoverBackground": "#cce5ff",
|
||||
"hoverColor": "#FFFFFF",
|
||||
"hoverColor": "#fafbfc",
|
||||
"hoverMaskColor": "#CCE5FF",
|
||||
"inactiveUnderlineColor": "#6C737C",
|
||||
"inactiveMaskColor": "#FFFFFF",
|
||||
"inactiveUnderlineColor": "#9ba0a3",
|
||||
"inactiveMaskColor": "#fafbfc",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground":"#cce5ff"
|
||||
"underlinedTabBackground": "#cce5ff"
|
||||
},
|
||||
"Desktop.background": "#F7F8FA",
|
||||
"DialogWrapper.southPanelBackground": "#F7F8FA",
|
||||
@@ -176,35 +175,44 @@
|
||||
"areaForeground": "#5B6168"
|
||||
},
|
||||
"Editor": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"foreground": "#5B6168",
|
||||
"shortcutForeground": "#292D31"
|
||||
},
|
||||
"EditorPane": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#F7F8FA",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"hoverColor": "#CCE5FF",
|
||||
"hoverMaskColor": "#CCE5FF",
|
||||
"inactiveMaskColor": "#F7F8FA",
|
||||
"inactiveColoredFileBackground": "#F7F8FA",
|
||||
"inactiveUnderlineColor": "#6C737C",
|
||||
"inactiveUnderlineColor": "#9ba0a3",
|
||||
"selectedForeground": "#5B6168",
|
||||
"selectedBackground": "#cce5ff",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#cce5ff"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"hoverBackground": "#CCE5FF",
|
||||
"hoverColor": "#CCE5FF",
|
||||
"inactiveUnderlineColor": "#79CB60",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#cce5ff",
|
||||
"underlinedTabForeground": "#5B6168"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#FDFDFD",
|
||||
"Yellow": "#dcdcdc",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -221,11 +229,11 @@
|
||||
},
|
||||
"Focus.color": "#DFE1E4",
|
||||
"FormattedTextField": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#F1F3F6",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveBackground": "#edf1f5",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionBackground": "#cce5ff"
|
||||
},
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#F7F8FA",
|
||||
"inactive": "#FFFFFF"
|
||||
"inactive": "#fafbfc"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#F7F8FA",
|
||||
@@ -249,7 +257,7 @@
|
||||
"shortcutForeground": "#292D31"
|
||||
},
|
||||
"Hyperlink.linkColor": "#79CB60",
|
||||
"inactiveCaption": "#F7F8FA",
|
||||
"inactiveCaption": "#f3f3f3",
|
||||
"inactiveCaptionBorder": "#F7F8FA",
|
||||
"inactiveCaptionText": "#292D31",
|
||||
"info": "#292D31",
|
||||
@@ -266,9 +274,9 @@
|
||||
},
|
||||
"Label": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledShadow": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"selectedForeground": "#111111"
|
||||
@@ -281,64 +289,64 @@
|
||||
"visitedForeground": "#79CB60"
|
||||
},
|
||||
"List": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionBackground": "#3A66D150",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionInactiveBackground": "#3A66D125"
|
||||
},
|
||||
"material": {
|
||||
"background": "#F7F8FA",
|
||||
"branchColor": "#5B6168",
|
||||
"contrast": "#FFFFFF",
|
||||
"contrast": "#fafbfc",
|
||||
"foreground": "#5B6168",
|
||||
"mergeCommits": "#F1F3F6",
|
||||
"mergeCommits": "#edf1f5",
|
||||
"primaryColor": "#292D31",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"tab.backgroundColor": "#F7F8FA",
|
||||
"tab.borderColor": "#79CB60",
|
||||
"tagColor": "#292D31"
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#F7F8FA",
|
||||
"allocatedBackground": "#f3f3f3",
|
||||
"usedColor": "#CCE5FF",
|
||||
"usedBackground": "#CCE5FF"
|
||||
},
|
||||
"Menu": {
|
||||
"acceleratorForeground": "#292D31",
|
||||
"acceleratorSelectionForeground": "#111111",
|
||||
"acceleratorSelectionForeground": "#FFFFFF",
|
||||
"background": "#F7F8FA",
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"borderColor": "#f3f3f3",
|
||||
"disabledBackground": "#f3f3f3",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"MenuBar": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"borderColor": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"highlight": "#F7F8FA",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"shadow": "#FFFFFF"
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#fafbfc"
|
||||
},
|
||||
"MenuItem": {
|
||||
"acceleratorForeground": "#292D31",
|
||||
"acceleratorSelectionForeground": "#111111",
|
||||
"acceleratorSelectionForeground": "#FFFFFF",
|
||||
"border": "4,2,4,2",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
"arrowColor": "#5B6168",
|
||||
@@ -349,7 +357,7 @@
|
||||
"background": "#F7F8FA"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#FFFFFF"
|
||||
"background": "#fafbfc"
|
||||
}
|
||||
},
|
||||
"Notification": {
|
||||
@@ -359,9 +367,9 @@
|
||||
"errorBorderColor": "#DFECFE",
|
||||
"foreground": "#5B6168",
|
||||
"MoreButton": {
|
||||
"background": "#F1F3F6",
|
||||
"background": "#edf1f5",
|
||||
"foreground": "#5B6168",
|
||||
"innerBorderColor": "#F1F3F6"
|
||||
"innerBorderColor": "#edf1f5"
|
||||
},
|
||||
"ToolWindow": {
|
||||
"errorBackground": "#DFECFE",
|
||||
@@ -379,61 +387,61 @@
|
||||
"messageForeground": "#5B6168"
|
||||
},
|
||||
"Outline": {
|
||||
"color": "#F1F3F6"
|
||||
"color": "#edf1f5"
|
||||
},
|
||||
"Panel": {
|
||||
"background": "#F7F8FA",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"ParameterInfo": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"borderColor": "#cce5ff",
|
||||
"currentOverloadBackground": "#cce5ff",
|
||||
"currentParameterForeground": "#79CB60",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"lineSeparatorColor": "#cce5ff"
|
||||
},
|
||||
"PasswordField": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"capsLockIconColor": "#79CB60",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"Plugins": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"eapTagBackground": "#CCE5FF",
|
||||
"lightSelectionBackground": "#3A66D1",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"tagForeground": "#79CB60",
|
||||
"tagBackground": "#CCE5FF",
|
||||
"Button": {
|
||||
"installBackground": "#F1F3F6",
|
||||
"installBorderColor": "#F1F3F6",
|
||||
"installBackground": "#edf1f5",
|
||||
"installBorderColor": "#edf1f5",
|
||||
"installForeground": "#5B6168",
|
||||
"installFocusedBackground": "#CCE5FF",
|
||||
"installFillForeground": "#292D31",
|
||||
"installFillBackground": "#F1F3F6",
|
||||
"updateBackground": "#F1F3F6",
|
||||
"updateBorderColor": "#F1F3F6",
|
||||
"installFillBackground": "#edf1f5",
|
||||
"updateBackground": "#edf1f5",
|
||||
"updateBorderColor": "#edf1f5",
|
||||
"updateForeground": "#5B6168"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"borderColor": "#DFE1E4"
|
||||
},
|
||||
"SectionHeader": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"Tab": {
|
||||
"hoverBackground": "#cce5ff",
|
||||
"selectedForeground": "#111111",
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedBackground": "#cce5ff"
|
||||
}
|
||||
},
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#F7F8FA",
|
||||
"foreground": "#79CB60"
|
||||
},
|
||||
"borderColor": "#FFFFFF",
|
||||
"borderColor": "#fafbfc",
|
||||
"inactiveBorderColor": "#F7F8FA",
|
||||
"innerBorderColor": "#F7F8FA",
|
||||
"innerBorderColor": "#f3f3f3",
|
||||
"Header": {
|
||||
"activeBackground": "#F7F8FA",
|
||||
"inactiveBackground": "#FFFFFF"
|
||||
"inactiveBackground": "#fafbfc"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#5B6168",
|
||||
"separatorColor": "#F7F8FA",
|
||||
"separatorColor": "#f3f3f3",
|
||||
"Toolbar": {
|
||||
"background": "#FFFFFF",
|
||||
"borderColor": "#FFFFFF"
|
||||
"background": "#fafbfc",
|
||||
"borderColor": "#fafbfc"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -477,7 +485,7 @@
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"RadioButtonMenuItem": {
|
||||
@@ -485,10 +493,10 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
"background": "#F7F8FA",
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"foreground": "#292D31"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#F7F8FA"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#5B6168",
|
||||
"separatorForeground": "#292D31",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#FFFFFF",
|
||||
"borderColor": "#fafbfc",
|
||||
"infoForeground": "#292D31"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -552,18 +560,21 @@
|
||||
"startBackground": "#79CB60"
|
||||
},
|
||||
"Separator": {
|
||||
"background": "#F7F8FA",
|
||||
"foreground": "#F7F8FA",
|
||||
"separatorColor": "#F7F8FA"
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#f3f3f3",
|
||||
"separatorColor": "#f3f3f3"
|
||||
},
|
||||
"SidePanel": {
|
||||
"background": "#FFFFFF"
|
||||
"background": "#fafbfc"
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#F7F8FA",
|
||||
"buttonBorderColor": "#79CB60",
|
||||
"buttonColor": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#F7F8FA",
|
||||
"tickColor": "#f3f3f3",
|
||||
"trackColor": "#cce5ff",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#79CB60"
|
||||
},
|
||||
@@ -581,9 +592,9 @@
|
||||
},
|
||||
"SplitPane": {
|
||||
"background": "#F7F8FA",
|
||||
"highlight": "#FFFFFF"
|
||||
"highlight": "#fafbfc"
|
||||
},
|
||||
"SplitPaneDivider.draggingColor": "#F7F8FA",
|
||||
"SplitPaneDivider.draggingColor": "#f3f3f3",
|
||||
"StatusBar": {
|
||||
"borderColor": "#F7F8FA"
|
||||
},
|
||||
@@ -592,8 +603,8 @@
|
||||
"contentAreaColor": "#CCE5FF",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#DFE1E4",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledUnderlineColor": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledUnderlineColor": "#9ba0a3",
|
||||
"focus": "#cce5ff",
|
||||
"focusColor": "#cce5ff",
|
||||
"fontSizeOffset": 0,
|
||||
@@ -607,9 +618,10 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#79CB60"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#FFFFFF",
|
||||
"TabbedPane.mt.tab.background": "#fafbfc",
|
||||
"Table": {
|
||||
"background": "#F7F8FA",
|
||||
"cellNoFocusBorder": "10,5,10,5",
|
||||
@@ -623,54 +635,54 @@
|
||||
"highlightOuter": "#cce5ff",
|
||||
"lightSelectionForeground": "#111111",
|
||||
"lightSelectionInactiveForeground": "#292D31",
|
||||
"lightSelectionInactiveBackground": "#F7F8FA",
|
||||
"lightSelectionInactiveBackground": "#f3f3f3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveBackground": "#3A66D125",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionInactiveBackground": "#cce5ff",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#5B6168",
|
||||
"stripeColor": "#FFFFFF"
|
||||
"stripeColor": "#fafbfc"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"bottomSeparatorColor": "#F7F8FA",
|
||||
"bottomSeparatorColor": "#f3f3f3",
|
||||
"cellBorder": "4,0,4,0",
|
||||
"foreground": "#5B6168",
|
||||
"focusCellBackground": "#cce5ff",
|
||||
"focusCellForeground": "#111111",
|
||||
"height": 25,
|
||||
"separatorColor": "#F7F8FA"
|
||||
"separatorColor": "#f3f3f3"
|
||||
},
|
||||
"text": "#292D31",
|
||||
"textInactiveText": "#292D31",
|
||||
"textText": "#292D31",
|
||||
"TextArea": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"TextField": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"TextPane": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"Button.hoverBackground": "#CCE5FF",
|
||||
"inactiveBackground": "#F7F8FA",
|
||||
"infoForeground": "#292D31",
|
||||
@@ -678,9 +690,9 @@
|
||||
},
|
||||
"TitledBorder.titleColor": "#5B6168",
|
||||
"ToggleButton": {
|
||||
"borderColor": "#F1F3F6",
|
||||
"borderColor": "#edf1f5",
|
||||
"buttonColor": "#5B6168",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"offForeground": "#F7F8FA",
|
||||
"offBackground": "#F7F8FA",
|
||||
@@ -688,7 +700,7 @@
|
||||
"onForeground": "#79CB60"
|
||||
},
|
||||
"ToolBar": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"borderHandleColor": "#292D31",
|
||||
"floatingForeground": "#292D31",
|
||||
"foreground": "#5B6168"
|
||||
@@ -707,11 +719,11 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#cce5ff",
|
||||
"selectedForeground": "#111111",
|
||||
"selectedBackground": "#FFFFFF"
|
||||
"selectedBackground": "#fafbfc"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"inactiveBackground": "#F7F8FA"
|
||||
},
|
||||
"HeaderCloseButton": {
|
||||
@@ -719,26 +731,26 @@
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#CCE5FF",
|
||||
"hoverInactiveBackground": "#F7F8FA",
|
||||
"hoverInactiveBackground": "#f3f3f3",
|
||||
"inactiveUnderlineColor": "#79CB60",
|
||||
"selectedBackground": "#FFFFFF",
|
||||
"selectedInactiveBackground": "#FFFFFF",
|
||||
"selectedBackground": "#fafbfc",
|
||||
"selectedInactiveBackground": "#fafbfc",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#CCE5FF",
|
||||
"underlinedTabInactiveBackground": "#F7F8FA"
|
||||
"underlinedTabInactiveBackground": "#f3f3f3"
|
||||
}
|
||||
},
|
||||
"Tree": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"foreground": "#292D31",
|
||||
"hash": "#DFE1E4",
|
||||
"modifiedItemForeground": "#79CB60",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionBackground": "#3A66D170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A66D125",
|
||||
"textBackground": "#FFFFFF"
|
||||
"textBackground": "#fafbfc"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
"Tree.rightChildIndent": 5,
|
||||
@@ -765,7 +777,7 @@
|
||||
"HgLog": {
|
||||
"branchIconColor": "#79CB60",
|
||||
"bookmarkIconColor": "#111111",
|
||||
"closedBranchIconColor": "#6C737C",
|
||||
"closedBranchIconColor": "#9ba0a3",
|
||||
"localTagIconColor": "#292D31",
|
||||
"mqTagIconColor": "#292D31",
|
||||
"tagIconColor": "#292D31",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#292D31",
|
||||
"Commit.currentBranchBackground": "#3A66D1"
|
||||
"Commit.currentBranchBackground": "#f3f3f3"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#111111",
|
||||
@@ -781,40 +793,40 @@
|
||||
}
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "%fc"
|
||||
"background": "#fafbfc",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"captionBackground": "#FFFFFF",
|
||||
"captionBackground": "#fafbfc",
|
||||
"captionForeground": "#5B6168",
|
||||
"footerBackground": "#FFFFFF",
|
||||
"footerBackground": "#fafbfc",
|
||||
"footerForeground": "#5B6168",
|
||||
"headerBackground": "#F7F8FA",
|
||||
"headerForeground": "#5B6168",
|
||||
"separatorColor": "#DFE1E4",
|
||||
"Projects": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionInactiveBackground": "#F7F8FA"
|
||||
"selectionInactiveBackground": "#f3f3f3"
|
||||
}
|
||||
},
|
||||
"window": "#FFFFFF",
|
||||
"window": "#fafbfc",
|
||||
"windowBorder": "#DFE1E4",
|
||||
"windowText": "#292D31",
|
||||
"Window.border": "#DFE1E4"
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#FFFFFF",
|
||||
"#43494A": "#fafbfc",
|
||||
"#6B6B6B": "#292D31",
|
||||
"#A7A7A7": "#F7F8FA",
|
||||
"#3D6185": "#79CB60",
|
||||
"#466D94": "#79CB60",
|
||||
"#3C3F41": "#F7F8FA",
|
||||
"#545556": "#6C737C",
|
||||
"#606060": "#6C737C",
|
||||
"#545556": "#9ba0a3",
|
||||
"#606060": "#9ba0a3",
|
||||
"#9AA7B0": "#5B6168",
|
||||
"#675133": "#79CB60",
|
||||
"Actions.Blue": "#6F42C1",
|
||||
@@ -824,26 +836,26 @@
|
||||
"Actions.GreyInline.Dark": "#5B6168",
|
||||
"Actions.Red": "#22863A",
|
||||
"Actions.Yellow": "#6F42C1",
|
||||
"Checkbox.Background.Default": "#FFFFFF",
|
||||
"Checkbox.Background.Default.Dark": "#FFFFFF",
|
||||
"Checkbox.Background.Disabled": "#FDFDFD",
|
||||
"Checkbox.Background.Disabled.Dark": "#FDFDFD",
|
||||
"Checkbox.Background.Default": "#fafbfc",
|
||||
"Checkbox.Background.Default.Dark": "#fafbfc",
|
||||
"Checkbox.Background.Disabled": "#dcdcdc",
|
||||
"Checkbox.Background.Disabled.Dark": "#dcdcdc",
|
||||
"Checkbox.Border.Default": "#DFE1E4",
|
||||
"Checkbox.Border.Default.Dark": "#DFE1E4",
|
||||
"Checkbox.Border.Disabled": "#6C737C",
|
||||
"Checkbox.Border.Disabled.Dark": "#6C737C",
|
||||
"Checkbox.Border.Disabled": "#9ba0a3",
|
||||
"Checkbox.Border.Disabled.Dark": "#9ba0a3",
|
||||
"Checkbox.Focus.Thin.Default": "#79CB60",
|
||||
"Checkbox.Focus.Thin.Default.Dark": "#79CB60",
|
||||
"Checkbox.Focus.Wide": "#79CB60",
|
||||
"Checkbox.Focus.Wide.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Disabled": "#6C737C",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6C737C",
|
||||
"Checkbox.Background.Selected": "#79CB60",
|
||||
"Checkbox.Background.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Disabled": "#9ba0a3",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#9ba0a3",
|
||||
"Checkbox.Background.Selected": "#F7F8FA",
|
||||
"Checkbox.Background.Selected.Dark": "#F7F8FA",
|
||||
"Checkbox.Border.Selected": "#79CB60",
|
||||
"Checkbox.Border.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Selected": "#5B6168",
|
||||
"Checkbox.Foreground.Selected.Dark": "#5B6168",
|
||||
"Checkbox.Foreground.Selected": "#79CB60",
|
||||
"Checkbox.Foreground.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Focus.Thin.Selected": "#5B6168",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#5B6168",
|
||||
"Objects.Grey": "#6A737D",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#5B6168",
|
||||
"Objects.YellowDark": "#005CC5",
|
||||
"Objects.GreenAndroid": "#032F62"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,19 +8,19 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#DFE1E4",
|
||||
"disabledBackground": "#FDFDFD",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledBackground": "#dcdcdc",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledText": "#9ba0a3",
|
||||
"focusColor": "#CCE5FF",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#FDFDFD",
|
||||
"inactiveBackground": "#dcdcdc",
|
||||
"inactiveForeground": "#292D31",
|
||||
"infoForeground": "#292D31",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionBackgroundInactive": "#F7F8FA",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveBackground": "#F7F8FA",
|
||||
"selectionBackgroundInactive": "#f3f3f3",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#f3f3f3",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"activeCaption": "#F7F8FA",
|
||||
@@ -48,27 +48,27 @@
|
||||
"startBackground": "#cce5ff",
|
||||
"startBorderColor": "#cce5ff"
|
||||
},
|
||||
"disabledBorderColor": "#F1F3F6",
|
||||
"disabledText": "#6C737C",
|
||||
"endBackground": "#F1F3F6",
|
||||
"endBorderColor": "#F1F3F6",
|
||||
"disabledBorderColor": "#edf1f5",
|
||||
"disabledText": "#9ba0a3",
|
||||
"endBackground": "#edf1f5",
|
||||
"endBorderColor": "#edf1f5",
|
||||
"focus": "#CCE5FF",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"foreground": "#292D31",
|
||||
"highlight": "#111111",
|
||||
"mt.background": "#F1F3F6",
|
||||
"highlight": "#FFFFFF",
|
||||
"mt.background": "#edf1f5",
|
||||
"mt.foreground": "#292D31",
|
||||
"mt.selectedForeground": "#111111",
|
||||
"mt.selectedForeground": "#FFFFFF",
|
||||
"mt.selection.color1": "#cce5ff",
|
||||
"mt.selection.color2": "#cce5ff",
|
||||
"startBackground": "#F1F3F6",
|
||||
"startBorderColor": "#F1F3F6",
|
||||
"shadowColor": "#F1F3F6",
|
||||
"startBackground": "#edf1f5",
|
||||
"startBorderColor": "#edf1f5",
|
||||
"shadowColor": "#edf1f5",
|
||||
"shadowWidth": 0
|
||||
},
|
||||
"CheckBox": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"select": "#79CB60"
|
||||
},
|
||||
@@ -77,7 +77,7 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
@@ -87,45 +87,44 @@
|
||||
"foreground": "#5B6168",
|
||||
"swatchesDefaultRecentColor": "#5B6168"
|
||||
},
|
||||
"ComboBoxButton.background": "#F1F3F6",
|
||||
"ComboBoxButton.background": "#edf1f5",
|
||||
"ComboBox": {
|
||||
"ArrowButton": {
|
||||
"background": "#F1F3F6",
|
||||
"disabledIconColor": "#6C737C",
|
||||
"background": "#edf1f5",
|
||||
"disabledIconColor": "#9ba0a3",
|
||||
"iconColor": "#5B6168",
|
||||
"nonEditableBackground": "#F7F8FA"
|
||||
},
|
||||
"background": "#F7F8FA",
|
||||
"buttonBackground": "#F1F3F6",
|
||||
"disabledForeground": "#6C737C",
|
||||
"buttonBackground": "#edf1f5",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"modifiedItemForeground": "#79CB60",
|
||||
"nonEditableBackground": "#F7F8FA",
|
||||
"nonEditableBackground": "#f3f3f3",
|
||||
"padding": "5,5,5,5",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"ComboPopup.border": "#DFE1E4",
|
||||
"CompletionPopup": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"matchForeground": "#79CB602",
|
||||
"matchForeground": "#79CB60",
|
||||
"matchSelectionForeground": "#79CB60",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#3A66D1",
|
||||
"selectedGrayedForeground": "#111111",
|
||||
"selectionGrayForeground": "#111111",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#292D31",
|
||||
"selectionInactiveBackground": "#CCE5FF",
|
||||
"selectionInactiveBackground": "#3A66D150",
|
||||
"selectionBackground": "#3A66D180",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInfoForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
"Component": {
|
||||
"arc": 4,
|
||||
"borderColor": "#CCE5FF",
|
||||
"disabledBorderColor": "#F1F3F6",
|
||||
"disabledBorderColor": "#edf1f5",
|
||||
"focusColor": "#79CB60",
|
||||
"focusedBorderColor": "#79CB60",
|
||||
"hoverIconColor": "#79CB60",
|
||||
@@ -136,7 +135,7 @@
|
||||
"controlText": "#292D31",
|
||||
"Counter": {
|
||||
"background": "#79CB60",
|
||||
"foreground": "#111111"
|
||||
"foreground": "#FFFFFF"
|
||||
},
|
||||
"Debugger": {
|
||||
"Variables": {
|
||||
@@ -162,10 +161,10 @@
|
||||
"hoverBackground": "#cce5ff",
|
||||
"hoverColor": "#F7F8FA",
|
||||
"hoverMaskColor": "#CCE5FF",
|
||||
"inactiveUnderlineColor": "#6C737C",
|
||||
"inactiveUnderlineColor": "#9ba0a3",
|
||||
"inactiveMaskColor": "#F7F8FA",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground":"#cce5ff"
|
||||
"underlinedTabBackground": "#cce5ff"
|
||||
},
|
||||
"Desktop.background": "#F7F8FA",
|
||||
"DialogWrapper.southPanelBackground": "#F7F8FA",
|
||||
@@ -185,26 +184,35 @@
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#F7F8FA",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"hoverColor": "#CCE5FF",
|
||||
"hoverMaskColor": "#CCE5FF",
|
||||
"inactiveMaskColor": "#F7F8FA",
|
||||
"inactiveColoredFileBackground": "#F7F8FA",
|
||||
"inactiveUnderlineColor": "#6C737C",
|
||||
"inactiveUnderlineColor": "#9ba0a3",
|
||||
"selectedForeground": "#5B6168",
|
||||
"selectedBackground": "#cce5ff",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#cce5ff"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"hoverBackground": "#CCE5FF",
|
||||
"hoverColor": "#CCE5FF",
|
||||
"inactiveUnderlineColor": "#79CB60",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#cce5ff",
|
||||
"underlinedTabForeground": "#5B6168"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#FDFDFD",
|
||||
"Yellow": "#dcdcdc",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -224,8 +232,8 @@
|
||||
"background": "#F7F8FA",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveBackground": "#F1F3F6",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveBackground": "#edf1f5",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionBackground": "#cce5ff"
|
||||
},
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#F7F8FA",
|
||||
"inactive": "#FFFFFF"
|
||||
"inactive": "#fafbfc"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#F7F8FA",
|
||||
@@ -249,7 +257,7 @@
|
||||
"shortcutForeground": "#292D31"
|
||||
},
|
||||
"Hyperlink.linkColor": "#79CB60",
|
||||
"inactiveCaption": "#F7F8FA",
|
||||
"inactiveCaption": "#f3f3f3",
|
||||
"inactiveCaptionBorder": "#F7F8FA",
|
||||
"inactiveCaptionText": "#292D31",
|
||||
"info": "#292D31",
|
||||
@@ -266,9 +274,9 @@
|
||||
},
|
||||
"Label": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledShadow": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"selectedForeground": "#111111"
|
||||
@@ -281,64 +289,64 @@
|
||||
"visitedForeground": "#79CB60"
|
||||
},
|
||||
"List": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionBackground": "#3A66D150",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionInactiveBackground": "#3A66D125"
|
||||
},
|
||||
"material": {
|
||||
"background": "#F7F8FA",
|
||||
"branchColor": "#5B6168",
|
||||
"contrast": "#FFFFFF",
|
||||
"contrast": "#fafbfc",
|
||||
"foreground": "#5B6168",
|
||||
"mergeCommits": "#F1F3F6",
|
||||
"mergeCommits": "#edf1f5",
|
||||
"primaryColor": "#292D31",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"tab.backgroundColor": "#F7F8FA",
|
||||
"tab.borderColor": "#79CB60",
|
||||
"tagColor": "#292D31"
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#F7F8FA",
|
||||
"allocatedBackground": "#f3f3f3",
|
||||
"usedColor": "#CCE5FF",
|
||||
"usedBackground": "#CCE5FF"
|
||||
},
|
||||
"Menu": {
|
||||
"acceleratorForeground": "#292D31",
|
||||
"acceleratorSelectionForeground": "#111111",
|
||||
"acceleratorSelectionForeground": "#FFFFFF",
|
||||
"background": "#F7F8FA",
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"borderColor": "#f3f3f3",
|
||||
"disabledBackground": "#f3f3f3",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"MenuBar": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"highlight": "#F7F8FA",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#F7F8FA"
|
||||
},
|
||||
"MenuItem": {
|
||||
"acceleratorForeground": "#292D31",
|
||||
"acceleratorSelectionForeground": "#111111",
|
||||
"acceleratorSelectionForeground": "#FFFFFF",
|
||||
"border": "4,2,4,2",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
"arrowColor": "#5B6168",
|
||||
@@ -359,9 +367,9 @@
|
||||
"errorBorderColor": "#DFECFE",
|
||||
"foreground": "#5B6168",
|
||||
"MoreButton": {
|
||||
"background": "#F1F3F6",
|
||||
"background": "#edf1f5",
|
||||
"foreground": "#5B6168",
|
||||
"innerBorderColor": "#F1F3F6"
|
||||
"innerBorderColor": "#edf1f5"
|
||||
},
|
||||
"ToolWindow": {
|
||||
"errorBackground": "#DFECFE",
|
||||
@@ -379,18 +387,18 @@
|
||||
"messageForeground": "#5B6168"
|
||||
},
|
||||
"Outline": {
|
||||
"color": "#F1F3F6"
|
||||
"color": "#edf1f5"
|
||||
},
|
||||
"Panel": {
|
||||
"background": "#F7F8FA",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"ParameterInfo": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"borderColor": "#cce5ff",
|
||||
"currentOverloadBackground": "#cce5ff",
|
||||
"currentParameterForeground": "#79CB60",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"infoForeground": "#292D31",
|
||||
"lineSeparatorColor": "#cce5ff"
|
||||
@@ -400,27 +408,27 @@
|
||||
"capsLockIconColor": "#79CB60",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"Plugins": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"eapTagBackground": "#CCE5FF",
|
||||
"lightSelectionBackground": "#3A66D1",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"tagForeground": "#79CB60",
|
||||
"tagBackground": "#CCE5FF",
|
||||
"Button": {
|
||||
"installBackground": "#F1F3F6",
|
||||
"installBorderColor": "#F1F3F6",
|
||||
"installBackground": "#edf1f5",
|
||||
"installBorderColor": "#edf1f5",
|
||||
"installForeground": "#5B6168",
|
||||
"installFocusedBackground": "#CCE5FF",
|
||||
"installFillForeground": "#292D31",
|
||||
"installFillBackground": "#F1F3F6",
|
||||
"updateBackground": "#F1F3F6",
|
||||
"updateBorderColor": "#F1F3F6",
|
||||
"installFillBackground": "#edf1f5",
|
||||
"updateBackground": "#edf1f5",
|
||||
"updateBorderColor": "#edf1f5",
|
||||
"updateForeground": "#5B6168"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -428,12 +436,12 @@
|
||||
"borderColor": "#DFE1E4"
|
||||
},
|
||||
"SectionHeader": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"Tab": {
|
||||
"hoverBackground": "#cce5ff",
|
||||
"selectedForeground": "#111111",
|
||||
"selectedForeground": "#FFFFFF",
|
||||
"selectedBackground": "#cce5ff"
|
||||
}
|
||||
},
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#F7F8FA",
|
||||
"foreground": "#79CB60"
|
||||
},
|
||||
"borderColor": "#FFFFFF",
|
||||
"borderColor": "#fafbfc",
|
||||
"inactiveBorderColor": "#F7F8FA",
|
||||
"innerBorderColor": "#F7F8FA",
|
||||
"innerBorderColor": "#f3f3f3",
|
||||
"Header": {
|
||||
"activeBackground": "#F7F8FA",
|
||||
"inactiveBackground": "#FFFFFF"
|
||||
"inactiveBackground": "#fafbfc"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#5B6168",
|
||||
"separatorColor": "#F7F8FA",
|
||||
"separatorColor": "#f3f3f3",
|
||||
"Toolbar": {
|
||||
"background": "#FFFFFF",
|
||||
"borderColor": "#FFFFFF"
|
||||
"background": "#fafbfc",
|
||||
"borderColor": "#fafbfc"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -477,7 +485,7 @@
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#F7F8FA",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"RadioButtonMenuItem": {
|
||||
@@ -485,10 +493,10 @@
|
||||
"acceleratorSelectionForeground": "#292D31",
|
||||
"background": "#F7F8FA",
|
||||
"disabledBackground": "#F7F8FA",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111"
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
"background": "#F7F8FA",
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"foreground": "#292D31"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#F7F8FA"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#5B6168",
|
||||
"separatorForeground": "#292D31",
|
||||
"separatorColor": "#DFE1E4"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#FFFFFF",
|
||||
"borderColor": "#fafbfc",
|
||||
"infoForeground": "#292D31"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -552,18 +560,21 @@
|
||||
"startBackground": "#79CB60"
|
||||
},
|
||||
"Separator": {
|
||||
"background": "#F7F8FA",
|
||||
"foreground": "#F7F8FA",
|
||||
"separatorColor": "#F7F8FA"
|
||||
"background": "#f3f3f3",
|
||||
"foreground": "#f3f3f3",
|
||||
"separatorColor": "#f3f3f3"
|
||||
},
|
||||
"SidePanel": {
|
||||
"background": "#F7F8FA"
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#F7F8FA",
|
||||
"buttonBorderColor": "#79CB60",
|
||||
"buttonColor": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#F7F8FA",
|
||||
"tickColor": "#f3f3f3",
|
||||
"trackColor": "#cce5ff",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#79CB60"
|
||||
},
|
||||
@@ -583,7 +594,7 @@
|
||||
"background": "#F7F8FA",
|
||||
"highlight": "#F7F8FA"
|
||||
},
|
||||
"SplitPaneDivider.draggingColor": "#F7F8FA",
|
||||
"SplitPaneDivider.draggingColor": "#f3f3f3",
|
||||
"StatusBar": {
|
||||
"borderColor": "#F7F8FA"
|
||||
},
|
||||
@@ -592,8 +603,8 @@
|
||||
"contentAreaColor": "#CCE5FF",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#DFE1E4",
|
||||
"disabledForeground": "#6C737C",
|
||||
"disabledUnderlineColor": "#6C737C",
|
||||
"disabledForeground": "#9ba0a3",
|
||||
"disabledUnderlineColor": "#9ba0a3",
|
||||
"focus": "#cce5ff",
|
||||
"focusColor": "#cce5ff",
|
||||
"fontSizeOffset": 0,
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#79CB60"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#F7F8FA",
|
||||
"Table": {
|
||||
@@ -623,24 +635,24 @@
|
||||
"highlightOuter": "#cce5ff",
|
||||
"lightSelectionForeground": "#111111",
|
||||
"lightSelectionInactiveForeground": "#292D31",
|
||||
"lightSelectionInactiveBackground": "#F7F8FA",
|
||||
"lightSelectionInactiveBackground": "#f3f3f3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveBackground": "#3A66D125",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionInactiveBackground": "#cce5ff",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#5B6168",
|
||||
"stripeColor": "#FFFFFF"
|
||||
"stripeColor": "#fafbfc"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"bottomSeparatorColor": "#F7F8FA",
|
||||
"bottomSeparatorColor": "#f3f3f3",
|
||||
"cellBorder": "4,0,4,0",
|
||||
"foreground": "#5B6168",
|
||||
"focusCellBackground": "#cce5ff",
|
||||
"focusCellForeground": "#111111",
|
||||
"height": 25,
|
||||
"separatorColor": "#F7F8FA"
|
||||
"separatorColor": "#f3f3f3"
|
||||
},
|
||||
"text": "#292D31",
|
||||
"textInactiveText": "#292D31",
|
||||
@@ -649,7 +661,7 @@
|
||||
"background": "#F7F8FA",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
@@ -657,7 +669,7 @@
|
||||
"background": "#F7F8FA",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
@@ -665,12 +677,12 @@
|
||||
"background": "#F7F8FA",
|
||||
"caretForeground": "#79CB60",
|
||||
"foreground": "#5B6168",
|
||||
"inactiveForeground": "#6C737C",
|
||||
"inactiveForeground": "#9ba0a3",
|
||||
"selectionBackground": "#cce5ff",
|
||||
"selectionForeground": "#111111"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#FFFFFF",
|
||||
"background": "#fafbfc",
|
||||
"Button.hoverBackground": "#CCE5FF",
|
||||
"inactiveBackground": "#F7F8FA",
|
||||
"infoForeground": "#292D31",
|
||||
@@ -678,9 +690,9 @@
|
||||
},
|
||||
"TitledBorder.titleColor": "#5B6168",
|
||||
"ToggleButton": {
|
||||
"borderColor": "#F1F3F6",
|
||||
"borderColor": "#edf1f5",
|
||||
"buttonColor": "#5B6168",
|
||||
"disabledText": "#6C737C",
|
||||
"disabledText": "#9ba0a3",
|
||||
"foreground": "#5B6168",
|
||||
"offForeground": "#F7F8FA",
|
||||
"offBackground": "#F7F8FA",
|
||||
@@ -707,11 +719,11 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#cce5ff",
|
||||
"selectedForeground": "#111111",
|
||||
"selectedBackground": "#FFFFFF"
|
||||
"selectedBackground": "#fafbfc"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"borderColor": "#f3f3f3",
|
||||
"inactiveBackground": "#F7F8FA"
|
||||
},
|
||||
"HeaderCloseButton": {
|
||||
@@ -719,13 +731,13 @@
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#CCE5FF",
|
||||
"hoverInactiveBackground": "#F7F8FA",
|
||||
"hoverInactiveBackground": "#f3f3f3",
|
||||
"inactiveUnderlineColor": "#79CB60",
|
||||
"selectedBackground": "#FFFFFF",
|
||||
"selectedInactiveBackground": "#FFFFFF",
|
||||
"selectedBackground": "#fafbfc",
|
||||
"selectedInactiveBackground": "#fafbfc",
|
||||
"underlineColor": "#79CB60",
|
||||
"underlinedTabBackground": "#CCE5FF",
|
||||
"underlinedTabInactiveBackground": "#F7F8FA"
|
||||
"underlinedTabInactiveBackground": "#f3f3f3"
|
||||
}
|
||||
},
|
||||
"Tree": {
|
||||
@@ -734,9 +746,9 @@
|
||||
"hash": "#DFE1E4",
|
||||
"modifiedItemForeground": "#79CB60",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionForeground": "#111111",
|
||||
"selectionInactiveForeground": "#111111",
|
||||
"selectionBackground": "#3A66D170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3A66D125",
|
||||
"textBackground": "#F7F8FA"
|
||||
},
|
||||
@@ -765,7 +777,7 @@
|
||||
"HgLog": {
|
||||
"branchIconColor": "#79CB60",
|
||||
"bookmarkIconColor": "#111111",
|
||||
"closedBranchIconColor": "#6C737C",
|
||||
"closedBranchIconColor": "#9ba0a3",
|
||||
"localTagIconColor": "#292D31",
|
||||
"mqTagIconColor": "#292D31",
|
||||
"tagIconColor": "#292D31",
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#292D31",
|
||||
"Commit.currentBranchBackground": "#3A66D1"
|
||||
"Commit.currentBranchBackground": "#f3f3f3"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#111111",
|
||||
@@ -782,22 +794,22 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#F7F8FA",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#5B6168"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#F7F8FA",
|
||||
"borderColor": "#F7F8FA",
|
||||
"captionBackground": "#FFFFFF",
|
||||
"captionBackground": "#fafbfc",
|
||||
"captionForeground": "#5B6168",
|
||||
"footerBackground": "#FFFFFF",
|
||||
"footerBackground": "#fafbfc",
|
||||
"footerForeground": "#5B6168",
|
||||
"headerBackground": "#F7F8FA",
|
||||
"headerForeground": "#5B6168",
|
||||
"separatorColor": "#DFE1E4",
|
||||
"Projects": {
|
||||
"background": "#F7F8FA",
|
||||
"background": "#f3f3f3",
|
||||
"selectionBackground": "#3A66D1",
|
||||
"selectionInactiveBackground": "#F7F8FA"
|
||||
"selectionInactiveBackground": "#f3f3f3"
|
||||
}
|
||||
},
|
||||
"window": "#F7F8FA",
|
||||
@@ -807,14 +819,14 @@
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#FFFFFF",
|
||||
"#43494A": "#fafbfc",
|
||||
"#6B6B6B": "#292D31",
|
||||
"#A7A7A7": "#F7F8FA",
|
||||
"#3D6185": "#79CB60",
|
||||
"#466D94": "#79CB60",
|
||||
"#3C3F41": "#F7F8FA",
|
||||
"#545556": "#6C737C",
|
||||
"#606060": "#6C737C",
|
||||
"#545556": "#9ba0a3",
|
||||
"#606060": "#9ba0a3",
|
||||
"#9AA7B0": "#5B6168",
|
||||
"#675133": "#79CB60",
|
||||
"Actions.Blue": "#6F42C1",
|
||||
@@ -824,26 +836,26 @@
|
||||
"Actions.GreyInline.Dark": "#5B6168",
|
||||
"Actions.Red": "#22863A",
|
||||
"Actions.Yellow": "#6F42C1",
|
||||
"Checkbox.Background.Default": "#FFFFFF",
|
||||
"Checkbox.Background.Default.Dark": "#FFFFFF",
|
||||
"Checkbox.Background.Disabled": "#FDFDFD",
|
||||
"Checkbox.Background.Disabled.Dark": "#FDFDFD",
|
||||
"Checkbox.Background.Default": "#fafbfc",
|
||||
"Checkbox.Background.Default.Dark": "#fafbfc",
|
||||
"Checkbox.Background.Disabled": "#dcdcdc",
|
||||
"Checkbox.Background.Disabled.Dark": "#dcdcdc",
|
||||
"Checkbox.Border.Default": "#DFE1E4",
|
||||
"Checkbox.Border.Default.Dark": "#DFE1E4",
|
||||
"Checkbox.Border.Disabled": "#6C737C",
|
||||
"Checkbox.Border.Disabled.Dark": "#6C737C",
|
||||
"Checkbox.Border.Disabled": "#9ba0a3",
|
||||
"Checkbox.Border.Disabled.Dark": "#9ba0a3",
|
||||
"Checkbox.Focus.Thin.Default": "#79CB60",
|
||||
"Checkbox.Focus.Thin.Default.Dark": "#79CB60",
|
||||
"Checkbox.Focus.Wide": "#79CB60",
|
||||
"Checkbox.Focus.Wide.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Disabled": "#6C737C",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#6C737C",
|
||||
"Checkbox.Background.Selected": "#79CB60",
|
||||
"Checkbox.Background.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Disabled": "#9ba0a3",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#9ba0a3",
|
||||
"Checkbox.Background.Selected": "#F7F8FA",
|
||||
"Checkbox.Background.Selected.Dark": "#F7F8FA",
|
||||
"Checkbox.Border.Selected": "#79CB60",
|
||||
"Checkbox.Border.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Foreground.Selected": "#5B6168",
|
||||
"Checkbox.Foreground.Selected.Dark": "#5B6168",
|
||||
"Checkbox.Foreground.Selected": "#79CB60",
|
||||
"Checkbox.Foreground.Selected.Dark": "#79CB60",
|
||||
"Checkbox.Focus.Thin.Selected": "#5B6168",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#5B6168",
|
||||
"Objects.Grey": "#6A737D",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#5B6168",
|
||||
"Objects.YellowDark": "#005CC5",
|
||||
"Objects.GreenAndroid": "#032F62"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,7 @@
|
||||
"inactiveBackground": "#323232",
|
||||
"inactiveForeground": "#727272",
|
||||
"infoForeground": "#727272",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionBackgroundInactive": "#292929",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#292929",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#FF980050"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#353535"
|
||||
"selectionBackground": "#404040"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#212121",
|
||||
"Borders.color": "#292929",
|
||||
@@ -79,7 +79,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#292929",
|
||||
"foreground": "#B0BEC5",
|
||||
"infoForeground": "#727272",
|
||||
"matchForeground": "#FF98002",
|
||||
"matchForeground": "#FF9800",
|
||||
"matchSelectionForeground": "#FF9800",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#32323270",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#727272",
|
||||
"selectionInactiveBackground": "#3F3F3F",
|
||||
"selectionBackground": "#35353580",
|
||||
"selectionInactiveBackground": "#40404050",
|
||||
"selectionBackground": "#40404080",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#474747",
|
||||
"inactiveMaskColor": "#1A1A1A",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground":"#323232"
|
||||
"underlinedTabBackground": "#323232"
|
||||
},
|
||||
"Desktop.background": "#212121",
|
||||
"DialogWrapper.southPanelBackground": "#212121",
|
||||
@@ -186,7 +185,7 @@
|
||||
"foreground": "#B0BEC5",
|
||||
"inactiveBackground": "#212121",
|
||||
"inactiveForeground": "#474747",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#3F3F3F",
|
||||
"hoverMaskColor": "#3F3F3F",
|
||||
"inactiveMaskColor": "#212121",
|
||||
"inactiveColoredFileBackground": "#212121",
|
||||
"inactiveUnderlineColor": "#474747",
|
||||
"selectedForeground": "#B0BEC5",
|
||||
"selectedBackground": "#323232",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground": "#323232"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#212121",
|
||||
"borderColor": "#292929",
|
||||
"hoverBackground": "#3F3F3F",
|
||||
"hoverColor": "#3F3F3F",
|
||||
"inactiveUnderlineColor": "#FF9800",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground": "#323232",
|
||||
"underlinedTabForeground": "#B0BEC5"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#292929",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#40404050",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025"
|
||||
"selectionInactiveBackground": "#32323225"
|
||||
},
|
||||
"material": {
|
||||
"background": "#212121",
|
||||
@@ -314,7 +322,7 @@
|
||||
"disabledBackground": "#292929",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#292929"
|
||||
},
|
||||
@@ -325,7 +333,7 @@
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"highlight": "#212121",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#1A1A1A"
|
||||
},
|
||||
@@ -337,7 +345,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -408,8 +416,8 @@
|
||||
"background": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"eapTagBackground": "#3F3F3F",
|
||||
"lightSelectionBackground": "#353535",
|
||||
"selectionBackground": "#353535",
|
||||
"lightSelectionBackground": "#404040",
|
||||
"selectionBackground": "#404040",
|
||||
"tagForeground": "#FF9800",
|
||||
"tagBackground": "#3F3F3F",
|
||||
"Button": {
|
||||
@@ -487,7 +495,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#212121"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#B0BEC5",
|
||||
"separatorForeground": "#727272",
|
||||
"separatorColor": "#292929"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#212121",
|
||||
"buttonBorderColor": "#FF9800",
|
||||
"buttonColor": "#FF9800",
|
||||
"foreground": "#B0BEC5",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#292929",
|
||||
"trackColor": "#323232",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#FF9800"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#FF9800"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#1A1A1A",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#292929",
|
||||
"selectionBackground": "#323232",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025",
|
||||
"selectionInactiveBackground": "#323232",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#B0BEC5",
|
||||
"stripeColor": "#1A1A1A"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#1A1A1A",
|
||||
"Button.hoverBackground": "#3F3F3F",
|
||||
"inactiveBackground": "#292929",
|
||||
"inactiveBackground": "#212121",
|
||||
"infoForeground": "#727272",
|
||||
"inactiveInfoForeground": "#727272"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#32323270",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025",
|
||||
"selectionInactiveBackground": "#32323225",
|
||||
"textBackground": "#1A1A1A"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#727272",
|
||||
"Commit.currentBranchBackground": "#32323270"
|
||||
"Commit.currentBranchBackground": "#292929"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#1A1A1A",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#B0BEC5"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#212121",
|
||||
@@ -796,7 +808,7 @@
|
||||
"separatorColor": "#292929",
|
||||
"Projects": {
|
||||
"background": "#292929",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionInactiveBackground": "#292929"
|
||||
}
|
||||
},
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#FF9800",
|
||||
"Checkbox.Foreground.Disabled": "#474747",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#474747",
|
||||
"Checkbox.Background.Selected": "#FF9800",
|
||||
"Checkbox.Background.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Background.Selected": "#212121",
|
||||
"Checkbox.Background.Selected.Dark": "#212121",
|
||||
"Checkbox.Border.Selected": "#FF9800",
|
||||
"Checkbox.Border.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Foreground.Selected": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected": "#FF9800",
|
||||
"Checkbox.Foreground.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Focus.Thin.Selected": "#B0BEC5",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#B0BEC5",
|
||||
"Objects.Grey": "#616161",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#B0BEC5",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
"inactiveBackground": "#323232",
|
||||
"inactiveForeground": "#727272",
|
||||
"infoForeground": "#727272",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionBackgroundInactive": "#292929",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#292929",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#FF980050"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#353535"
|
||||
"selectionBackground": "#404040"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#212121",
|
||||
"Borders.color": "#292929",
|
||||
@@ -79,7 +79,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#292929",
|
||||
"foreground": "#B0BEC5",
|
||||
"infoForeground": "#727272",
|
||||
"matchForeground": "#FF98002",
|
||||
"matchForeground": "#FF9800",
|
||||
"matchSelectionForeground": "#FF9800",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#32323270",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#727272",
|
||||
"selectionInactiveBackground": "#3F3F3F",
|
||||
"selectionBackground": "#35353580",
|
||||
"selectionInactiveBackground": "#40404050",
|
||||
"selectionBackground": "#40404080",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#474747",
|
||||
"inactiveMaskColor": "#212121",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground":"#323232"
|
||||
"underlinedTabBackground": "#323232"
|
||||
},
|
||||
"Desktop.background": "#212121",
|
||||
"DialogWrapper.southPanelBackground": "#212121",
|
||||
@@ -186,7 +185,7 @@
|
||||
"foreground": "#B0BEC5",
|
||||
"inactiveBackground": "#212121",
|
||||
"inactiveForeground": "#474747",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#3F3F3F",
|
||||
"hoverMaskColor": "#3F3F3F",
|
||||
"inactiveMaskColor": "#212121",
|
||||
"inactiveColoredFileBackground": "#212121",
|
||||
"inactiveUnderlineColor": "#474747",
|
||||
"selectedForeground": "#B0BEC5",
|
||||
"selectedBackground": "#323232",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground": "#323232"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#212121",
|
||||
"borderColor": "#292929",
|
||||
"hoverBackground": "#3F3F3F",
|
||||
"hoverColor": "#3F3F3F",
|
||||
"inactiveUnderlineColor": "#FF9800",
|
||||
"underlineColor": "#FF9800",
|
||||
"underlinedTabBackground": "#323232",
|
||||
"underlinedTabForeground": "#B0BEC5"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#292929",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#40404050",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025"
|
||||
"selectionInactiveBackground": "#32323225"
|
||||
},
|
||||
"material": {
|
||||
"background": "#212121",
|
||||
@@ -314,7 +322,7 @@
|
||||
"disabledBackground": "#292929",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#292929"
|
||||
},
|
||||
@@ -325,7 +333,7 @@
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"highlight": "#212121",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#212121"
|
||||
},
|
||||
@@ -337,7 +345,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -408,8 +416,8 @@
|
||||
"background": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"eapTagBackground": "#3F3F3F",
|
||||
"lightSelectionBackground": "#353535",
|
||||
"selectionBackground": "#353535",
|
||||
"lightSelectionBackground": "#404040",
|
||||
"selectionBackground": "#404040",
|
||||
"tagForeground": "#FF9800",
|
||||
"tagBackground": "#3F3F3F",
|
||||
"Button": {
|
||||
@@ -487,7 +495,7 @@
|
||||
"disabledBackground": "#212121",
|
||||
"disabledForeground": "#474747",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#212121"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#B0BEC5",
|
||||
"separatorForeground": "#727272",
|
||||
"separatorColor": "#292929"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#212121",
|
||||
"buttonBorderColor": "#FF9800",
|
||||
"buttonColor": "#FF9800",
|
||||
"foreground": "#B0BEC5",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#292929",
|
||||
"trackColor": "#323232",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#FF9800"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#FF9800"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#212121",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#292929",
|
||||
"selectionBackground": "#323232",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025",
|
||||
"selectionInactiveBackground": "#323232",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#B0BEC5",
|
||||
"stripeColor": "#1A1A1A"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#1A1A1A",
|
||||
"Button.hoverBackground": "#3F3F3F",
|
||||
"inactiveBackground": "#292929",
|
||||
"inactiveBackground": "#212121",
|
||||
"infoForeground": "#727272",
|
||||
"inactiveInfoForeground": "#727272"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#32323270",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#3232327025",
|
||||
"selectionInactiveBackground": "#32323225",
|
||||
"textBackground": "#212121"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#727272",
|
||||
"Commit.currentBranchBackground": "#32323270"
|
||||
"Commit.currentBranchBackground": "#292929"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#212121",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#B0BEC5"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#212121",
|
||||
@@ -796,7 +808,7 @@
|
||||
"separatorColor": "#292929",
|
||||
"Projects": {
|
||||
"background": "#292929",
|
||||
"selectionBackground": "#353535",
|
||||
"selectionBackground": "#404040",
|
||||
"selectionInactiveBackground": "#292929"
|
||||
}
|
||||
},
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#FF9800",
|
||||
"Checkbox.Foreground.Disabled": "#474747",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#474747",
|
||||
"Checkbox.Background.Selected": "#FF9800",
|
||||
"Checkbox.Background.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Background.Selected": "#212121",
|
||||
"Checkbox.Background.Selected.Dark": "#212121",
|
||||
"Checkbox.Border.Selected": "#FF9800",
|
||||
"Checkbox.Border.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Foreground.Selected": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected": "#FF9800",
|
||||
"Checkbox.Foreground.Selected.Dark": "#FF9800",
|
||||
"Checkbox.Focus.Thin.Selected": "#B0BEC5",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#B0BEC5",
|
||||
"Objects.Grey": "#616161",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#B0BEC5",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#181A1F",
|
||||
"foreground": "#8F93A2",
|
||||
"infoForeground": "#4B526D",
|
||||
"matchForeground": "#84ffff2",
|
||||
"matchForeground": "#84ffff",
|
||||
"matchSelectionForeground": "#84ffff",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#717CB416",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#4B526D",
|
||||
"selectionInactiveBackground": "#1F2233",
|
||||
"selectionInactiveBackground": "#23263250",
|
||||
"selectionBackground": "#23263280",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#464B5D",
|
||||
"inactiveMaskColor": "#090B10",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground":"#1A1C25"
|
||||
"underlinedTabBackground": "#1A1C25"
|
||||
},
|
||||
"Desktop.background": "#0F111A",
|
||||
"DialogWrapper.southPanelBackground": "#0F111A",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#1F2233",
|
||||
"hoverMaskColor": "#1F2233",
|
||||
"inactiveMaskColor": "#0F111A",
|
||||
"inactiveColoredFileBackground": "#0F111A",
|
||||
"inactiveUnderlineColor": "#464B5D",
|
||||
"selectedForeground": "#8F93A2",
|
||||
"selectedBackground": "#1A1C25",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground": "#1A1C25"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#0F111A",
|
||||
"borderColor": "#181A1F",
|
||||
"hoverBackground": "#1F2233",
|
||||
"hoverColor": "#1F2233",
|
||||
"inactiveUnderlineColor": "#84ffff",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground": "#1A1C25",
|
||||
"underlinedTabForeground": "#8F93A2"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#181A1F",
|
||||
"foreground": "#8F93A2",
|
||||
"selectionBackground": "#232632",
|
||||
"selectionBackground": "#23263250",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625"
|
||||
"selectionInactiveBackground": "#717CB425"
|
||||
},
|
||||
"material": {
|
||||
"background": "#0F111A",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#0F111A"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#8F93A2",
|
||||
"separatorForeground": "#4B526D",
|
||||
"separatorColor": "#0F111A"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#0F111A",
|
||||
"buttonBorderColor": "#84ffff",
|
||||
"buttonColor": "#84ffff",
|
||||
"foreground": "#8F93A2",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#181A1F",
|
||||
"trackColor": "#1A1C25",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#84ffff"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#84ffff"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#090B10",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#181A1F",
|
||||
"selectionBackground": "#1A1C25",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625",
|
||||
"selectionInactiveBackground": "#1A1C25",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#8F93A2",
|
||||
"stripeColor": "#090B10"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#090B10",
|
||||
"Button.hoverBackground": "#1F2233",
|
||||
"inactiveBackground": "#181A1F",
|
||||
"inactiveBackground": "#0F111A",
|
||||
"infoForeground": "#4B526D",
|
||||
"inactiveInfoForeground": "#4B526D"
|
||||
},
|
||||
@@ -734,10 +746,10 @@
|
||||
"hash": "#0F111A",
|
||||
"modifiedItemForeground": "#84ffff",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#717CB416",
|
||||
"selectionBackground": "#717CB470",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625",
|
||||
"selectionInactiveBackground": "#717CB425",
|
||||
"textBackground": "#090B10"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#4B526D",
|
||||
"Commit.currentBranchBackground": "#717CB416"
|
||||
"Commit.currentBranchBackground": "#181A1F"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#090B10",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#8F93A2"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#0F111A",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#84ffff",
|
||||
"Checkbox.Foreground.Disabled": "#464B5D",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#464B5D",
|
||||
"Checkbox.Background.Selected": "#84ffff",
|
||||
"Checkbox.Background.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Background.Selected": "#0F111A",
|
||||
"Checkbox.Background.Selected.Dark": "#0F111A",
|
||||
"Checkbox.Border.Selected": "#84ffff",
|
||||
"Checkbox.Border.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Foreground.Selected": "#8F93A2",
|
||||
"Checkbox.Foreground.Selected.Dark": "#8F93A2",
|
||||
"Checkbox.Foreground.Selected": "#84ffff",
|
||||
"Checkbox.Foreground.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Focus.Thin.Selected": "#8F93A2",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#8F93A2",
|
||||
"Objects.Grey": "#717CB4",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#8F93A2",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#181A1F",
|
||||
"foreground": "#8F93A2",
|
||||
"infoForeground": "#4B526D",
|
||||
"matchForeground": "#84ffff2",
|
||||
"matchForeground": "#84ffff",
|
||||
"matchSelectionForeground": "#84ffff",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#717CB416",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#4B526D",
|
||||
"selectionInactiveBackground": "#1F2233",
|
||||
"selectionInactiveBackground": "#23263250",
|
||||
"selectionBackground": "#23263280",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#464B5D",
|
||||
"inactiveMaskColor": "#0F111A",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground":"#1A1C25"
|
||||
"underlinedTabBackground": "#1A1C25"
|
||||
},
|
||||
"Desktop.background": "#0F111A",
|
||||
"DialogWrapper.southPanelBackground": "#0F111A",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#1F2233",
|
||||
"hoverMaskColor": "#1F2233",
|
||||
"inactiveMaskColor": "#0F111A",
|
||||
"inactiveColoredFileBackground": "#0F111A",
|
||||
"inactiveUnderlineColor": "#464B5D",
|
||||
"selectedForeground": "#8F93A2",
|
||||
"selectedBackground": "#1A1C25",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground": "#1A1C25"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#0F111A",
|
||||
"borderColor": "#181A1F",
|
||||
"hoverBackground": "#1F2233",
|
||||
"hoverColor": "#1F2233",
|
||||
"inactiveUnderlineColor": "#84ffff",
|
||||
"underlineColor": "#84ffff",
|
||||
"underlinedTabBackground": "#1A1C25",
|
||||
"underlinedTabForeground": "#8F93A2"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#181A1F",
|
||||
"foreground": "#8F93A2",
|
||||
"selectionBackground": "#232632",
|
||||
"selectionBackground": "#23263250",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625"
|
||||
"selectionInactiveBackground": "#717CB425"
|
||||
},
|
||||
"material": {
|
||||
"background": "#0F111A",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#0F111A"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#8F93A2",
|
||||
"separatorForeground": "#4B526D",
|
||||
"separatorColor": "#0F111A"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#0F111A",
|
||||
"buttonBorderColor": "#84ffff",
|
||||
"buttonColor": "#84ffff",
|
||||
"foreground": "#8F93A2",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#181A1F",
|
||||
"trackColor": "#1A1C25",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#84ffff"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#84ffff"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#0F111A",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#181A1F",
|
||||
"selectionBackground": "#1A1C25",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625",
|
||||
"selectionInactiveBackground": "#1A1C25",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#8F93A2",
|
||||
"stripeColor": "#090B10"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#090B10",
|
||||
"Button.hoverBackground": "#1F2233",
|
||||
"inactiveBackground": "#181A1F",
|
||||
"inactiveBackground": "#0F111A",
|
||||
"infoForeground": "#4B526D",
|
||||
"inactiveInfoForeground": "#4B526D"
|
||||
},
|
||||
@@ -734,10 +746,10 @@
|
||||
"hash": "#0F111A",
|
||||
"modifiedItemForeground": "#84ffff",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#717CB416",
|
||||
"selectionBackground": "#717CB470",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#717CB41625",
|
||||
"selectionInactiveBackground": "#717CB425",
|
||||
"textBackground": "#0F111A"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#4B526D",
|
||||
"Commit.currentBranchBackground": "#717CB416"
|
||||
"Commit.currentBranchBackground": "#181A1F"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#0F111A",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#8F93A2"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#0F111A",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#84ffff",
|
||||
"Checkbox.Foreground.Disabled": "#464B5D",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#464B5D",
|
||||
"Checkbox.Background.Selected": "#84ffff",
|
||||
"Checkbox.Background.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Background.Selected": "#0F111A",
|
||||
"Checkbox.Background.Selected.Dark": "#0F111A",
|
||||
"Checkbox.Border.Selected": "#84ffff",
|
||||
"Checkbox.Border.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Foreground.Selected": "#8F93A2",
|
||||
"Checkbox.Foreground.Selected.Dark": "#8F93A2",
|
||||
"Checkbox.Foreground.Selected": "#84ffff",
|
||||
"Checkbox.Foreground.Selected.Dark": "#84ffff",
|
||||
"Checkbox.Focus.Thin.Selected": "#8F93A2",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#8F93A2",
|
||||
"Objects.Grey": "#717CB4",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#8F93A2",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,19 +8,19 @@
|
||||
"acceleratorSelectionForeground": "#94A7B0",
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#d3e1e8",
|
||||
"disabledBackground": "#eae8e8",
|
||||
"disabledBackground": "#CCD7DA",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"disabledText": "#D2D4D5",
|
||||
"focusColor": "#E7E7E8",
|
||||
"focusedBorderColor": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveBackground": "#eae8e8",
|
||||
"inactiveBackground": "#CCD7DA",
|
||||
"inactiveForeground": "#94A7B0",
|
||||
"infoForeground": "#94A7B0",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionBackgroundInactive": "#eae8e8",
|
||||
"selectionBackgroundInactive": "#FFFFFF",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#eae8e8",
|
||||
"selectionInactiveBackground": "#FFFFFF",
|
||||
"separatorColor": "#d3e1e8"
|
||||
},
|
||||
"activeCaption": "#FAFAFA",
|
||||
@@ -95,29 +95,28 @@
|
||||
"iconColor": "#546E7A",
|
||||
"nonEditableBackground": "#FAFAFA"
|
||||
},
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"buttonBackground": "#F3F4F5",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"foreground": "#546E7A",
|
||||
"modifiedItemForeground": "#00BCD4",
|
||||
"nonEditableBackground": "#eae8e8",
|
||||
"nonEditableBackground": "#FFFFFF",
|
||||
"padding": "5,5,5,5",
|
||||
"selectionBackground": "#E7E7E8",
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"ComboPopup.border": "#d3e1e8",
|
||||
"CompletionPopup": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A",
|
||||
"infoForeground": "#94A7B0",
|
||||
"matchForeground": "#00BCD42",
|
||||
"matchForeground": "#00BCD4",
|
||||
"matchSelectionForeground": "#00BCD4",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#80CBC480",
|
||||
"selectedGrayedForeground": "#546e7a",
|
||||
"selectionGrayForeground": "#546e7a",
|
||||
"selectionInactiveInfoForeground": "#94A7B0",
|
||||
"selectionInactiveBackground": "#E7E7E8",
|
||||
"selectionInactiveBackground": "#80CBC450",
|
||||
"selectionBackground": "#80CBC480",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInfoForeground": "#546e7a"
|
||||
@@ -160,12 +159,12 @@
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FAFAFA",
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"hoverColor": "#F4F4F4",
|
||||
"hoverColor": "#EEEEEE",
|
||||
"hoverMaskColor": "#E7E7E8",
|
||||
"inactiveUnderlineColor": "#D2D4D5",
|
||||
"inactiveMaskColor": "#F4F4F4",
|
||||
"inactiveMaskColor": "#EEEEEE",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground":"#E7E7E8"
|
||||
"underlinedTabBackground": "#E7E7E8"
|
||||
},
|
||||
"Desktop.background": "#FAFAFA",
|
||||
"DialogWrapper.southPanelBackground": "#FAFAFA",
|
||||
@@ -176,12 +175,12 @@
|
||||
"areaForeground": "#546E7A"
|
||||
},
|
||||
"Editor": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"foreground": "#546E7A",
|
||||
"shortcutForeground": "#94A7B0"
|
||||
},
|
||||
"EditorPane": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveBackground": "#FAFAFA",
|
||||
@@ -190,21 +189,30 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"hoverColor": "#E7E7E8",
|
||||
"hoverMaskColor": "#E7E7E8",
|
||||
"inactiveMaskColor": "#FAFAFA",
|
||||
"inactiveColoredFileBackground": "#FAFAFA",
|
||||
"inactiveUnderlineColor": "#D2D4D5",
|
||||
"selectedForeground": "#546E7A",
|
||||
"selectedBackground": "#E7E7E8",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FFFFFF",
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"hoverColor": "#E7E7E8",
|
||||
"inactiveUnderlineColor": "#00BCD4",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8",
|
||||
"underlinedTabForeground": "#546E7A"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#eae8e8",
|
||||
"Yellow": "#CCD7DA",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -221,7 +229,7 @@
|
||||
},
|
||||
"Focus.color": "#d3e1e8",
|
||||
"FormattedTextField": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveBackground": "#F3F4F5",
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#FAFAFA",
|
||||
"inactive": "#F4F4F4"
|
||||
"inactive": "#EEEEEE"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#FAFAFA",
|
||||
@@ -249,7 +257,7 @@
|
||||
"shortcutForeground": "#94A7B0"
|
||||
},
|
||||
"Hyperlink.linkColor": "#00BCD4",
|
||||
"inactiveCaption": "#eae8e8",
|
||||
"inactiveCaption": "#FFFFFF",
|
||||
"inactiveCaptionBorder": "#FAFAFA",
|
||||
"inactiveCaptionText": "#94A7B0",
|
||||
"info": "#94A7B0",
|
||||
@@ -281,17 +289,17 @@
|
||||
"visitedForeground": "#00BCD4"
|
||||
},
|
||||
"List": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionBackground": "#80CBC450",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025"
|
||||
"selectionInactiveBackground": "#80CBC425"
|
||||
},
|
||||
"material": {
|
||||
"background": "#FAFAFA",
|
||||
"branchColor": "#546E7A",
|
||||
"contrast": "#F4F4F4",
|
||||
"contrast": "#EEEEEE",
|
||||
"foreground": "#546E7A",
|
||||
"mergeCommits": "#F3F4F5",
|
||||
"primaryColor": "#94A7B0",
|
||||
@@ -301,7 +309,7 @@
|
||||
"tagColor": "#94A7B0"
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#eae8e8",
|
||||
"allocatedBackground": "#FFFFFF",
|
||||
"usedColor": "#E7E7E8",
|
||||
"usedBackground": "#E7E7E8"
|
||||
},
|
||||
@@ -310,8 +318,8 @@
|
||||
"acceleratorSelectionForeground": "#546e7a",
|
||||
"background": "#FAFAFA",
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#eae8e8",
|
||||
"disabledBackground": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"disabledBackground": "#FFFFFF",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"foreground": "#546E7A",
|
||||
"selectionBackground": "#80CBC4",
|
||||
@@ -319,7 +327,7 @@
|
||||
"separatorColor": "#d3e1e8"
|
||||
},
|
||||
"MenuBar": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"borderColor": "#FAFAFA",
|
||||
"disabledBackground": "#FAFAFA",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
@@ -327,7 +335,7 @@
|
||||
"highlight": "#FAFAFA",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionForeground": "#546e7a",
|
||||
"shadow": "#F4F4F4"
|
||||
"shadow": "#EEEEEE"
|
||||
},
|
||||
"MenuItem": {
|
||||
"acceleratorForeground": "#94A7B0",
|
||||
@@ -349,7 +357,7 @@
|
||||
"background": "#FAFAFA"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#F4F4F4"
|
||||
"background": "#EEEEEE"
|
||||
}
|
||||
},
|
||||
"Notification": {
|
||||
@@ -386,7 +394,7 @@
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"ParameterInfo": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"borderColor": "#E7E7E8",
|
||||
"currentOverloadBackground": "#E7E7E8",
|
||||
"currentParameterForeground": "#00BCD4",
|
||||
@@ -396,7 +404,7 @@
|
||||
"lineSeparatorColor": "#E7E7E8"
|
||||
},
|
||||
"PasswordField": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"capsLockIconColor": "#00BCD4",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
@@ -424,11 +432,11 @@
|
||||
"updateForeground": "#546E7A"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"borderColor": "#d3e1e8"
|
||||
},
|
||||
"SectionHeader": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#FAFAFA",
|
||||
"foreground": "#00BCD4"
|
||||
},
|
||||
"borderColor": "#F4F4F4",
|
||||
"borderColor": "#EEEEEE",
|
||||
"inactiveBorderColor": "#FAFAFA",
|
||||
"innerBorderColor": "#eae8e8",
|
||||
"innerBorderColor": "#FFFFFF",
|
||||
"Header": {
|
||||
"activeBackground": "#FAFAFA",
|
||||
"inactiveBackground": "#F4F4F4"
|
||||
"inactiveBackground": "#EEEEEE"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#546E7A",
|
||||
"separatorColor": "#eae8e8",
|
||||
"separatorColor": "#FFFFFF",
|
||||
"Toolbar": {
|
||||
"background": "#F4F4F4",
|
||||
"borderColor": "#F4F4F4"
|
||||
"background": "#EEEEEE",
|
||||
"borderColor": "#EEEEEE"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"foreground": "#94A7B0"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#FAFAFA"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#546E7A",
|
||||
"separatorForeground": "#94A7B0",
|
||||
"separatorColor": "#d3e1e8"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#F4F4F4",
|
||||
"borderColor": "#EEEEEE",
|
||||
"infoForeground": "#94A7B0"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -552,18 +560,21 @@
|
||||
"startBackground": "#00BCD4"
|
||||
},
|
||||
"Separator": {
|
||||
"background": "#eae8e8",
|
||||
"foreground": "#eae8e8",
|
||||
"separatorColor": "#eae8e8"
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#FFFFFF",
|
||||
"separatorColor": "#FFFFFF"
|
||||
},
|
||||
"SidePanel": {
|
||||
"background": "#F4F4F4"
|
||||
"background": "#EEEEEE"
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#FAFAFA",
|
||||
"buttonBorderColor": "#00BCD4",
|
||||
"buttonColor": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#eae8e8",
|
||||
"tickColor": "#FFFFFF",
|
||||
"trackColor": "#E7E7E8",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#00BCD4"
|
||||
},
|
||||
@@ -581,9 +592,9 @@
|
||||
},
|
||||
"SplitPane": {
|
||||
"background": "#FAFAFA",
|
||||
"highlight": "#F4F4F4"
|
||||
"highlight": "#EEEEEE"
|
||||
},
|
||||
"SplitPaneDivider.draggingColor": "#eae8e8",
|
||||
"SplitPaneDivider.draggingColor": "#FFFFFF",
|
||||
"StatusBar": {
|
||||
"borderColor": "#FAFAFA"
|
||||
},
|
||||
@@ -607,9 +618,10 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#00BCD4"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#F4F4F4",
|
||||
"TabbedPane.mt.tab.background": "#EEEEEE",
|
||||
"Table": {
|
||||
"background": "#FAFAFA",
|
||||
"cellNoFocusBorder": "10,5,10,5",
|
||||
@@ -623,30 +635,30 @@
|
||||
"highlightOuter": "#E7E7E8",
|
||||
"lightSelectionForeground": "#546e7a",
|
||||
"lightSelectionInactiveForeground": "#94A7B0",
|
||||
"lightSelectionInactiveBackground": "#eae8e8",
|
||||
"lightSelectionInactiveBackground": "#FFFFFF",
|
||||
"selectionBackground": "#E7E7E8",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025",
|
||||
"selectionInactiveBackground": "#E7E7E8",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"sortIconColor": "#546E7A",
|
||||
"stripeColor": "#F4F4F4"
|
||||
"stripeColor": "#EEEEEE"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FAFAFA",
|
||||
"bottomSeparatorColor": "#eae8e8",
|
||||
"bottomSeparatorColor": "#FFFFFF",
|
||||
"cellBorder": "4,0,4,0",
|
||||
"foreground": "#546E7A",
|
||||
"focusCellBackground": "#E7E7E8",
|
||||
"focusCellForeground": "#546e7a",
|
||||
"height": 25,
|
||||
"separatorColor": "#eae8e8"
|
||||
"separatorColor": "#FFFFFF"
|
||||
},
|
||||
"text": "#94A7B0",
|
||||
"textInactiveText": "#94A7B0",
|
||||
"textText": "#94A7B0",
|
||||
"TextArea": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveForeground": "#D2D4D5",
|
||||
@@ -654,7 +666,7 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"TextField": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveForeground": "#D2D4D5",
|
||||
@@ -662,7 +674,7 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"TextPane": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"caretForeground": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveForeground": "#D2D4D5",
|
||||
@@ -670,9 +682,9 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"Button.hoverBackground": "#E7E7E8",
|
||||
"inactiveBackground": "#eae8e8",
|
||||
"inactiveBackground": "#FAFAFA",
|
||||
"infoForeground": "#94A7B0",
|
||||
"inactiveInfoForeground": "#94A7B0"
|
||||
},
|
||||
@@ -688,7 +700,7 @@
|
||||
"onForeground": "#00BCD4"
|
||||
},
|
||||
"ToolBar": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"borderHandleColor": "#94A7B0",
|
||||
"floatingForeground": "#94A7B0",
|
||||
"foreground": "#546E7A"
|
||||
@@ -707,11 +719,11 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"selectedForeground": "#546e7a",
|
||||
"selectedBackground": "#F4F4F4"
|
||||
"selectedBackground": "#EEEEEE"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"inactiveBackground": "#FAFAFA"
|
||||
},
|
||||
"HeaderCloseButton": {
|
||||
@@ -719,26 +731,26 @@
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"hoverInactiveBackground": "#eae8e8",
|
||||
"hoverInactiveBackground": "#FFFFFF",
|
||||
"inactiveUnderlineColor": "#00BCD4",
|
||||
"selectedBackground": "#F4F4F4",
|
||||
"selectedInactiveBackground": "#F4F4F4",
|
||||
"selectedBackground": "#EEEEEE",
|
||||
"selectedInactiveBackground": "#EEEEEE",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8",
|
||||
"underlinedTabInactiveBackground": "#eae8e8"
|
||||
"underlinedTabInactiveBackground": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"Tree": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"foreground": "#94A7B0",
|
||||
"hash": "#d3e1e8",
|
||||
"modifiedItemForeground": "#00BCD4",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#80CBC480",
|
||||
"selectionBackground": "#80CBC470",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025",
|
||||
"textBackground": "#F4F4F4"
|
||||
"selectionInactiveBackground": "#80CBC425",
|
||||
"textBackground": "#EEEEEE"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
"Tree.rightChildIndent": 5,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#94A7B0",
|
||||
"Commit.currentBranchBackground": "#80CBC480"
|
||||
"Commit.currentBranchBackground": "#FFFFFF"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#546e7a",
|
||||
@@ -781,33 +793,33 @@
|
||||
}
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#F4F4F4",
|
||||
"foreground": "%fc"
|
||||
"background": "#EEEEEE",
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FAFAFA",
|
||||
"captionBackground": "#F4F4F4",
|
||||
"captionBackground": "#EEEEEE",
|
||||
"captionForeground": "#546E7A",
|
||||
"footerBackground": "#F4F4F4",
|
||||
"footerBackground": "#EEEEEE",
|
||||
"footerForeground": "#546E7A",
|
||||
"headerBackground": "#FAFAFA",
|
||||
"headerForeground": "#546E7A",
|
||||
"separatorColor": "#d3e1e8",
|
||||
"Projects": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionInactiveBackground": "#eae8e8"
|
||||
"selectionInactiveBackground": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"window": "#F4F4F4",
|
||||
"window": "#EEEEEE",
|
||||
"windowBorder": "#d3e1e8",
|
||||
"windowText": "#94A7B0",
|
||||
"Window.border": "#d3e1e8"
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#F4F4F4",
|
||||
"#43494A": "#EEEEEE",
|
||||
"#6B6B6B": "#94A7B0",
|
||||
"#A7A7A7": "#FAFAFA",
|
||||
"#3D6185": "#00BCD4",
|
||||
@@ -824,10 +836,10 @@
|
||||
"Actions.GreyInline.Dark": "#546E7A",
|
||||
"Actions.Red": "#E53935",
|
||||
"Actions.Yellow": "#F6A434",
|
||||
"Checkbox.Background.Default": "#F4F4F4",
|
||||
"Checkbox.Background.Default.Dark": "#F4F4F4",
|
||||
"Checkbox.Background.Disabled": "#eae8e8",
|
||||
"Checkbox.Background.Disabled.Dark": "#eae8e8",
|
||||
"Checkbox.Background.Default": "#EEEEEE",
|
||||
"Checkbox.Background.Default.Dark": "#EEEEEE",
|
||||
"Checkbox.Background.Disabled": "#CCD7DA",
|
||||
"Checkbox.Background.Disabled.Dark": "#CCD7DA",
|
||||
"Checkbox.Border.Default": "#d3e1e8",
|
||||
"Checkbox.Border.Default.Dark": "#d3e1e8",
|
||||
"Checkbox.Border.Disabled": "#D2D4D5",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#00BCD4",
|
||||
"Checkbox.Foreground.Disabled": "#D2D4D5",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#D2D4D5",
|
||||
"Checkbox.Background.Selected": "#00BCD4",
|
||||
"Checkbox.Background.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Background.Selected": "#FAFAFA",
|
||||
"Checkbox.Background.Selected.Dark": "#FAFAFA",
|
||||
"Checkbox.Border.Selected": "#00BCD4",
|
||||
"Checkbox.Border.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Foreground.Selected": "#546E7A",
|
||||
"Checkbox.Foreground.Selected.Dark": "#546E7A",
|
||||
"Checkbox.Foreground.Selected": "#00BCD4",
|
||||
"Checkbox.Foreground.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Focus.Thin.Selected": "#546E7A",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#546E7A",
|
||||
"Objects.Grey": "#AABFC9",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#546E7A",
|
||||
"Objects.YellowDark": "#F76D47",
|
||||
"Objects.GreenAndroid": "#91B859"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,19 +8,19 @@
|
||||
"acceleratorSelectionForeground": "#94A7B0",
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#d3e1e8",
|
||||
"disabledBackground": "#eae8e8",
|
||||
"disabledBackground": "#CCD7DA",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"disabledText": "#D2D4D5",
|
||||
"focusColor": "#E7E7E8",
|
||||
"focusedBorderColor": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"inactiveBackground": "#eae8e8",
|
||||
"inactiveBackground": "#CCD7DA",
|
||||
"inactiveForeground": "#94A7B0",
|
||||
"infoForeground": "#94A7B0",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionBackgroundInactive": "#eae8e8",
|
||||
"selectionBackgroundInactive": "#FFFFFF",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#eae8e8",
|
||||
"selectionInactiveBackground": "#FFFFFF",
|
||||
"separatorColor": "#d3e1e8"
|
||||
},
|
||||
"activeCaption": "#FAFAFA",
|
||||
@@ -100,24 +100,23 @@
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"foreground": "#546E7A",
|
||||
"modifiedItemForeground": "#00BCD4",
|
||||
"nonEditableBackground": "#eae8e8",
|
||||
"nonEditableBackground": "#FFFFFF",
|
||||
"padding": "5,5,5,5",
|
||||
"selectionBackground": "#E7E7E8",
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"ComboPopup.border": "#d3e1e8",
|
||||
"CompletionPopup": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A",
|
||||
"infoForeground": "#94A7B0",
|
||||
"matchForeground": "#00BCD42",
|
||||
"matchForeground": "#00BCD4",
|
||||
"matchSelectionForeground": "#00BCD4",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#80CBC480",
|
||||
"selectedGrayedForeground": "#546e7a",
|
||||
"selectionGrayForeground": "#546e7a",
|
||||
"selectionInactiveInfoForeground": "#94A7B0",
|
||||
"selectionInactiveBackground": "#E7E7E8",
|
||||
"selectionInactiveBackground": "#80CBC450",
|
||||
"selectionBackground": "#80CBC480",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInfoForeground": "#546e7a"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#D2D4D5",
|
||||
"inactiveMaskColor": "#FAFAFA",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground":"#E7E7E8"
|
||||
"underlinedTabBackground": "#E7E7E8"
|
||||
},
|
||||
"Desktop.background": "#FAFAFA",
|
||||
"DialogWrapper.southPanelBackground": "#FAFAFA",
|
||||
@@ -190,21 +189,30 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"EditorTabs": {
|
||||
"borderColor": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"hoverColor": "#E7E7E8",
|
||||
"hoverMaskColor": "#E7E7E8",
|
||||
"inactiveMaskColor": "#FAFAFA",
|
||||
"inactiveColoredFileBackground": "#FAFAFA",
|
||||
"inactiveUnderlineColor": "#D2D4D5",
|
||||
"selectedForeground": "#546E7A",
|
||||
"selectedBackground": "#E7E7E8",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FFFFFF",
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"hoverColor": "#E7E7E8",
|
||||
"inactiveUnderlineColor": "#00BCD4",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8",
|
||||
"underlinedTabForeground": "#546E7A"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
"Yellow": "#eae8e8",
|
||||
"Yellow": "#CCD7DA",
|
||||
"Orange": "#B53D00",
|
||||
"Violet": "#4D2C91",
|
||||
"Rose": "#A00037"
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#FAFAFA",
|
||||
"inactive": "#F4F4F4"
|
||||
"inactive": "#EEEEEE"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#FAFAFA",
|
||||
@@ -249,7 +257,7 @@
|
||||
"shortcutForeground": "#94A7B0"
|
||||
},
|
||||
"Hyperlink.linkColor": "#00BCD4",
|
||||
"inactiveCaption": "#eae8e8",
|
||||
"inactiveCaption": "#FFFFFF",
|
||||
"inactiveCaptionBorder": "#FAFAFA",
|
||||
"inactiveCaptionText": "#94A7B0",
|
||||
"info": "#94A7B0",
|
||||
@@ -281,17 +289,17 @@
|
||||
"visitedForeground": "#00BCD4"
|
||||
},
|
||||
"List": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionBackground": "#80CBC450",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025"
|
||||
"selectionInactiveBackground": "#80CBC425"
|
||||
},
|
||||
"material": {
|
||||
"background": "#FAFAFA",
|
||||
"branchColor": "#546E7A",
|
||||
"contrast": "#F4F4F4",
|
||||
"contrast": "#EEEEEE",
|
||||
"foreground": "#546E7A",
|
||||
"mergeCommits": "#F3F4F5",
|
||||
"primaryColor": "#94A7B0",
|
||||
@@ -301,7 +309,7 @@
|
||||
"tagColor": "#94A7B0"
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#eae8e8",
|
||||
"allocatedBackground": "#FFFFFF",
|
||||
"usedColor": "#E7E7E8",
|
||||
"usedBackground": "#E7E7E8"
|
||||
},
|
||||
@@ -310,8 +318,8 @@
|
||||
"acceleratorSelectionForeground": "#546e7a",
|
||||
"background": "#FAFAFA",
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#eae8e8",
|
||||
"disabledBackground": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"disabledBackground": "#FFFFFF",
|
||||
"disabledForeground": "#D2D4D5",
|
||||
"foreground": "#546E7A",
|
||||
"selectionBackground": "#80CBC4",
|
||||
@@ -386,7 +394,7 @@
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"ParameterInfo": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"borderColor": "#E7E7E8",
|
||||
"currentOverloadBackground": "#E7E7E8",
|
||||
"currentParameterForeground": "#00BCD4",
|
||||
@@ -428,7 +436,7 @@
|
||||
"borderColor": "#d3e1e8"
|
||||
},
|
||||
"SectionHeader": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#FAFAFA",
|
||||
"foreground": "#00BCD4"
|
||||
},
|
||||
"borderColor": "#F4F4F4",
|
||||
"borderColor": "#EEEEEE",
|
||||
"inactiveBorderColor": "#FAFAFA",
|
||||
"innerBorderColor": "#eae8e8",
|
||||
"innerBorderColor": "#FFFFFF",
|
||||
"Header": {
|
||||
"activeBackground": "#FAFAFA",
|
||||
"inactiveBackground": "#F4F4F4"
|
||||
"inactiveBackground": "#EEEEEE"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#546E7A",
|
||||
"separatorColor": "#eae8e8",
|
||||
"separatorColor": "#FFFFFF",
|
||||
"Toolbar": {
|
||||
"background": "#F4F4F4",
|
||||
"borderColor": "#F4F4F4"
|
||||
"background": "#EEEEEE",
|
||||
"borderColor": "#EEEEEE"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"foreground": "#94A7B0"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#FAFAFA"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#546E7A",
|
||||
"separatorForeground": "#94A7B0",
|
||||
"separatorColor": "#d3e1e8"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#F4F4F4",
|
||||
"borderColor": "#EEEEEE",
|
||||
"infoForeground": "#94A7B0"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -552,18 +560,21 @@
|
||||
"startBackground": "#00BCD4"
|
||||
},
|
||||
"Separator": {
|
||||
"background": "#eae8e8",
|
||||
"foreground": "#eae8e8",
|
||||
"separatorColor": "#eae8e8"
|
||||
"background": "#FFFFFF",
|
||||
"foreground": "#FFFFFF",
|
||||
"separatorColor": "#FFFFFF"
|
||||
},
|
||||
"SidePanel": {
|
||||
"background": "#FAFAFA"
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#FAFAFA",
|
||||
"buttonBorderColor": "#00BCD4",
|
||||
"buttonColor": "#00BCD4",
|
||||
"foreground": "#546E7A",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#eae8e8",
|
||||
"tickColor": "#FFFFFF",
|
||||
"trackColor": "#E7E7E8",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#00BCD4"
|
||||
},
|
||||
@@ -583,7 +594,7 @@
|
||||
"background": "#FAFAFA",
|
||||
"highlight": "#FAFAFA"
|
||||
},
|
||||
"SplitPaneDivider.draggingColor": "#eae8e8",
|
||||
"SplitPaneDivider.draggingColor": "#FFFFFF",
|
||||
"StatusBar": {
|
||||
"borderColor": "#FAFAFA"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#00BCD4"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#FAFAFA",
|
||||
"Table": {
|
||||
@@ -623,24 +635,24 @@
|
||||
"highlightOuter": "#E7E7E8",
|
||||
"lightSelectionForeground": "#546e7a",
|
||||
"lightSelectionInactiveForeground": "#94A7B0",
|
||||
"lightSelectionInactiveBackground": "#eae8e8",
|
||||
"lightSelectionInactiveBackground": "#FFFFFF",
|
||||
"selectionBackground": "#E7E7E8",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025",
|
||||
"selectionInactiveBackground": "#E7E7E8",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"sortIconColor": "#546E7A",
|
||||
"stripeColor": "#F4F4F4"
|
||||
"stripeColor": "#EEEEEE"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FAFAFA",
|
||||
"bottomSeparatorColor": "#eae8e8",
|
||||
"bottomSeparatorColor": "#FFFFFF",
|
||||
"cellBorder": "4,0,4,0",
|
||||
"foreground": "#546E7A",
|
||||
"focusCellBackground": "#E7E7E8",
|
||||
"focusCellForeground": "#546e7a",
|
||||
"height": 25,
|
||||
"separatorColor": "#eae8e8"
|
||||
"separatorColor": "#FFFFFF"
|
||||
},
|
||||
"text": "#94A7B0",
|
||||
"textInactiveText": "#94A7B0",
|
||||
@@ -670,9 +682,9 @@
|
||||
"selectionForeground": "#546e7a"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#F4F4F4",
|
||||
"background": "#EEEEEE",
|
||||
"Button.hoverBackground": "#E7E7E8",
|
||||
"inactiveBackground": "#eae8e8",
|
||||
"inactiveBackground": "#FAFAFA",
|
||||
"infoForeground": "#94A7B0",
|
||||
"inactiveInfoForeground": "#94A7B0"
|
||||
},
|
||||
@@ -707,11 +719,11 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"selectedForeground": "#546e7a",
|
||||
"selectedBackground": "#F4F4F4"
|
||||
"selectedBackground": "#EEEEEE"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#eae8e8",
|
||||
"borderColor": "#FFFFFF",
|
||||
"inactiveBackground": "#FAFAFA"
|
||||
},
|
||||
"HeaderCloseButton": {
|
||||
@@ -719,13 +731,13 @@
|
||||
},
|
||||
"HeaderTab": {
|
||||
"hoverBackground": "#E7E7E8",
|
||||
"hoverInactiveBackground": "#eae8e8",
|
||||
"hoverInactiveBackground": "#FFFFFF",
|
||||
"inactiveUnderlineColor": "#00BCD4",
|
||||
"selectedBackground": "#F4F4F4",
|
||||
"selectedInactiveBackground": "#F4F4F4",
|
||||
"selectedBackground": "#EEEEEE",
|
||||
"selectedInactiveBackground": "#EEEEEE",
|
||||
"underlineColor": "#00BCD4",
|
||||
"underlinedTabBackground": "#E7E7E8",
|
||||
"underlinedTabInactiveBackground": "#eae8e8"
|
||||
"underlinedTabInactiveBackground": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"Tree": {
|
||||
@@ -734,10 +746,10 @@
|
||||
"hash": "#d3e1e8",
|
||||
"modifiedItemForeground": "#00BCD4",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#80CBC480",
|
||||
"selectionBackground": "#80CBC470",
|
||||
"selectionForeground": "#546e7a",
|
||||
"selectionInactiveForeground": "#546e7a",
|
||||
"selectionInactiveBackground": "#80CBC48025",
|
||||
"selectionInactiveBackground": "#80CBC425",
|
||||
"textBackground": "#FAFAFA"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#94A7B0",
|
||||
"Commit.currentBranchBackground": "#80CBC480"
|
||||
"Commit.currentBranchBackground": "#FFFFFF"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#546e7a",
|
||||
@@ -782,22 +794,22 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#FAFAFA",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#546E7A"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#FAFAFA",
|
||||
"borderColor": "#FAFAFA",
|
||||
"captionBackground": "#F4F4F4",
|
||||
"captionBackground": "#EEEEEE",
|
||||
"captionForeground": "#546E7A",
|
||||
"footerBackground": "#F4F4F4",
|
||||
"footerBackground": "#EEEEEE",
|
||||
"footerForeground": "#546E7A",
|
||||
"headerBackground": "#FAFAFA",
|
||||
"headerForeground": "#546E7A",
|
||||
"separatorColor": "#d3e1e8",
|
||||
"Projects": {
|
||||
"background": "#eae8e8",
|
||||
"background": "#FFFFFF",
|
||||
"selectionBackground": "#80CBC4",
|
||||
"selectionInactiveBackground": "#eae8e8"
|
||||
"selectionInactiveBackground": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"window": "#FAFAFA",
|
||||
@@ -807,7 +819,7 @@
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#F4F4F4",
|
||||
"#43494A": "#EEEEEE",
|
||||
"#6B6B6B": "#94A7B0",
|
||||
"#A7A7A7": "#FAFAFA",
|
||||
"#3D6185": "#00BCD4",
|
||||
@@ -824,10 +836,10 @@
|
||||
"Actions.GreyInline.Dark": "#546E7A",
|
||||
"Actions.Red": "#E53935",
|
||||
"Actions.Yellow": "#F6A434",
|
||||
"Checkbox.Background.Default": "#F4F4F4",
|
||||
"Checkbox.Background.Default.Dark": "#F4F4F4",
|
||||
"Checkbox.Background.Disabled": "#eae8e8",
|
||||
"Checkbox.Background.Disabled.Dark": "#eae8e8",
|
||||
"Checkbox.Background.Default": "#EEEEEE",
|
||||
"Checkbox.Background.Default.Dark": "#EEEEEE",
|
||||
"Checkbox.Background.Disabled": "#CCD7DA",
|
||||
"Checkbox.Background.Disabled.Dark": "#CCD7DA",
|
||||
"Checkbox.Border.Default": "#d3e1e8",
|
||||
"Checkbox.Border.Default.Dark": "#d3e1e8",
|
||||
"Checkbox.Border.Disabled": "#D2D4D5",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#00BCD4",
|
||||
"Checkbox.Foreground.Disabled": "#D2D4D5",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#D2D4D5",
|
||||
"Checkbox.Background.Selected": "#00BCD4",
|
||||
"Checkbox.Background.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Background.Selected": "#FAFAFA",
|
||||
"Checkbox.Background.Selected.Dark": "#FAFAFA",
|
||||
"Checkbox.Border.Selected": "#00BCD4",
|
||||
"Checkbox.Border.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Foreground.Selected": "#546E7A",
|
||||
"Checkbox.Foreground.Selected.Dark": "#546E7A",
|
||||
"Checkbox.Foreground.Selected": "#00BCD4",
|
||||
"Checkbox.Foreground.Selected.Dark": "#00BCD4",
|
||||
"Checkbox.Focus.Thin.Selected": "#546E7A",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#546E7A",
|
||||
"Objects.Grey": "#AABFC9",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#546E7A",
|
||||
"Objects.YellowDark": "#F76D47",
|
||||
"Objects.GreenAndroid": "#91B859"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#32424A",
|
||||
"foreground": "#B0BEC5",
|
||||
"infoForeground": "#607D8B",
|
||||
"matchForeground": "#0096882",
|
||||
"matchForeground": "#009688",
|
||||
"matchSelectionForeground": "#009688",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#546E7A70",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#607D8B",
|
||||
"selectionInactiveBackground": "#425B67",
|
||||
"selectionInactiveBackground": "#546E7A50",
|
||||
"selectionBackground": "#546E7A80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#415967",
|
||||
"inactiveMaskColor": "#1E272C",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground":"#314549"
|
||||
"underlinedTabBackground": "#314549"
|
||||
},
|
||||
"Desktop.background": "#263238",
|
||||
"DialogWrapper.southPanelBackground": "#263238",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#425B67",
|
||||
"hoverMaskColor": "#425B67",
|
||||
"inactiveMaskColor": "#263238",
|
||||
"inactiveColoredFileBackground": "#263238",
|
||||
"inactiveUnderlineColor": "#415967",
|
||||
"selectedForeground": "#B0BEC5",
|
||||
"selectedBackground": "#314549",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground": "#314549"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#263238",
|
||||
"borderColor": "#32424A",
|
||||
"hoverBackground": "#425B67",
|
||||
"hoverColor": "#425B67",
|
||||
"inactiveUnderlineColor": "#009688",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground": "#314549",
|
||||
"underlinedTabForeground": "#B0BEC5"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#32424A",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#546E7A",
|
||||
"selectionBackground": "#546E7A50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025"
|
||||
"selectionInactiveBackground": "#546E7A25"
|
||||
},
|
||||
"material": {
|
||||
"background": "#263238",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#263238"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#B0BEC5",
|
||||
"separatorForeground": "#607D8B",
|
||||
"separatorColor": "#2A373E"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#263238",
|
||||
"buttonBorderColor": "#009688",
|
||||
"buttonColor": "#009688",
|
||||
"foreground": "#B0BEC5",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#32424A",
|
||||
"trackColor": "#314549",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#009688"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#009688"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#1E272C",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#32424A",
|
||||
"selectionBackground": "#314549",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025",
|
||||
"selectionInactiveBackground": "#314549",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#B0BEC5",
|
||||
"stripeColor": "#1E272C"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#1E272C",
|
||||
"Button.hoverBackground": "#425B67",
|
||||
"inactiveBackground": "#32424A",
|
||||
"inactiveBackground": "#263238",
|
||||
"infoForeground": "#607D8B",
|
||||
"inactiveInfoForeground": "#607D8B"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#546E7A70",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025",
|
||||
"selectionInactiveBackground": "#546E7A25",
|
||||
"textBackground": "#1E272C"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#607D8B",
|
||||
"Commit.currentBranchBackground": "#546E7A70"
|
||||
"Commit.currentBranchBackground": "#32424A"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#1E272C",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#B0BEC5"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#263238",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#009688",
|
||||
"Checkbox.Foreground.Disabled": "#415967",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#415967",
|
||||
"Checkbox.Background.Selected": "#009688",
|
||||
"Checkbox.Background.Selected.Dark": "#009688",
|
||||
"Checkbox.Background.Selected": "#263238",
|
||||
"Checkbox.Background.Selected.Dark": "#263238",
|
||||
"Checkbox.Border.Selected": "#009688",
|
||||
"Checkbox.Border.Selected.Dark": "#009688",
|
||||
"Checkbox.Foreground.Selected": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected": "#009688",
|
||||
"Checkbox.Foreground.Selected.Dark": "#009688",
|
||||
"Checkbox.Focus.Thin.Selected": "#B0BEC5",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#B0BEC5",
|
||||
"Objects.Grey": "#546e7a",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#B0BEC5",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#32424A",
|
||||
"foreground": "#B0BEC5",
|
||||
"infoForeground": "#607D8B",
|
||||
"matchForeground": "#0096882",
|
||||
"matchForeground": "#009688",
|
||||
"matchSelectionForeground": "#009688",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#546E7A70",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#607D8B",
|
||||
"selectionInactiveBackground": "#425B67",
|
||||
"selectionInactiveBackground": "#546E7A50",
|
||||
"selectionBackground": "#546E7A80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#415967",
|
||||
"inactiveMaskColor": "#263238",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground":"#314549"
|
||||
"underlinedTabBackground": "#314549"
|
||||
},
|
||||
"Desktop.background": "#263238",
|
||||
"DialogWrapper.southPanelBackground": "#263238",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#425B67",
|
||||
"hoverMaskColor": "#425B67",
|
||||
"inactiveMaskColor": "#263238",
|
||||
"inactiveColoredFileBackground": "#263238",
|
||||
"inactiveUnderlineColor": "#415967",
|
||||
"selectedForeground": "#B0BEC5",
|
||||
"selectedBackground": "#314549",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground": "#314549"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#263238",
|
||||
"borderColor": "#32424A",
|
||||
"hoverBackground": "#425B67",
|
||||
"hoverColor": "#425B67",
|
||||
"inactiveUnderlineColor": "#009688",
|
||||
"underlineColor": "#009688",
|
||||
"underlinedTabBackground": "#314549",
|
||||
"underlinedTabForeground": "#B0BEC5"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#32424A",
|
||||
"foreground": "#B0BEC5",
|
||||
"selectionBackground": "#546E7A",
|
||||
"selectionBackground": "#546E7A50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025"
|
||||
"selectionInactiveBackground": "#546E7A25"
|
||||
},
|
||||
"material": {
|
||||
"background": "#263238",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#263238"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#B0BEC5",
|
||||
"separatorForeground": "#607D8B",
|
||||
"separatorColor": "#2A373E"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#263238",
|
||||
"buttonBorderColor": "#009688",
|
||||
"buttonColor": "#009688",
|
||||
"foreground": "#B0BEC5",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#32424A",
|
||||
"trackColor": "#314549",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#009688"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#009688"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#263238",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#32424A",
|
||||
"selectionBackground": "#314549",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025",
|
||||
"selectionInactiveBackground": "#314549",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#B0BEC5",
|
||||
"stripeColor": "#1E272C"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#1E272C",
|
||||
"Button.hoverBackground": "#425B67",
|
||||
"inactiveBackground": "#32424A",
|
||||
"inactiveBackground": "#263238",
|
||||
"infoForeground": "#607D8B",
|
||||
"inactiveInfoForeground": "#607D8B"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#546E7A70",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#546E7A7025",
|
||||
"selectionInactiveBackground": "#546E7A25",
|
||||
"textBackground": "#263238"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#607D8B",
|
||||
"Commit.currentBranchBackground": "#546E7A70"
|
||||
"Commit.currentBranchBackground": "#32424A"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#263238",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#B0BEC5"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#263238",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#009688",
|
||||
"Checkbox.Foreground.Disabled": "#415967",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#415967",
|
||||
"Checkbox.Background.Selected": "#009688",
|
||||
"Checkbox.Background.Selected.Dark": "#009688",
|
||||
"Checkbox.Background.Selected": "#263238",
|
||||
"Checkbox.Background.Selected.Dark": "#263238",
|
||||
"Checkbox.Border.Selected": "#009688",
|
||||
"Checkbox.Border.Selected.Dark": "#009688",
|
||||
"Checkbox.Foreground.Selected": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected.Dark": "#B0BEC5",
|
||||
"Checkbox.Foreground.Selected": "#009688",
|
||||
"Checkbox.Foreground.Selected.Dark": "#009688",
|
||||
"Checkbox.Focus.Thin.Selected": "#B0BEC5",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#B0BEC5",
|
||||
"Objects.Grey": "#546e7a",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#B0BEC5",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#34324a",
|
||||
"foreground": "#A6ACCD",
|
||||
"infoForeground": "#676E95",
|
||||
"matchForeground": "#ab47bc2",
|
||||
"matchForeground": "#ab47bc",
|
||||
"matchSelectionForeground": "#ab47bc",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#676E9570",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#676E95",
|
||||
"selectionInactiveBackground": "#444267",
|
||||
"selectionInactiveBackground": "#3C435E50",
|
||||
"selectionBackground": "#3C435E80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#515772",
|
||||
"inactiveMaskColor": "#202331",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground":"#414863"
|
||||
"underlinedTabBackground": "#414863"
|
||||
},
|
||||
"Desktop.background": "#292D3E",
|
||||
"DialogWrapper.southPanelBackground": "#292D3E",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#444267",
|
||||
"hoverMaskColor": "#444267",
|
||||
"inactiveMaskColor": "#292D3E",
|
||||
"inactiveColoredFileBackground": "#292D3E",
|
||||
"inactiveUnderlineColor": "#515772",
|
||||
"selectedForeground": "#A6ACCD",
|
||||
"selectedBackground": "#414863",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground": "#414863"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#292D3E",
|
||||
"borderColor": "#34324a",
|
||||
"hoverBackground": "#444267",
|
||||
"hoverColor": "#444267",
|
||||
"inactiveUnderlineColor": "#ab47bc",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground": "#414863",
|
||||
"underlinedTabForeground": "#A6ACCD"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#34324a",
|
||||
"foreground": "#A6ACCD",
|
||||
"selectionBackground": "#3C435E",
|
||||
"selectionBackground": "#3C435E50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025"
|
||||
"selectionInactiveBackground": "#676E9525"
|
||||
},
|
||||
"material": {
|
||||
"background": "#292D3E",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#292D3E"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#A6ACCD",
|
||||
"separatorForeground": "#676E95",
|
||||
"separatorColor": "#2b2a3e"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#292D3E",
|
||||
"buttonBorderColor": "#ab47bc",
|
||||
"buttonColor": "#ab47bc",
|
||||
"foreground": "#A6ACCD",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#34324a",
|
||||
"trackColor": "#414863",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#ab47bc"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#ab47bc"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#202331",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#34324a",
|
||||
"selectionBackground": "#414863",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025",
|
||||
"selectionInactiveBackground": "#414863",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#A6ACCD",
|
||||
"stripeColor": "#202331"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#202331",
|
||||
"Button.hoverBackground": "#444267",
|
||||
"inactiveBackground": "#34324a",
|
||||
"inactiveBackground": "#292D3E",
|
||||
"infoForeground": "#676E95",
|
||||
"inactiveInfoForeground": "#676E95"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#676E9570",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025",
|
||||
"selectionInactiveBackground": "#676E9525",
|
||||
"textBackground": "#202331"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#676E95",
|
||||
"Commit.currentBranchBackground": "#676E9570"
|
||||
"Commit.currentBranchBackground": "#34324a"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#202331",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#A6ACCD"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#292D3E",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#ab47bc",
|
||||
"Checkbox.Foreground.Disabled": "#515772",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#515772",
|
||||
"Checkbox.Background.Selected": "#ab47bc",
|
||||
"Checkbox.Background.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Background.Selected": "#292D3E",
|
||||
"Checkbox.Background.Selected.Dark": "#292D3E",
|
||||
"Checkbox.Border.Selected": "#ab47bc",
|
||||
"Checkbox.Border.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Foreground.Selected": "#A6ACCD",
|
||||
"Checkbox.Foreground.Selected.Dark": "#A6ACCD",
|
||||
"Checkbox.Foreground.Selected": "#ab47bc",
|
||||
"Checkbox.Foreground.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Focus.Thin.Selected": "#A6ACCD",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#A6ACCD",
|
||||
"Objects.Grey": "#676E95",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#A6ACCD",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,14 +110,13 @@
|
||||
"background": "#34324a",
|
||||
"foreground": "#A6ACCD",
|
||||
"infoForeground": "#676E95",
|
||||
"matchForeground": "#ab47bc2",
|
||||
"matchForeground": "#ab47bc",
|
||||
"matchSelectionForeground": "#ab47bc",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#676E9570",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#676E95",
|
||||
"selectionInactiveBackground": "#444267",
|
||||
"selectionInactiveBackground": "#3C435E50",
|
||||
"selectionBackground": "#3C435E80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
@@ -165,7 +164,7 @@
|
||||
"inactiveUnderlineColor": "#515772",
|
||||
"inactiveMaskColor": "#292D3E",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground":"#414863"
|
||||
"underlinedTabBackground": "#414863"
|
||||
},
|
||||
"Desktop.background": "#292D3E",
|
||||
"DialogWrapper.southPanelBackground": "#292D3E",
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#444267",
|
||||
"hoverMaskColor": "#444267",
|
||||
"inactiveMaskColor": "#292D3E",
|
||||
"inactiveColoredFileBackground": "#292D3E",
|
||||
"inactiveUnderlineColor": "#515772",
|
||||
"selectedForeground": "#A6ACCD",
|
||||
"selectedBackground": "#414863",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground": "#414863"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#292D3E",
|
||||
"borderColor": "#34324a",
|
||||
"hoverBackground": "#444267",
|
||||
"hoverColor": "#444267",
|
||||
"inactiveUnderlineColor": "#ab47bc",
|
||||
"underlineColor": "#ab47bc",
|
||||
"underlinedTabBackground": "#414863",
|
||||
"underlinedTabForeground": "#A6ACCD"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -283,10 +291,10 @@
|
||||
"List": {
|
||||
"background": "#34324a",
|
||||
"foreground": "#A6ACCD",
|
||||
"selectionBackground": "#3C435E",
|
||||
"selectionBackground": "#3C435E50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025"
|
||||
"selectionInactiveBackground": "#676E9525"
|
||||
},
|
||||
"material": {
|
||||
"background": "#292D3E",
|
||||
@@ -533,7 +541,7 @@
|
||||
"background": "#292D3E"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#A6ACCD",
|
||||
"separatorForeground": "#676E95",
|
||||
"separatorColor": "#2b2a3e"
|
||||
},
|
||||
"SearchField": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#292D3E",
|
||||
"buttonBorderColor": "#ab47bc",
|
||||
"buttonColor": "#ab47bc",
|
||||
"foreground": "#A6ACCD",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#34324a",
|
||||
"trackColor": "#414863",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#ab47bc"
|
||||
},
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#ab47bc"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#292D3E",
|
||||
"Table": {
|
||||
@@ -626,7 +638,7 @@
|
||||
"lightSelectionInactiveBackground": "#34324a",
|
||||
"selectionBackground": "#414863",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025",
|
||||
"selectionInactiveBackground": "#414863",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#A6ACCD",
|
||||
"stripeColor": "#202331"
|
||||
@@ -672,7 +684,7 @@
|
||||
"TitlePane": {
|
||||
"background": "#202331",
|
||||
"Button.hoverBackground": "#444267",
|
||||
"inactiveBackground": "#34324a",
|
||||
"inactiveBackground": "#292D3E",
|
||||
"infoForeground": "#676E95",
|
||||
"inactiveInfoForeground": "#676E95"
|
||||
},
|
||||
@@ -737,7 +749,7 @@
|
||||
"selectionBackground": "#676E9570",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#676E957025",
|
||||
"selectionInactiveBackground": "#676E9525",
|
||||
"textBackground": "#292D3E"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
@@ -773,7 +785,7 @@
|
||||
},
|
||||
"Log": {
|
||||
"Commit.unmatchedForeground": "#676E95",
|
||||
"Commit.currentBranchBackground": "#676E9570"
|
||||
"Commit.currentBranchBackground": "#34324a"
|
||||
},
|
||||
"RefLabel": {
|
||||
"foreground": "#FFFFFF",
|
||||
@@ -782,7 +794,7 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#292D3E",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#A6ACCD"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#292D3E",
|
||||
@@ -838,12 +850,12 @@
|
||||
"Checkbox.Focus.Wide.Dark": "#ab47bc",
|
||||
"Checkbox.Foreground.Disabled": "#515772",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#515772",
|
||||
"Checkbox.Background.Selected": "#ab47bc",
|
||||
"Checkbox.Background.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Background.Selected": "#292D3E",
|
||||
"Checkbox.Background.Selected.Dark": "#292D3E",
|
||||
"Checkbox.Border.Selected": "#ab47bc",
|
||||
"Checkbox.Border.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Foreground.Selected": "#A6ACCD",
|
||||
"Checkbox.Foreground.Selected.Dark": "#A6ACCD",
|
||||
"Checkbox.Foreground.Selected": "#ab47bc",
|
||||
"Checkbox.Foreground.Selected.Dark": "#ab47bc",
|
||||
"Checkbox.Focus.Thin.Selected": "#A6ACCD",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#A6ACCD",
|
||||
"Objects.Grey": "#676E95",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#A6ACCD",
|
||||
"Objects.YellowDark": "#f78c6c",
|
||||
"Objects.GreenAndroid": "#c3e88d"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,15 +9,15 @@
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2d2a2e",
|
||||
"disabledBackground": "#3a3a3c",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledText": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledText": "#5b595c",
|
||||
"focusColor": "#5b595c",
|
||||
"focusedBorderColor": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#3a3a3c",
|
||||
"inactiveForeground": "#939293",
|
||||
"infoForeground": "#939293",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionBackgroundInactive": "#403E41",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#403E41",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#ffd86650"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#5B595C"
|
||||
"selectionBackground": "#6E6C6F"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#2D2A2E",
|
||||
"Borders.color": "#2d2a2e",
|
||||
@@ -49,7 +49,7 @@
|
||||
"startBorderColor": "#4A474B"
|
||||
},
|
||||
"disabledBorderColor": "#403E41",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"endBackground": "#403E41",
|
||||
"endBorderColor": "#403E41",
|
||||
"focus": "#5b595c",
|
||||
@@ -68,7 +68,7 @@
|
||||
},
|
||||
"CheckBox": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"select": "#ffd866"
|
||||
},
|
||||
@@ -77,9 +77,9 @@
|
||||
"acceleratorSelectionForeground": "#939293",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -91,13 +91,13 @@
|
||||
"ComboBox": {
|
||||
"ArrowButton": {
|
||||
"background": "#403E41",
|
||||
"disabledIconColor": "#727072",
|
||||
"disabledIconColor": "#5b595c",
|
||||
"iconColor": "#fcfcfa",
|
||||
"nonEditableBackground": "#2D2A2E"
|
||||
},
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"buttonBackground": "#403E41",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"modifiedItemForeground": "#ffd866",
|
||||
"nonEditableBackground": "#403E41",
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#403E41",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"matchForeground": "#ffd8662",
|
||||
"matchForeground": "#ffd866",
|
||||
"matchSelectionForeground": "#ffd866",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#403E41",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#939293",
|
||||
"selectionInactiveBackground": "#5b595c",
|
||||
"selectionBackground": "#5B595C80",
|
||||
"selectionInactiveBackground": "#6E6C6F50",
|
||||
"selectionBackground": "#6E6C6F80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -160,12 +159,12 @@
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2D2A2E",
|
||||
"hoverBackground": "#4A474B",
|
||||
"hoverColor": "#221F22",
|
||||
"hoverColor": "#3a3a3c",
|
||||
"hoverMaskColor": "#5b595c",
|
||||
"inactiveUnderlineColor": "#727072",
|
||||
"inactiveMaskColor": "#221F22",
|
||||
"inactiveUnderlineColor": "#5b595c",
|
||||
"inactiveMaskColor": "#3a3a3c",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground":"#4A474B"
|
||||
"underlinedTabBackground": "#4A474B"
|
||||
},
|
||||
"Desktop.background": "#2D2A2E",
|
||||
"DialogWrapper.southPanelBackground": "#2D2A2E",
|
||||
@@ -176,17 +175,17 @@
|
||||
"areaForeground": "#fcfcfa"
|
||||
},
|
||||
"Editor": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"foreground": "#fcfcfa",
|
||||
"shortcutForeground": "#939293"
|
||||
},
|
||||
"EditorPane": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#2D2A2E",
|
||||
"inactiveForeground": "#727072",
|
||||
"selectionBackground": "#5B595C",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#5b595c",
|
||||
"hoverMaskColor": "#5b595c",
|
||||
"inactiveMaskColor": "#2D2A2E",
|
||||
"inactiveColoredFileBackground": "#2D2A2E",
|
||||
"inactiveUnderlineColor": "#727072",
|
||||
"inactiveUnderlineColor": "#5b595c",
|
||||
"selectedForeground": "#fcfcfa",
|
||||
"selectedBackground": "#4A474B",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#4A474B"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#403E41",
|
||||
"hoverBackground": "#5b595c",
|
||||
"hoverColor": "#5b595c",
|
||||
"inactiveUnderlineColor": "#ffd866",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#4A474B",
|
||||
"underlinedTabForeground": "#fcfcfa"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -221,11 +229,11 @@
|
||||
},
|
||||
"Focus.color": "#2d2a2e",
|
||||
"FormattedTextField": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#403E41",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionForeground": "#ffd866",
|
||||
"selectionBackground": "#4A474B"
|
||||
},
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#2D2A2E",
|
||||
"inactive": "#221F22"
|
||||
"inactive": "#3a3a3c"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -266,9 +274,9 @@
|
||||
},
|
||||
"Label": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledShadow": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"selectedForeground": "#ffd866"
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#403E41",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#ffd866",
|
||||
"selectionInactiveBackground": "#403E4125"
|
||||
@@ -291,7 +299,7 @@
|
||||
"material": {
|
||||
"background": "#2D2A2E",
|
||||
"branchColor": "#fcfcfa",
|
||||
"contrast": "#221F22",
|
||||
"contrast": "#3a3a3c",
|
||||
"foreground": "#fcfcfa",
|
||||
"mergeCommits": "#403E41",
|
||||
"primaryColor": "#939293",
|
||||
@@ -312,22 +320,22 @@
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#403E41",
|
||||
"disabledBackground": "#403E41",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#2d2a2e"
|
||||
},
|
||||
"MenuBar": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"borderColor": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"highlight": "#2D2A2E",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#221F22"
|
||||
"shadow": "#3a3a3c"
|
||||
},
|
||||
"MenuItem": {
|
||||
"acceleratorForeground": "#939293",
|
||||
@@ -335,9 +343,9 @@
|
||||
"border": "4,2,4,2",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -349,7 +357,7 @@
|
||||
"background": "#2D2A2E"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#221F22"
|
||||
"background": "#3a3a3c"
|
||||
}
|
||||
},
|
||||
"Notification": {
|
||||
@@ -390,26 +398,26 @@
|
||||
"borderColor": "#4A474B",
|
||||
"currentOverloadBackground": "#4A474B",
|
||||
"currentParameterForeground": "#ffd866",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"lineSeparatorColor": "#4A474B"
|
||||
},
|
||||
"PasswordField": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"capsLockIconColor": "#ffd866",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"Plugins": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"eapTagBackground": "#5b595c",
|
||||
"lightSelectionBackground": "#5B595C",
|
||||
"selectionBackground": "#5B595C",
|
||||
"lightSelectionBackground": "#6E6C6F",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"tagForeground": "#ffd866",
|
||||
"tagBackground": "#5b595c",
|
||||
"Button": {
|
||||
@@ -424,7 +432,7 @@
|
||||
"updateForeground": "#fcfcfa"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"borderColor": "#2d2a2e"
|
||||
},
|
||||
"SectionHeader": {
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#2D2A2E",
|
||||
"foreground": "#ffd866"
|
||||
},
|
||||
"borderColor": "#221F22",
|
||||
"borderColor": "#3a3a3c",
|
||||
"inactiveBorderColor": "#2D2A2E",
|
||||
"innerBorderColor": "#403E41",
|
||||
"Header": {
|
||||
"activeBackground": "#2D2A2E",
|
||||
"inactiveBackground": "#221F22"
|
||||
"inactiveBackground": "#3a3a3c"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#fcfcfa",
|
||||
"separatorColor": "#403E41",
|
||||
"Toolbar": {
|
||||
"background": "#221F22",
|
||||
"borderColor": "#221F22"
|
||||
"background": "#3a3a3c",
|
||||
"borderColor": "#3a3a3c"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -477,7 +485,7 @@
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa"
|
||||
},
|
||||
"RadioButtonMenuItem": {
|
||||
@@ -485,9 +493,9 @@
|
||||
"acceleratorSelectionForeground": "#939293",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"foreground": "#939293"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#2D2A2E"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#fcfcfa",
|
||||
"separatorForeground": "#939293",
|
||||
"separatorColor": "#2d2a2e"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#221F22",
|
||||
"borderColor": "#3a3a3c",
|
||||
"infoForeground": "#939293"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -557,13 +565,16 @@
|
||||
"separatorColor": "#403E41"
|
||||
},
|
||||
"SidePanel": {
|
||||
"background": "#221F22"
|
||||
"background": "#3a3a3c"
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#2D2A2E",
|
||||
"buttonBorderColor": "#ffd866",
|
||||
"buttonColor": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#403E41",
|
||||
"trackColor": "#4A474B",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#ffd866"
|
||||
},
|
||||
@@ -581,7 +592,7 @@
|
||||
},
|
||||
"SplitPane": {
|
||||
"background": "#2D2A2E",
|
||||
"highlight": "#221F22"
|
||||
"highlight": "#3a3a3c"
|
||||
},
|
||||
"SplitPaneDivider.draggingColor": "#403E41",
|
||||
"StatusBar": {
|
||||
@@ -592,8 +603,8 @@
|
||||
"contentAreaColor": "#5b595c",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#2d2a2e",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledUnderlineColor": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledUnderlineColor": "#5b595c",
|
||||
"focus": "#4A474B",
|
||||
"focusColor": "#4A474B",
|
||||
"fontSizeOffset": 0,
|
||||
@@ -607,9 +618,10 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#ffd866"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#221F22",
|
||||
"TabbedPane.mt.tab.background": "#3a3a3c",
|
||||
"Table": {
|
||||
"background": "#2D2A2E",
|
||||
"cellNoFocusBorder": "10,5,10,5",
|
||||
@@ -626,10 +638,10 @@
|
||||
"lightSelectionInactiveBackground": "#403E41",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866",
|
||||
"selectionInactiveBackground": "#403E4125",
|
||||
"selectionInactiveBackground": "#4A474B",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#fcfcfa",
|
||||
"stripeColor": "#221F22"
|
||||
"stripeColor": "#3a3a3c"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -646,33 +658,33 @@
|
||||
"textInactiveText": "#939293",
|
||||
"textText": "#939293",
|
||||
"TextArea": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"TextField": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"TextPane": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"Button.hoverBackground": "#5b595c",
|
||||
"inactiveBackground": "#403E41",
|
||||
"inactiveBackground": "#2D2A2E",
|
||||
"infoForeground": "#939293",
|
||||
"inactiveInfoForeground": "#939293"
|
||||
},
|
||||
@@ -680,7 +692,7 @@
|
||||
"ToggleButton": {
|
||||
"borderColor": "#403E41",
|
||||
"buttonColor": "#fcfcfa",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"offForeground": "#2D2A2E",
|
||||
"offBackground": "#2D2A2E",
|
||||
@@ -688,7 +700,7 @@
|
||||
"onForeground": "#ffd866"
|
||||
},
|
||||
"ToolBar": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"borderHandleColor": "#939293",
|
||||
"floatingForeground": "#939293",
|
||||
"foreground": "#fcfcfa"
|
||||
@@ -707,7 +719,7 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#4A474B",
|
||||
"selectedForeground": "#ffd866",
|
||||
"selectedBackground": "#221F22"
|
||||
"selectedBackground": "#3a3a3c"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -721,24 +733,24 @@
|
||||
"hoverBackground": "#5b595c",
|
||||
"hoverInactiveBackground": "#403E41",
|
||||
"inactiveUnderlineColor": "#ffd866",
|
||||
"selectedBackground": "#221F22",
|
||||
"selectedInactiveBackground": "#221F22",
|
||||
"selectedBackground": "#3a3a3c",
|
||||
"selectedInactiveBackground": "#3a3a3c",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#5b595c",
|
||||
"underlinedTabInactiveBackground": "#403E41"
|
||||
}
|
||||
},
|
||||
"Tree": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"foreground": "#939293",
|
||||
"hash": "#2d2a2e",
|
||||
"modifiedItemForeground": "#ffd866",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#403E41",
|
||||
"selectionBackground": "#403E4170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#403E4125",
|
||||
"textBackground": "#221F22"
|
||||
"textBackground": "#3a3a3c"
|
||||
},
|
||||
"Tree.leftChildIndent": 10,
|
||||
"Tree.rightChildIndent": 5,
|
||||
@@ -765,7 +777,7 @@
|
||||
"HgLog": {
|
||||
"branchIconColor": "#ffd866",
|
||||
"bookmarkIconColor": "#ffd866",
|
||||
"closedBranchIconColor": "#727072",
|
||||
"closedBranchIconColor": "#5b595c",
|
||||
"localTagIconColor": "#939293",
|
||||
"mqTagIconColor": "#939293",
|
||||
"tagIconColor": "#939293",
|
||||
@@ -781,40 +793,40 @@
|
||||
}
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#221F22",
|
||||
"foreground": "%fc"
|
||||
"background": "#3a3a3c",
|
||||
"foreground": "#fcfcfa"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2D2A2E",
|
||||
"captionBackground": "#221F22",
|
||||
"captionBackground": "#3a3a3c",
|
||||
"captionForeground": "#fcfcfa",
|
||||
"footerBackground": "#221F22",
|
||||
"footerBackground": "#3a3a3c",
|
||||
"footerForeground": "#fcfcfa",
|
||||
"headerBackground": "#2D2A2E",
|
||||
"headerForeground": "#fcfcfa",
|
||||
"separatorColor": "#2d2a2e",
|
||||
"Projects": {
|
||||
"background": "#403E41",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionInactiveBackground": "#403E41"
|
||||
}
|
||||
},
|
||||
"window": "#221F22",
|
||||
"window": "#3a3a3c",
|
||||
"windowBorder": "#2d2a2e",
|
||||
"windowText": "#939293",
|
||||
"Window.border": "#2d2a2e"
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#221F22",
|
||||
"#43494A": "#3a3a3c",
|
||||
"#6B6B6B": "#939293",
|
||||
"#A7A7A7": "#2D2A2E",
|
||||
"#3D6185": "#ffd866",
|
||||
"#466D94": "#ffd866",
|
||||
"#3C3F41": "#2D2A2E",
|
||||
"#545556": "#727072",
|
||||
"#606060": "#727072",
|
||||
"#545556": "#5b595c",
|
||||
"#606060": "#5b595c",
|
||||
"#9AA7B0": "#fcfcfa",
|
||||
"#675133": "#ffd866",
|
||||
"Actions.Blue": "#A9DC76",
|
||||
@@ -824,26 +836,26 @@
|
||||
"Actions.GreyInline.Dark": "#fcfcfa",
|
||||
"Actions.Red": "#FF6188",
|
||||
"Actions.Yellow": "#78DCE8",
|
||||
"Checkbox.Background.Default": "#221F22",
|
||||
"Checkbox.Background.Default.Dark": "#221F22",
|
||||
"Checkbox.Background.Default": "#3a3a3c",
|
||||
"Checkbox.Background.Default.Dark": "#3a3a3c",
|
||||
"Checkbox.Background.Disabled": "#3a3a3c",
|
||||
"Checkbox.Background.Disabled.Dark": "#3a3a3c",
|
||||
"Checkbox.Border.Default": "#2d2a2e",
|
||||
"Checkbox.Border.Default.Dark": "#2d2a2e",
|
||||
"Checkbox.Border.Disabled": "#727072",
|
||||
"Checkbox.Border.Disabled.Dark": "#727072",
|
||||
"Checkbox.Border.Disabled": "#5b595c",
|
||||
"Checkbox.Border.Disabled.Dark": "#5b595c",
|
||||
"Checkbox.Focus.Thin.Default": "#ffd866",
|
||||
"Checkbox.Focus.Thin.Default.Dark": "#ffd866",
|
||||
"Checkbox.Focus.Wide": "#ffd866",
|
||||
"Checkbox.Focus.Wide.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Disabled": "#727072",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#727072",
|
||||
"Checkbox.Background.Selected": "#ffd866",
|
||||
"Checkbox.Background.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Disabled": "#5b595c",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#5b595c",
|
||||
"Checkbox.Background.Selected": "#2D2A2E",
|
||||
"Checkbox.Background.Selected.Dark": "#2D2A2E",
|
||||
"Checkbox.Border.Selected": "#ffd866",
|
||||
"Checkbox.Border.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Selected": "#fcfcfa",
|
||||
"Checkbox.Foreground.Selected.Dark": "#fcfcfa",
|
||||
"Checkbox.Foreground.Selected": "#ffd866",
|
||||
"Checkbox.Foreground.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Focus.Thin.Selected": "#fcfcfa",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#fcfcfa",
|
||||
"Objects.Grey": "#727072",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#fcfcfa",
|
||||
"Objects.YellowDark": "#AB9DF2",
|
||||
"Objects.GreenAndroid": "#FFD866"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,15 +9,15 @@
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2d2a2e",
|
||||
"disabledBackground": "#3a3a3c",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledText": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledText": "#5b595c",
|
||||
"focusColor": "#5b595c",
|
||||
"focusedBorderColor": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#3a3a3c",
|
||||
"inactiveForeground": "#939293",
|
||||
"infoForeground": "#939293",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionBackgroundInactive": "#403E41",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#403E41",
|
||||
@@ -31,7 +31,7 @@
|
||||
"pressedBorderColor": "#ffd86650"
|
||||
},
|
||||
"Autocomplete": {
|
||||
"selectionBackground": "#5B595C"
|
||||
"selectionBackground": "#6E6C6F"
|
||||
},
|
||||
"Borders.ContrastBorderColor": "#2D2A2E",
|
||||
"Borders.color": "#2d2a2e",
|
||||
@@ -49,7 +49,7 @@
|
||||
"startBorderColor": "#4A474B"
|
||||
},
|
||||
"disabledBorderColor": "#403E41",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"endBackground": "#403E41",
|
||||
"endBorderColor": "#403E41",
|
||||
"focus": "#5b595c",
|
||||
@@ -68,7 +68,7 @@
|
||||
},
|
||||
"CheckBox": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"select": "#ffd866"
|
||||
},
|
||||
@@ -77,9 +77,9 @@
|
||||
"acceleratorSelectionForeground": "#939293",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"ColorChooser": {
|
||||
@@ -91,13 +91,13 @@
|
||||
"ComboBox": {
|
||||
"ArrowButton": {
|
||||
"background": "#403E41",
|
||||
"disabledIconColor": "#727072",
|
||||
"disabledIconColor": "#5b595c",
|
||||
"iconColor": "#fcfcfa",
|
||||
"nonEditableBackground": "#2D2A2E"
|
||||
},
|
||||
"background": "#2D2A2E",
|
||||
"buttonBackground": "#403E41",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"modifiedItemForeground": "#ffd866",
|
||||
"nonEditableBackground": "#403E41",
|
||||
@@ -110,15 +110,14 @@
|
||||
"background": "#403E41",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"matchForeground": "#ffd8662",
|
||||
"matchForeground": "#ffd866",
|
||||
"matchSelectionForeground": "#ffd866",
|
||||
"nonFocusedState": "false",
|
||||
"nonFocusedMask": "#403E41",
|
||||
"selectedGrayedForeground": "#FFFFFF",
|
||||
"selectionGrayForeground": "#FFFFFF",
|
||||
"selectionInactiveInfoForeground": "#939293",
|
||||
"selectionInactiveBackground": "#5b595c",
|
||||
"selectionBackground": "#5B595C80",
|
||||
"selectionInactiveBackground": "#6E6C6F50",
|
||||
"selectionBackground": "#6E6C6F80",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInfoForeground": "#FFFFFF"
|
||||
},
|
||||
@@ -162,10 +161,10 @@
|
||||
"hoverBackground": "#4A474B",
|
||||
"hoverColor": "#2D2A2E",
|
||||
"hoverMaskColor": "#5b595c",
|
||||
"inactiveUnderlineColor": "#727072",
|
||||
"inactiveUnderlineColor": "#5b595c",
|
||||
"inactiveMaskColor": "#2D2A2E",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground":"#4A474B"
|
||||
"underlinedTabBackground": "#4A474B"
|
||||
},
|
||||
"Desktop.background": "#2D2A2E",
|
||||
"DialogWrapper.southPanelBackground": "#2D2A2E",
|
||||
@@ -185,8 +184,8 @@
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#2D2A2E",
|
||||
"inactiveForeground": "#727072",
|
||||
"selectionBackground": "#5B595C",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"EditorTabs": {
|
||||
@@ -194,13 +193,22 @@
|
||||
"hoverColor": "#5b595c",
|
||||
"hoverMaskColor": "#5b595c",
|
||||
"inactiveMaskColor": "#2D2A2E",
|
||||
"inactiveColoredFileBackground": "#2D2A2E",
|
||||
"inactiveUnderlineColor": "#727072",
|
||||
"inactiveUnderlineColor": "#5b595c",
|
||||
"selectedForeground": "#fcfcfa",
|
||||
"selectedBackground": "#4A474B",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#4A474B"
|
||||
},
|
||||
"EditorGroupsTabs": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#403E41",
|
||||
"hoverBackground": "#5b595c",
|
||||
"hoverColor": "#5b595c",
|
||||
"inactiveUnderlineColor": "#ffd866",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#4A474B",
|
||||
"underlinedTabForeground": "#fcfcfa"
|
||||
},
|
||||
"FileColor": {
|
||||
"Green": "#387002",
|
||||
"Blue": "#004BA0",
|
||||
@@ -225,7 +233,7 @@
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveBackground": "#403E41",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionForeground": "#ffd866",
|
||||
"selectionBackground": "#4A474B"
|
||||
},
|
||||
@@ -239,7 +247,7 @@
|
||||
},
|
||||
"HeaderColor": {
|
||||
"active": "#2D2A2E",
|
||||
"inactive": "#221F22"
|
||||
"inactive": "#3a3a3c"
|
||||
},
|
||||
"HelpTooltip": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -266,9 +274,9 @@
|
||||
},
|
||||
"Label": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledShadow": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"selectedForeground": "#ffd866"
|
||||
@@ -283,7 +291,7 @@
|
||||
"List": {
|
||||
"background": "#403E41",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F50",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#ffd866",
|
||||
"selectionInactiveBackground": "#403E4125"
|
||||
@@ -291,7 +299,7 @@
|
||||
"material": {
|
||||
"background": "#2D2A2E",
|
||||
"branchColor": "#fcfcfa",
|
||||
"contrast": "#221F22",
|
||||
"contrast": "#3a3a3c",
|
||||
"foreground": "#fcfcfa",
|
||||
"mergeCommits": "#403E41",
|
||||
"primaryColor": "#939293",
|
||||
@@ -312,9 +320,9 @@
|
||||
"border": "4,2,4,2",
|
||||
"borderColor": "#403E41",
|
||||
"disabledBackground": "#403E41",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"separatorColor": "#2d2a2e"
|
||||
},
|
||||
@@ -322,10 +330,10 @@
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"highlight": "#2D2A2E",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"shadow": "#2D2A2E"
|
||||
},
|
||||
@@ -335,9 +343,9 @@
|
||||
"border": "4,2,4,2",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"NavBar": {
|
||||
@@ -390,7 +398,7 @@
|
||||
"borderColor": "#4A474B",
|
||||
"currentOverloadBackground": "#4A474B",
|
||||
"currentParameterForeground": "#ffd866",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"infoForeground": "#939293",
|
||||
"lineSeparatorColor": "#4A474B"
|
||||
@@ -400,16 +408,16 @@
|
||||
"capsLockIconColor": "#ffd866",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"Plugins": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"eapTagBackground": "#5b595c",
|
||||
"lightSelectionBackground": "#5B595C",
|
||||
"selectionBackground": "#5B595C",
|
||||
"lightSelectionBackground": "#6E6C6F",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"tagForeground": "#ffd866",
|
||||
"tagBackground": "#5b595c",
|
||||
"Button": {
|
||||
@@ -443,19 +451,19 @@
|
||||
"borderColor": "#2D2A2E",
|
||||
"foreground": "#ffd866"
|
||||
},
|
||||
"borderColor": "#221F22",
|
||||
"borderColor": "#3a3a3c",
|
||||
"inactiveBorderColor": "#2D2A2E",
|
||||
"innerBorderColor": "#403E41",
|
||||
"Header": {
|
||||
"activeBackground": "#2D2A2E",
|
||||
"inactiveBackground": "#221F22"
|
||||
"inactiveBackground": "#3a3a3c"
|
||||
},
|
||||
"paintBorder": true,
|
||||
"separatorForeground": "#fcfcfa",
|
||||
"separatorColor": "#403E41",
|
||||
"Toolbar": {
|
||||
"background": "#221F22",
|
||||
"borderColor": "#221F22"
|
||||
"background": "#3a3a3c",
|
||||
"borderColor": "#3a3a3c"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
@@ -477,7 +485,7 @@
|
||||
},
|
||||
"RadioButton": {
|
||||
"background": "#2D2A2E",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa"
|
||||
},
|
||||
"RadioButtonMenuItem": {
|
||||
@@ -485,9 +493,9 @@
|
||||
"acceleratorSelectionForeground": "#939293",
|
||||
"background": "#2D2A2E",
|
||||
"disabledBackground": "#2D2A2E",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionForeground": "#FFFFFF"
|
||||
},
|
||||
"ScrollBar": {
|
||||
@@ -526,19 +534,19 @@
|
||||
},
|
||||
"SearchEverywhere": {
|
||||
"Advertiser": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"foreground": "#939293"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#2D2A2E"
|
||||
},
|
||||
"List": {
|
||||
"separatorForeground": "#fcfcfa",
|
||||
"separatorForeground": "#939293",
|
||||
"separatorColor": "#2d2a2e"
|
||||
},
|
||||
"SearchField": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#221F22",
|
||||
"borderColor": "#3a3a3c",
|
||||
"infoForeground": "#939293"
|
||||
},
|
||||
"Tab": {
|
||||
@@ -561,9 +569,12 @@
|
||||
},
|
||||
"Slider": {
|
||||
"background": "#2D2A2E",
|
||||
"buttonBorderColor": "#ffd866",
|
||||
"buttonColor": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"majorTickLength": 6,
|
||||
"tickColor": "#403E41",
|
||||
"trackColor": "#4A474B",
|
||||
"trackWidth": 7,
|
||||
"thumb": "#ffd866"
|
||||
},
|
||||
@@ -592,8 +603,8 @@
|
||||
"contentAreaColor": "#5b595c",
|
||||
"contentBorderInsets": "3,1,1,1",
|
||||
"darkShadow": "#2d2a2e",
|
||||
"disabledForeground": "#727072",
|
||||
"disabledUnderlineColor": "#727072",
|
||||
"disabledForeground": "#5b595c",
|
||||
"disabledUnderlineColor": "#5b595c",
|
||||
"focus": "#4A474B",
|
||||
"focusColor": "#4A474B",
|
||||
"fontSizeOffset": 0,
|
||||
@@ -607,7 +618,8 @@
|
||||
"tabsOverlapBorder": true,
|
||||
"tabHeight": 32,
|
||||
"tabInsets": "5,10,5,10",
|
||||
"tabSelectionHeight": 2
|
||||
"tabSelectionHeight": 2,
|
||||
"underlineColor": "#ffd866"
|
||||
},
|
||||
"TabbedPane.mt.tab.background": "#2D2A2E",
|
||||
"Table": {
|
||||
@@ -626,10 +638,10 @@
|
||||
"lightSelectionInactiveBackground": "#403E41",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866",
|
||||
"selectionInactiveBackground": "#403E4125",
|
||||
"selectionInactiveBackground": "#4A474B",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"sortIconColor": "#fcfcfa",
|
||||
"stripeColor": "#221F22"
|
||||
"stripeColor": "#3a3a3c"
|
||||
},
|
||||
"TableHeader": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -649,7 +661,7 @@
|
||||
"background": "#2D2A2E",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
@@ -657,7 +669,7 @@
|
||||
"background": "#2D2A2E",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
@@ -665,14 +677,14 @@
|
||||
"background": "#2D2A2E",
|
||||
"caretForeground": "#ffd866",
|
||||
"foreground": "#fcfcfa",
|
||||
"inactiveForeground": "#727072",
|
||||
"inactiveForeground": "#5b595c",
|
||||
"selectionBackground": "#4A474B",
|
||||
"selectionForeground": "#ffd866"
|
||||
},
|
||||
"TitlePane": {
|
||||
"background": "#221F22",
|
||||
"background": "#3a3a3c",
|
||||
"Button.hoverBackground": "#5b595c",
|
||||
"inactiveBackground": "#403E41",
|
||||
"inactiveBackground": "#2D2A2E",
|
||||
"infoForeground": "#939293",
|
||||
"inactiveInfoForeground": "#939293"
|
||||
},
|
||||
@@ -680,7 +692,7 @@
|
||||
"ToggleButton": {
|
||||
"borderColor": "#403E41",
|
||||
"buttonColor": "#fcfcfa",
|
||||
"disabledText": "#727072",
|
||||
"disabledText": "#5b595c",
|
||||
"foreground": "#fcfcfa",
|
||||
"offForeground": "#2D2A2E",
|
||||
"offBackground": "#2D2A2E",
|
||||
@@ -707,7 +719,7 @@
|
||||
"Button": {
|
||||
"hoverBackground": "#4A474B",
|
||||
"selectedForeground": "#ffd866",
|
||||
"selectedBackground": "#221F22"
|
||||
"selectedBackground": "#3a3a3c"
|
||||
},
|
||||
"Header": {
|
||||
"background": "#2D2A2E",
|
||||
@@ -721,8 +733,8 @@
|
||||
"hoverBackground": "#5b595c",
|
||||
"hoverInactiveBackground": "#403E41",
|
||||
"inactiveUnderlineColor": "#ffd866",
|
||||
"selectedBackground": "#221F22",
|
||||
"selectedInactiveBackground": "#221F22",
|
||||
"selectedBackground": "#3a3a3c",
|
||||
"selectedInactiveBackground": "#3a3a3c",
|
||||
"underlineColor": "#ffd866",
|
||||
"underlinedTabBackground": "#5b595c",
|
||||
"underlinedTabInactiveBackground": "#403E41"
|
||||
@@ -734,7 +746,7 @@
|
||||
"hash": "#2d2a2e",
|
||||
"modifiedItemForeground": "#ffd866",
|
||||
"rowHeight": 28,
|
||||
"selectionBackground": "#403E41",
|
||||
"selectionBackground": "#403E4170",
|
||||
"selectionForeground": "#FFFFFF",
|
||||
"selectionInactiveForeground": "#FFFFFF",
|
||||
"selectionInactiveBackground": "#403E4125",
|
||||
@@ -765,7 +777,7 @@
|
||||
"HgLog": {
|
||||
"branchIconColor": "#ffd866",
|
||||
"bookmarkIconColor": "#ffd866",
|
||||
"closedBranchIconColor": "#727072",
|
||||
"closedBranchIconColor": "#5b595c",
|
||||
"localTagIconColor": "#939293",
|
||||
"mqTagIconColor": "#939293",
|
||||
"tagIconColor": "#939293",
|
||||
@@ -782,21 +794,21 @@
|
||||
},
|
||||
"Viewport": {
|
||||
"background": "#2D2A2E",
|
||||
"foreground": "%fc"
|
||||
"foreground": "#fcfcfa"
|
||||
},
|
||||
"WelcomeScreen": {
|
||||
"background": "#2D2A2E",
|
||||
"borderColor": "#2D2A2E",
|
||||
"captionBackground": "#221F22",
|
||||
"captionBackground": "#3a3a3c",
|
||||
"captionForeground": "#fcfcfa",
|
||||
"footerBackground": "#221F22",
|
||||
"footerBackground": "#3a3a3c",
|
||||
"footerForeground": "#fcfcfa",
|
||||
"headerBackground": "#2D2A2E",
|
||||
"headerForeground": "#fcfcfa",
|
||||
"separatorColor": "#2d2a2e",
|
||||
"Projects": {
|
||||
"background": "#403E41",
|
||||
"selectionBackground": "#5B595C",
|
||||
"selectionBackground": "#6E6C6F",
|
||||
"selectionInactiveBackground": "#403E41"
|
||||
}
|
||||
},
|
||||
@@ -807,14 +819,14 @@
|
||||
},
|
||||
"icons": {
|
||||
"ColorPalette": {
|
||||
"#43494A": "#221F22",
|
||||
"#43494A": "#3a3a3c",
|
||||
"#6B6B6B": "#939293",
|
||||
"#A7A7A7": "#2D2A2E",
|
||||
"#3D6185": "#ffd866",
|
||||
"#466D94": "#ffd866",
|
||||
"#3C3F41": "#2D2A2E",
|
||||
"#545556": "#727072",
|
||||
"#606060": "#727072",
|
||||
"#545556": "#5b595c",
|
||||
"#606060": "#5b595c",
|
||||
"#9AA7B0": "#fcfcfa",
|
||||
"#675133": "#ffd866",
|
||||
"Actions.Blue": "#A9DC76",
|
||||
@@ -824,26 +836,26 @@
|
||||
"Actions.GreyInline.Dark": "#fcfcfa",
|
||||
"Actions.Red": "#FF6188",
|
||||
"Actions.Yellow": "#78DCE8",
|
||||
"Checkbox.Background.Default": "#221F22",
|
||||
"Checkbox.Background.Default.Dark": "#221F22",
|
||||
"Checkbox.Background.Default": "#3a3a3c",
|
||||
"Checkbox.Background.Default.Dark": "#3a3a3c",
|
||||
"Checkbox.Background.Disabled": "#3a3a3c",
|
||||
"Checkbox.Background.Disabled.Dark": "#3a3a3c",
|
||||
"Checkbox.Border.Default": "#2d2a2e",
|
||||
"Checkbox.Border.Default.Dark": "#2d2a2e",
|
||||
"Checkbox.Border.Disabled": "#727072",
|
||||
"Checkbox.Border.Disabled.Dark": "#727072",
|
||||
"Checkbox.Border.Disabled": "#5b595c",
|
||||
"Checkbox.Border.Disabled.Dark": "#5b595c",
|
||||
"Checkbox.Focus.Thin.Default": "#ffd866",
|
||||
"Checkbox.Focus.Thin.Default.Dark": "#ffd866",
|
||||
"Checkbox.Focus.Wide": "#ffd866",
|
||||
"Checkbox.Focus.Wide.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Disabled": "#727072",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#727072",
|
||||
"Checkbox.Background.Selected": "#ffd866",
|
||||
"Checkbox.Background.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Disabled": "#5b595c",
|
||||
"Checkbox.Foreground.Disabled.Dark": "#5b595c",
|
||||
"Checkbox.Background.Selected": "#2D2A2E",
|
||||
"Checkbox.Background.Selected.Dark": "#2D2A2E",
|
||||
"Checkbox.Border.Selected": "#ffd866",
|
||||
"Checkbox.Border.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Foreground.Selected": "#fcfcfa",
|
||||
"Checkbox.Foreground.Selected.Dark": "#fcfcfa",
|
||||
"Checkbox.Foreground.Selected": "#ffd866",
|
||||
"Checkbox.Foreground.Selected.Dark": "#ffd866",
|
||||
"Checkbox.Focus.Thin.Selected": "#fcfcfa",
|
||||
"Checkbox.Focus.Thin.Selected.Dark": "#fcfcfa",
|
||||
"Objects.Grey": "#727072",
|
||||
@@ -857,7 +869,6 @@
|
||||
"Objects.BlackText": "#fcfcfa",
|
||||
"Objects.YellowDark": "#AB9DF2",
|
||||
"Objects.GreenAndroid": "#FFD866"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user