Merge branch 'flatlaf-fontscolors' of github.com:apache/netbeans into flatlaf-fontscolors
diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/Bundle.properties b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/Bundle.properties
index 88d7d27..11ea533 100644
--- a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/Bundle.properties
+++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/Bundle.properties
@@ -21,4 +21,4 @@
OpenIDE-Module-Name=FlatLaf Look and Feel
OpenIDE-Module-Short-Description=FlatLaf Look and Feels
-Editors/FontsColors/FlatLafDark=FlatLaf Dark
\ No newline at end of file
+Editors/FontsColors/FlatLafDark=FlatLaf Dark
diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.java b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.java
index ac8c721..e6fa07d 100644
--- a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.java
+++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.java
@@ -19,7 +19,6 @@
package org.netbeans.swing.laf.flatlaf;
import com.formdev.flatlaf.FlatDarkLaf;
-import javax.swing.UIDefaults;
/**
*
@@ -27,14 +26,4 @@
*/
public class NbFlatDarkLaf extends FlatDarkLaf {
- @Override
- public UIDefaults getDefaults() {
- UIDefaults ret = super.getDefaults();
- ret.put( "nb.dark.theme", Boolean.TRUE ); //NOI18N
- ret.put( "nb.preferred.color.profile", "FlatLaf Dark"); //NOI18N
- return ret;
- }
-
-
-
}
diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.properties b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.properties
new file mode 100644
index 0000000..6badeae
--- /dev/null
+++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/NbFlatDarkLaf.properties
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
+nb.dark.theme=true
+nb.preferred.color.profile=FlatLaf Dark
\ No newline at end of file