From 0ebd43bc5f65063939e8ff6b17f472b6284ef021 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Tue, 12 Nov 2019 19:23:20 +0100 Subject: [PATCH] IntelliJ Themes: - added themes list to demo (and testing) apps - added some popular open-source IntelliJ themes to demo (downloaded latest .theme.json from source repos; see themes.properties for source repo URLs) --- CHANGELOG.md | 5 + .../com/formdev/flatlaf/demo/ControlBar.java | 1 - .../com/formdev/flatlaf/demo/DemoFrame.java | 3 + .../com/formdev/flatlaf/demo/DemoFrame.jfd | 7 +- .../flatlaf/demo/LookAndFeelsComboBox.java | 43 +- .../demo/intellijthemes/IJThemeInfo.java | 32 + .../demo/intellijthemes/IJThemesManager.java | 56 ++ .../demo/intellijthemes/IJThemesPanel.java | 145 +++++ .../demo/intellijthemes/IJThemesPanel.jfd | 39 ++ .../demo/intellijthemes/Cyan.LICENSE.txt | 21 + .../demo/intellijthemes/Cyan.theme.json | 281 +++++++++ .../intellijthemes/DarkFlatTheme.LICENSE.txt | 21 + .../intellijthemes/DarkFlatTheme.theme.json | 561 ++++++++++++++++++ .../intellijthemes/DarkPurple.LICENSE.txt | 21 + .../demo/intellijthemes/DarkPurple.theme.json | 409 +++++++++++++ .../demo/intellijthemes/Dracula.LICENSE.txt | 21 + .../demo/intellijthemes/Dracula.theme.json | 289 +++++++++ .../demo/intellijthemes/Gray.LICENSE.txt | 21 + .../demo/intellijthemes/Gray.theme.json | 238 ++++++++ .../demo/intellijthemes/Hiberbee.LICENSE.txt | 21 + .../demo/intellijthemes/Hiberbee.theme.json | 304 ++++++++++ .../intellijthemes/HighContrast.LICENSE.txt | 21 + .../intellijthemes/HighContrast.theme.json | 456 ++++++++++++++ .../demo/intellijthemes/Light.LICENSE.txt | 21 + .../demo/intellijthemes/Light.theme.json | 119 ++++ .../intellijthemes/LightFlatTheme.LICENSE.txt | 21 + .../intellijthemes/LightFlatTheme.theme.json | 561 ++++++++++++++++++ .../intellijthemes/MaterialTheme.LICENSE.txt | 21 + .../intellijthemes/MaterialTheme.theme.json | 202 +++++++ .../demo/intellijthemes/Monocai.LICENSE.txt | 21 + .../demo/intellijthemes/Monocai.theme.json | 382 ++++++++++++ .../demo/intellijthemes/Spacegray.LICENSE.txt | 21 + .../demo/intellijthemes/Spacegray.theme.json | 264 +++++++++ .../arc-theme-orange.theme.json | 154 +++++ .../demo/intellijthemes/arc-theme.theme.json | 154 +++++ .../intellijthemes/arc-themes.LICENSE.txt | 21 + .../intellijthemes/gruvbox_theme.LICENSE.txt | 21 + .../intellijthemes/gruvbox_theme.theme.json | 127 ++++ .../demo/intellijthemes/one_dark.LICENSE.txt | 21 + .../demo/intellijthemes/one_dark.theme.json | 370 ++++++++++++ .../solarized_dark_theme.LICENSE.txt | 7 + .../solarized_dark_theme.theme.json | 433 ++++++++++++++ .../solarized_light_theme.LICENSE.txt | 7 + .../solarized_light_theme.theme.json | 433 ++++++++++++++ .../demo/intellijthemes/themes.properties | 18 + .../flatlaf/testing/FlatTestFrame.java | 5 +- .../formdev/flatlaf/testing/FlatTestFrame.jfd | 7 +- 47 files changed, 6410 insertions(+), 17 deletions(-) create mode 100644 flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemeInfo.java create mode 100644 flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesManager.java create mode 100644 flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.java create mode 100644 flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.jfd create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme-orange.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-themes.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.LICENSE.txt create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.theme.json create mode 100644 flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/themes.properties diff --git a/CHANGELOG.md b/CHANGELOG.md index fd0d7da4..f284b72e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ FlatLaf Change Log ================== +## Unreleased + +- Support using IntelliJ platform themes (.theme.json files). + + ## 0.18 - TextField and TextArea: Do not apply minimum width if `columns` property is diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/ControlBar.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/ControlBar.java index ede321fb..6abb3a5d 100644 --- a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/ControlBar.java +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/ControlBar.java @@ -71,7 +71,6 @@ class ControlBar } lookAndFeelComboBox.setModel( lafModel ); - lookAndFeelComboBox.selectedLookAndFeel( UIManager.getLookAndFeel() ); UIManager.addPropertyChangeListener( e -> { if( "lookAndFeel".equals( e.getPropertyName() ) ) { diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java index 32ee9460..56724428 100644 --- a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java @@ -19,6 +19,7 @@ package com.formdev.flatlaf.demo; import java.awt.*; import java.awt.event.*; import javax.swing.*; +import com.formdev.flatlaf.demo.intellijthemes.*; import net.miginfocom.swing.*; /** @@ -87,6 +88,7 @@ class DemoFrame TabsPanel tabsPanel = new TabsPanel(); OptionPanePanel optionPanePanel = new OptionPanePanel(); controlBar = new ControlBar(); + IJThemesPanel themesPanel = new IJThemesPanel(); //======== this ======== setTitle("FlatLaf Demo"); @@ -262,6 +264,7 @@ class DemoFrame } contentPane.add(contentPanel, BorderLayout.CENTER); contentPane.add(controlBar, BorderLayout.SOUTH); + contentPane.add(themesPanel, BorderLayout.EAST); //---- buttonGroup1 ---- ButtonGroup buttonGroup1 = new ButtonGroup(); diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.jfd b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.jfd index 66ecfaad..7c652832 100644 --- a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.jfd +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.jfd @@ -107,6 +107,11 @@ new FormModel { }, new FormLayoutConstraints( class java.lang.String ) { "value": "South" } ) + add( new FormComponent( "com.formdev.flatlaf.demo.intellijthemes.IJThemesPanel" ) { + name: "themesPanel" + }, new FormLayoutConstraints( class java.lang.String ) { + "value": "East" + } ) menuBar: new FormContainer( "javax.swing.JMenuBar", new FormLayoutManager( class javax.swing.JMenuBar ) ) { name: "menuBar1" add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) { @@ -220,7 +225,7 @@ new FormModel { } }, new FormLayoutConstraints( null ) { "location": new java.awt.Point( 0, 0 ) - "size": new java.awt.Dimension( 800, 710 ) + "size": new java.awt.Dimension( 935, 710 ) } ) add( new FormNonVisual( "javax.swing.ButtonGroup" ) { name: "buttonGroup1" diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/LookAndFeelsComboBox.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/LookAndFeelsComboBox.java index 7c5f1e81..fbf224f9 100644 --- a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/LookAndFeelsComboBox.java +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/LookAndFeelsComboBox.java @@ -17,10 +17,11 @@ package com.formdev.flatlaf.demo; import java.awt.Component; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyChangeListener; import javax.swing.ComboBoxModel; import javax.swing.JComboBox; import javax.swing.JList; -import javax.swing.LookAndFeel; import javax.swing.MutableComboBoxModel; import javax.swing.UIManager; import javax.swing.UIManager.LookAndFeelInfo; @@ -32,6 +33,8 @@ import javax.swing.plaf.basic.BasicComboBoxRenderer; public class LookAndFeelsComboBox extends JComboBox { + private final PropertyChangeListener lafListener = this::lafChanged; + @SuppressWarnings( "unchecked" ) public LookAndFeelsComboBox() { setRenderer( new BasicComboBoxRenderer() { @@ -40,7 +43,9 @@ public class LookAndFeelsComboBox public Component getListCellRendererComponent( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus ) { - value = ((LookAndFeelInfo)value).getName(); + value = (value != null) + ? ((LookAndFeelInfo)value).getName() + : UIManager.getLookAndFeel().getName(); return super.getListCellRendererComponent( list, value, index, isSelected, cellHasFocus ); } } ); @@ -56,19 +61,11 @@ public class LookAndFeelsComboBox } public void setSelectedLookAndFeel( String className ) { - int index = getIndexOfLookAndFeel( className ); - if( index >= 0 ) - setSelectedIndex( index ); + setSelectedIndex( getIndexOfLookAndFeel( className ) ); } - public void selectedLookAndFeel( LookAndFeel lookAndFeel ) { - String className = lookAndFeel.getClass().getName(); - int index = getIndexOfLookAndFeel( className ); - if( index < 0 ) { - addLookAndFeel( lookAndFeel.getName(), className ); - index = getItemCount() - 1; - } - setSelectedIndex( index ); + public void selectedCurrentLookAndFeel() { + setSelectedLookAndFeel( UIManager.getLookAndFeel().getClass().getName() ); } public void removeLookAndFeel( String className ) { @@ -90,4 +87,24 @@ public class LookAndFeelsComboBox private MutableComboBoxModel getMutableModel() { return (MutableComboBoxModel) getModel(); } + + @Override + public void addNotify() { + super.addNotify(); + + selectedCurrentLookAndFeel(); + UIManager.addPropertyChangeListener( lafListener ); + } + + @Override + public void removeNotify() { + super.removeNotify(); + + UIManager.removePropertyChangeListener( lafListener ); + } + + void lafChanged( PropertyChangeEvent e ) { + if( "lookAndFeel".equals( e.getPropertyName() ) ) + selectedCurrentLookAndFeel(); + } } diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemeInfo.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemeInfo.java new file mode 100644 index 00000000..e90bfaee --- /dev/null +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemeInfo.java @@ -0,0 +1,32 @@ +/* + * 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.demo.intellijthemes; + +/** + * @author Karl Tauber + */ +class IJThemeInfo +{ + String name; + String resourceName; + String sourceCodeUrl; + + @Override + public String toString() { + return name; + } +} diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesManager.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesManager.java new file mode 100644 index 00000000..dd246e5b --- /dev/null +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesManager.java @@ -0,0 +1,56 @@ +/* + * 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.demo.intellijthemes; + +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Properties; +import com.formdev.flatlaf.util.StringUtils; + +/** + * @author Karl Tauber + */ +class IJThemesManager +{ + final List bundledThemes = new ArrayList<>(); + + void loadBundledThemes() { + // load themes.properties + Properties properties = new Properties(); + try( InputStream in = getClass().getResourceAsStream( "themes.properties" ) ) { + if( in != null ) + properties.load( in ); + } catch( IOException ex ) { + ex.printStackTrace(); + } + + // add info about bundled themes + for( Map.Entry e : properties.entrySet() ) { + String resourceName = (String) e.getKey(); + List strs = StringUtils.split( (String) e.getValue(), ',' ); + + IJThemeInfo themeInfo = new IJThemeInfo(); + themeInfo.name = strs.get( 0 ); + themeInfo.resourceName = resourceName; + themeInfo.sourceCodeUrl = strs.get( 1 ); + bundledThemes.add( themeInfo ); + } + } +} diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.java b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.java new file mode 100644 index 00000000..f110a3cd --- /dev/null +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.java @@ -0,0 +1,145 @@ +/* + * 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.demo.intellijthemes; + +import java.awt.EventQueue; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyChangeListener; +import java.util.ArrayList; +import java.util.List; +import javax.swing.*; +import javax.swing.event.*; +import com.formdev.flatlaf.FlatLaf; +import com.formdev.flatlaf.IntelliJTheme; +import net.miginfocom.swing.*; + +/** + * @author Karl Tauber + */ +public class IJThemesPanel + extends JPanel +{ + private final IJThemesManager themesManager = new IJThemesManager(); + private final PropertyChangeListener lafListener = this::lafChanged; + + public IJThemesPanel() { + initComponents(); + + // load theme infos + themesManager.loadBundledThemes(); + + // sort themes by name + List themes = new ArrayList<>(); + themes.addAll( themesManager.bundledThemes ); + themes.sort( (t1, t2) -> t1.name.compareToIgnoreCase( t2.name ) ); + + // fill themes list + themesList.setModel( new AbstractListModel() { + @Override + public int getSize() { + return themes.size(); + } + @Override + public IJThemeInfo getElementAt( int index ) { + return themes.get( index ); + } + } ); + } + + private void themesListValueChanged( ListSelectionEvent e ) { + if( e.getValueIsAdjusting() ) + return; + + EventQueue.invokeLater( () -> { + setTheme( themesList.getSelectedValue() ); + } ); + } + + private void setTheme( IJThemeInfo themeInfo ) { + if( themeInfo == null ) + return; + + // change look and feel + IntelliJTheme.install( getClass().getResourceAsStream( themeInfo.resourceName ) ); + + // update all components + FlatLaf.updateUI(); + } + + @Override + public void addNotify() { + super.addNotify(); + + selectedCurrentLookAndFeel(); + UIManager.addPropertyChangeListener( lafListener ); + } + + @Override + public void removeNotify() { + super.removeNotify(); + + UIManager.removePropertyChangeListener( lafListener ); + } + + void lafChanged( PropertyChangeEvent e ) { + if( "lookAndFeel".equals( e.getPropertyName() ) ) + selectedCurrentLookAndFeel(); + } + + private void selectedCurrentLookAndFeel() { + LookAndFeel lookAndFeel = UIManager.getLookAndFeel(); + + if( !(lookAndFeel instanceof IntelliJTheme.ThemeLaf) ) + themesList.clearSelection(); + } + + private void initComponents() { + // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents + JLabel themesLabel = new JLabel(); + themesScrollPane = new JScrollPane(); + themesList = new JList<>(); + + //======== this ======== + setLayout(new MigLayout( + "insets dialog,hidemode 3", + // columns + "[grow,fill]", + // rows + "[]" + + "[grow,fill]")); + + //---- themesLabel ---- + themesLabel.setText("Themes:"); + add(themesLabel, "cell 0 0"); + + //======== themesScrollPane ======== + { + + //---- themesList ---- + themesList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); + themesList.addListSelectionListener(e -> themesListValueChanged(e)); + themesScrollPane.setViewportView(themesList); + } + add(themesScrollPane, "cell 0 1"); + // JFormDesigner - End of component initialization //GEN-END:initComponents + } + + // JFormDesigner - Variables declaration - DO NOT MODIFY //GEN-BEGIN:variables + private JScrollPane themesScrollPane; + private JList themesList; + // JFormDesigner - End of variables declaration //GEN-END:variables +} diff --git a/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.jfd b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.jfd new file mode 100644 index 00000000..79d2e1fe --- /dev/null +++ b/flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesPanel.jfd @@ -0,0 +1,39 @@ +JFDML JFormDesigner: "7.0.0.0.194" Java: "11.0.2" encoding: "UTF-8" + +new FormModel { + contentType: "form/swing" + root: new FormRoot { + add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) { + "$layoutConstraints": "insets dialog,hidemode 3" + "$columnConstraints": "[grow,fill]" + "$rowConstraints": "[][grow,fill]" + } ) { + name: "this" + add( new FormComponent( "javax.swing.JLabel" ) { + name: "themesLabel" + "text": "Themes:" + auxiliary() { + "JavaCodeGenerator.variableLocal": true + } + }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { + "value": "cell 0 0" + } ) + add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { + name: "themesScrollPane" + add( new FormComponent( "javax.swing.JList" ) { + name: "themesList" + "selectionMode": 0 + auxiliary() { + "JavaCodeGenerator.typeParameters": "IJThemeInfo" + } + addEvent( new FormEvent( "javax.swing.event.ListSelectionListener", "valueChanged", "themesListValueChanged", true ) ) + } ) + }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { + "value": "cell 0 1" + } ) + }, new FormLayoutConstraints( null ) { + "location": new java.awt.Point( 0, 0 ) + "size": new java.awt.Dimension( 400, 300 ) + } ) + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.LICENSE.txt new file mode 100644 index 00000000..98783834 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 CloudCannon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.theme.json new file mode 100644 index 00000000..143590b1 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Cyan.theme.json @@ -0,0 +1,281 @@ +{ + "name": "Cyan light", + "dark": false, + "author": "Olga Berdnikova", + + "editorScheme": "/themes/cyanScheme.xml", + + "ui": { + "*": { + "background": "#e4e6eb", + "foreground": "#1d1d1d", + + "selectionBackground": "#3eb2c2", + "selectionBackgroundInactive": "#d0d5db", + "selectionInactiveBackground": "#d0d5db", + "lightSelectionBackground": "#d3e4eb", + + "disabledForeground": "#b1b1b1", + "disabledText": "#b1b1b1", + "inactiveForeground": "#b1b1b1", + + "infoForeground": "#787878", + "modifiedItemForeground": "#00a9bf", + + "separatorColor": "#bec5cd", + "borderColor": "#bec5cd", + + "underlineColor": "#0ab0d1" + }, + + "ActionButton": { + "hoverBackground": "#d0d3d9", + "hoverBorderColor": "#d0d3d9", + "pressedBackground": "#c3c7cf", + "pressedBorderColor": "#c3c7cf" + }, + + "Borders": { + "color": "#bec5cd", + "ContrastBorderColor": "#bec5cd" + }, + + "Button": { + "startBorderColor": "#b0b9c3", + "endBorderColor": "#b0b9c3", + "default": { + "foreground": "#FFFFFF", + "startBackground": "#28a4c3", + "endBackground": "#28a4c3", + "startBorderColor": "#258aa4", + "endBorderColor": "#258aa4", + "focusedBorderColor": "#82d3dd" + } + }, + + "ComboBox": { + "background": "#eef0f4", + "nonEditableBackground": "#FFFFFF", + "ArrowButton.background": "#FFFFFF" + }, + "ComboBoxButton.background": "#FFFFFF", + "ComboPopup.border": "1,1,1,1,b0b9c3", + + "CompletionPopup": { + "foreground": "#404040", + "infoForeground": "#8c8c8c", + "selectionBackground": "#bce2e6", + "selectionInactiveBackground": "#d7dbe0", + "matchForeground": "#00a0d1", + "selectionForeground": "#404040", + "selectionInfoForeground": "#8c8c8c", + "matchSelectionForeground": "#00a0d1" + }, + + "Component": { + "borderColor": "#b0b9c3", + "focusedBorderColor": "#31b1d0", + "focusColor": "#5fc5de" + }, + + "Counter": { + "background": "#9AA7B0", + "foreground": "#FFFFFF" + }, + + "DefaultTabs": { + "inactiveUnderlineColor": "#8699a6", + "hoverBackground": "#ced2d9" + }, + + "Editor": { + "background": "#d0d3d9", + "foreground": "#808080", + "shortcutForeground": "#1b9bb6" + }, + + "EditorPane.inactiveBackground": "#e4e6eb", + + "EditorTabs": { + "selectedBackground": "#f3f3f3", + "inactiveMaskColor": "#4752661A", + + "underlineColor": "#29abcb", + + "underlinedTabBackground": "#f2f4f5", + "inactiveColoredFileBackground": "#a6a9b350", + "hoverBackground": "#b9bdc999" + }, + + "DebuggerTabs.selectedBackground": "#e4e6eb", + + "FileColor.Yellow": "#f2efda", + "FileColor.Green": "#d8f0e2", + "FileColor.Blue": "#d3f0f4", + + "Label.errorForeground": "#C7222D", + + "Link": { + "activeForeground": "#009eb3", + "hoverForeground": "#009eb3", + "pressedForeground": "#009eb3", + "visitedForeground": "#009eb3", + "secondaryForeground": "#7ac2cc" + }, + + "List.background": "#eef0f4", + + "Notification": { + "MoreButton.innerBorderColor": "#bec5cd", + "errorBackground": "#f5e1e4", + "errorBorderColor": "#e695a3", + "ToolWindow": { + "informativeBackground": "#ccedcf", + "informativeBorderColor": "#8ebd91", + "warningBackground": "#f0e4c0", + "warningBorderColor": "#d9b857", + "errorBackground": "#fad7dd", + "errorBorderColor": "#e68a99" + } + }, + + "PasswordField.background": "#FFFFFF", + + "Plugins": { + "background": "#f5f7fa", + "SearchField.background": "#FFFFFF", + "SectionHeader.foreground": "#808080", + "SectionHeader.background": "#edeef2", + "Tab.selectedBackground": "#cacccf", + "Tab.hoverBackground": "#cacccf" + }, + + "Popup": { + "Header": { + "activeBackground": "#d6dae5", + "inactiveBackground": "#d6dae5" + }, + + "separatorColor": "#bec5cd", + "separatorForeground": "#919699", + + "Advertiser": { + "foreground": "#787878", + "background": "#e4e6eb", + "borderColor": "#e4e6eb" + } + }, + + "ProgressBar": { + "trackColor": "#c4c9d5", + "progressColor": "#2b9cb8", + "indeterminateStartColor": "#b8dde6", + "indeterminateEndColor": "#2b9cb8", + "passedEndColor": "#bcebd5", + "passedColor": "#1eb070", + "failedEndColor": "#e6b8bf", + "failedColor": "#dc445d" + }, + + "SearchEverywhere": { + "SearchField.background": "#FFFFFF", + "Tab.selectedBackground": "#d1d4d4", + "Advertiser.foreground": "#787878" + }, + + "SearchMatch": { + "startBackground": "#ffc466", + "endBackground": "#FFC466" + }, + + "SidePanel.background": "#e4e6eb", + + "SpeedSearch": { + "background": "#FFFFFF", + "errorForeground": "#C7222D" + }, + + "TabbedPane": { + "hoverColor": "#ced2d9", + "focusColor": "#dbebed", + "contentAreaColor": "#bec5cd" + }, + + "Table.background": "#eef0f4", + + "TableHeader": { + "cellBorder": "3,0,3,0", + "background": "#e9ecf0", + "bottomSeparatorColor": "#dfe2e6" + }, + + "TextArea.background": "#FFFFFF", + + "TextField.background": "#FFFFFF", + + "ToggleButton": { + "onBackground": "#28a4c3", + "offForeground": "#787878", + "buttonColor": "#b0b9c3", + "borderColor": "#b0b9c3" + }, + + "ToolTip": { + "background": "#f3f6fb", + "Actions.background": "#e4e6eb" + }, + + "ToolWindow": { + "Header": { + "background": "#d8dee8", + "inactiveBackground": "#e4e6eb" + }, + "HeaderTab": { + "selectedBackground": "#b9bec7", + "hoverBackground": "#b9bdc999", + "selectedInactiveBackground": "#CED1D6", + "hoverInactiveBackground": "#b9bdc999" + }, + "Button": { + "selectedBackground": "#C3C6C9", + "hoverBackground": "#C3C6C9" + } + }, + + "Tree.background": "#eef0f4" + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#696d78", + "Actions.Red": "#e0516b", + "Actions.Blue": "#348def", + "Actions.Green": "#29a66c", + "Actions.Yellow": "#e3b610", + + "Objects.Grey": "#858994", + "Objects.RedStatus": "#dc445d", + "Objects.Red": "#de4765", + "Objects.Pink": "#f070a5", + "Objects.Yellow": "#e6ba29", + "Objects.Green": "#1eb070", + "Objects.Blue": "#499df2", + "Objects.Purple": "#bc8af2", + "Objects.YellowDark": "#b79108", + "Objects.BlackText": "#26282b", + + "Checkbox.Background.Default": "#f3f3f3", + "Checkbox.Border.Default": "#8a9199", + "Checkbox.Background.Selected": "#28a4c3", + "Checkbox.Border.Selected": "#2896b2", + "Checkbox.Foreground.Selected": "#FFFFFF", + "Checkbox.Focus.Wide": "#5fc5de", + "Checkbox.Focus.Thin.Default": "#98a0aa4c", + "Checkbox.Focus.Thin.Selected": "#82d3dd", + "Checkbox.Background.Disabled": "#e4e6eb", + "Checkbox.Border.Disabled": "#babfc4", + "Checkbox.Foreground.Disabled": "#babfc4" + } + } + +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.LICENSE.txt new file mode 100644 index 00000000..7af92091 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Artem Bukhonov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.theme.json new file mode 100644 index 00000000..f7ea0315 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkFlatTheme.theme.json @@ -0,0 +1,561 @@ +{ + "name": "Dark Flat Theme", + "dark": true, + "author": "Nerzhul 500", + "ui": { + "*": { + "//*": "#FF00FF", + "//background": "#FF0000", + "//foreground": "#00FF00", + "//borderColor": "#00FFFF", + "selectionBackground": "#2a5285", + "selectionForeground": "#EEEEEE", + "selectionInactiveBackground": "#3d4452", + "selectionBackgroundInactive": "#3d4452", + "selectionInactiveForeground": "#EEEEEE", + "selectionForegroundInactive": "#EEEEEE" + }, + + "Panel": { + "background": "#383838", + "foreground": "#BCBCBC" + }, + + "Borders": { + "color": "#383838", + "ContrastBorderColor": "#383838" + }, + + "NavBar": { + "borderColor": "#282828" + }, + + "StatusBar": { + "borderColor": "#383838" + }, + + "ToolWindow": { + "Button": { + "selectedBackground": "#282828", + "selectedForeground": "#8F8F8F", + "hoverBackground": "#303030" + }, + "Header": { + "borderColor": "#383838", + "background": "#383838", + "inactiveBackground": "#383838" + }, + "HeaderTab": { + "selectedBackground": "#282828", + "selectedInactiveBackground": "#282828", + "hoverBackground": "#383838", + "hoverInactiveBackground": "#383838" + } + }, + + "SearchEverywhere": { + "Header.background": "#383838", + "Tab": { + "selectedBackground": "#242424", + "selectedForeground": "#FFFFFF" + }, + "SearchField": { + "background": "#242424", + "borderColor": "#242424" + }, + "List": { + "separatorForeground": "#666666", + "separatorColor": "#383838" + }, + "Advertiser": { + "background": "#383838", + "borderColor": "#383838", + "foreground": "#8F8F8F" + } + }, + + "SearchMatch": { + "startBackground": "#d4bc64", + "endBackground": "#d4bc64" + }, + + "SpeedSearch": { + "background": "#453c1d", + "borderColor": "#705c1c", + "foreground": "#CCCCCC", + "errorForeground": "#d8796f" + }, + + "EditorTabs": { + "borderColor": "#282828", + "underlineColor": "#2a5285", + "selectedBackground": "#303030", + "inactiveMaskColor": "#383838" + }, + + "ScrollBar": { + "background": "#383838", + + "trackColor": "#383838", + "Mac.trackColor": "#383838", + "hoverTrackColor": "#383838", + "Mac.hoverTrackColor": "#383838", + + "Transparent.trackColor": "#38383800", + "Mac.Transparent.trackColor": "#38383800", + "Transparent.hoverTrackColor": "#38383800", + "Mac.Transparent.hoverTrackColor": "#38383800", + + "thumbBorderColor": "#88889940", + "Mac.thumbBorderColor": "#88889940", + "hoverThumbBorderColor": "#888899", + "Mac.hoverThumbBorderColor": "#888899", + + "thumbColor": "#88889940", + "Mac.thumbColor": "#88889940", + "hoverThumbColor": "#888899", + "Mac.hoverThumbColor": "#888899", + + "Transparent.thumbBorderColor": "#88889940", + "Mac.Transparent.thumbBorderColor": "#88889940", + "Transparent.hoverThumbBorderColor": "#888899", + "Mac.Transparent.hoverThumbBorderColor": "#888899", + + "Transparent.thumbColor": "#88889940", + "Mac.Transparent.thumbColor": "#88889940", + "Transparent.hoverThumbColor": "#888899", + "Mac.Transparent.hoverThumbColor": "#888899" + }, + + "CheckBox": { + "background": "#383838", + "foreground": "#CCCCCC" + }, + + "RadioButton": { + "background": "#383838", + "foreground": "#CCCCCC" + }, + + "Button": { + "background": "#383838", + "foreground": "#CCCCCC", + "startBorderColor": "#383838", + "endBorderColor": "#383838", + "startBackground": "#474A4D", + "endBackground": "#474A4D", + "default.foreground": "#FFFFFF", + "default.startBorderColor": "#383838", + "default.endBorderColor": "#383838", + "default.startBackground": "#2a5285", + "default.endBackground": "#2a5285" + }, + + "ToggleButton": { + "background": "#FF00FF", + "borderColor": "#BCBCBC", + "foreground": "#BCBCBC", + "buttonColor": "#BCBCBC", + "onBackground": "#39632955", + "onForeground": "#99C986", + "offBackground": "#30303000", + "offForeground": "#BCBCBC" + }, + + "List": { + "background": "#303030", + "foreground": "#CCCCCC", + "selectionForeground": "#FFFFFF" + }, + + "Spinner": { + "background": "#383838" + }, + + "HelpTooltip": { + "background": "#303030", + "borderColor": "#282828", + "foreground": "#CCCCCC" + }, + + "ParameterInfo": { + "background": "#383838", + "currentOverloadBackground": "#2a5285", + "borderColor": "#484848", + "foreground": "#CCCCCC", + "currentParameterForeground": "#FFFFFF", + "disabledForeground": "#808080", + "infoForeground": "#8F8F8F", + "lineSeparatorColor": "#303030" + }, + + "Menu": { + "background": "#383838", + "borderColor": "#484848", + "foreground": "#CCCCCC", + "selectionForeground": "#FFFFFF", + "separatorColor": "#484848", + "acceleratorForeground": "#999999", + "acceleratorSelectionForeground": "#FFFFFF" + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "1,1,1,1", + "background": "#383838", + "translucentBackground": "#383838", + "foreground": "#CCCCCC" + }, + + "Popup": { + "paintBorder": true, + "borderColor": "#484848", + "inactiveBorderColor": "#484848", + "separatorColor": "#404040", + "separatorForeground": "#666666", + "Header": { + "activeBackground": "#383838", + "inactiveBackground": "#383838" + }, + "Toolbar": { + "background": "#383838", + "borderColor": "#303030" + }, + "Advertiser": { + "background": "#383838", + "borderColor": "#383838", + "foreground": "#8F8F8F" + } + }, + + "MenuBar": { + "background": "#383838", + "foreground": "#CCCCCC", + "borderColor": "#383838", + "disabledBackground": "#383838" + }, + + "MenuItem": { + "background": "#383838", + "foreground": "#CCCCCC", + "selectionBackground": "#2a5285", + "selectionForeground": "#FFFFFF", + "acceleratorForeground": "#999999", + "acceleratorSelectionForeground": "#FFFFFF" + }, + + "CheckBoxMenuItem": { + "background": "#383838", + "foreground": "#CCCCCC", + "selectionBackground": "#2a5285", + "selectionForeground": "#CCCCCC", + "acceleratorForeground": "#999999", + "acceleratorSelectionForeground": "#FFFFFF" + }, + + "RadioButtonMenuItem": { + "background": "#383838", + "foreground": "#CCCCCC", + "selectionBackground": "#2a5285", + "selectionForeground": "#CCCCCC", + "acceleratorForeground": "#999999", + "acceleratorSelectionForeground": "#FFFFFF" + }, + + "CompletionPopup": { + "background": "#303030", + "foreground": "#CCCCCC", + "infoForeground": "#666666", + "matchForeground": "#D6AB76", + "matchSelectionForeground": "#D6AB76" + }, + + "Label": { + "background": "#383838", + "foreground": "#CCCCCC", + "disabledForeground": "#808080", + "selectedDisabledForeground": "#808080" + }, + + "ComboBox": { + "foreground": "#CCCCCC", + "background": "#474A4D", + "disabledForeground": "#808080", + "nonEditableBackground": "#474A4D", + "ArrowButton.background": "#474A4D", + "ArrowButton.nonEditableBackground": "#474A4D" + }, + + "ComboBoxButton": { + "background": "#474A4D" + }, + + "ComboPopup.border": "1,1,1,1,383838", + + "Tree": { + "background": "#303030", + "foreground": "#BBBBBB" + }, + + "Notification": { + "background": "#282828", + "borderColor": "#303030", + "foreground": "#cccccc", + + "errorBackground": "#592624", + "errorBorderColor": "#73302e", + "errorForeground": "#ff9794", + + "ToolWindow": { + "errorBackground": "#592624", + "errorBorderColor": "#73302e", + "errorForeground": "#ff9794", + + "warningBackground": "#523911", + "warningBorderColor": "#704f17", + "warningForeground": "#edba68", + + "informativeBackground": "#15394d", + "informativeBorderColor": "#1b4a63", + "informativeForeground": "#61bced" + }, + + "MoreButton": { + "background": "#282828", + "innerBorderColor": "#202020", + "foreground": "#39A3DB" + } + }, + + "ValidationTooltip": { + "errorBackground": "#592624", + "errorBorderColor": "#73302e", + "warningBackground": "#523911", + "warningBorderColor": "#704f17" + }, + + "Link": { + "activeForeground": "#39A3DB", + "hoverForeground": "#30B8FF", + "pressedForeground": "#39A3DB", + "visitedForeground": "#39A3DB" + }, + + "Plugins": { + "background": "#282828", + "lightSelectionBackground": "#2a5285", + "SectionHeader": { + "background": "#383838", + "foreground": "#CCCCCC" + }, + "Tab": { + "selectedBackground": "#242424", + "selectedForeground": "#CCCCCC", + "hoverBackground": "#383838" + }, + "SearchField": { + "background": "#242424", + "borderColor": "#383838" + }, + "Button": { + "installFillBackground": "#202020", + "installFillForeground": "#CCCCCC", + "installBackground": "#202020", + "installBorderColor": "#666666", + "installForeground": "#CCCCCC", + "updateBackground": "#202020", + "updateBorderColor": "#666666", + "updateForeground": "#CCCCCC" + }, + "tagBackground": "#303030", + "tagForeground": "#999999" + }, + + "Component": { + "borderColor": "#282828", + "errorFocusColor": "#DB5860A0", + "inactiveErrorFocusColor": "#DB586060", + "warningFocusColor": "#DE971FA0", + "inactiveWarningFocusColor": "#DE971F60", + "iconColor": "#8f8f9fcc", + "hoverIconColor": "#8f8f9fcc" + }, + + "ToolTip": { + "background": "#303030", + "foreground": "#CCCCCC", + "infoForeground": "#CCCCCC", + "Actions.background": "#383838", + "Actions.infoForeground": "#8F8F8F" + }, + + "TextField": { + "background": "#242424", + "foreground": "#CCCCCC", + "inactiveBackground": "#242424", + "inactiveForeground": "#CCCCCC" + }, + + "FormattedTextField": { + "background": "#242424", + "foreground": "#CCCCCC", + "inactiveBackground": "#242424", + "inactiveForeground": "#CCCCCC" + }, + + "PasswordField": { + "background": "#242424", + "foreground": "#CCCCCC" + }, + + "TextArea": { + "background": "#242424", + "foreground": "#CCCCCC", + "inactiveBackground": "#242424", + "inactiveForeground": "#CCCCCC" + }, + + "ActionButton": { + "hoverBackground": "#404040", + "hoverBorderColor": "#202020", + "pressedBackground": "#202020", + "pressedBorderColor": "#404040" + }, + + "Table": { + "background": "#303030", + "foreground": "#CCCCCC", + "stripeColor": "#2C2C2C", + "gridColor": "#282828", + "sortIconColor": "#8f8f9fcc", + "lightSelectionBackground": "#2a5285", + "lightSelectionForeground": "#EEEEEE", + "lightSelectionInactiveBackground": "#3d4452", + "lightSelectionInactiveForeground": "#EEEEEE" + }, + + "TableHeader": { + "background": "#70707010", + "foreground": "#999999", + "cellBorder": "1,5,2,5" + }, + + "ProgressBar": { + "trackColor": "#242424", + "progressColor": "#8F8F8FB0", + "indeterminateStartColor": "#8F8F8FB0", + "indeterminateEndColor": "#8F8F8F40", + "failedColor": "#BA5249B0", + "failedEndColor": "#BA524940", + "passedColor": "#6EA35AB0", + "passedEndColor": "#6EA35A40" + }, + + "Slider": { + "background": "#383838", + "tickColor": "#666666" + }, + + "Counter": { + "background": "#8f8f9f", + "foreground": "#202020" + }, + + "DragAndDrop": { + "areaBackground": "#23324D", + "areaBorderColor": "#23324D", + "areaForeground": "#CCCCCC" + }, + + "Editor": { + "background": "#242424", + "foreground": "#999999", + "shortcutForeground": "#6888C9" + }, + + "FileColor": { + "Rose": "#52282e", + "Orange": "#4f2f1f", + "Yellow": "#453c1d", + "Green": "#25401a", + "Blue": "#283857", + "Violet": "#472a5e" + }, + + "InplaceRefactoringPopup": { + "background": "#383838", + "borderColor": "#282828" + }, + + "TabbedPane": { + "background": "#383838", + "underlineColor": "#2a5285", + "disabledUnderlineColor": "#454545", + "contentAreaColor": "#282828", + "hoverColor": "#282828" + }, + + "VersionControl": { + + }, + + "WelcomeScreen": { + "background": "#383838", + "borderColor": "#FF0000", + "separatorColor": "#282828", + "captionBackground": "#0000FF", + "captionForeground": "#FFFF00", + "footerBackground": "#FF00FF", + "footerForeground": "#00FFFF", + "headerBackground": "#800000", + "headerForeground": "#008000", + "groupIconBorderColor": "#000080", + "Projects": { + "background": "#383838", + "selectionBackground": "#2a5285", + "selectionInactiveBackground": "#3d4452" + } + }, + + "DebuggerTabs.selectedBackground": "#383838", + + "Window.border": "0,0,0,0,48484833", + "DebuggerPopup.borderColor": "#484848", + "TitlePane.background": "#383838", + "Separator.separatorColor": "#383838", + "SidePanel.background": "#383838", + "OptionPane.background": "#383838", + "EditorPane.inactiveBackground": "#383838", + "EditorPane.foreground": "#CCCCCC", + "ScrollPane.background": "#383838", + "ScrollPane.foreground": "#CCCCCC" + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#8f8f9fcc", + "Actions.GreyInline": "#8f8f9fcc", + "Actions.GreyInline.Dark": "#8f8f9f80", + "Actions.Red": "#BA5249CC", + "Actions.Green": "#6EA35ACC", + "Actions.Blue": "#6888C9CC", + "Actions.Yellow": "#B09B45CC", + + "Objects.Grey": "#8f8f9fcc", + "Objects.BlackText": "#333343CC", + "Objects.Red": "#BA5249CC", + "Objects.RedStatus": "#BA5249CC", + "Objects.Yellow": "#B09B45CC", + "Objects.YellowDark": "#B09B45CC", + "Objects.Green": "#6EA35ACC", + "Objects.GreenAndroid": "#6EA35ACC", + "Objects.Blue": "#6888C9CC", + "Objects.Purple": "#BA76B8CC", + "Objects.Pink": "#C46872CC", + + "Checkbox.Border.Default.Dark": "#282828", + "Checkbox.Background.Default.Dark": "#55585C", + "Checkbox.Foreground.Selected.Dark": "#CCCCCC" + } + } +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.LICENSE.txt new file mode 100644 index 00000000..98783834 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 CloudCannon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.theme.json new file mode 100644 index 00000000..c212eeb2 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/DarkPurple.theme.json @@ -0,0 +1,409 @@ +{ + "name": "Dark purple", + "dark": true, + "author": "JetBrains", + + "editorScheme": "/themes/darkPurpleScheme.xml", + + "ui": { + "*": { + "background": "#2C2C3B", + "foreground": "#D0D0D9", + + "infoForeground": "#6d6a80", + + "selectionBackground": "#713a91", + "selectionForeground": "#D0D0D9", + "selectionInactiveBackground": "#3d3952", + "selectionBackgroundInactive": "#3d3952", + + "lightSelectionBackground": "#3a324a", + "lightSelectionForeground": "#D0D0D9", + "lightSelectionInactiveBackground": "#3d3952", + "lightSelectionInactiveForeground":"#D0D0D9", + + "disabledBackground": "#2C2C3B", + "inactiveBackground": "#2C2C3B", + + "disabledForeground": "#646078", + "disabledText": "#646078", + "inactiveForeground": "#646078", + + "acceleratorForeground": "#D0D0D9", + "acceleratorSelectionForeground": "#D0D0D9", + + "errorForeground": "#dd3962", + + "borderColor": "#4E4C63", + "disabledBorderColor": "#45405C", + + "focusColor": "#693687", + "focusedBorderColor": "#814F9E", + + "separatorForeground": "#6d6a80", + "separatorColor": "#4e4b61", + "lineSeparatorColor": "#55506b", + + "modifiedItemForeground": "#b279f2" + }, + + "ActionButton": { + "hoverBackground": "#453e57", + "hoverBorderColor": "#453E57", + "pressedBackground": "#49415c", + "pressedBorderColor": "#49415C" + }, + + "Button": { + "startBackground": "#45405C", + "endBackground": "#45405C", + "startBorderColor": "#544F70", + "endBorderColor": "#544F70", + "shadowColor": "#27282B", + + "default": { + "foreground": "#D0D0D9", + "startBackground": "#6B388F", + "endBackground": "#6B388F", + "startBorderColor": "#7C519C", + "endBorderColor": "#7C519C", + "focusedBorderColor": "#8465a6", + "focusColor": "#784299", + "shadowColor": "#27282B" + } + }, + + "Borders": { + "color": "#1a1721", + "ContrastBorderColor": "#1a1721" + }, + + "ComboBox": { + "nonEditableBackground": "#3A384D", + "background": "#343445", + "ArrowButton": { + "iconColor": "#9A97A8", + "disabledIconColor": "#454554", + "nonEditableBackground": "#3A384D" + } + }, + + "ComboPopup.border": "1,1,1,1,64647A", + + "CompletionPopup": { + "matchForeground": "#ED94FF", + "matchSelectionForeground": "#ED94FF", + "selectionInactiveBackground": "#44405c", + "nonFocusedMask": "#00000033" + }, + + "Component": { + "errorFocusColor": "#993750", + "inactiveErrorFocusColor": "#522530", + "warningFocusColor": "#8c812b", + "inactiveWarningFocusColor": "#47441f", + "iconColor": "#77728fCC", + "hoverIconColor": "#8b85a6" + }, + + "Counter": { + "background": "#FFFFFF80", + "foreground": "#000000" + }, + + "DebuggerPopup.borderColor": "#524e66", + + "DebuggerTabs.selectedBackground": "#332C40", + + "DefaultTabs": { + "underlineColor": "#9649cc", + "inactiveUnderlineColor": "#877399", + "hoverBackground": "#dfb3ff1a" + }, + + "DragAndDrop": { + "areaForeground": "#D0D0D9", + "areaBackground": "#702F91", + "areaBorderColor": "#343142" + }, + + "Editor": { + "background": "#1D1D26", + "foreground": "#6d6a80", + "shortcutForeground": "#6E86FF" + }, + + "EditorPane.inactiveBackground": "#2C2C3B", + + "EditorTabs": { + "selectedForeground": "#D0D0D9", + "selectedBackground": "#343445", + "inactiveMaskColor": "#0d0d0d33", + + "underlineColor": "#904ac2", + + "underlinedTabBackground": "#363647", + "inactiveColoredFileBackground": "#2C2C3B80", + + "borderColor": "#1a1721" + }, + + "FileColor": { + "Yellow": "#45243b", + "Green": "#213d37", + "Blue": "#1f3557", + "Violet": "#2a2754", + "Orange": "#402e23", + "Rose": "#4a2d59" + }, + + "InplaceRefactoringPopup.borderColor": "#474359", + + "Link": { + "activeForeground": "#7094ff", + "hoverForeground": "#7094FF", + "pressedForeground": "#7094FF", + "visitedForeground": "#7094FF" + }, + + "MenuBar.borderColor": "##1a1721", + + "NavBar.borderColor": "#1a1721", + + "Notification": { + "background": "#3d394d", + "borderColor": "#57506e", + + "errorForeground": "#D0D0D9", + "errorBackground": "#4d232e", + "errorBorderColor": "#802e44", + + "MoreButton.innerBorderColor": "#1a1721", + + "ToolWindow": { + "informativeForeground": "#D0D0D9", + "informativeBackground": "#2e4280", + "informativeBorderColor": "#17254d", + + "warningForeground": "#D0D0D9", + "warningBackground": "#735822", + "warningBorderColor": "#403013", + + "errorForeground": "#D0D0D9", + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b" + } + }, + + "MemoryIndicator": { + "allocatedBackground": "#352140", + "usedBackground": "#533473" + }, + + "ParameterInfo": { + "background": "#463f57", + "foreground": "#ababb3", + "infoForeground": "ababb3", + "currentOverloadBackground": "#6A6173", + "currentParameterForeground": "#D0D0D9" + }, + + "Plugins": { + "Tab": { + "selectedForeground": "#D0D0D9", + "selectedBackground": "#593f73", + "hoverBackground": "#593F73" + }, + + "SearchField.borderColor": "#1a1721", + "SearchField.background": "#252533", + "SectionHeader.background": "#3d3952", + "tagBackground": "#4c4766", + "tagForeground": "#D0D0D9", + + "Button": { + "installForeground": "#8862b3", + "installBorderColor":"#8862b3", + "installFillForeground": "#D0D0D9", + "installFillBackground": "#713a91", + "updateForeground":"#D0D0D9", + "updateBackground": "#713a91", + "updateBorderColor": "#713a91" + } + }, + + "Popup": { + "paintBorder": true, + "borderColor": "#4e4b61", + "inactiveBorderColor": "#343142", + "Toolbar.borderColor": "#1a1721", + "Header.activeBackground": "#453A5C", + "Header.inactiveBackground": "#453A5C", + "Advertiser": { + "foreground": "#8785a6", + "borderColor": "#4e4b61", + "borderInsets": "4,8,3,0" + } + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + + "ProgressBar": { + "trackColor": "#1D1D26", + "progressColor": "#a85ed6", + "indeterminateStartColor": "#a85ed6", + "indeterminateEndColor": "#402e4d", + "failedColor": "#bd3c5f", + "failedEndColor": "#472c33", + "passedColor": "#239E62", + "passedEndColor": "#2b4242" + }, + + "SearchEverywhere": { + "Header.background": "#3a394d", + "Tab": { + "selectedForeground": "#D0D0D9", + "selectedBackground": "#5c3d7a" + }, + "SearchField":{ + "background": "#252533", + "borderColor": "#1a1721" + }, + "Advertiser.foreground": "#8785a6" + }, + + "SearchMatch": { + "startBackground": "#cca929", + "endBackground": "#cca929" + }, + + "SpeedSearch": { + "foreground": "#D0D0D9", + "borderColor": "#69418c", + "background": "#5c3a7a", + "errorForeground": "#ff80a1" + }, + + "StatusBar.borderColor": "#1a1721", + + "TabbedPane": { + "underlineColor": "#9649cc", + "disabledUnderlineColor": "#5e5b6b", + "contentAreaColor": "#1a1721", + "hoverColor": "#dfb3ff1a", + "focusColor": "#523366" + }, + + "TableHeader": { + "cellBorder": "3,0,3,0", + "background": "#363445", + "separatorColor": "#1a1721", + "bottomSeparatorColor": "#282430" + }, + + "Table.stripeColor": "#323242", + + "TextArea": { + "background": "#3A384D", + "selectionBackground": "#69418c" + }, + + "TextField": { + "background": "#3A384D", + "selectionBackground": "#69418c" + }, + + "ToggleButton": { + "onForeground": "#D0D0D9", + "onBackground": "#543073", + "offForeground": "#9f9fa6", + "offBackground": "#2C2C3B", + "buttonColor": "#666380", + "borderColor": "#666380" + }, + + "ToolTip": { + "background": "#463f57", + "Actions.background": "#323245" + }, + + "ToolWindow": { + "Header": { + "background": "#453A5C", + "inactiveBackground": "#2C2C3B", + "borderColor": "#1a1721" + }, + + "HeaderTab": { + "selectedBackground": "#0a0a0a66", + "selectedInactiveBackground": "#0a0a0a4D", + "hoverBackground": "#dfb3ff1a", + "hoverInactiveBackground": "#dfb3ff1a" + }, + + "Button": { + "hoverBackground": "#1e1e24", + "selectedBackground": "#1e1e24", + "selectedForeground": "#D0D0D9" + } + }, + + "Tree.rowHeight": 20, + + "ValidationTooltip": { + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b", + "warningBackground": "#735822", + "warningBorderColor": "#403013" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "#202340", + "unmatchedForeground": "#6d6a80" + }, + "FileHistory.Commit.selectedBranchBackground": "#202340" + }, + + "WelcomeScreen": { + "Projects.selectionInactiveBackground": "#713a91", + "separatorColor": "#1a1721" + } + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#a4a1b3", + "Actions.Red": "#c63a5d", + "Actions.Yellow": "#caba2d", + "Actions.Green": "#25ad6b", + "Actions.Blue": "#4d85ff", + "Actions.GreyInline.Dark": "#9f99bfb3", + + "Objects.Grey": "#9790ad", + "Objects.RedStatus": "#dd3962", + "Objects.Red": "#c63a5d", + "Objects.Pink": "#f98b9e", + "Objects.Yellow": "#caba2d", + "Objects.Green": "#239e62", + "Objects.Blue": "#598bff", + "Objects.Purple": "#af71e0", + "Objects.BlackText": "#000000ff", + "Objects.YellowDark": "#988c26", + "Objects.GreenAndroid": "#78c257", + + "Checkbox.Background.Default.Dark": "#343445", + "Checkbox.Border.Default.Dark": "#756b8c", + "Checkbox.Foreground.Selected.Dark": "#a4a1b3", + "Checkbox.Focus.Wide.Dark": "#723b94", + "Checkbox.Focus.Thin.Default.Dark": "#8a64b3", + "Checkbox.Focus.Thin.Selected.Dark": "#8a64b3", + "Checkbox.Background.Disabled.Dark": "#2C2C3B", + "Checkbox.Border.Disabled.Dark": "#4c4766", + "Checkbox.Foreground.Disabled.Dark": "#565073" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.LICENSE.txt new file mode 100644 index 00000000..6ff18c10 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019-Present Dracula Theme + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.theme.json new file mode 100644 index 00000000..84e9da36 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Dracula.theme.json @@ -0,0 +1,289 @@ +{ + "name": "Dracula", + "dark": true, + "author": "VermouthX", + "editorScheme": "/themes/Dracula.xml", + "ui": { + "*": { + "arc": "5", + "background": "#414450", + "selectionBackground": "#6272a4", + "selectionInactiveBackground": "#4E5A82", + "inactiveBackground": "#414450", + "borderColor": "#282a36", + "underlineColor": "#bd93f9" + }, + "Borders": { + "color": "#282a36", + "ContrastBorderColor": "#282a36" + }, + "ActionButton": { + "hoverBackground": "#282a35", + "hoverBorderColor": "#282a35", + "pressedBackground": "#282a35", + "pressedBorderColor": "#282a35" + }, + "Button": { + "foreground": "#f8f8f2", + "startBorderColor": "#6272a4", + "endBorderColor": "#6272a4", + "startBackground": "#6272a4", + "endBackground": "#6272a4", + "focusedBorderColor": "#bd93f9", + "default": { + "foreground": "#f8f8f2", + "startBackground": "#6272a4", + "endBackground": "#6272a4", + "startBorderColor": "#bd93f9", + "endBorderColor": "#bd93f9", + "focusColor": "#bd93f9", + "focusedBorderColor": "#bd93f9" + } + }, + "CheckBoxMenuItem": { + "acceleratorSelectionForeground": "#ff79c6" + }, + "ComboBox": { + "modifiedItemForeground": "#ff79c6", + "ArrowButton": { + "background": "#44475a", + "nonEditableBackground": "#44475a", + "iconColor": "#bd93f9" + }, + "selectionBackground": "#bd93f9", + "nonEditableBackground": "#44475a" + }, + "CompletionPopup": { + "selectionBackground": "#6272a4", + "selectionInactiveBackground": "#4E5A82", + "matchForeground": "#ff79c6" + }, + "Component": { + "focusColor": "#bd93f9", + "borderColor": "#6272a4", + "focusedBorderColor": "#6272a4", + "errorFocusColor": "#ff5554", + "inactiveErrorFocusColor": "#ff5554", + "warningFocusColor": "#f1fa8c", + "inactiveWarningFocusColor": "#f1fa8c" + }, + "DragAndDrop": { + "areaBorderColor": "#6272a4" + }, + "Editor": { + "background": "#44475a", + "shortcutForeground": "#ff79c6" + }, + "EditorTabs": { + "background": "#44475a", + "underlinedTabBackground": "#313341", + "underlineColor": "#bd93f9", + "underlineHeight": 0 + }, + "FileColor": { + "Blue": "#8be9fd", + "Green": "#63667E", + "Orange": "#ffb86c", + "Yellow": "#44475a", + "Rose": "#ff79c6", + "Violet": "#bd93f9" + }, + "HelpTooltip": { + "shortcutForeground": "#ff79c6" + }, + "Label": { + "foreground": "#f8f8f2", + "errorForeground": "#ff5554" + }, + "Link": { + "activeForeground": "#ff79c6", + "hoverForeground": "#ff79c6", + "visitedForeground": "#bd93f9", + "pressedForeground": "#bd93f9" + }, + "Notification": { + "borderColor": "#6272a4", + "errorBorderColor": "#ff5554", + "errorBackground": "#414450", + "errorForeground": "#f8f8f2", + "ToolWindow": { + "warningForeground": "#f8f8f2", + "warningBackground": "#414450", + "warningBorderColor": "#ffb86c", + "errorForeground": "#f8f8f2", + "errorBorderColor": "#ff5554", + "errorBackground": "#414450", + "informativeForeground": "#f8f8f2", + "informativeBackground": "#414450", + "informativeBorderColor": "#50fa7b" + } + }, + "Plugins": { + "SearchField": { + "background": "#44475a" + }, + "SectionHeader": { + "foreground": "#f8f8f2" + }, + "lightSelectionBackground": "#282a35", + "Button": { + "installBorderColor": "#bd93f9", + "installForeground": "#bd93f9", + "installBackground": "#414450", + "updateBorderColor": "#ff79c6", + "updateForeground": "#ff79c6", + "updateBackground": "#414450", + "installFillForeground": "#414450", + "installFillBackground": "#bd93f9", + "installFocusedBackground": "#414450" + }, + "Tab": { + "selectedBackground": "#282a35", + "selectedForeground": "#f8f8f2", + "hoverBackground": "#282a35" + } + }, + "ProgressBar": { + "failedColor": "#ff5554", + "failedEndColor": "#ff5554", + "trackColor": "#6272a4", + "progressColor": "#ff79c6", + "indeterminateStartColor": "#bd93f9", + "indeterminateEndColor": "#bd93f9", + "passedColor": "#50fa7b", + "passedEndColor": "#50fa7b" + }, + "Popup": { + "Header": { + "activeBackground": "#44475a", + "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" + }, + "Tab": { + "selectedBackground": "#313341", + "selectedForeground": "#f8f8f2" + } + }, + "SearchMatch": { + "startBackground": "#ff79c6", + "endBackground": "#ff79c6" + }, + "Separator.separatorColor": "#282a35", + "TabbedPane": { + "tabSelectionHeight": 1, + "focusColor": "#282a35", + "hoverColor": "#282a35", + "underlineColor": "#bd93f9", + "contentAreaColor": "#282a35" + }, + "ToggleButton": { + "onBackground": "#50fa7b", + "onForeground": "#282a35", + "offBackground": "#6272a4", + "offForeground": "#282a35", + "buttonColor": "#f8f8f2" + }, + "ToolWindow": { + "Button": { + "hoverBackground": "#282a35" + }, + "Header": { + "background": "#44475a", + "inactiveBackground": "#44475a" + }, + "HeaderTab": { + "underlineColor": "#bd93f9", + "underlineHeight": 1, + "underlinedTabBackground": "#313341", + "underlinedTabInactiveBackground": "#313341" + } + }, + "Tree": { + "modifiedItemForeground": "#ff79c6", + "selectionBackground": "#6272a4", + "selectionInactiveBackground": "#4E5A82" + }, + "ValidationTooltip": { + "errorBackground": "#ff5554", + "errorBorderColor": "#ff5554", + "warningBorderColor": "#ffb86c", + "warningBackground": "#ffb86c" + }, + "VersionControl": { + "FileHistory": { + "Commit": { + "selectedBranchBackground": "#44475a" + } + }, + "GitLog": { + "headIconColor": "#f1fa8c", + "localBranchIconColor": "#50fa7b", + "remoteBranchIconColor": "#bd93f9", + "tagIconColor": "#ff79c6", + "otherIconColor": "#8be9fd" + }, + "Log": { + "Commit": { + "currentBranchBackground": "#44475a" + } + } + }, + "WelcomeScreen": { + "separatorColor": "#191b1f", + "Projects": { + "background": "#282a35", + "selectionBackground": "#44475a", + "selectionInactiveBackground": "#44475a" + } + } + }, + "icons": { + "ColorPalette": { + "Actions.Blue": "#5da3f4", + "Actions.Green": "#2fc864", + "Actions.Grey": "#858994", + "Actions.GreyInline.Dark": "#2fc864", + "Actions.GreyInline": "#2fc864", + "Actions.Red": "#ff5554", + "Actions.Yellow": "#f1fa8c", + "Objects.Blue": "#5da3f4", + "Objects.Green": "#2fc864", + "Objects.GreenAndroid": "#2fc864", + "Objects.Grey": "#858994", + "Objects.Pink": "#ff79c6", + "Objects.Purple": "#bd93f9", + "Objects.Red": "#ff5554", + "Objects.RedStatus": "#ff5554", + "Objects.Yellow": "#f1fa8c", + "Objects.YellowDark": "#f1fa8c", + "Objects.BlackText": "#282a35", + "Checkbox.Border.Default.Dark": "#bd93f9", + "Checkbox.Border.Selected.Dark": "#bd93f9", + "Checkbox.Background.Default.Dark": "#6272a4", + "Checkbox.Foreground.Selected.Dark": "#f8f8f2", + "Checkbox.Focus.Wide.Dark": "#bd93f9", + "Checkbox.Focus.Thin.Selected.Dark": "#bd93f9", + "Checkbox.Focus.Thin.Default.Dark": "#bd93f9" + } + } +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.LICENSE.txt new file mode 100644 index 00000000..98783834 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 CloudCannon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.theme.json new file mode 100644 index 00000000..00a61b99 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Gray.theme.json @@ -0,0 +1,238 @@ +{ + "name": "Gray", + "dark": false, + "author": "Olga Berdnikova", + + "editorScheme": "/themes/grayScheme.xml", + + "ui": { + "*": { + "background": "#F2F3F5", + "foreground": "#1F1F1F", + + "selectionBackground": "#407FC7", + "selectionBackgroundInactive": "#D5D5D5", + "selectionInactiveBackground": "#D5D5D5", + + "disabledForeground": "#8C8C8C", + "disabledText": "#8C8C8C", + "inactiveForeground": "#8C8C8C", + + "infoForeground": "#808080", + "modifiedItemForeground": "#006be6", + + "acceleratorSelectionForeground": "#FFFFFF", + + "separatorColor": "#E1E3E6", + "borderColor": "#E1E3E6", + + "underlineColor": "#4787d1" + }, + + "Borders": { + "color": "#e1e3e6", + "ContrastBorderColor": "#E1E3E6" + }, + + "Button": { + "shadowColor": "#A6A6A620", + "startBorderColor": "#C4C4C4", + "endBorderColor": "#C4C4C4", + "default": { + "foreground": "#FFFFFF", + "startBackground": "#528CC7", + "endBackground": "#4989CC", + "startBorderColor": "#487EB8", + "endBorderColor": "#346DAD", + "shadowColor": "#A6A6A650", + "focusedBorderColor": "#A9C9F5" + } + }, + + "ComboBox.nonEditableBackground": "#FFFFFF", + "ComboBox.ArrowButton.background": "#f7f8fa", + + "ComboBoxButton.background": "#FFFFFF", + + "ComboPopup.border": "1,1,1,1,D4D6D9", + + "CompletionPopup": { + "selectionBackground": "#cfe5fc", + "selectionInactiveBackground": "#e0e0e0", + "nonFocusedMask": "#FFFFFF35", + "matchForeground": "#0081de", + "selectionForeground": "#1F1F1F", + "selectionInfoForeground": "#808080", + "matchSelectionForeground": "#0081de" + }, + + "Component": { + "borderColor": "#C4C4C4", + "focusColor": "#84B8F0" + }, + + "Counter": { + "background": "#9AA7B0", + "foreground": "#FFFFFF" + }, + + "Editor": { + "background": "#d4d6d9", + "foreground": "#797b80", + "shortcutForeground": "#4274A6" + }, + + "EditorPane.inactiveBackground": "#F2F3F5", + + "EditorTabs": { + "selectedBackground": "#FFFFFF", + "inactiveMaskColor": "#4d4d4d12", + + "underlinedTabBackground": "#F2F3F5", + + "hoverMaskColor": "#00000015", + "inactiveColoredFileBackground": "#d9d9d950" + }, + + "DebuggerTabs.selectedBackground": "#F2F3F5", + + "FileColor.Yellow": "#F5F0DF", + "FileColor.Green": "#E8F2DF", + + "Label.errorForeground": "#C7222D", + + "Link": { + "activeForeground": "#2163A6", + "hoverForeground": "#2163A6", + "pressedForeground": "#2163A6", + "visitedForeground": "#2163A6", + "secondaryForeground": "#77a8d9" + }, + + "Notification": { + "background": "#f7f8fa", + "borderColor": "#D4D6D9", + "MoreButton": { + "background": "#E8E9EB", + "foreground": "#8C8C8C", + "innerBorderColor": "#E8E9EB" + }, + + "ToolWindow": { + "informativeBackground": "#e1ebd8", + "informativeBorderColor": "#b5c7a5", + "warningBackground": "#f5ebd7", + "warningBorderColor": "#E0CEA8", + "errorForeground": "#1F1F1F", + "errorBackground": "#F5E6E7", + "errorBorderColor": "#E0A8A9" + } + }, + + "PasswordField.background": "#FFFFFF", + + "Plugins": { + "background": "#FFFFFF", + "SearchField.background": "#FFFFFF", + "SectionHeader.foreground": "#808080", + "Tab.selectedBackground": "#D5D6D7", + "Tab.hoverBackground": "#D5D6D7", + "lightSelectionBackground": "#F4F9FF" + }, + + "Popup": { + "Header": { + "activeBackground": "#E1E2E3", + "inactiveBackground": "#E1E2E3" + }, + + "separatorForeground": "#999999", + + "Advertiser": { + "foreground": "#8C8C8C", + "borderInsets": "3,6,3,0" + } + }, + + "ProgressBar": { + "trackColor": "#D1D1D1", + "progressColor": "#1E82E6", + "indeterminateStartColor": "#91C5F2", + "indeterminateEndColor": "#1E82E6" + }, + + "SearchEverywhere": { + "SearchField.background": "#FFFFFF", + "Tab.selectedBackground": "#D5D6D7", + "Advertiser.foreground": "#8C8C8C" + }, + + "SearchMatch": { + "startBackground": "#FFD080", + "endBackground": "#FFD080" + }, + + "SidePanel.background": "#F2F3F5", + + "SpeedSearch": { + "background": "#D5D6D7", + "borderColor": "#D5D6D7", + "errorForeground": "#C7222D" + }, + + "TabbedPane": { + "hoverColor": "#E1E2E3", + "contentAreaColor": "#E1E3E6" + }, + + "Table.stripeColor": "#F2F3F5", + + "TableHeader": { + "cellBorder": "3,0,3,0", + "background": "#fafbfc", + "bottomSeparatorColor": "#ebedf0" + }, + + "TextArea.background": "#FFFFFF", + + "TextField.background": "#FFFFFF", + + "ToggleButton": { + "onBackground": "#407FC7", + "borderColor": "#C4C4C4" + }, + + "ToolTip.Actions.background": "#E8E9EB", + + "ToolWindow": { + "Header": { + "background": "#E8E9EB", + "inactiveBackground": "#F2F3F5" + }, + "HeaderTab": { + "selectedBackground": "#D5D6D7", + "hoverBackground": "#D5D6D7", + "selectedInactiveBackground": "#e1e2e3", + "hoverInactiveBackground": "#e1e2e3" + }, + "Button": { + "selectedBackground": "#D5D6D7", + "hoverBackground": "#D5D6D7" + } + }, + + "Tree.rowHeight": 22, + + "VersionControl": { + "Log.Commit.currentBranchBackground": "#e6f0f2", + "FileHistory.Commit.selectedBranchBackground": "#e6f0f2" + } + + }, + + "icons": { + "ColorPalette": { + "Checkbox.Border.Default": "#adadad" + } + } +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.LICENSE.txt new file mode 100644 index 00000000..60661986 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2019 Vlad Volkov https://hiberbee.github.io/intellij-theme + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.theme.json new file mode 100644 index 00000000..f8e3b98d --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Hiberbee.theme.json @@ -0,0 +1,304 @@ +{ + "name": "Hiberbee", + "dark": true, + "colors": { + "border": "#434343", + "focused": "#5a5a5a", + "separator": "#434343", + "background": "#191919", + "paneBackground": "#252525", + "lightBackground": "#323232", + "headerBackground": "#3c3c3c", + "darkerForeground": "#7d7d7d", + "foreground": "#c8c8c8", + "shadow": "#252525", + "accent": "#FFC83C" + }, + "author": "Vlad Volkov", + "editorScheme": "/Hiberbee.xml", + "ui": { + "ActionButton.hoverBackground": "separator", + "ActionButton.hoverBorderColor": "focused", + "ActionButton.pressedBackground": "focused", + "Borders.color": "border", + "Borders.ContrastBorderColor": "separator", + "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.focusedBorderColor": "accent", + "Button.foreground": "foreground", + "Button.shadowColor": "shadow", + "Button.startBackground": "lightBackground", + "Button.startBorderColor": "border", + "Button.shadowWidth": "0", + "CheckBox.background": "lightBackground", + "Component.borderColor": "focused", + "CheckBoxMenuItem.background": "lightBackground", + "CheckBoxMenuItem.selectionForeground": "accent", + "ComboBox.ArrowButton.disabledIconColor": "separator", + "ComboBox.ArrowButton.iconColor": "accent", + "ComboBox.ArrowButton.nonEditableBackground": "separator", + "ComboBox.background": "lightBackground", + "ComboBox.modifiedItemForeground": "accent", + "ComboBox.nonEditableBackground": "headerBackground", + "ComboPopup.border": "0,0,0,0,4b4b4b", + "CompletionPopup.foreground": "foreground", + "CompletionPopup.matchForeground": "accent", + "CompletionPopup.selectionBackground": "separator", + "CompletionPopup.selectionInactiveBackground": "lightBackground", + "Component.arc": "5", + "Component.errorFocusColor": "#501428", + "Component.focusColor": "#595959", + "Component.focusedBorderColor": "#666666", + "Component.focusWidth": "0", + "Component.hoverIconColor": "foreground", + "Component.iconColor": "accent", + "Component.inactiveErrorFocusColor": "#3c0a14", + "Component.inactiveWarningFocusColor": "#4b3219", + "Component.warningFocusColor": "#966432", + "Counter.background": "lightBackground", + "Counter.foreground": "foreground", + "Debugger.Variables.changedValueForeground": "#F9D778", + "DebuggerPopup.borderColor": "border", + "DefaultTabs.background": "lightBackground", + "DefaultTabs.hoverBackground": "separator", + "DefaultTabs.underlineColor": "accent", + "DefaultTabs.underlinedTabBackground": "border", + "DefaultTabs.underlinedTabForeground": "accent", + "DefaultTabs.underlineHeight": 1, + "DragAndDrop.areaBackground": "#666666", + "DragAndDrop.areaForeground": "foreground", + "Editor.background": "background", + "Editor.foreground": "foreground", + "EditorPane.background": "lightBackground", + "EditorPane.caretForeground": "accent", + "EditorPane.foreground": "foreground", + "EditorPane.inactiveBackground": "paneBackground", + "EditorPane.inactiveForeground": "#808080", + "EditorPane.selectionBackground": "lightBackground", + "EditorPane.selectionForeground": "accent", + "EditorTabs.underlineHeight": 1, + "FileColor.Blue": "#23282d", + "FileColor.Green": "#232d28", + "FileColor.Orange": "#2d2823", + "FileColor.Rose": "#2d2323", + "FileColor.Violet": "#2D232D", + "FileColor.Yellow": "#2d2d23", + "GutterTooltip.infoForeground": "darkerForeground", + "InplaceRefactoringPopup.borderColor": "focused", + "Label.background": "lightBackground", + "Link.activeForeground": "#7da5f0", + "Link.hoverForeground": "accent", + "Link.pressedForeground": "#6782cd", + "Link.visitedForeground": "foreground", + "List.background": "lightBackground", + "List.selectionBackground": "separator", + "List.selectionForeground": "accent", + "MemoryIndicator.allocatedBackground": "#0a3c14", + "MemoryIndicator.usedBackground": "#320a19", + "Menu.acceleratorForeground": "foreground", + "Menu.acceleratorSelectionForeground": "accent", + "Menu.background": "lightBackground", + "Menu.foreground": "foreground", + "Menu.selectionForeground": "accent", + "Menu.separatorColor": "separator", + "MenuBar.selectionBackground": "focused", + "MenuBar.shadow": "shadow", + "MenuItem.selectionForeground": "accent", + "Notification.background": "paneBackground", + "Notification.errorBackground": "#37160b", + "Notification.errorBorderColor": "#ed6b88", + "Notification.errorForeground": "foreground", + "Notification.foreground": "foreground", + "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", + "OptionPane.background": "paneBackground", + "OptionPane.foreground": "foreground", + "Panel.background": "lightBackground", + "Panel.foreground": "foreground", + "ParameterInfo.background": "paneBackground", + "ParameterInfo.currentOverloadBackground": "foreground", + "ParameterInfo.currentParameterForeground": "accent", + "ParameterInfo.foreground": "foreground", + "ParameterInfo.infoForeground": "darkerForeground", + "ParameterInfo.lineSeparatorColor": "separator", + "Plugins.background": "lightBackground", + "Plugins.Button.installBackground": "lightBackground", + "Plugins.Button.installBorderColor": "border", + "Plugins.Button.installFillBackground": "lightBackground", + "Plugins.Button.installFillForeground": "foreground", + "Plugins.Button.installForeground": "accent", + "Plugins.disabledForeground": "darkerForeground", + "Plugins.lightSelectionBackground": "separator", + "Plugins.SearchField.background": "headerBackground", + "Plugins.SectionHeader.background": "headerBackground", + "Plugins.SectionHeader.foreground": "foreground", + "Plugins.Tab.hoverBackground": "paneBackground", + "Plugins.Tab.selectedBackground": "lightBackground", + "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": "#001E2D", + "PopupMenu.selectionForeground": "accent", + "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", + "ScrollBar.Mac.trackColor": "lightBackground", + "ScrollBar.Mac.Transparent.trackColor": "focused", + "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", + "SearchEverywhere.Tab.selectedForeground": "accent", + "SearchMatch.endBackground": "accent", + "SearchMatch.startBackground": "accent", + "Separator.separatorColor": "separator", + "SettingsTree.rowHeight": "0", + "SidePanel.background": "paneBackground", + "Slider.focus": "focused", + "SpeedSearch.background": "lightBackground", + "SpeedSearch.borderColor": "border", + "SpeedSearch.errorForeground": "#ed6b88", + "SpeedSearch.foreground": "accent", + "SplitPane.background": "lightBackground", + "SplitPane.darkShadow": "shadow", + "SplitPane.highlight": "accent", + "SplitPane.shadow": "shadow", + "TabbedPane.background": "lightBackground", + "TabbedPane.contentAreaColor": "lightBackground", + "TabbedPane.disabledUnderlineColor": "border", + "TabbedPane.focusColor": "focused", + "TabbedPane.foreground": "foreground", + "TabbedPane.hoverColor": "separator", + "TabbedPane.tabSelectionHeight": 1, + "TabbedPane.underlineColor": "accent", + "Table.background": "lightBackground", + "Table.dropLineColor": "border", + "Table.dropLineShortColor": "separator", + "Table.focusCellForeground": "accent", + "Table.selectionBackground": "border", + "Table.selectionForeground": "accent", + "Table.sortIconColor": "accent", + "Table.stripeColor": "border", + "TableHeader.background": "paneBackground", + "TableHeader.bottomSeparatorColor": "border", + "TableHeader.separatorColor": "separator", + "TextArea.background": "paneBackground", + "TextArea.caretForeground": "accent", + "TextArea.foreground": "foreground", + "TextArea.selectionBackground": "#001E2D", + "TextField.background": "headerBackground", + "TextField.caretForeground": "accent", + "TextField.darkShadow": "shadow", + "TextField.foreground": "foreground", + "TextField.highlight": "#ffffff", + "TextField.selectionBackground": "#001E2D", + "TextPane.background": "lightBackground", + "TitlePane.background": "paneBackground", + "ToggleButton.borderColor": "separator", + "ToggleButton.buttonColor": "headerBackground", + "ToggleButton.offBackground": "#232323", + "ToggleButton.offForeground": "darkerForeground", + "ToggleButton.onBackground": "focused", + "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", + "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.HeaderTab.underlineColor": "accent", + "ToolWindow.HeaderTab.underlinedTabInactiveBackground": "border", + "ToolWindow.HeaderTab.underlineHeight": 1, + "Tree.background": "paneBackground", + "Tree.paintLines": 0, + "Tree.modifiedItemForeground": "accent", + "Tree.rowHeight": "0", + "Tree.selectionBackground": "border", + "Tree.selectionForeground": "accent", + "Tree.selectionInactiveBackground": "headerBackground", + "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": "separator", + "WelcomeScreen.Projects.selectionInactiveBackground": "separator", + "WelcomeScreen.separatorColor": "separator", + "Window.border": "1,1,1,1,4b4b4b" + }, + "icons": { + "ColorPalette": { + "Actions.Grey": "#afafaf", + "Actions.Red": "#ff0072", + "Actions.Yellow": "#f7cd46", + "Actions.Green": "#78b756", + "Actions.Blue": "#307bf6", + "Actions.GreyInline": "#afafaf", + "Actions.GreyInline.Dark": "#7d7d7d", + "Objects.Grey": "#c8c8c8", + "Objects.RedStatus": "#EC5F5D", + "Objects.Red": "#ff0072", + "Objects.Pink": "#ffa9ca", + "Objects.Yellow": "#f7cd46", + "Objects.Green": "#a6e22e", + "Objects.Purple": "#9478f6", + "Objects.BlackText": "#4b4b4b", + "Objects.Blue": "#49b0f1", + "Objects.YellowDark": "#fd971f", + "Objects.GreenAndroid": "#78b756" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.LICENSE.txt new file mode 100644 index 00000000..98783834 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 CloudCannon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.theme.json new file mode 100644 index 00000000..5940db53 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/HighContrast.theme.json @@ -0,0 +1,456 @@ +{ + "name": "High contrast", + "dark": true, + "author": "JetBrains", + + "editorScheme": "/themes/highContrastScheme.xml", + + "ui": { + "*": { + "background": "#000000", + "foreground": "#FFFFFF", + + "infoForeground": "#E0861F", + + "selectionBackground": "#3333FF", + "selectionForeground": "#FFFFFF", + "selectionInactiveBackground": "#42424f", + "selectionBackgroundInactive": "#42424F", + + "disabledBackground": "#33210C", + "inactiveBackground": "#33210C", + + "disabledForeground": "#E0861F", + "disabledText": "#E0861F", + "inactiveForeground": "#E0861F", + + "acceleratorForeground": "#E6E6E6", + "acceleratorSelectionForeground": "#E6E6E6", + + "errorForeground": "#FA3232", + + "borderColor": "#E6E6E6", + "disabledBorderColor": "#AA6E28", + "focusColor": "#1AEBFF", + "focusedBorderColor": "#1AEBFF", + "hoverBorderColor": "#1AEBFF", + "pressedBorderColor": "#1AEBFF", + + "separatorColor": "#B3B3B3", + "lineSeparatorColor": "#6A6173" + }, + + "ActionButton": { + "hoverBackground": "#000000", + "pressedBackground": "#000000" + }, + + "Button": { + "startBackground": "#000000", + "endBackground": "#000000", + "startBorderColor": "#FFFFFF", + "endBorderColor": "#FFFFFF", + + "default": { + "foreground": "#000000", + "startBackground": "#1AEBFF", + "endBackground": "#1AEBFF", + "startBorderColor": "#1AEBFF", + "endBorderColor": "#1AEBFF", + "focusedBorderColor": "#000000" + } + }, + + "Borders": { + "color": "#b3b3b3", + "ContrastBorderColor": "#B3B3B3" + }, + + "ComboBox": { + "nonEditableBackground": "#000000", + "modifiedItemForeground": "#4FF0FF", + "ArrowButton": { + "iconColor": "#FFFFFF", + "disabledIconColor": "#AA6E28", + "nonEditableBackground": "#000000" + } + }, + + "ComboPopup.border": "1,1,1,1,E6E6E6", + + "CompletionPopup": { + "matchForeground": "#ED94FF", + "matchSelectionForeground": "#ED94FF" + }, + + + + "Component": { + "errorFocusColor": "#E6194B", + "inactiveErrorFocusColor": "#800002", + "warningFocusColor": "#F58231", + "inactiveWarningFocusColor": "#804605", + "iconColor": "#FFFFFF", + "hoverIconColor": "#FFFFFF" + }, + + "Counter": { + "background": "#FFFFFF", + "foreground": "#000000" + }, + + "DebuggerPopup.borderColor": "#E6E6E6", + + "DebuggerTabs.selectedBackground": "#000080", + + "DefaultTabs": { + "underlineColor": "#1AEBFF", + "inactiveUnderlineColor": "#1AEBFF", + "underlineHeight": 5, + "hoverBackground": "#0f6780" + }, + + "DragAndDrop": { + "areaForeground": "#FFFFFF", + "areaBackground": "#00838f", + "areaBorderColor": "#1AEBFF" + }, + + "Editor": { + "background": "#1f1f1f", + "foreground": "#CCCCCC", + "shortcutForeground": "#D2F53C" + }, + + "EditorPane.inactiveBackground": "#000000", + + "EditorTabs": { + "selectedForeground": "#FFFFFF", + "selectedBackground": "#0e5d73", + "inactiveMaskColor": "#000000FF", + + "underlineColor": "#1AEBFF", + "underlineHeight": 4, + + "underlinedTabBackground": "#000000", + "inactiveColoredFileBackground": "#00000000" + }, + + "FileColor": { + "Yellow": "#381C00", + "Green": "#092E15", + "Blue": "#00004D", + "Violet": "#471747", + "Orange": "#733000", + "Rose": "#4D0F22" + }, + + "FlameGraph": { + "JVMBackground": "#FFD333", + "JVMSearchNotMatchedBackground": "#806919", + "nativeBackground": "#1AEBFF", + "nativeSearchNotMatchedBackground":"#00838F", + "parentBackground":"#FFFFFF", + "parentSearchNotMatchedBackground": "#757575", + + "JVMFocusBackground":"#3333FF", + "JVMFocusSearchNotMatchedBackground": "#3333FF", + "nativeFocusBackground": "#3333FF", + "nativeFocusSearchNotMatchedBackground":"#3333FF", + "parentFocusBackground":"#3333FF", + "parentFocusSearchNotMatchedBackground": "#3333FF", + + "JVMFrameForeground":"#000000", + "nativeFrameForeground":"#000000", + "parentFrameForeground":"#000000", + + "JVMFocusedFrameForeground": "#FFFFFF", + "nativeFocusedFrameForeground": "#FFFFFF", + "parentFocusedFrameForeground": "#FFFFFF" + }, + + "InplaceRefactoringPopup": { + "background": "#450073", + "borderColor": "#E6E6E6" + }, + + "Link": { + "activeForeground": "#D2F53C", + "hoverForeground": "#D2F53C", + "pressedForeground": "#D2F53C", + "visitedForeground": "#D2F53C", + "secondaryForeground": "#D2F53C" + }, + + "MemoryIndicator": { + "usedBackground": "#3333FF", + "allocatedBackground": "#7e00d9" + }, + + "NavBar.borderColor": "#b3b3b3", + + "Notification": { + "background": "#000080", + + "errorForeground": "#FFFFFF", + "errorBackground": "#800002", + "errorBorderColor": "#E6194B", + + "MoreButton.innerBorderColor": "#000000", + + "ToolWindow": { + "informativeForeground": "#FFFFFF", + "informativeBackground": "#450073", + "informativeBorderColor": "#e6e6e6", + + "warningForeground": "#FFFFFF", + "warningBackground": "#804605", + "warningBorderColor": "#F58231", + + "errorForeground": "#FFFFFF", + "errorBackground": "#800002", + "errorBorderColor": "#E6194B" + } + }, + + "ParameterInfo": { + "background": "#281A33", + "foreground": "#CCCCCC", + "currentOverloadBackground": "#450073", + "currentParameterForeground": "#FFFFFF" + }, + + "Plugins": { + "Tab": { + "selectedForeground": "#FFFFFF", + "selectedBackground": "#3333FF", + "hoverBackground": "#3333FF" + }, + + "SearchField.borderColor": "#B3B3B3", + "SectionHeader.background": "#000080", + "tagBackground": "#000080", + "tagForeground": "#FFFFFF", + + "Button": { + "installForeground": "#1AEBFF", + "installBorderColor":"#1AEBFF", + "installFillForeground": "#000000", + "installFillBackground": "#1AEBFF", + "updateForeground":"#000000", + "updateBackground": "#1AEBFF" + }, + + "lightSelectionBackground": "#000066" + }, + + "Popup": { + "paintBorder": true, + "inactiveBorderColor": "#e6e6e6", + "Toolbar.borderColor": "#b3b3b3", + "separatorForeground": "#FFFFFF", + "Header.activeBackground": "#000080", + "Header.inactiveBackground": "#000080", + "Advertiser": { + "background": "#000080", + "borderColor": "#000080", + "borderInsets": "3,8,5,0" + } + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + + "ProgressBar": { + "trackColor": "#404040", + "progressColor": "#FFFFFF", + "indeterminateStartColor": "#FFFFFF", + "indeterminateEndColor": "#1a1a1a", + "failedColor": "#E6194B", + "failedEndColor": "#431C27", + "passedColor": "#00E61F", + "passedEndColor": "#15451E" + }, + + "ScrollBar": { + "Transparent": { + "thumbColor": "#b3b3b3", + "thumbBorderColor": "#000000C8", + "hoverThumbColor": "#E6E6E6", + "hoverThumbBorderColor": "#000000C8", + "hoverTrackColor": "#E6E6E65A" + }, + "thumbColor": "#b3b3b3", + "thumbBorderColor": "#000000C8", + "hoverThumbColor": "#E6E6E6", + "hoverThumbBorderColor": "#000000C8", + "trackColor": "#000000", + "hoverTrackColor": "#E6E6E65A", + + "Mac": { + "Transparent": { + "thumbColor": "#A6A6A6", + "thumbBorderColor": "#000000C8", + "hoverThumbColor": "#E6E6E6", + "hoverThumbBorderColor": "#000000C8", + "hoverTrackColor": "#E6E6E65A" + }, + "thumbColor": "#A6A6A6", + "thumbBorderColor": "#000000C8", + "hoverThumbColor": "#E6E6E6", + "hoverThumbBorderColor": "#000000C8", + "trackColor": "#000000", + "hoverTrackColor": "#E6E6E65A" + } + }, + + "SearchEverywhere": { + "Tab": { + "selectedForeground": "#FFFFFF", + "selectedBackground": "#3333FF" + }, + "SearchField.borderColor": "#b3b3b3", + "Advertiser": { + "background": "#000080", + "borderInsets": "3,8,5,0" + } + }, + + "SearchMatch": { + "startBackground": "#FFD333FF", + "endBackground": "#FFD333FF" + }, + + "SpeedSearch": { + "foreground": "#000000", + "borderColor": "#000000", + "background": "#1AEBFF" + }, + + "StatusBar.borderColor": "#b3b3b3", + + "TabbedPane": { + "underlineColor": "#1AEBFF", + "tabSelectionHeight": 5, + "disabledUnderlineColor": "#AA6E28", + "contentAreaColor": "#b3b3b3", + "hoverColor": "#0f6780", + "focusColor": "#0f6780" + }, + + "TableHeader": { + "cellBorder": "5,0,5,0", + "background": "#000080" + }, + + "Table": { + "stripeColor": "#000033", + "lightSelectionForeground": "#FFFFFF", + "lightSelectionInactiveForeground":"#FFFFFF", + "lightSelectionBackground": "#000066", + "lightSelectionInactiveBackground":"#383838" + }, + + "ToggleButton": { + "onForeground": "#FFFFFF", + "onBackground": "#000080", + "offForeground": "#FFFFFF", + "offBackground": "#000000", + "buttonColor": "#FFFFFF", + "borderColor": "#FFFFFF" + }, + + "ToolTip": { + "background": "#450073", + "Actions.background": "#281A33" + }, + + "ToolWindow": { + "Header": { + "background": "#450073", + "inactiveBackground": "#281A33" + }, + + "HeaderTab": { + "selectedBackground": "#9C23D9FF", + "selectedInactiveBackground": "#4D0080FF", + "hoverBackground": "#7e00d9ff", + "hoverInactiveBackground": "#7e00d9FF", + + "underlineColor": "#1AEBFF", + "inactiveUnderlineColor": "#1AEBFF", + "underlineHeight": 5 + }, + + "Button": { + "hoverBackground": "#3333FF", + "selectedBackground": "#3333FF", + "selectedForeground": "#FFFFFF" + } + }, + + + "Tree.modifiedItemForeground": "#4FF0FF", + + "ValidationTooltip": { + "errorBackground": "#800002", + "errorBorderColor": "#E6194B", + "warningBackground": "#804605", + "warningBorderColor": "#F58231" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "#0D0D40", + "unmatchedForeground": "#E0861F" + }, + "RefLabel": { + "backgroundBase": "#3333FF", + "backgroundBrightness": 0.7 + }, + "FileHistory.Commit.selectedBranchBackground": "#0D0D40" + }, + + "WelcomeScreen": { + "Projects.selectionInactiveBackground": "#3333FF", + "separatorColor": "#e6e6e6" + }, + + "Window.border" : "1,1,1,1,E6E6E6" + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#FFFFFF", + "Actions.Red": "#FF3633", + "Actions.Yellow": "#FFD333", + "Actions.Green": "#00E61F", + "Actions.Blue": "#00EAFF", + "Actions.GreyInline.Dark": "#FFFFFFFF", + + "Objects.Grey": "#FFFFFFFF", + "Objects.RedStatus": "#FF4340FF", + "Objects.Red": "#FF4340FF", + "Objects.Pink": "#FF8FA2FF", + "Objects.Yellow": "#FFD333FF", + "Objects.Green": "#00E61FFF", + "Objects.Blue": "#00EAFFFF", + "Objects.Purple": "#A880FFFF", + "Objects.BlackText": "#000000FF", + "Objects.YellowDark": "#FFD333FF", + "Objects.GreenAndroid": "#00E61FFF", + + "Checkbox.Background.Default.Dark": "#000000", + "Checkbox.Border.Default.Dark": "#FFFFFF", + "Checkbox.Foreground.Selected.Dark": "#FFFFFF", + "Checkbox.Focus.Wide.Dark": "#1AEBFF", + "Checkbox.Focus.Thin.Default.Dark": "#1AEBFF", + "Checkbox.Focus.Thin.Selected.Dark": "#1AEBFF", + "Checkbox.Background.Disabled.Dark": "#000000", + "Checkbox.Border.Disabled.Dark": "#AA6E28", + "Checkbox.Foreground.Disabled.Dark": "#AA6E28" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.LICENSE.txt new file mode 100644 index 00000000..98783834 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 CloudCannon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.theme.json new file mode 100644 index 00000000..ab2d5768 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Light.theme.json @@ -0,0 +1,119 @@ +{ + "name": "IntelliJ Light Preview", + "dark": false, + "author": "", + "editorScheme": "/Light.xml", + + "ui": { + "*": { + "selectionBackground": "#2675BF", + "selectionBackgroundInactive": "#D5D5D5", + "selectionInactiveBackground": "#D5D5D5", + + "disabledForeground": "#8C8C8C", + "disabledText": "#8C8C8C", + "inactiveForeground": "#8C8C8C", + + "infoForeground": "#808080", + "modifiedItemForeground": "#005ad9", + + "acceleratorSelectionForeground": "#FFFFFF", + + "separatorColor": "#d1d1d1", + "separatorForeground": "#999999" + }, + + "Borders": { + "color": "#D1D1D1", + "ContrastBorderColor": "#D1D1D1" + }, + + "Button": { + "shadowColor": "#A6A6A620", + "startBorderColor": "#C4C4C4", + "endBorderColor": "#C4C4C4", + "default": { + "foreground": "#FFFFFF", + "startBackground": "#528CC7", + "endBackground": "#4989CC", + "startBorderColor": "#487EB8", + "endBorderColor": "#346DAD", + "shadowColor": "#A6A6A650", + "focusedBorderColor": "#A9C9F5" + } + }, + + "ComboBox": { + "background": "#FFFFFF", + "nonEditableBackground": "#FFFFFF", + "ArrowButton.background": "#fafafa" + }, + + "ComboBoxButton.background": "#FFFFFF", + + "CompletionPopup": { + "selectionBackground": "#c5dffc", + "selectionInactiveBackground": "#e0e0e0" + }, + + "Component.borderColor": "#C4C4C4", + + "DefaultTabs.background": "#F2F2F2", + + "EditorTabs.underlinedTabBackground": "#ffffff", + + "Editor": { + "background": "#cccccc", + "foreground": "#737373", + "shortcutForeground": "#4274A6" + }, + + "Label.errorForeground": "#C7222D", + + "Link": { + "activeForeground": "#2470B3", + "hoverForeground": "#2470B3", + "pressedForeground": "#2470B3", + "visitedForeground": "#2470B3", + "secondaryForeground": "#77a8d9" + }, + + "Notification": { + "borderColor": "#D1D1D1" + }, + + "Menu.borderColor": "#d9d9d9", + + "Panel.background": "#F2F2F2", + + "PasswordField.background": "#FFFFFF", + + "Popup": { + "separatorColor": "#d9d9d9", + "Advertiser.borderColor": "#D1D1D1", + "borderColor": "#adadad" + }, + + "ProgressBar": { + "trackColor": "#D1D1D1", + "progressColor": "#1E82E6", + "indeterminateStartColor": "#91C5F2", + "indeterminateEndColor": "#1E82E6" + }, + + "StatusBar.borderColor": "#D1D1D1", + + "ToolWindow.Header.inactiveBackground": "#F2F2F2", + + "Tree.rowHeight": 20 + }, + + "icons": { + + "ColorPalette": { + "Checkbox.Border.Default": "#b0b0b0", + "Checkbox.Background.Selected": "#4F9EE3", + "Checkbox.Border.Selected": "#4B97D9" + } + } +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.LICENSE.txt new file mode 100644 index 00000000..7af92091 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Artem Bukhonov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.theme.json new file mode 100644 index 00000000..800f73b4 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/LightFlatTheme.theme.json @@ -0,0 +1,561 @@ +{ + "name": "Light Flat", + "dark": false, + "author": "Nerzhul 500", + "ui": { + "*": { + "//*": "#FF00FF", + "//background": "#FF0000", + "//foreground": "#00FF00", + "//borderColor": "#FF00FF", + "selectionBackground": "#b8d9ff", + "selectionForeground": "#000000", + "selectionInactiveBackground": "#d5dff0", + "selectionInactiveForeground": "#000000" + }, + + "Panel": { + "background": "#EEEEF2", + "foreground": "#696977" + }, + + "Borders": { + "color": "#EEEEF2", + "ContrastBorderColor": "#EEEEF2" + }, + + "NavBar": { + "borderColor": "#D0D0D0" + }, + + "StatusBar": { + "borderColor": "#EEEEF2" + }, + + "ToolWindow": { + "Button": { + "selectedBackground": "#D4D4D4", + "selectedForeground": "#5A5A66", + "hoverBackground": "#D4D4D4" + }, + "Header": { + "borderColor": "#EEEEF2", + "background": "#EEEEF2", + "inactiveBackground": "#EEEEF2" + }, + "HeaderTab": { + "selectedBackground": "#ffffff", + "selectedInactiveBackground": "#ffffff", + "hoverBackground": "#EEEEF2", + "hoverInactiveBackground": "#EEEEF2" + } + }, + + "SearchEverywhere": { + "Header.background": "#EEEEF2", + "Tab": { + "selectedBackground": "#FFFFFF", + "selectedForeground": "#000000" + }, + "SearchField": { + "background": "#FFFFFF", + "borderColor": "#FFFFFF" + }, + "List": { + "separatorForeground": "#999999", + "separatorColor": "#EEEEF2" + }, + "Advertiser": { + "background": "#EEEEF2", + "borderColor": "#EEEEF2", + "foreground": "#5A5A66" + } + }, + + "SearchMatch": { + "startBackground": "#e6bd1b", + "endBackground": "#e6bd1b" + }, + + "SpeedSearch": { + "background": "#f7f0d2", + "borderColor": "#FFFFFF80", + "foreground": "#333333", + "errorForeground": "#d91400" + }, + + "EditorTabs": { + "borderColor": "#eeeef2", + "underlineColor": "#5397E6", + "selectedBackground": "#FFFFFF", + "inactiveMaskColor": "#EEEEF2" + }, + + "ScrollBar": { + "background": "#EEEEF2", + + "trackColor": "#EEEEF2", + "Mac.trackColor": "#EEEEF2", + "hoverTrackColor": "#EEEEF2", + "Mac.hoverTrackColor": "#EEEEF2", + + "Transparent.trackColor": "#EEEEF200", + "Mac.Transparent.trackColor": "#EEEEF200", + "Transparent.hoverTrackColor": "#EEEEF200", + "Mac.Transparent.hoverTrackColor": "#EEEEF200", + + "thumbBorderColor": "#88889940", + "Mac.thumbBorderColor": "#88889940", + "hoverThumbBorderColor": "#888899", + "Mac.hoverThumbBorderColor": "#888899", + + "thumbColor": "#88889940", + "Mac.thumbColor": "#88889940", + "hoverThumbColor": "#888899", + "Mac.hoverThumbColor": "#888899", + + "Transparent.thumbBorderColor": "#88889940", + "Mac.Transparent.thumbBorderColor": "#88889940", + "Transparent.hoverThumbBorderColor": "#888899", + "Mac.Transparent.hoverThumbBorderColor": "#888899", + + "Transparent.thumbColor": "#88889940", + "Mac.Transparent.thumbColor": "#88889940", + "Transparent.hoverThumbColor": "#888899", + "Mac.Transparent.hoverThumbColor": "#888899" + }, + + "CheckBox": { + "background": "#EEEEF2", + "foreground": "#333333" + }, + + "RadioButton": { + "background": "#EEEEF2", + "foreground": "#333333" + }, + + "Button": { + "background": "#EEEEF2", + "foreground": "#333333", + "startBorderColor": "#EEEEF2", + "endBorderColor": "#EEEEF2", + "startBackground": "#F8F8F8", + "endBackground": "#F8F8F8", + "default.foreground": "#FFFFFF", + "//default.startBorderColor": "#427aba", + "//default.endBorderColor": "#427aba", + "//default.startBackground": "#b8d9ff", + "//default.endBackground": "#b8d9ff" + }, + + "ToggleButton": { + "background": "#FF00FF", + "borderColor": "#696977", + "foreground": "#696977", + "buttonColor": "#696977", + "onBackground": "#A8E68E55", + "onForeground": "#217303", + "offBackground": "#F0F0F000", + "offForeground": "#696977" + }, + + "List": { + "background": "#F8F8F8", + "foreground": "#333333", + "selectionBackground": "#b8d9ff", + "selectionForeground": "#000000" + }, + + "Spinner": { + "background": "#EEEEF2" + }, + + "HelpTooltip": { + "background": "#EEEEF2", + "borderColor": "#D0D0D0", + "foreground": "#333333" + }, + + "ParameterInfo": { + "background": "#F0F0F0", + "currentOverloadBackground": "#b8d9ff", + "borderColor": "#FFFFFF", + "foreground": "#333333", + "currentParameterForeground": "#000000", + "disabledForeground": "#808080", + "infoForeground": "#5A5A66", + "lineSeparatorColor": "#EEEEF2" + }, + + "Menu": { + "background": "#EEEEF2", + "borderColor": "#D0D0D0", + "foreground": "#333333", + "selectionForeground": "#000000", + "separatorColor": "#D0D0D0", + "acceleratorForeground": "#666666", + "acceleratorSelectionForeground": "#000000" + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "1,1,1,1", + "background": "#EEEEF2", + "translucentBackground": "#EEEEF2", + "foreground": "#333333" + }, + + "Popup": { + "paintBorder": true, + "borderColor": "#D0D0D0", + "inactiveBorderColor": "#D0D0D0", + "separatorColor": "#D0D0D0", + "separatorForeground": "#999999", + "Header": { + "activeBackground": "#EEEEF2", + "inactiveBackground": "#EEEEF2" + }, + "Toolbar": { + "background": "#EEEEF2", + "borderColor": "#F8F8F8" + }, + "Advertiser": { + "background": "#EEEEF2", + "borderColor": "#EEEEF2", + "foreground": "#5A5A66" + } + }, + + "MenuBar": { + "background": "#EEEEF2", + "foreground": "#333333", + "borderColor": "#EEEEF2", + "disabledBackground": "#F8F8F8" + }, + + "MenuItem": { + "background": "#EEEEF2", + "foreground": "#333333", + "selectionBackground": "#b8d9ff", + "selectionForeground": "#000000", + "acceleratorForeground": "#666666", + "acceleratorSelectionForeground": "#000000" + }, + + "CheckBoxMenuItem": { + "background": "#EEEEF2", + "foreground": "#333333", + "selectionBackground": "#b8d9ff", + "selectionForeground": "#FFFFFF", + "acceleratorForeground": "#666666", + "acceleratorSelectionForeground": "#000000" + }, + + "RadioButtonMenuItem": { + "background": "#EEEEF2", + "foreground": "#333333", + "selectionBackground": "#b8d9ff", + "selectionForeground": "#FFFFFF", + "acceleratorForeground": "#666666", + "acceleratorSelectionForeground": "#000000" + }, + + "CompletionPopup": { + "background": "#F8F8F8", + "foreground": "#333333", + "infoForeground": "#999999", + "matchForeground": "#9C5800", + "matchSelectionForeground": "#9C5800" + }, + + "Label": { + "background": "#EEEEF2", + "foreground": "#333333", + "disabledForeground": "#808080", + "selectedDisabledForeground": "#808080" + }, + + "ComboBox": { + "foreground": "#333333", + "background": "#EEEEF2", + "disabledForeground": "#808080", + "nonEditableBackground": "#F8F8F8", + "ArrowButton.background": "#F8F8F8", + "ArrowButton.nonEditableBackground": "#F8F8F8" + }, + + "ComboBoxButton": { + "background": "#F8F8F8" + }, + + "ComboPopup.border": "1,1,1,1,EEEEF2", + + "Tree": { + "background": "#F8F8F8", + "foreground": "#333333" + }, + + "Notification": { + "background": "#EEEEF2", + "borderColor": "#F0F0F0", + "foreground": "#333333", + + "errorBackground": "#FFE3E3", + "errorBorderColor": "#FFEDED", + "errorForeground": "#B5494F", + + "ToolWindow": { + "errorBackground": "#FFE3E3", + "errorBorderColor": "#FFEDED", + "errorForeground": "#B5494F", + + "warningBackground": "#FAEED5", + "warningBorderColor": "#FFF7E6", + "warningForeground": "#A87300", + + "informativeBackground": "#DCF0E1", + "informativeBorderColor": "#E6F5E9", + "informativeForeground": "#378C49" + }, + + "MoreButton": { + "background": "#EEEEF2", + "innerBorderColor": "#D0D0D0", + "foreground": "#5c85cc" + } + }, + + "ValidationTooltip": { + "errorBackground": "#FFE3E3", + "errorBorderColor": "#FFEDED", + "warningBackground": "#FAEED5", + "warningBorderColor": "#FFF7E6" + }, + + "Link": { + "activeForeground": "#5c85cc", + "hoverForeground": "#1295DB", + "pressedForeground": "#5c85cc", + "visitedForeground": "#5c85cc" + }, + + "Plugins": { + "background": "#FFFFFF", + "lightSelectionBackground": "#b8d9ff", + "SectionHeader": { + "background": "#EEEEF2", + "foreground": "#5A5A66" + }, + "Tab": { + "selectedBackground": "#FFFFFF", + "selectedForeground": "#666666", + "hoverBackground": "#EEEEF2" + }, + "SearchField": { + "background": "#FFFFFF", + "borderColor": "#EEEEF2" + }, + "Button": { + "installFillBackground": "#FFFFFF", + "installFillForeground": "#333333", + "installBackground": "#FFFFFF", + "installBorderColor": "#BFBFBF", + "installForeground": "#333333", + "updateBackground": "#FFFFFF", + "updateBorderColor": "#BFBFBF", + "updateForeground": "#333333" + }, + "tagBackground": "#EEEEF2", + "tagForeground": "#5A5A66" + }, + + "Component": { + "borderColor": "#D0D0D0", + "errorFocusColor": "#DB5860A0", + "inactiveErrorFocusColor": "#DB586060", + "warningFocusColor": "#DE971FA0", + "inactiveWarningFocusColor": "#DE971F60", + "iconColor": "#777787cc", + "hoverIconColor": "#777787cc" + }, + + "ToolTip": { + "background": "#F8F8F8", + "foreground": "#333333", + "infoForeground": "#333333", + "Actions.background": "#EEEEF2", + "Actions.infoForeground": "#5A5A66" + }, + + "TextField": { + "background": "#FFFFFF", + "foreground": "#333333", + "inactiveBackground": "#FFFFFF", + "inactiveForeground": "#333333" + }, + + "FormattedTextField": { + "background": "#FFFFFF", + "foreground": "#333333", + "inactiveBackground": "#FFFFFF", + "inactiveForeground": "#333333" + }, + + "PasswordField": { + "background": "#FFFFFF", + "foreground": "#333333" + }, + + "TextArea": { + "background": "#FFFFFF", + "foreground": "#333333", + "inactiveBackground": "#FFFFFF", + "inactiveForeground": "#333333" + }, + + "ActionButton": { + "hoverBackground": "#F8F8F8", + "hoverBorderColor": "#FFFFFF", + "pressedBackground": "#FFFFFF", + "pressedBorderColor": "#D8D8D8" + }, + + "Table": { + "background": "#F8F8F8", + "foreground": "#333333", + "stripeColor": "#FFFFFF", + "gridColor": "#EEEEF2", + "sortIconColor": "#777787cc", + "lightSelectionBackground": "#b8d9ff", + "lightSelectionForeground": "#000000", + "lightSelectionInactiveBackground": "#d5dff0", + "lightSelectionInactiveForeground": "#000000" + }, + + "TableHeader": { + "background": "#66666610", + "foreground": "#666666", + "cellBorder": "1,5,2,5" + }, + + "ProgressBar": { + "trackColor": "#FFFFFF", + "progressColor": "#777787B0", + "indeterminateStartColor": "#777787B0", + "indeterminateEndColor": "#77778740", + "failedColor": "#d96462B0", + "failedEndColor": "#d9646240", + "passedColor": "#63994dB0", + "passedEndColor": "#63994d40" + }, + + "Slider": { + "background": "#EEEEF2", + "tickColor": "#999999" + }, + + "Counter": { + "background": "#777787", + "foreground": "#EEEEF2" + }, + + "DragAndDrop": { + "areaBackground": "#CCDFFF", + "areaBorderColor": "#CCDFFF", + "areaForeground": "#333333" + }, + + "Editor": { + "background": "#FFFFFF", + "foreground": "#777787", + "shortcutForeground": "#5c85cc" + }, + + "FileColor": { + "Rose": "#ffe6e9", + "Orange": "#ffefe6", + "Yellow": "#f7f0d2", + "Green": "#e1eddc", + "Blue": "#dae4f7", + "Violet": "#f1e6ff" + }, + + "InplaceRefactoringPopup": { + "background": "#EEEEF2", + "borderColor": "#D0D0D0" + }, + + "TabbedPane": { + "background": "#EEEEF2", + "underlineColor": "#5397e6", + "disabledUnderlineColor": "#CCCCCC", + "contentAreaColor": "#D0D0D0", + "hoverColor": "#D0D0D0" + }, + + "VersionControl": { + + }, + + "WelcomeScreen": { + "background": "#EEEEF2", + "borderColor": "#FF0000", + "separatorColor": "#D0D0D0", + "captionBackground": "#0000FF", + "captionForeground": "#FFFF00", + "footerBackground": "#FF00FF", + "footerForeground": "#00FFFF", + "headerBackground": "#800000", + "headerForeground": "#008000", + "groupIconBorderColor": "#000080", + "Projects": { + "background": "#EEEEF2", + "selectionBackground": "#b8d9ff", + "selectionInactiveBackground": "#d5dff0" + } + }, + + "DebuggerTabs.selectedBackground": "#EEEEF2", + + "Window.border": "0,0,0,0,FFFFFF33", + "DebuggerPopup.borderColor": "#EEEEF2", + "TitlePane.background": "#EEEEF2", + "Separator.separatorColor": "#EEEEF2", + "SidePanel.background": "#EEEEF2", + "OptionPane.background": "#EEEEF2", + "EditorPane.inactiveBackground": "#EEEEF2", + "EditorPane.foreground": "#333333", + "ScrollPane.background": "#EEEEF2", + "ScrollPane.foreground": "#333333" + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#777787cc", + "Actions.GreyInline": "#777787cc", + "Actions.GreyInline.Dark": "#777787cc", + "Actions.Red": "#d96462cc", + "Actions.Green": "#63994dcc", + "Actions.Blue": "#5c85cccc", + "Actions.Yellow": "#cc9b14cc", + + "Objects.Grey": "#777787cc", + "Objects.BlackText": "#383848CC", + "Objects.Red": "#d96462cc", + "Objects.RedStatus": "#d96462cc", + "Objects.Yellow": "#cc9b14cc", + "Objects.YellowDark": "#cc9b14cc", + "Objects.Green": "#63994dcc", + "Objects.GreenAndroid": "#63994dcc", + "Objects.Blue": "#5c85cccc", + "Objects.Purple": "#a663a5cc", + "Objects.Pink": "#d96275cc", + + + "Checkbox.Border.Default": "#D0D0D0", + "Checkbox.Background.Default": "#FF00FF", + "Checkbox.Foreground.Selected": "#FF00FF" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.LICENSE.txt new file mode 100644 index 00000000..6e933232 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Xinkun Zhang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.theme.json new file mode 100644 index 00000000..31e82391 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/MaterialTheme.theme.json @@ -0,0 +1,202 @@ +{ + "name": "NotReallyMDTheme", + "dark": true, + "author": "zhangxinkun-_-@outlook.com", + "editorScheme": "/Material Theme.xml", + "colors": { + "mySelectionColor": "#3E6183", + "mySelectionAccentColor": "#212E43", + "myTabBlueColor": "#314763", + "myAccentRedColor": "#FF666F", + "mySecondAccentRedColor": "#88373C", + "myThemeBackgroundColor": "#1F292E", + "myHlightControlsColor": "#21384E", + "myControlsColor": "#293840", + "myDisableGreyColor": "#32424A" + }, + "ui": { + "*": { + "separatorColor": "#2B3940", + "background": "#1F292E", + "borderColor": "#1F292E", + "selectionBackground": "#3E6183", + "disabledForeground": "#8C8C8C", + "modifiedItemForeground": "#FF666F", + "disabledText": "#8C8C8C", + "inactiveForeground": "#8C8C8C", + "infoForeground": "#808080", + "highlight": "#FF666F", + "underlineColor": "#FF666F", + "focusColor": "#FF666F", + "selectedBackground": "#3E6183", + "underlinedTabBackground": "#2B4057", + "hoverColor": "#415E83", + "pressedBackground": "#3E6183" + }, + "Tree.rowHeight": 24, + "ToolWindow.HeaderTab.hoverInactiveBackground": "mySelectionColor", + "ToolWindow.Button.hoverBackground": "mySelectionColor", + "StatusBar.hoverBackground": "mySelectionColor", + "DefaultTabs.hoverBackground": "mySelectionColor", + "ActionButton.hoverBackground": "mySelectionColor", + "Separator.separatorColor": "myDisableGreyColor", + "Popup": { + "Header.activeBackground": "mySelectionColor", + "Header.inactiveBackground": "myDisableGreyColor", + "borderColor": "mySelectionColor" + }, + "SearchEverywhere": { + "Tab.selectedBackground": "myAccentRedColor", + "List.separatorForeground": "myAccentRedColor", + "Header.background": "myTabBlueColor" + }, + "Borders.ContrastBorderColor": "myThemeBackgroundColor", + "Borders.color": "myThemeBackgroundColor", + "ToolWindow": { + "Header": { + "borderColor": "myDisableGreyColor", + "inactiveBackground": "myThemeBackgroundColor", + "background": "myThemeBackgroundColor" + }, + "HeaderTab": { + "selectedInactiveBackground": "mySelectionColor", + "hoverInactiveBackground": "mySelectionColor" + }, + "Button": { + "selectedBackground": "mySelectionColor" + } + }, + "TextArea": { + "background": "myControlsColor", + "selectionBackground": "mySelectionColor" + }, + "TabbedPane.background": "myControlsColor", + "TextPane.background": "mySelectionColor", + "Button": { + "arc": 0, + "startBackground": "myControlsColor", + "endBackground": "myControlsColor", + "shadowColor": "myControlsColor", + "startBorderColor": "myControlsColor", + "endBorderColor": "myControlsColor", + "focusedBorderColor": "myControlsColor", + "shadowWidth": 2, + "default": { + "foreground": "#FFFFFF", + "startBackground": "myHlightControlsColor", + "endBackground": "myHlightControlsColor", + "startBorderColor": "myHlightControlsColor", + "endBorderColor": "myHlightControlsColor", + "focusedBorderColor": "myHlightControlsColor", + "shadowColor": "myAccentRedColor" + } + }, + "ComboBoxButton.background": "myHlightControlsColor", + "ComboBox": { + "ArrowButton.nonEditableBackground": "myDisableGreyColor", + "ArrowButton.iconColor": "myAccentRedColor", + "nonEditableBackground": "myDisableGreyColor" + }, + "Component.borderColor": "myDisableGreyColor", + "TextArea.background": "myDisableGreyColor", + "TextField": { + "background": "myDisableGreyColor" + }, + "StatusBar.borderColor": "myThemeBackgroundColor", + "SplitPane.highlight": "myThemeBackgroundColor", + "ProgressBar": { + "progressColor": "myAccentRedColor", + "trackColor": "myTabBlueColor", + "passedColor": "myAccentRedColor", + "passedEndColor": "myTabBlueColor", + "indeterminateStartColor": "myAccentRedColor", + "indeterminateEndColor": "mySecondAccentRedColor" + }, + "Notification": { + "background": "#52316E", + "borderColor": "#52316E" + }, + "VersionControl": { + "GitLog": { + "headIconColor": "myAccentRedColor" + }, + "Log": { + "Commit.currentBranchBackground": "mySelectionAccentColor" + } + }, + "Plugins": { + "lightSelectionBackground": "mySelectionAccentColor", + "Tab.selectedBackground": "mySelectionColor", + "tagBackground": "myThemeBackgroundColor", + "tagForeground": "myAccentRedColor" + }, + "VersionControl.FileHistory.Commit.selectedBranchBackground": "myDisableGreyColor", + "Table.stripeColor": "myDisableGreyColor", + "Link": { + "activeForeground": "myAccentRedColor", + "hoverForeground": "myAccentRedColor", + "pressedForeground": "myAccentRedColor", + "visitedForeground": "myAccentRedColor", + "secondaryForeground": "mySecondAccentRedColor" + }, + "ParameterInfo": { + "background": "myDisableGreyColor", + "lineSeparatorColor": "myDisableGreyColor", + "currentOverloadBackground": "mySelectionColor", + "currentParameterForeground": "myAccentRedColor" + }, + "CompletionPopup": { + "matchForeground": "myAccentRedColor" + }, + "SearchMatch": { + "endBackground": "myAccentRedColor", + "startBackground": "myAccentRedColor" + }, + "ScrollBar.Transparent.hoverThumbColor": "myAccentRedColor" + }, + "icons": { + "/com/intellij/ide/ui/laf/icons/darcula/treeCollapsedSelected.svg": "/icons/nodes/right-arrow.svg", + "/com/intellij/ide/ui/laf/icons/darcula/treeExpandedSelected.svg": "/icons/nodes/down-arrow.svg", + "/com/intellij/ide/ui/laf/icons/darcula/treeCollapsed.svg": "/icons/nodes/right-arrow.svg", + "/com/intellij/ide/ui/laf/icons/darcula/treeExpanded.svg": "/icons/nodes/down-arrow.svg", + "/general/arrowDown.svg": "/icons/nodes/down-arrow.svg", + "/general/arrowRight.svg": "/icons/nodes/right-arrow.svg", + "/process/step_1.svg": "/icons/process/step1.svg", + "/process/step_2.svg": "/icons/process/step2.svg", + "/process/step_3.svg": "/icons/process/step3.svg", + "/process/step_4.svg": "/icons/process/step4.svg", + "/process/step_5.svg": "/icons/process/step5.svg", + "/process/step_6.svg": "/icons/process/step6.svg", + "/process/step_7.svg": "/icons/process/step7.svg", + "/process/step_8.svg": "/icons/process/step8.svg", + "/process/big/step_1.svg": "/icons/process/big/step1.svg", + "/process/big/step_2.svg": "/icons/process/big/step2.svg", + "/process/big/step_3.svg": "/icons/process/big/step3.svg", + "/process/big/step_4.svg": "/icons/process/big/step4.svg", + "/process/big/step_5.svg": "/icons/process/big/step5.svg", + "/process/big/step_6.svg": "/icons/process/big/step6.svg", + "/process/big/step_7.svg": "/icons/process/big/step7.svg", + "/process/big/step_8.svg": "/icons/process/big/step8.svg", + "ColorPalette": { + "Actions.Grey": "#A4AABB", + "Actions.Red": "#E0516B", + "Actions.Blue": "#348DEF", + "Actions.Green": "#29A66C", + "Actions.Yellow": "#E3B610", + "Objects.Grey": "#A4AABB", + "Objects.RedStatus": "#DC445D", + "Objects.Red": "#DE4765", + "Objects.Pink": "#F070A5", + "Objects.Yellow": "#E6BA29", + "Objects.Green": "#1EB070", + "Objects.Blue": "#499DF2", + "Objects.Purple": "#BC8AF2", + "Objects.YellowDark": "#B79108", + "Objects.BlackText": "#0D0E11", + "Checkbox.Foreground.Selected.Dark": "#FF666F", + "Checkbox.Background.Default.Dark": "#32424A", + "Checkbox.Border.Disabled": "#32424A", + "Checkbox.Background.Disabled.Dark": "#1F292E" + } + } +} \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.LICENSE.txt new file mode 100644 index 00000000..dc557079 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Berzan Yildiz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.theme.json new file mode 100644 index 00000000..e86f190b --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Monocai.theme.json @@ -0,0 +1,382 @@ +{ + "name": "Monocai", + "dark": true, + "author": "Berzan Yildiz", + "editorScheme": "/themes/Monocai.xml", + "ui": { + + "*": { + "background": "#2d2a2f", + "foreground": "#fcfcfb", + + "infoForeground": "#727072", + + "selectionBackground": "#403e42", + "selectionForeground": "#fcfcfb", + "selectionInactiveBackground": "#2d2a2f", + "selectionBackgroundInactive": "#2d2a2f", + + "lightSelectionBackground": "#7f7e7f", + "lightSelectionForeground": "#fcfcfb", + "lightSelectionInactiveBackground": "#2d2a2f", + "lightSelectionInactiveForeground":"#fcfcfb", + + "disabledBackground": "#2d2a2f", + "inactiveBackground": "#2d2a2f", + + "disabledForeground": "#727072", + "disabledText": "#727072", + "inactiveForeground": "#727072", + + "acceleratorForeground": "#2d2a2f", + "acceleratorSelectionForeground": "#2d2a2f", + + "errorForeground": "#C4265E", + + "borderColor": "#7f7e7f", + "disabledBorderColor": "#727072", + + "focusColor": "#727072", + "focusedBorderColor": "#7f7e7f", + + "separatorForeground": "#727072", + "separatorColor": "#7f7e7f", + "lineSeparatorColor": "#666666", + + "modifiedItemForeground": "#ab9df3" + }, + + "ActionButton": { + "hoverBackground": "#413d44", + "hoverBorderColor": "#413d44", + "pressedBackground": "#413d44", + "pressedBorderColor": "#413d44" + }, + + "Borders": { + "color": "#403e42", + "ContrastBorderColor": "#403e42" + }, + + "Button": { + "startBackground": "#413d44", + "endBackground": "#413d44", + "startBorderColor": "#403e42", + "endBorderColor": "#403e42", + "focusedBorderColor": "#727072", + + "default": { + "foreground": "#fcfcfb", + "startBackground": "#78dce9", + "endBackground": "#78dce9", + "startBorderColor": "#78dce9", + "endBorderColor": "#78dce9", + "focusedBorderColor": "#fcfcfb", + "focusColor": "#727072", + "shadowColor": "#2d2a2f" + } + }, + + "ComboBox": { + "nonEditableBackground": "#413d44", + "background": "#2d2a2f", + "ArrowButton": { + "iconColor": "#7f7e7f", + "disabledIconColor": "#2d2a2f", + "nonEditableBackground": "#413d44" + } + }, + + "ComboPopup.border": "1,1,1,1,5a5160", + + "CompletionPopup": { + "matchForeground": "#ab9df3", + "matchSelectionForeground": "#ab9df3" + }, + + "Component": { + "errorFocusColor": "#ce5070", + "inactiveErrorFocusColor": "#912f48", + "warningFocusColor": "#777233", + "inactiveWarningFocusColor": "#47441f", + "iconColor": "#727072", + "hoverIconColor": "#7f7e7f" + }, + + "Counter": { + "background": "#FFFFFF80", + "foreground": "#000000" + }, + + "DebuggerPopup.borderColor": "#524e66", + + "DebuggerTabs.selectedBackground": "#7f7e7f", + + "DragAndDrop": { + "areaForeground": "#2d2a2f", + "areaBackground": "#49d3e5", + "areaBorderColor": "#3a6a70" + }, + + "Editor": { + "background": "#2d2a2f", + "foreground": "#fcfcfb8b", + "shortcutForeground": "#78dce9" + }, + + "EditorPane.inactiveBackground": "#2d2a2f", + + "EditorTabs": { + "selectedForeground": "#fcfcfb", + "selectedBackground": "#2d2a2f", + "underlineColor": "#727072", + "inactiveMaskColor": "#403e42", + "borderColor": "#727072" + }, + + "FileColor": { + "Yellow": "#5f5026", + "Green": "#465f2c", + "Blue": "#78dce9", + "Violet": "#ab9df3", + "Orange": "#fc9868", + "Rose": "#ff6189" + }, + + "InplaceRefactoringPopup.borderColor": "#524e66", + + "Link": { + "activeForeground": "#7094ff", + "hoverForeground": "#7094FF", + "pressedForeground": "#7094FF", + "visitedForeground": "#7094FF" + }, + + "NavBar.borderColor": "#1b1d1e", + + "Notification": { + "background": "#7f7e7f", + "borderColor": "#2d2a2f", + + "errorForeground": "#fcfcfb", + "errorBackground": "#4d232e", + "errorBorderColor": "#802e44", + + "MoreButton.innerBorderColor": "#1b1d1e", + + "ToolWindow": { + "informativeForeground": "#fcfcfb", + "informativeBackground": "#504559", + "informativeBorderColor": "#3e3942", + + "warningForeground": "#fcfcfb", + "warningBackground": "#735822", + "warningBorderColor": "#403013", + + "errorForeground": "#fcfcfb", + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b" + } + }, + + "ParameterInfo": { + "background": "#7f7e7f", + "foreground": "#fcfcfb", + "infoForeground": "#999999", + "currentOverloadBackground": "#727072", + "currentParameterForeground": "#fcfcfb" + }, + + "Plugins": { + "Tab": { + "selectedForeground": "#fcfcfb", + "selectedBackground": "#7f7e7f", + "hoverBackground": "#7f7e7f" + }, + + "SearchField.borderColor": "#727072", + "SearchField.background": "#2d2a2f", + "SectionHeader.background": "#2d2a2f", + "tagBackground": "#7f7e7f", + "tagForeground": "#fcfcfb", + + "Button": { + "installForeground": "#fcfcfb", + "installBorderColor":"#7f7e7f", + "installFillForeground": "#fcfcfb", + "installFillBackground": "#ab9df3", + "updateForeground":"#fcfcfb", + "updateBackground": "#7f7e7f", + "updateBorderColor": "#727072" + } + }, + + "Popup": { + "paintBorder": true, + "borderColor": "#7f7e7f", + "inactiveBorderColor": "#2d2a2f", + "Toolbar.borderColor": "#1b1d1e", + "Header.activeBackground": "#7f7e7f", + "Header.inactiveBackground": "#7f7e7f", + "Advertiser": { + "foreground": "#727072", + "background": "#403e42", + "borderColor": "#7f7e7f", + "borderInsets": "4,8,3,0" + } + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + + "ProgressBar": { + "trackColor": "#1b1d1e", + "progressColor": "#50a3ed", + "indeterminateStartColor": "#50a3ed", + "indeterminateEndColor": "#78dce9", + "failedColor": "#bd3c5f", + "failedEndColor": "#472c33", + "passedColor": "#A9DC76", + "passedEndColor": "#58723d" + }, + + "SearchEverywhere": { + "Header.background": "#2d2a2f", + "Tab": { + "selectedForeground": "#fcfcfb", + "selectedBackground": "#2d2a2f" + }, + "SearchField":{ + "background": "#2d2a2f", + "borderColor": "1b1d1e" + }, + "Advertiser.foreground": "#8785a6" + }, + + "SearchMatch": { + "startBackground": "#cca929", + "endBackground": "#cca929" + }, + + "SpeedSearch": { + "foreground": "#fcfcfb", + "borderColor": "#434044", + "background": "#2d2a2f", + "errorForeground": "#ff80a1" + }, + + "StatusBar.borderColor": "#1b1d1e", + + "TabbedPane": { + "underlineColor": "#434044", + "disabledUnderlineColor": "#5e5b6b", + "contentAreaColor": "#1b1d1e" + }, + + "TableHeader.cellBorder": "3,0,3,0", + + "Table.stripeColor": "#2d2a2f", + + "TextArea": { + "background": "#2d2a2f", + "selectionBackground": "#756c7a" + }, + + "TextField": { + "background": "#2d2a2f", + "selectionBackground": "#756c7a" + }, + + "ToggleButton": { + "onForeground": "#fcfcfa", + "onBackground": "#ab9df3", + "offForeground": "#9f9fa6", + "offBackground": "#2d2a2f", + "buttonColor": "#403e42", + "borderColor": "#727072" + }, + + "ToolTip": { + "background": "#2d2a2f", + "Actions.background": "#443f47" + }, + + "ToolWindow": { + "Header": { + "inactiveBackground": "#2d2a2f", + "background": "#2d2a2f", + "borderColor": "#403e42" + }, + + "HeaderTab": { + "selectedBackground": "#727072FF", + "selectedInactiveBackground": "#2d2a2fFF", + "hoverBackground": "#727072FF", + "hoverInactiveBackground": "#2d2a2fFF" + }, + + "Button": { + "hoverBackground": "#403e42", + "selectedBackground": "#403e42", + "selectedForeground": "#727072" + } + }, + + "Tree.rowHeight": 20, + + "ValidationTooltip": { + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b", + "warningBackground": "#735822", + "warningBorderColor": "#403013" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "#1e1c1e", + "unmatchedForeground": "#727072" + }, + "FileHistory.Commit.selectedBranchBackground": "#1e1c1e" + }, + + "WelcomeScreen": { + "Projects.selectionInactiveBackground": "#524e66", + "separatorColor": "#1b1d1e" + } + }, + + "icons": { + "ColorPalette": { + "Actions.Grey": "#727072", + "Actions.Red": "#ff6188", + "Actions.Yellow": "#ffd866", + "Actions.Green": "#a9dc76", + "Actions.Blue": "#78dce8", + "Actions.GreyInline.Dark": "#403e42", + + "Objects.Grey": "#727072", + "Objects.RedStatus": "#F92672", + "Objects.Red": "#C4265E", + "Objects.Pink": "#f98b9e", + "Objects.Yellow": "#ffd866", + "Objects.Green": "#a9dc76", + "Objects.Blue": "#78dce8", + "Objects.Purple": "#ab9df3", + "Objects.BlackText": "#000000ff", + "Objects.YellowDark": "#B3B42B", + "Objects.GreenAndroid": "#78c257", + + "Checkbox.Background.Default.Dark": "#2d2a2f", + "Checkbox.Border.Default.Dark": "#727072", + "Checkbox.Foreground.Selected.Dark": "#fcfcfb", + "Checkbox.Focus.Wide.Dark": "#403e42", + "Checkbox.Focus.Thin.Default.Dark": "#fcfcfb", + "Checkbox.Focus.Thin.Selected.Dark": "#fcfcfb", + "Checkbox.Background.Disabled.Dark": "#2d2a2f", + "Checkbox.Border.Disabled.Dark": "#2d2a2f", + "Checkbox.Foreground.Disabled.Dark": "#fcfcfb" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.LICENSE.txt new file mode 100644 index 00000000..6b023094 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Maciej Turlo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.theme.json new file mode 100644 index 00000000..0cbc6f05 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/Spacegray.theme.json @@ -0,0 +1,264 @@ +{ + "name": "Spacegray", + "dark": true, + "author": "Maciej Turlo", + "editorScheme": "/themes/Spacegray.xml", + "ui": { + "*": { + "background": "#232830", + "foreground": "#A7ADBA", + "infoForeground": "#656A75", + "selectionBackground": "#5a6173", + "selectionForeground": "#C0C5CE", + "selectionInactiveBackground": "#383C4A", + "selectionBackgroundInactive": "#383C4A", + "lightSelectionBackground": "#232830", + "lightSelectionForeground": "#C0C5CE", + "lightSelectionInactiveBackground": "#383C4A", + "lightSelectionInactiveForeground": "#C0C5CE", + "disabledBackground": "#232830", + "inactiveBackground": "#232830", + "disabledForeground": "#656A75", + "disabledText": "#656A75", + "inactiveForeground": "#656A75", + "acceleratorForeground": "#C0C5CE", + "acceleratorSelectionForeground": "#C0C5CE", + "errorForeground": "#bf4c53", + "disabledBorderColor": "#383C4A", + "focusColor": "#656A75", + "focusedBorderColor": "#656A75", + "separatorColor": "#383C4A", + "lineSeparatorColor": "#383C4A", + "modifiedItemForeground": "#BF616A" + }, + "ActionButton": { + "hoverBackground": "#383C4A", + "hoverBorderColor": "#383C4A", + "pressedBackground": "#383C4A", + "pressedBorderColor": "#383C4A" + }, + "Button": { + "arc": 10, + "startBackground": "#383C4A", + "endBackground": "#383C4A", + "startBorderColor": "#5a6173", + "endBorderColor": "#383C4A", + "shadowColor": "#1C1F26", + + "default": { + "startBackground": "#383C4A", + "endBackground": "#5a6173", + "startBorderColor": "#5a6173", + "endBorderColor": "#5a6173", + "shadowColor": "#1C1F26" + } + }, + "Borders": { + "color": "#232830", + "ContrastBorderColor": "#232830" + }, + "ComboBox": { + "nonEditableBackground": "#232830", + "ArrowButton": { + "iconColor": "#A7ADBA", + "disabledIconColor": "#383C4A", + "nonEditableBackground": "#232830" + } + }, + "ComboPopup.border": "1,1,1,1,64647A", + "CompletionPopup": { + "matchForeground": "#BF616A" + }, + "Component": { + "errorFocusColor": "#bf4c53", + "inactiveErrorFocusColor": "#522530", + "warningFocusColor": "#EBCB8B", + "inactiveWarningFocusColor": "#cba869", + "iconColor": "#656A75", + "hoverIconColor": "#A7ADBA" + }, + "Counter": { + "background": "#A7ADBA", + "foreground": "#000000" + }, + "DefaultTabs": { + "underlineColor": "#BF616A", + "inactiveUnderlineColor": "#5a6173" + }, + "DragAndDrop": { + "areaForeground": "#C0C5CE", + "areaBackground": "#BF616A", + "areaBorderColor": "#5a2d2d" + }, + "Editor": { + "shortcutForeground": "#7FA1B3" + }, + "EditorPane.inactiveBackground": "#2b303b", + "EditorTabs": { + "selectedBackground": "#2b303b", + "underlinedTabBackground": "#2b303b", + "underlineHeight": "0" + }, + "Link": { + "activeForeground": "#7FA1B3", + "hoverForeground": "#7FA1B3", + "pressedForeground": "#7FA1B3", + "visitedForeground": "#7FA1B3" + }, + "NavBar.borderColor": "#1C1F26", + "Notification": { + "background": "#2b303b", + "borderColor": "#232830", + "errorForeground": "#C0C5CE", + "errorBackground": "#5a2d2d", + "errorBorderColor": "#5a2d2d", + "MoreButton.innerBorderColor": "#232830", + "ToolWindow": { + "informativeForeground": "#A7ADBA", + "informativeBackground": "#1C1F26", + "informativeBorderColor": "#C0C5CE", + "warningForeground": "#EBCB8B", + "warningBackground": "#232830", + "warningBorderColor": "#cba869", + "errorForeground": "#C0C5CE", + "errorBackground": "#5a2d2d", + "errorBorderColor": "#5a2d2d" + } + }, + "ParameterInfo": { + "background": "#383C4A", + "disabledForeground": "#A7ADBA", + "infoForeground": "#A7ADBA", + "currentOverloadBackground": "#5a6173", + "currentParameterForeground": "#C0C5CE" + }, + "Popup": { + "paintBorder": false, + "Toolbar.borderColor": "#232830", + "Header.activeBackground": "#232830", + "Header.inactiveBackground": "#232830", + "Advertiser": { + "borderColor": "#383C4A", + "borderInsets": "4,8,3,0" + } + }, + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + "ProgressBar": { + "trackColor": "#1C1F26", + "progressColor": "#BF616A", + "indeterminateStartColor": "#BF616A", + "indeterminateEndColor": "#5a2d2d", + "failedColor": "#bf4c53", + "failedEndColor": "#5a2d2d", + "passedColor": "#99BD8E", + "passedEndColor": "#62795b" + }, + "SearchEverywhere": { + "Header.background": "#1C1F26", + "Tab": { + "selectedForeground": "#C0C5CE", + "selectedBackground": "#232830" + }, + "SearchField": { + "borderColor": "#232830" + } + }, + "SearchMatch": { + "startBackground": "#EBCB8B", + "endBackground": "#EBCB8B" + }, + "SpeedSearch": { + "foreground": "#C0C5CE", + "borderColor": "#232830", + "errorForeground": "#bf4c53" + }, + "StatusBar.borderColor": "#232830", + "TabbedPane": { + "underlineColor": "#BF616A", + "disabledUnderlineColor": "#5a6173", + "contentAreaColor": "#232830" + }, + "TableHeader.cellBorder": "3,0,3,0", + "Table.stripeColor": "#232830", + "TextArea": { + "selectionBackground": "#000000" + }, + "TextField": { + "selectionBackground": "#000000" + }, + "ToggleButton": { + "onForeground": "#C0C5CE", + "onBackground": "#232830", + "offForeground": "#5a6173", + "offBackground": "#2b303b" + }, + "ToolWindow": { + "Header": { + "background": "#1C1F26", + "inactiveBackground": "#1C1F26", + "borderColor": "#232830" + }, + "HeaderTab": { + "selectedBackground": "#232830", + "selectedInactiveBackground": "#232830", + "hoverBackground": "#1C1F26", + "hoverInactiveBackground": "#1C1F26" + }, + "Button": { + "hoverBackground": "#1C1F26", + "selectedBackground": "#1C1F26", + "selectedForeground": "#C0C5CE" + } + }, + "Tree.rowHeight": 20, + "ValidationTooltip": { + "errorBackground": "#bf4c53", + "errorBorderColor": "#5a2d2d", + "warningBackground": "#EBCB8B", + "warningBorderColor": "#cba869" + }, + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "#2b303b", + "unmatchedForeground": "#5a6173" + }, + "FileHistory.Commit.selectedBranchBackground": "#232830" + }, + "WelcomeScreen": { + "Projects.selectionInactiveBackground": "#5a6173", + "separatorColor": "#232830" + } + }, + "icons": { + "ColorPalette": { + "Actions.Grey": "#A7ADBA", + "Actions.Red": "#BF616A", + "Actions.Yellow": "#EBCB8B", + "Actions.Green": "#99BD8E", + "Actions.Blue": "#7FA1B3", + "Actions.GreyInline.Dark": "#656A75", + "Objects.Grey": "#A7ADBA", + "Objects.RedStatus": "#BF616A", + "Objects.Red": "#BF616A", + "Objects.Pink": "#b487a1", + "Objects.Yellow": "#EBCB8B", + "Objects.Green": "#99BD8E", + "Objects.Blue": "#7FA1B3", + "Objects.Purple": "#B48EAD", + "Objects.BlackText": "#000000", + "Objects.YellowDark": "#cba869", + "Checkbox.Background.Default.Dark": "#2b303b", + "Checkbox.Border.Default.Dark": "#656A75", + "Checkbox.Foreground.Selected.Dark": "#A7ADBA", + "Checkbox.Focus.Wide.Dark": "#a8555d", + "Checkbox.Focus.Thin.Default.Dark": "#BF616A", + "Checkbox.Focus.Thin.Selected.Dark": "#BF616A", + "Checkbox.Background.Disabled.Dark": "#2b303b", + "Checkbox.Border.Disabled.Dark": "#1C1F26", + "Checkbox.Foreground.Disabled.Dark": "#232830" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme-orange.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme-orange.theme.json new file mode 100644 index 00000000..f432833d --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme-orange.theme.json @@ -0,0 +1,154 @@ +{ + "name": "Arc Theme - Orange", + "dark": false, + "author": "Pavel Zlámal", + + "ui": { + + "*": { + "selectionBackground": "#f57900", + "selectionForeground": "#ffffff", + "selectionInactiveBackground": "#C36200", + "selectionBackgroundInactive": "#c36200", + "background" : "#F5F5F5" + }, + + "Borders": { + "color": "#e1e3e6", + "ContrastBorderColor": "#E1E3E6" + }, + + "Button": { + "shadowColor": "#A6A6A620", + "startBorderColor": "#C4C4C4", + "endBorderColor": "#C4C4C4", + "focusedBorderColor" : "#f57900", + "default": { + "foreground": "#FFFFFF", + "startBackground": "#f57900", + "endBackground": "#f57900", + "startBorderColor": "#f57900", + "endBorderColor": "#f57900", + "shadowColor": "#A6A6A650", + "focusedBorderColor": "#f57900" + } + }, + + "Panel.background": "#F5F5F5", + "Panel.foreground" : "#5c616c", + "Window.border" : "1,1,1,1,#5c616c", + "WelcomeScreen.background" : "#F5F5F5", + "WelcomeScreen.Projects.background" : "#ffffff", + + "List.background" : "#ffffff", + + "MenuBar.foreground" : "#5c616c", + "Menu.background" : "#ffffff", + "Menu.separatorColor" : "#F5F5F5", + "Menu.foreground" : "#5c616c", + "MenuItem.foreground" : "#5c616c", + "MenuItem.background" : "#ffffff", + "PopupMenuSeparator.height" : "1", + + "Tree.background" : "#ffffff", + + "ProgressBar.background" : "#f57900", + "ProgressBar.foreground" : "#f57900", + "ProgressBar.progressColor" : "#f57900", + "ProgressBar.indeterminateStartColor" : "#f57900", + "ProgressBar.indeterminateEndColor" : "#f57900", + + "Component.focusedBorderColor" : "#f57900", + "Component.focusColor" : "#f57900", + "Component.focusWidth" : "1", + "Component.arc" : "4", + "Button.arc" : "4", + + "SidePanel.background" : "#e7e8eb", + + "ParameterInfo.background" : "#fffae3", + "ParameterInfo.currentOverloadBackground" : "#fffae3", + + "List.dropLineColor" : "#f57900", + "List.selectionBackground": "#f57900", + "List.selectionForeground": "#ffffff", + + "Table.background" : "#ffffff", + "Table.selectionBackground" : "#f57900", + "Table.selectionForeground" : "#ffffff", + "Table.lightSelectionBackground" : "#f57900", + "Table.lightSelectionForeground" : "#ffffff", + "Table.focusCellBackground" : "#f57900", + "Table.focusCellForeground" : "#ffffff", + + "TabbedPane.underlineColor" : "#f57900", + "TabbedPane.tabSelectionHeight" : 2, + + "Link.hoverForeground" : "#f57900", + "Link.activeForeground" : "#f57900", + "Link.pressedForeground" : "#f57900", + "Link.visitedForeground" : "#f57900", + "Link.secondaryForeground" : "#f57900", + "Hyperlink.linkColor" : "#f57900", + + "ComboBox.background" : "#ffffff", + "ComboBoxButton.background" : "#ffffff", + "ComboBox.ArrowButton.background" : "#ffffff", + "TextField.background" : "#ffffff", + "TextArea.background" : "#ffffff", + "TextPane.background" : "#ffffff", + "PasswordField.background" : "#ffffff", + + "CompletionPopup.background" : "#ffffff", + + "Plugins.lightSelectionBackground" : "#dddee1", + "Plugins.SearchField.background" : "#ffffff", + "Plugins.background" : "#ffffff", + "Plugins.Button.installBackground" : "#f57900", + "Plugins.Button.installForeground" : "#ffffff", + "Plugins.Button.installBorderColor" : "#f57900", + "Plugins.Button.installFillBackground" : "#f57900", + "Plugins.Button.installFillForeground" : "#ffffff", + "Plugins.Button.updateBackground" : "#f57900", + "Plugins.Button.updateForeground" : "#ffffff", + "Plugins.Button.updateBorderColor" : "#f57900", + "Counter.background" : "#5c616c", + "Counter.foreground" : "#ffffff", + + "SearchEverywhere.SearchField.background" : "#ffffff", + + "ToolTip.background" : "#fffae3", + + "ToolWindow.Header.background" : "#e7e8eb", + "ToolWindow.HeaderTab.selectedBackground" : "#dddee1", + "ToolWindow.HeaderTab.hoverInactiveBackground" : "#dddee1", + "ToolWindow.HeaderTab.selectedInactiveBackground" : "#dddee1", + "ToolWindow.Button.selectedBackground" : "#dddee1", + "ToolWindow.HeaderTab.underlineHeight" : 2, + "ToolWindow.HeaderTab.underlineColor" : "#f57900", + "DefaultTabs.underlineHeight" : 2, + "DefaultTabs.underlineColor" : "#f57900", + "EditorTabs.underlineHeight" : 2, + "EditorTabs.underlineColor" : "#f57900" + + }, + + "icons": { + + "ColorPalette": { + + "Checkbox.Focus.Wide": "#f57900", + "Checkbox.Focus.Thin.Selected": "#f57900", + "Checkbox.Focus.Thin.Default": "#f57900", + "Checkbox.Background.Default": "#ffffff", + "Checkbox.Background.Disabled": "#e1e3e6", + "Checkbox.Background.Selected": "#f57900", + "Checkbox.Foreground.Selected": "#ffffff", + + "Checkbox.Border.Default": "#e1e3e6", + "Checkbox.Border.Selected": "#f57900" + + } + } + +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme.theme.json new file mode 100644 index 00000000..d04664ff --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-theme.theme.json @@ -0,0 +1,154 @@ +{ + "name": "Arc Theme", + "dark": false, + "author": "Pavel Zlámal", + + "ui": { + + "*": { + "selectionBackground": "#2679db", + "selectionForeground": "#ffffff", + "selectionInactiveBackground": "#1e61b0", + "selectionBackgroundInactive": "#1e61b0", + "background" : "#F5F5F5" + }, + + "Borders": { + "color": "#e1e3e6", + "ContrastBorderColor": "#E1E3E6" + }, + + "Button": { + "shadowColor": "#A6A6A620", + "startBorderColor": "#C4C4C4", + "endBorderColor": "#C4C4C4", + "focusedBorderColor" : "#2679db", + "default": { + "foreground": "#FFFFFF", + "startBackground": "#2679db", + "endBackground": "#2679db", + "startBorderColor": "#2679db", + "endBorderColor": "#2679db", + "shadowColor": "#A6A6A650", + "focusedBorderColor": "#2679db" + } + }, + + "Panel.background": "#F5F5F5", + "Panel.foreground" : "#5c616c", + "Window.border" : "1,1,1,1,#5c616c", + "WelcomeScreen.background" : "#F5F5F5", + "WelcomeScreen.Projects.background" : "#ffffff", + + "List.background" : "#ffffff", + + "MenuBar.foreground" : "#5c616c", + "Menu.background" : "#ffffff", + "Menu.separatorColor" : "#F5F5F5", + "Menu.foreground" : "#5c616c", + "MenuItem.foreground" : "#5c616c", + "MenuItem.background" : "#ffffff", + "PopupMenuSeparator.height" : "1", + + "Tree.background" : "#ffffff", + + "ProgressBar.background" : "#2679db", + "ProgressBar.foreground" : "#2679db", + "ProgressBar.progressColor" : "#2679db", + "ProgressBar.indeterminateStartColor" : "#2679db", + "ProgressBar.indeterminateEndColor" : "#2679db", + + "Component.focusedBorderColor" : "#2679db", + "Component.focusColor" : "#2679db", + "Component.focusWidth" : "1", + "Component.arc" : "4", + "Button.arc" : "4", + + "SidePanel.background" : "#e7e8eb", + + "ParameterInfo.background" : "#fffae3", + "ParameterInfo.currentOverloadBackground" : "#fffae3", + + "List.dropLineColor" : "#2679db", + "List.selectionBackground": "#2679db", + "List.selectionForeground": "#ffffff", + + "Table.background" : "#ffffff", + "Table.selectionBackground" : "#2679db", + "Table.selectionForeground" : "#ffffff", + "Table.lightSelectionBackground" : "#2679db", + "Table.lightSelectionForeground" : "#ffffff", + "Table.focusCellBackground" : "#2679db", + "Table.focusCellForeground" : "#ffffff", + + "TabbedPane.underlineColor" : "#2679db", + "TabbedPane.tabSelectionHeight" : 2, + + "Link.hoverForeground" : "#2679db", + "Link.activeForeground" : "#2679db", + "Link.pressedForeground" : "#2679db", + "Link.visitedForeground" : "#2679db", + "Link.secondaryForeground" : "#2679db", + "Hyperlink.linkColor" : "#2679db", + + "ComboBox.background" : "#ffffff", + "ComboBoxButton.background" : "#ffffff", + "ComboBox.ArrowButton.background" : "#ffffff", + "TextField.background" : "#ffffff", + "TextArea.background" : "#ffffff", + "TextPane.background" : "#ffffff", + "PasswordField.background" : "#ffffff", + + "CompletionPopup.background" : "#ffffff", + + "Plugins.lightSelectionBackground" : "#dddee1", + "Plugins.SearchField.background" : "#ffffff", + "Plugins.background" : "#ffffff", + "Plugins.Button.installBackground" : "#2679db", + "Plugins.Button.installForeground" : "#ffffff", + "Plugins.Button.installBorderColor" : "#2679db", + "Plugins.Button.installFillBackground" : "#2679db", + "Plugins.Button.installFillForeground" : "#ffffff", + "Plugins.Button.updateBackground" : "#2679db", + "Plugins.Button.updateForeground" : "#ffffff", + "Plugins.Button.updateBorderColor" : "#2679db", + "Counter.background" : "#5c616c", + "Counter.foreground" : "#ffffff", + + "SearchEverywhere.SearchField.background" : "#ffffff", + + "ToolTip.background" : "#fffae3", + + "ToolWindow.Header.background" : "#e7e8eb", + "ToolWindow.HeaderTab.selectedBackground" : "#dddee1", + "ToolWindow.HeaderTab.hoverInactiveBackground" : "#dddee1", + "ToolWindow.HeaderTab.selectedInactiveBackground" : "#dddee1", + "ToolWindow.Button.selectedBackground" : "#dddee1", + "ToolWindow.HeaderTab.underlineHeight" : 2, + "ToolWindow.HeaderTab.underlineColor" : "#2679db", + "DefaultTabs.underlineHeight" : 2, + "DefaultTabs.underlineColor" : "#2679db", + "EditorTabs.underlineHeight" : 2, + "EditorTabs.underlineColor" : "#2679db" + + }, + + "icons": { + + "ColorPalette": { + + "Checkbox.Focus.Wide": "#2679db", + "Checkbox.Focus.Thin.Selected": "#2679db", + "Checkbox.Focus.Thin.Default": "#2679db", + "Checkbox.Background.Default": "#ffffff", + "Checkbox.Background.Disabled": "#e1e3e6", + "Checkbox.Background.Selected": "#2679db", + "Checkbox.Foreground.Selected": "#ffffff", + + "Checkbox.Border.Default": "#e1e3e6", + "Checkbox.Border.Selected": "#2679db" + + } + } + +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-themes.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-themes.LICENSE.txt new file mode 100644 index 00000000..acbdd265 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/arc-themes.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Pavel Zlámal + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.LICENSE.txt new file mode 100644 index 00000000..000e54e5 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Vincent Parizet + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.theme.json new file mode 100644 index 00000000..895d59fb --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/gruvbox_theme.theme.json @@ -0,0 +1,127 @@ +{ + "name": "gruvbox-theme", + "dark": true, + "author": "Vincent Parizet", + "editorScheme": "/gruvbox_theme.xml", + "ui": { + "*": { + "background": "#282828", + "foreground": "#fbf1c7", + + "infoForeground": "#ebdbb2", + + "lightSelectionBackground": "#3c3836", + "selectionBackground": "#4F4945", + "selectionForeground": "#fbf1c7", + + "selectionBackgroundInactive": "#3c3836", + + "selectedBackground": "#1d2021", + "selectedForeground": "#fbf1c7", + "selectedInactiveBackground": "#3c3836", + "selectedBackgroundInactive": "#3c3836", + + "hoverBackground": "#28282866", + + "borderColor": "#3c3836", + "disabledBorderColor": "#1d2021", + + "separatorColor": "#3c3836" + }, + "ActionButton": { + "hoverBackground": "#504945" + }, + "Button": { + "startBackground": "#282828", + "endBackground": "#282828", + "startBorderColor": "#504945", + "endBorderColor": "#504945", + + "default": { + "foreground": "#fbf1c7", + "startBackground": "#32302F", + "endBackground": "#32302F", + "startBorderColor": "#4F4945", + "endBorderColor": "#4F4945", + "focusedBorderColor": "#282828" + } + }, + "ComboBox": { + "nonEditableBackground": "#282828", + "ArrowButton": { + "iconColor": "#fbf1c7", + "disabledIconColor": "#fbf1c7", + "nonEditableBackground": "#282828" + } + }, + "EditorTabs": { + "selectedBackground": "#3c3836", + "underlineColor": "#83a598", + "inactiveMaskColor": "#28282866" + }, + "ToolWindow": { + "Header": { + "background": "#3c3836", + "inactiveBackground": "#282828" + }, + + "HeaderTab": { + "selectedInactiveBackground": "#1d2021", + "hoverInactiveBackground": "#1d2021" + } + }, + "Table": { + "stripeColor": "#3c3836", + "lightSelectionForeground": "#fbf1c7", + "lightSelectionInactiveForeground":"#a89984", + "lightSelectionBackground": "#504945", + "lightSelectionInactiveBackground":"#282828" + }, + "FileColor": { + "Yellow": "#fabd2f22", + "Green": "#b8bb2622", + "Blue": "#83a59822", + "Violet": "#d3869b22", + "Orange": "#fe801922", + "Rose": "#cc241d22" + }, + "Link": { + "activeForeground": "#83a598", + "hoverForeground": "#83a598", + "pressedForeground": "#83a598", + "visitedForeground": "#83a598" + } + }, + "icons": { + "ColorPalette": { + "Actions.Grey": "#928374", + "Actions.Red": "#fb4934", + "Actions.Yellow": "#fabd2f", + "Actions.Green": "#98971a", + "Actions.Blue": "#458588", + "Actions.GreyInline.Dark": "#fbf1c7", + + "Objects.Grey": "#928374FF", + "Objects.RedStatus": "#fb4934FF", + "Objects.Red": "#fb4934FF", + "Objects.Pink": "#d3869bFF", + "Objects.Yellow": "#fabd2fFF", + "Objects.Green": "#98971aFF", + "Objects.Blue": "#458588FF", + "Objects.Purple": "#b16286FF", + "Objects.BlackText": "#000000FF", + "Objects.YellowDark": "#d79921FF", + "Objects.GreenAndroid": "#b8bb26FF", + + "Checkbox.Background.Default.Dark": "#282828", + "Checkbox.Border.Default.Dark": "#fbf1c7", + "Checkbox.Foreground.Selected.Dark": "#fbf1c7", + "Checkbox.Focus.Wide.Dark": "#458588", + "Checkbox.Focus.Thin.Default.Dark": "#458588", + "Checkbox.Focus.Thin.Selected.Dark": "#458588", + "Checkbox.Background.Disabled.Dark": "#282828", + "Checkbox.Border.Disabled.Dark": "#a89984", + "Checkbox.Foreground.Disabled.Dark": "#a89984" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.LICENSE.txt new file mode 100644 index 00000000..5d77c20f --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Mark Skelton + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.theme.json new file mode 100644 index 00000000..c3a1b7c9 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/one_dark.theme.json @@ -0,0 +1,370 @@ + +{ + "name": "One Dark", + "dark": true, + "author": "Mark Skelton", + "editorScheme": "/themes/one_dark.xml", + "ui": { + "*": { + "background": "#21252b", + "foreground": "#abb2bf", + + "infoForeground": "#5c6370", + + "selectionBackground": "#323844", + "selectionInactiveBackground": "#2c313a", + "selectionBackgroundInactive": "#2c313a", + "selectionForeground": "#d7dae0", + + "disabledBackground": "#21252b", + "inactiveBackground": "#21252b", + + "acceleratorForeground": "#E6E6E6", + "acceleratorSelectionForeground": "#E6E6E6", + + "errorForeground": "#cd3359", + + "borderColor": "#46494f", + "disabledBorderColor": "#2d3137", + "focusColor": "#21252b", + "focusedBorderColor": "#568AF2", + + "separatorColor": "#32363c" + }, + + "ActionButton": { + "hoverBackground": "#3d424b", + "hoverBorderColor": "#3d424b", + "pressedBackground": "#333841", + "pressedBorderColor": "#333841" + }, + + "Button": { + "foreground": "#a0a7b4", + "startBackground": "#3d424b", + "endBackground": "#3d424b", + "startBorderColor": "#464c55", + "endBorderColor": "#464c55", + "shadowColor": "#21252b", + "focusedBorderColor": "#646a73", + + "default": { + "foreground": "#ffffff", + "startBackground": "#568AF2", + "endBackground": "#568AF2", + "startBorderColor": "#568AF2", + "endBorderColor": "#568AF2", + "focusedBorderColor": "#4269b9", + "focusColor": "#4269b9" + } + }, + + "Borders": { + "color": "#333841", + "ContrastBorderColor": "#333841" + }, + + "ComboBox": { + "nonEditableBackground": "#333841", + "background": "#333841", + "ArrowButton": { + "iconColor": "#abb2bf", + "disabledIconColor": "#2c313a", + "nonEditableBackground": "#333841" + } + }, + + "ComboPopup.border": "1,1,1,1,2d3137", + + "CompletionPopup": { + "matchForeground": "#568AF2" + }, + + "Component": { + "errorFocusColor": "#802d43", + "inactiveErrorFocusColor": "#522530", + "warningFocusColor": "#8c812b", + "inactiveWarningFocusColor": "#47441f" + }, + + "Counter": { + "background": "#3d424b", + "foreground": "#abb2bf" + }, + + "DebuggerPopup.borderColor": "#46494f", + + "DefaultTabs": { + "underlineColor": "#568AF2", + "inactiveUnderlineColor": "#4269b9", + "hoverBackground": "#323844" + }, + + "DragAndDrop": { + "areaForeground": "#abb2bf", + "areaBackground": "#323844", + "areaBorderColor": "#46494f" + }, + + "Editor": { + "background": "#282c34", + "foreground": "#abb2bf", + "shortcutForeground": "#568AF2" + }, + + "EditorPane.inactiveBackground": "#282c34", + + "EditorTabs": { + "underlinedTabBackground": "#3d424b" + }, + + "FileColor": { + "Yellow": "#563b2255", + "Green": "#334e1f55", + "Blue": "#28436d55", + "Violet": "#37115655", + "Orange": "#562b2255", + "Rose": "#561a2b55" + }, + + "Label": { + "infoForeground": "#7e8491" + }, + + "Link": { + "activeForeground": "#6494ed", + "hoverForeground": "#6494ed", + "pressedForeground": "#6494ed", + "visitedForeground": "#6494ed" + }, + + "MenuBar.borderColor": "#46494f", + "Menu.borderColor": "#2d3137", + + "NavBar.borderColor": "#46494f", + + "Notification": { + "background": "#3d424b", + "borderColor": "#53565f", + + "errorForeground": "#abb2bf", + "errorBackground": "#4d232e", + "errorBorderColor": "#692746", + + "MoreButton": { + "background": "#2f343c", + "innerBorderColor": "#53565f" + }, + + "ToolWindow": { + "informativeForeground": "#abb2bf", + "informativeBackground": "#2e4280", + "informativeBorderColor": "#252555", + + "warningForeground": "#abb2bf", + "warningBackground": "#735822", + "warningBorderColor": "#5f4422", + + "errorForeground": "#abb2bf", + "errorBackground": "#802d43", + "errorBorderColor": "#552029" + } + }, + + "ParameterInfo": { + "background": "#3d424b", + "foreground": "#abb2bf", + "infoForeground": "#5c6370", + "currentParameterForeground": "#ffffff" + }, + + "Plugins": { + "disabledForeground": "#5c6370", + "lightSelectionBackground": "#323844", + "tagBackground": "#414855", + "tagForeground": "#abb2bf", + + "Button": { + "installForeground": "#568AF2", + "installBorderColor":"#568AF2", + "installFillForeground": "#ffffff", + "installFillBackground": "#568AF2", + "updateForeground":"#ffffff", + "updateBackground": "#568AF2", + "updateBorderColor": "#568AF2" + }, + + "SearchField": { + "background": "#282c34", + "borderColor": "#1b1d21" + }, + + "SectionHeader.background": "#414855", + + "Tab": { + "selectedForeground": "#abb2bf", + "selectedBackground": "#323844", + "hoverBackground": "#323844" + } + }, + + "Popup": { + "paintBorder": false, + "Toolbar.borderColor": "#3d424b", + "Header.activeBackground": "#414855", + "Header.inactiveBackground": "#2c313a", + "Advertiser": { + "foreground": "#5c6370", + "borderColor": "#2d3137" + } + }, + + "ProgressBar": { + "trackColor": "#1D1D26", + "progressColor": "#568AF2", + "indeterminateStartColor": "#568AF2", + "indeterminateEndColor": "#313469", + "failedColor": "#bd3c5f", + "failedEndColor": "#472c33", + "passedColor": "#239E62", + "passedEndColor": "#2b4242" + }, + + "SearchEverywhere": { + "Advertiser.foreground": "#5c6370", + "Header.background": "#21252b", + + "SearchField":{ + "background": "#282c34", + "borderColor": "#1b1d21" + }, + + "Tab": { + "selectedForeground": "#abb2bf", + "selectedBackground": "#323844" + } + }, + + "SearchMatch": { + "startBackground": "#568AF2", + "endBackground": "#568AF2" + }, + + "SpeedSearch": { + "foreground": "#abb2bf", + "borderColor": "#3d424b", + "background": "#3d424b", + "errorForeground": "#e06c75" + }, + + "TabbedPane": { + "underlineColor": "#568AF2", + "contentAreaColor": "#323844", + "hoverColor": "#323844" + }, + + "Table": { + "background": "#282c34", + "stripeColor": "#2c313a", + "selectionForeground": "#ffffff", + "foreground": "#abb2bf", + "dropLineColor": "#abb2bf", + "focusCellForeground": "#abb2bf", + "gridColor": "#5c6370", + "lightSelectionInactiveForeground": "#abb2bf", + "lightSelectionForeground": "#abb2bf", + "selectionBackground": "#3d424b", + "selectionInactiveForeground": "#abb2bf", + "lightSelectionBackground": "#414855", + "lightSelectionInactiveBackground": "#323844" + }, + + "TextArea": { + "background": "#282c34", + "selectionBackground": "#414855" + }, + + "TextField": { + "background": "#282c34", + "selectionBackground": "#414855" + }, + + "ToggleButton": { + "onForeground": "#ffffff", + "onBackground": "#568AF2", + "offForeground": "#9f9fa6", + "offBackground": "#3d424b", + "borderColor": "#3d424b", + "buttonColor": "#5c6370" + }, + + "ToolTip": { + "background": "#3d424b" + }, + + "ToolWindow": { + "Button": { + "hoverBackground": "#323844", + "selectedBackground": "#3d424b", + "selectedForeground": "#abb2bf" + }, + + "Header": { + "background": "#414855", + "inactiveBackground": "#323844", + "borderColor": "#21252b" + }, + + "HeaderTab": { + "hoverBackground": "#323844", + "hoverInactiveBackground": "#3d424b", + "selectedBackground": "#323844", + "selectedInactiveBackground": "#3d424b" + } + }, + + "Tree": { + "modifiedItemForeground": "#568AF2", + "rowHeight": 20 + }, + + "ValidationTooltip": { + "errorBackground": "#802d43", + "errorBorderColor": "#802d43", + "warningBackground": "#735822", + "warningBorderColor": "#5f4422" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "#21252b", + "unmatchedForeground": "#5c6370" + }, + + "RefLabel": { + "backgroundBrightness": 0.3, + "backgroundBase": "#5c6370", + "foreground": "#abb2bf" + } + }, + + "WelcomeScreen": { + "Projects.selectionInactiveBackground": "#2c313a", + "separatorColor": "#2c313a" + } + }, + + "icons": { + "ColorPalette": { + "Checkbox.Background.Default.Dark": "#282c34", + "Checkbox.Border.Default.Dark": "#414855", + "Checkbox.Foreground.Selected.Dark": "#abb2bf", + "Checkbox.Focus.Wide.Dark": "#568AF2", + "Checkbox.Focus.Thin.Default.Dark": "#568AF2", + "Checkbox.Focus.Thin.Selected.Dark": "#568AF2", + "Checkbox.Background.Disabled.Dark": "#21252b", + "Checkbox.Border.Disabled.Dark": "#2c313a", + "Checkbox.Foreground.Disabled.Dark": "#5c6370" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.LICENSE.txt new file mode 100644 index 00000000..68011d97 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.LICENSE.txt @@ -0,0 +1,7 @@ +Copyright 2019 Tyler B. Thrailkill + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.theme.json new file mode 100644 index 00000000..0a43295f --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_dark_theme.theme.json @@ -0,0 +1,433 @@ +{ + "name": "Solarized Dark", + "dark": true, + "author": "Tyler Thrailkill", + "editorScheme": "/themes/solarizedDark.xml", + "colors": { + "background": "#002b36", + "backgroundEmpty": "#00212c", + "backgroundHighlights": "#073642", + "backgroundHighlightsShading": "#073642ab", + "primaryText": "#839496", + "inverseBackground": "#fdf6e3", + "inverseBackgroundHighlights": "#eee8d5", + "inversePrimaryText": "#657b83", + "inverseSecondaryText": "#93a1a1", + "inverseEmphasizedContent": "#586e75", + "secondaryText": "#586e75", + "backgroundHighlightsShade1": "#074855", + "backgroundHighlightsShade2": "#0A677A", + "backgroundHighlightsShade2Shading": "#0A677Ac3", + "emphasizedContent": "#93a1a1", + "yellow": "#074855", + "green": "#213d37", + "blue": "#2aa198", + "violet": "#6c71c4", + "orange": "#cb4b16", + "rose": "#dc322f", + "maskColor": "#0d0d0d" + }, + "ui": { + "*": { + "background": "backgroundHighlights", + "foreground": "primaryText", + + "infoForeground": "secondaryText", + + "selectionBackground": "inverseEmphasizedContent", + "selectionForeground": "inverseBackground", + "selectionInactiveBackground": "backgroundHighlightsShade1", + "selectionBackgroundInactive": "backgroundHighlightsShade1", + + "lightSelectionBackground": "backgroundHighlightsShade1", + "lightSelectionForeground": "primaryText", + "lightSelectionInactiveBackground": "backgroundHighlights", + "lightSelectionInactiveForeground":"primaryText", + + "disabledBackground": "background", + "inactiveBackground": "background", + + "disabledForeground": "secondaryText", + "disabledText": "secondaryText", + "inactiveForeground": "secondaryText", + + "acceleratorForeground": "primaryText", + "acceleratorSelectionForeground": "primaryText", + + "errorForeground": "#dd3962", + + "borderColor": "emphasizedContent", + "disabledBorderColor": "secondaryText", + + "focusColor": "#778282", + "focusedBorderColor": "emphasizedContent", + + "separatorForeground": "secondaryText", + "separatorColor": "backgroundHighlightsShade1", + "lineSeparatorColor": "#55506b", + + "modifiedItemForeground": "#b279f2" + }, + + "//": "affects buttons like the 'Play' or 'Debug' buttons", + "ActionButton": { + "hoverBackground": "backgroundHighlightsShade1", + "hoverBorderColor": "backgroundHighlightsShade1", + "pressedBackground": "backgroundHighlightsShade1", + "pressedBorderColor": "backgroundHighlightsShade1" + }, + + "Button": { + "startBackground": "backgroundHighlightsShade1", + "endBackground": "backgroundHighlightsShade1", + "startBorderColor": "backgroundHighlights", + "endBorderColor": "backgroundHighlights", + "shadowColor": "background", + + "default": { + "foreground": "inverseBackground", + "startBackground": "backgroundHighlightsShade2", + "endBackground": "backgroundHighlightsShade2", + "startBorderColor": "backgroundHighlightsShade2Shading", + "endBorderColor": "backgroundHighlightsShade2Shading", + "focusedBorderColor": "primaryText", + "focusColor": "#778282", + "shadowColor": "background" + } + }, + + "Borders": { + "color": "backgroundHighlights", + "ContrastBorderColor": "background" + }, + + "CheckBox": { + "background": "background" + }, + + "COMMENT:": "you can put comments in like this", + "ComboBox": { + "nonEditableBackground": "backgroundHighlightsShade1", + "background": "backgroundHighlightsShading", + "ArrowButton": { + "iconColor": "emphasizedContent", + "disabledIconColor": "primaryText", + "nonEditableBackground": "backgroundHighlightsShade1" + } + }, + + "ComboPopup.border": "1,1,1,1,64647A", + + "CompletionPopup": { + "matchForeground": "#ED94FF", + "matchSelectionForeground": "#ED94FF" + }, + + "Component": { + "errorFocusColor": "#993750", + "inactiveErrorFocusColor": "#522530", + "warningFocusColor": "#8c812b", + "inactiveWarningFocusColor": "#47441f", + "iconColor": "#77728fCC", + "hoverIconColor": "#8b85a6" + }, + + "Counter": { + "background": "#FFFFFF80", + "foreground": "#000000" + }, + + "DebuggerPopup.borderColor": "#524e66", + + "DefaultTabs": { + "background": "backgroundHighlightsShade1", + "borderColor": "backgroundHighlightsShade1", + "hoverBackground": "backgroundHighlightsShade2", + "inactiveUnderlineColor": "backgroundHighlightsShade2", + "underlineColor": "backgroundHighlightsShade2", + "underlinedTabBackground": "backgroundHighlights", + "underlinedTabForeground": "primaryText", + "underlineHeight": 5 + }, + + "DragAndDrop": { + "areaForeground": "primaryText", + "areaBackground": "#702F91", + "areaBorderColor": "#343142" + }, + + "Editor": { + "background": "background", + "foreground": "emphasizedContent", + "shortcutForeground": "#2aa198" + }, + + "EditorPane.inactiveBackground": "background", + + "EditorTabs": { + "borderColor": "background", + "underlineColor": "backgroundHighlights", + "inactiveUnderlineColor": "background", + "background": "backgroundHighlightsShade1", + "underlinedTabBackground": "background", + "hoverMaskColor": "backgroundHighlightsShade2", + "underlinedTabForeground": "primaryText", + "inactiveColoredFileBackground": "backgroundHighlightsShade1", + "underlineHeight": 0 + }, + + "FileColor": { + "Yellow": "yellow", + "Green": "green", + "Blue": "blue", + "Violet": "violet", + "Orange": "orange", + "Rose": "rose" + }, + + "InplaceRefactoringPopup.borderColor": "#474359", + + "Link": { + "activeForeground": "#7094ff", + "hoverForeground": "#7094FF", + "pressedForeground": "#7094FF", + "visitedForeground": "#7094FF" + }, + + "NavBar.borderColor": "#1a1721", + + "Notification": { + "background": "backgroundHighlightsShade1", + "borderColor": "backgroundHighlights", + + "errorForeground": "primaryText", + "errorBackground": "#4d232e", + "errorBorderColor": "#802e44", + + "MoreButton.innerBorderColor": "#1a1721", + + "ToolWindow": { + "informativeForeground": "primaryText", + "informativeBackground": "#2e4280", + "informativeBorderColor": "#17254d", + + "warningForeground": "primaryText", + "warningBackground": "#735822", + "warningBorderColor": "#403013", + + "errorForeground": "primaryText", + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b" + } + }, + + "Panel": { + "background": "background" + }, + + "ParameterInfo": { + "background": "backgroundHighlightsShade1", + "foreground": "primaryText", + "infoForeground": "ababb3", + "currentOverloadBackground": "#6A6173", + "currentParameterForeground": "primaryText" + }, + + "Plugins": { + "SearchField.borderColor": "emphasizedContent", + "SearchField.background": "background", + "SectionHeader.background": "backgroundHighlights", + "tagBackground": "backgroundHighlightsShade1", + "tagForeground": "primaryText", + + "Button": { + "installForeground": "primaryText", + "installBorderColor":"backgroundHighlightsShade1", + "installFillForeground": "primaryText", + "installFillBackground": "#713a91", + "updateForeground":"primaryText", + "updateBackground": "backgroundHighlightsShade1", + "updateBorderColor": "secondaryText" + } + }, + + "Popup": { + "paintBorder": true, + "borderColor": "backgroundHighlightsShade1", + "inactiveBorderColor": "backgroundHighlights", + "Toolbar.borderColor": "#1a1721", + "Header.activeBackground": "backgroundHighlightsShade1", + "Header.inactiveBackground": "backgroundHighlightsShade1", + "Advertiser": { + "foreground": "secondaryText", + "borderColor": "backgroundHighlightsShade1", + "borderInsets": "4,8,3,0" + } + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + + "ProgressBar": { + "trackColor": "#1D1D26", + "progressColor": "#268bd2", + "indeterminateStartColor": "#268bd2", + "indeterminateEndColor": "#2aa198", + "failedColor": "#bd3c5f", + "failedEndColor": "#472c33", + "passedColor": "#239E62", + "passedEndColor": "#2b4242" + }, + + "SearchEverywhere": { + "Header.background": "backgroundHighlights", + "Tab": { + "selectedForeground": "primaryText", + "selectedBackground": "backgroundHighlightsShade1" + }, + "SearchField":{ + "background": "background", + "borderColor": "#1a1721" + }, + "Advertiser.foreground": "#8785a6" + }, + + "SearchMatch": { + "startBackground": "#cca929", + "endBackground": "#cca929" + }, + + "SpeedSearch": { + "foreground": "primaryText", + "borderColor": "backgroundHighlights", + "background": "background", + "errorForeground": "#ff80a1" + }, + + "StatusBar.borderColor": "background", + + "TabbedPane": { + "underlineColor": "backgroundHighlightsShade2", + "disabledUnderlineColor": "backgroundHighlightsShade2", + "contentAreaColor": "backgroundHighlights", + "background": "backgroundHighlightsShade1", + "foreground": "primaryText", + "disabledForeground": "primaryText", + "focusColor": "backgroundHighlights", + "hoverColor": "backgroundHighlightsShade2" + }, + + "TableHeader.cellBorder": "3,0,3,0", + + "Table.stripeColor": "backgroundHighlightsShade1", + + "TextArea": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade2" + }, + + "TextField": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade2" + }, + + "ToggleButton": { + "onForeground": "primaryText", + "onBackground": "#543073", + "offForeground": "#9f9fa6", + "offBackground": "background", + "buttonColor": "#666380", + "borderColor": "#666380" + }, + + "ToolTip": { + "background": "backgroundHighlightsShade1", + "Actions.background": "#323245" + }, + + "ToolWindow": { + "Header": { + "background": "backgroundHighlightsShade1", + "inactiveBackground": "backgroundHighlights", + "borderColor": "backgroundHighlights" + }, + + "HeaderTab": { + "selectedBackground": "#0a0a0a66", + "selectedInactiveBackground": "#0a0a0a4D", + "hoverBackground": "#0a0a0a66", + "hoverInactiveBackground": "#0a0a0a66" + }, + + "Button": { + "hoverBackground": "backgroundHighlightsShade1", + "selectedBackground": "backgroundHighlightsShade1", + "selectedForeground": "primaryText" + } + }, + + "Tree": { + "rowHeight": 20, + "background": "backgroundEmpty" + }, + + "ValidationTooltip": { + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b", + "warningBackground": "#735822", + "warningBorderColor": "#403013" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "green", + "unmatchedForeground": "#6d6a80" + }, + "FileHistory.Commit.selectedBranchBackground": "#202340" + }, + + "WelcomeScreen": { + "comments": "#713a91", + "separatorColor": "backgroundHighlights", + "Projects": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade1", + "selectionInactiveBackground": "backgroundHighlightsShade1" + } + } + }, + "icons": { + "ColorPalette": { + "Actions.Grey": "#a4a1b3", + "Actions.Red": "#cb4b16", + "Actions.Yellow": "#b58900", + "Actions.Green": "#5c65b8", + "Actions.Blue": "#268bd2", + "Actions.GreyInline.Dark": "#9f99bfb3", + + "Objects.Grey": "#9790ad", + "Objects.RedStatus": "#dd3962", + "Objects.Red": "#c63a5d", + "Objects.Pink": "#f98b9e", + "Objects.Yellow": "#caba2d", + "Objects.Green": "#239e62", + "Objects.Blue": "#598bff", + "Objects.Purple": "#af71e0", + "Objects.BlackText": "#000000ff", + "Objects.YellowDark": "#988c26", + "Objects.GreenAndroid": "#78c257", + + "Checkbox.Background.Default.Dark": "backgroundHighlightsShade1", + "Checkbox.Border.Default.Dark": "secondaryText", + "Checkbox.Foreground.Selected.Dark": "#a4a1b3", + "Checkbox.Focus.Wide.Dark": "emphasizedContent", + "Checkbox.Focus.Thin.Default.Dark": "primaryText", + "Checkbox.Focus.Thin.Selected.Dark": "primaryText", + "Checkbox.Background.Disabled.Dark": "backgroundHighlights", + "Checkbox.Border.Disabled.Dark": "backgroundHighlightsShade1", + "Checkbox.Foreground.Disabled.Dark": "secondaryText" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.LICENSE.txt b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.LICENSE.txt new file mode 100644 index 00000000..68011d97 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.LICENSE.txt @@ -0,0 +1,7 @@ +Copyright 2019 Tyler B. Thrailkill + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.theme.json b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.theme.json new file mode 100644 index 00000000..157d73d1 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/solarized_light_theme.theme.json @@ -0,0 +1,433 @@ +{ + "name": "Solarized Light", + "dark": false, + "author": "Tyler Thrailkill", + "editorScheme": "/themes/solarizedLight.xml", + "colors": { + "background": "#fdf6e3", + "backgroundEmpty": "#eee8d4", + "backgroundHighlights": "#eee8d5", + "backgroundHighlightsShading": "#073642ab", + "primaryText": "#657b83", + "inverseBackground": "#002b36", + "inverseBackgroundHighlights": "#073642", + "inversePrimaryText": "#839496", + "inverseSecondaryText": "#586e75", + "inverseEmphasizedContent": "#93a1a1", + "secondaryText": "#93a1a1", + "backgroundHighlightsShade1": "#cdc8b7", + "backgroundHighlightsShade2": "#A4A092", + "backgroundHighlightsShade2Shading": "#0A677Ac3", + "emphasizedContent": "#586e75", + "yellow": "#b5890066", + "green": "#baebda", + "blue": "#2aa198", + "violet": "#6c71c4", + "orange": "#cb4b16", + "rose": "#dc322f", + "maskColor": "#b58900" + }, + "ui": { + "*": { + "background": "backgroundHighlights", + "foreground": "primaryText", + + "infoForeground": "secondaryText", + + "selectionBackground": "inverseEmphasizedContent", + "selectionForeground": "inverseBackground", + "selectionInactiveBackground": "backgroundHighlightsShade1", + "selectionBackgroundInactive": "backgroundHighlightsShade1", + + "lightSelectionBackground": "backgroundHighlightsShade1", + "lightSelectionForeground": "primaryText", + "lightSelectionInactiveBackground": "backgroundHighlights", + "lightSelectionInactiveForeground":"primaryText", + + "disabledBackground": "background", + "inactiveBackground": "background", + + "disabledForeground": "secondaryText", + "disabledText": "secondaryText", + "inactiveForeground": "secondaryText", + + "acceleratorForeground": "primaryText", + "acceleratorSelectionForeground": "primaryText", + + "errorForeground": "#dd3962", + + "borderColor": "emphasizedContent", + "disabledBorderColor": "secondaryText", + + "focusColor": "#778282", + "focusedBorderColor": "emphasizedContent", + + "separatorForeground": "secondaryText", + "separatorColor": "backgroundHighlightsShade1", + "lineSeparatorColor": "#55506b", + + "modifiedItemForeground": "#b279f2" + }, + + "//": "affects buttons like the 'Play' or 'Debug' buttons", + "ActionButton": { + "hoverBackground": "backgroundHighlightsShade1", + "hoverBorderColor": "backgroundHighlightsShade1", + "pressedBackground": "backgroundHighlightsShade1", + "pressedBorderColor": "backgroundHighlightsShade1" + }, + + "Button": { + "startBackground": "backgroundHighlightsShade1", + "endBackground": "backgroundHighlightsShade1", + "startBorderColor": "backgroundHighlights", + "endBorderColor": "backgroundHighlights", + "shadowColor": "background", + + "default": { + "foreground": "inverseBackground", + "startBackground": "backgroundHighlightsShade2", + "endBackground": "backgroundHighlightsShade2", + "startBorderColor": "backgroundHighlightsShade2Shading", + "endBorderColor": "backgroundHighlightsShade2Shading", + "focusedBorderColor": "primaryText", + "focusColor": "#778282", + "shadowColor": "background" + } + }, + + "Borders": { + "color": "backgroundHighlights", + "ContrastBorderColor": "background" + }, + + "CheckBox": { + "background": "background" + }, + + "COMMENT:": "you can put comments in like this", + "ComboBox": { + "nonEditableBackground": "backgroundHighlightsShade1", + "background": "backgroundHighlightsShading", + "ArrowButton": { + "iconColor": "emphasizedContent", + "disabledIconColor": "primaryText", + "nonEditableBackground": "backgroundHighlightsShade1" + } + }, + + "ComboPopup.border": "1,1,1,1,64647A", + + "CompletionPopup": { + "matchForeground": "#ED94FF", + "matchSelectionForeground": "#ED94FF" + }, + + "Component": { + "errorFocusColor": "#993750", + "inactiveErrorFocusColor": "#522530", + "warningFocusColor": "#8c812b", + "inactiveWarningFocusColor": "#47441f", + "iconColor": "#77728fCC", + "hoverIconColor": "#8b85a6" + }, + + "Counter": { + "background": "#FFFFFF80", + "foreground": "#000000" + }, + + "DebuggerPopup.borderColor": "#524e66", + + "DefaultTabs": { + "background": "backgroundHighlightsShade1", + "borderColor": "backgroundHighlightsShade1", + "hoverBackground": "backgroundHighlightsShade2", + "inactiveUnderlineColor": "backgroundHighlightsShade2", + "underlineColor": "backgroundHighlightsShade2", + "underlinedTabBackground": "backgroundHighlights", + "underlinedTabForeground": "primaryText", + "underlineHeight": 5 + }, + + "DragAndDrop": { + "areaForeground": "primaryText", + "areaBackground": "#702F91", + "areaBorderColor": "#343142" + }, + + "Editor": { + "background": "background", + "foreground": "emphasizedContent", + "shortcutForeground": "#2aa198" + }, + + "EditorPane.inactiveBackground": "background", + + "EditorTabs": { + "borderColor": "background", + "underlineColor": "backgroundHighlights", + "inactiveUnderlineColor": "background", + "background": "backgroundHighlightsShade1", + "underlinedTabBackground": "background", + "hoverMaskColor": "backgroundHighlightsShade2", + "underlinedTabForeground": "primaryText", + "inactiveColoredFileBackground": "backgroundHighlightsShade1", + "underlineHeight": 0 + }, + + "FileColor": { + "Yellow": "yellow", + "Green": "green", + "Blue": "blue", + "Violet": "violet", + "Orange": "orange", + "Rose": "rose" + }, + + "InplaceRefactoringPopup.borderColor": "#474359", + + "Link": { + "activeForeground": "#7094ff", + "hoverForeground": "#7094FF", + "pressedForeground": "#7094FF", + "visitedForeground": "#7094FF" + }, + + "NavBar.borderColor": "#1a1721", + + "Notification": { + "background": "backgroundHighlightsShade1", + "borderColor": "backgroundHighlights", + + "errorForeground": "primaryText", + "errorBackground": "#4d232e", + "errorBorderColor": "#802e44", + + "MoreButton.innerBorderColor": "#1a1721", + + "ToolWindow": { + "informativeForeground": "primaryText", + "informativeBackground": "#2e4280", + "informativeBorderColor": "#17254d", + + "warningForeground": "primaryText", + "warningBackground": "#735822", + "warningBorderColor": "#403013", + + "errorForeground": "primaryText", + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b" + } + }, + + "Panel": { + "background": "background" + }, + + "ParameterInfo": { + "background": "backgroundHighlightsShade1", + "foreground": "primaryText", + "infoForeground": "ababb3", + "currentOverloadBackground": "#6A6173", + "currentParameterForeground": "primaryText" + }, + + "Plugins": { + "SearchField.borderColor": "emphasizedContent", + "SearchField.background": "background", + "SectionHeader.background": "backgroundHighlights", + "tagBackground": "backgroundHighlightsShade1", + "tagForeground": "primaryText", + + "Button": { + "installForeground": "primaryText", + "installBorderColor":"backgroundHighlightsShade1", + "installFillForeground": "primaryText", + "installFillBackground": "#713a91", + "updateForeground":"primaryText", + "updateBackground": "backgroundHighlightsShade1", + "updateBorderColor": "secondaryText" + } + }, + + "Popup": { + "paintBorder": true, + "borderColor": "backgroundHighlightsShade1", + "inactiveBorderColor": "backgroundHighlights", + "Toolbar.borderColor": "#1a1721", + "Header.activeBackground": "backgroundHighlightsShade1", + "Header.inactiveBackground": "backgroundHighlightsShade1", + "Advertiser": { + "foreground": "secondaryText", + "borderColor": "backgroundHighlightsShade1", + "borderInsets": "4,8,3,0" + } + }, + + "PopupMenu": { + "borderWidth": 1, + "borderInsets": "4,1,4,1" + }, + + "ProgressBar": { + "trackColor": "#1D1D26", + "progressColor": "#268bd2", + "indeterminateStartColor": "#268bd2", + "indeterminateEndColor": "#2aa198", + "failedColor": "#bd3c5f", + "failedEndColor": "#472c33", + "passedColor": "#239E62", + "passedEndColor": "#2b4242" + }, + + "SearchEverywhere": { + "Header.background": "backgroundHighlights", + "Tab": { + "selectedForeground": "primaryText", + "selectedBackground": "backgroundHighlightsShade1" + }, + "SearchField":{ + "background": "background", + "borderColor": "#1a1721" + }, + "Advertiser.foreground": "#8785a6" + }, + + "SearchMatch": { + "startBackground": "#cca929", + "endBackground": "#cca929" + }, + + "SpeedSearch": { + "foreground": "primaryText", + "borderColor": "backgroundHighlights", + "background": "background", + "errorForeground": "#ff80a1" + }, + + "StatusBar.borderColor": "background", + + "TabbedPane": { + "underlineColor": "backgroundHighlightsShade2", + "disabledUnderlineColor": "backgroundHighlightsShade2", + "contentAreaColor": "backgroundHighlights", + "background": "backgroundHighlightsShade1", + "foreground": "primaryText", + "disabledForeground": "primaryText", + "focusColor": "backgroundHighlights", + "hoverColor": "backgroundHighlightsShade2" + }, + + "TableHeader.cellBorder": "3,0,3,0", + + "Table.stripeColor": "backgroundHighlightsShade1", + + "TextArea": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade2" + }, + + "TextField": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade2" + }, + + "ToggleButton": { + "onForeground": "primaryText", + "onBackground": "#543073", + "offForeground": "#9f9fa6", + "offBackground": "background", + "buttonColor": "#666380", + "borderColor": "#666380" + }, + + "ToolTip": { + "background": "backgroundHighlightsShade1", + "Actions.background": "#323245" + }, + + "ToolWindow": { + "Header": { + "background": "backgroundHighlightsShade1", + "inactiveBackground": "backgroundHighlights", + "borderColor": "backgroundHighlights" + }, + + "HeaderTab": { + "selectedBackground": "#0a0a0a66", + "selectedInactiveBackground": "#0a0a0a4D", + "hoverBackground": "#0a0a0a16", + "hoverInactiveBackground": "#0a0a0a16" + }, + + "Button": { + "hoverBackground": "backgroundHighlightsShade1", + "selectedBackground": "backgroundHighlightsShade1", + "selectedForeground": "primaryText" + } + }, + + "Tree": { + "rowHeight": 20, + "background": "backgroundEmpty" + }, + + "ValidationTooltip": { + "errorBackground": "#802d43", + "errorBorderColor": "#4d1c2b", + "warningBackground": "#735822", + "warningBorderColor": "#403013" + }, + + "VersionControl": { + "Log.Commit": { + "currentBranchBackground": "green", + "unmatchedForeground": "#6d6a80" + }, + "FileHistory.Commit.selectedBranchBackground": "#202340" + }, + + "WelcomeScreen": { + "comments": "#713a91", + "separatorColor": "backgroundHighlights", + "Projects": { + "background": "backgroundHighlights", + "selectionBackground": "backgroundHighlightsShade1", + "selectionInactiveBackground": "backgroundHighlightsShade1" + } + } + }, + "icons": { + "ColorPalette": { + "Actions.Grey": "#a4a1b3", + "Actions.Red": "#cb4b16", + "Actions.Yellow": "#b58900", + "Actions.Green": "#859900", + "Actions.Blue": "#268bd2", + "Actions.GreyInline.Dark": "#9f99bfb3", + + "Objects.Grey": "#9790ad", + "Objects.RedStatus": "#dd3962", + "Objects.Red": "#c63a5d", + "Objects.Pink": "#f98b9e", + "Objects.Yellow": "#caba2d", + "Objects.Green": "#239e62", + "Objects.Blue": "#598bff", + "Objects.Purple": "#af71e0", + "Objects.BlackText": "#000000ff", + "Objects.YellowDark": "#988c26", + "Objects.GreenAndroid": "#78c257", + + "Checkbox.Background.Default.Dark": "backgroundHighlightsShade1", + "Checkbox.Border.Default.Dark": "secondaryText", + "Checkbox.Foreground.Selected.Dark": "#a4a1b3", + "Checkbox.Focus.Wide.Dark": "emphasizedContent", + "Checkbox.Focus.Thin.Default.Dark": "primaryText", + "Checkbox.Focus.Thin.Selected.Dark": "primaryText", + "Checkbox.Background.Disabled.Dark": "backgroundHighlights", + "Checkbox.Border.Disabled.Dark": "backgroundHighlightsShade1", + "Checkbox.Foreground.Disabled.Dark": "secondaryText" + } + } +} diff --git a/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/themes.properties b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/themes.properties new file mode 100644 index 00000000..2fb9edc3 --- /dev/null +++ b/flatlaf-demo/src/main/resources/com/formdev/flatlaf/demo/intellijthemes/themes.properties @@ -0,0 +1,18 @@ +arc-theme.theme.json=Arc,https://gitlab.com/zlamalp/arc-theme-idea +arc-theme-orange.theme.json=Arc - Orange,https://gitlab.com/zlamalp/arc-theme-idea +Cyan.theme.json=Cyan light,https://github.com/OlyaB/CyanTheme +DarkFlatTheme.theme.json=Dark Flat,https://github.com/nerzhulart/DarkFlatTheme +DarkPurple.theme.json=Dark purple,https://github.com/OlyaB/DarkPurpleTheme +Dracula.theme.json=Dracula,https://github.com/dracula/jetbrains +Gray.theme.json=Gray,https://github.com/OlyaB/GreyTheme +gruvbox_theme.theme.json=Gruvbox,https://github.com/Vincent-P/gruvbox-intellij-theme +Hiberbee.theme.json=Hiberbee,https://github.com/Hiberbee/code-highlight-themes +HighContrast.theme.json=High contrast,https://github.com/OlyaB/HighContrastTheme +Light.theme.json=IntelliJ Light Preview,https://github.com/OlyaB/IntelliJLightTheme +LightFlatTheme.theme.json=Light Flat,https://github.com/nerzhulart/LightFlatTheme +MaterialTheme.theme.json=Material Design Dark,https://github.com/xinkunZ/NotReallyMDTheme +Monocai.theme.json=Monocai,https://github.com/bmikaili/intellij-monocai-theme +one_dark.theme.json=One Dark,https://github.com/one-dark/jetbrains-one-dark-theme +solarized_dark_theme.theme.json=Solarized Dark,https://github.com/snowe2010/solarized-jetbrains +solarized_light_theme.theme.json=Solarized Light,https://github.com/snowe2010/solarized-jetbrains +Spacegray.theme.json=Spacegray,https://github.com/mturlo/intellij-spacegray diff --git a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.java b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.java index 1a955ad3..fb3e2973 100644 --- a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.java +++ b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.java @@ -36,6 +36,7 @@ import com.formdev.flatlaf.FlatIntelliJLaf; import com.formdev.flatlaf.FlatLaf; import com.formdev.flatlaf.FlatLightLaf; import com.formdev.flatlaf.demo.LookAndFeelsComboBox; +import com.formdev.flatlaf.demo.intellijthemes.*; import com.formdev.flatlaf.extras.*; import com.formdev.flatlaf.extras.TriStateCheckBox.State; import com.formdev.flatlaf.ui.FlatUIUtils; @@ -123,7 +124,6 @@ public class FlatTestFrame } lookAndFeelComboBox.setModel( lafModel ); - lookAndFeelComboBox.selectedLookAndFeel( UIManager.getLookAndFeel() ); updateScaleFactorComboBox(); String scaleFactor = System.getProperty( "flatlaf.uiScale", System.getProperty( "sun.java2d.uiScale" ) ); @@ -442,6 +442,7 @@ public class FlatTestFrame backgroundCheckBox = new JCheckBox(); opaqueTriStateCheckBox = new TriStateCheckBox(); closeButton = new JButton(); + themesPanel = new IJThemesPanel(); //======== this ======== setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); @@ -546,6 +547,7 @@ public class FlatTestFrame buttonBar.add(closeButton, "cell 9 0"); } dialogPane.add(buttonBar, BorderLayout.SOUTH); + dialogPane.add(themesPanel, BorderLayout.EAST); } contentPane.add(dialogPane, BorderLayout.CENTER); // JFormDesigner - End of component initialization //GEN-END:initComponents @@ -564,5 +566,6 @@ public class FlatTestFrame private JCheckBox backgroundCheckBox; private TriStateCheckBox opaqueTriStateCheckBox; private JButton closeButton; + private IJThemesPanel themesPanel; // JFormDesigner - End of variables declaration //GEN-END:variables } diff --git a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.jfd b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.jfd index d2ce88e7..4a57d740 100644 --- a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.jfd +++ b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatTestFrame.jfd @@ -113,12 +113,17 @@ new FormModel { }, new FormLayoutConstraints( class java.lang.String ) { "value": "South" } ) + add( new FormComponent( "com.formdev.flatlaf.demo.intellijthemes.IJThemesPanel" ) { + name: "themesPanel" + }, new FormLayoutConstraints( class java.lang.String ) { + "value": "East" + } ) }, new FormLayoutConstraints( class java.lang.String ) { "value": "Center" } ) }, new FormLayoutConstraints( null ) { "location": new java.awt.Point( 0, 0 ) - "size": new java.awt.Dimension( 640, 300 ) + "size": new java.awt.Dimension( 760, 300 ) } ) } }