This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch flatlaf-fontscolors in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit f9d24bfdf5626bb1ebd1bb8809db2a0e953e1d31 Author: Laszlo Kishalmi <laszlo.kisha...@gmail.com> AuthorDate: Sat Dec 7 01:18:22 2019 -0800 Initial commit --- platform/o.n.swing.laf.flatlaf/manifest.mf | 1 + .../netbeans/swing/laf/flatlaf/Bundle.properties | 2 + .../fontcolors/FlatLaf-Properties-fontsColors.xml | 31 +++++ .../fontcolors/FlatLafDark-Java-fontsColors.xml | 145 +++++++++++++++++++++ .../laf/flatlaf/fontcolors/FlatLafDark-editor.xml | 76 +++++++++++ .../fontcolors/FlatLafDark-fontsColorsDefaults.xml | 100 ++++++++++++++ .../src/org/netbeans/swing/laf/flatlaf/layer.xml | 64 +++++++++ 7 files changed, 419 insertions(+) diff --git a/platform/o.n.swing.laf.flatlaf/manifest.mf b/platform/o.n.swing.laf.flatlaf/manifest.mf index 545df0e..653f044 100644 --- a/platform/o.n.swing.laf.flatlaf/manifest.mf +++ b/platform/o.n.swing.laf.flatlaf/manifest.mf @@ -1,5 +1,6 @@ Manifest-Version: 1.0 OpenIDE-Module-Install: org/netbeans/swing/laf/flatlaf/Installer.class +OpenIDE-Module-Layer: org/netbeans/swing/laf/flatlaf/layer.xml OpenIDE-Module-Localizing-Bundle: org/netbeans/swing/laf/flatlaf/Bundle.properties OpenIDE-Module: org.netbeans.swing.laf.flatlaf OpenIDE-Module-Specification-Version: 1.0 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 c175292..88d7d27 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 @@ -20,3 +20,5 @@ OpenIDE-Module-Long-Description=\ FlatLaf Look and Feels 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 diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLaf-Properties-fontsColors.xml b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLaf-Properties-fontsColors.xml new file mode 100644 index 0000000..51d04f8 --- /dev/null +++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLaf-Properties-fontsColors.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN" "http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd"> + +<fontscolors> + <fontcolor name="properties-line-comment" default="comment"/> + <fontcolor name="properties-equal-sign" default="operator"/> + <fontcolor name="properties-key" default="field"> + <font style="bold"/> + </fontcolor> + <fontcolor name="properties-value" default="string"/> +</fontscolors> diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-Java-fontsColors.xml b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-Java-fontsColors.xml new file mode 100644 index 0000000..096a1d3 --- /dev/null +++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-Java-fontsColors.xml @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.2//EN" "http://netbeans.apache.org/dtds/EditorFontsColors-1_2.dtd"> + +<fontscolors> + <colordef name="bg0_hard" color="1d2021"/> + <colordef name="bg0" color="282828"/> + <colordef name="bg1" color="3c3836"/> + <colordef name="bg2" color="504945"/> + <colordef name="bg3" color="665c54"/> + <colordef name="bg4" color="7c6f64"/> + + <colordef name="gray" color="928374"/> + + <colordef name="fg0" color="fbf1c7"/> + <colordef name="fg1" color="ebdbb2"/> + <colordef name="fg2" color="d5c4a1"/> + <colordef name="fg3" color="bdae93"/> + <colordef name="fg4" color="a89984"/> + + <colordef name="red" color="fb4934"/> + <colordef name="green" color="b8bb26"/> + <colordef name="yellow" color="fabd2f"/> + <colordef name="blue" color="83a598"/> + <colordef name="purple" color="d3869b"/> + <colordef name="aqua" color="8ec07c"/> + <colordef name="orange" color="fe8019"/> + + <!-- JavaTokenId categories --> + <fontcolor name="character" default="char"/> + <fontcolor name="identifier" default="identifier"/> + <fontcolor name="keyword" default="keyword"/> + <fontcolor name="literal" default="keyword" /> + <fontcolor name="comment" default="comment"/> + <fontcolor name="number" default="number"/> + <fontcolor name="operator" default="operator"/> + <fontcolor name="string" default="string"/> + <fontcolor name="separator" default="separator"/> + <fontcolor name="whitespace" default="whitespace"/> + + <fontcolor name="keyword-directive" default="keyword"/> + + <!--"semantic" highlighting:--> + <fontcolor name="mod-unused" waveUnderlined="orange"/> + <fontcolor name="mod-abstract" /> + + <fontcolor name="mod-field-declaration" default="field"/> + <fontcolor name="mod-local-variable-declaration" default="identifier"/> + <fontcolor name="mod-parameter-declaration" default="identifier"/> + + <fontcolor name="mod-method-declaration" default="method"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-constructor-declaration" default="constructor"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-module-declaration" default="identifier"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-class-declaration" default="identifier"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-interface-declaration" default="identifier"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-annotation-type-declaration" default="identifier"> + <font style="bold" /> + </fontcolor> + <fontcolor name="mod-enum-declaration" default="identifier"> + <font style="bold" /> + </fontcolor> + + <fontcolor name="mod-field" default="field"/> + <fontcolor name="mod-local-variable" default="identifier"/> + <fontcolor name="mod-parameter" default="identifier"/> + <fontcolor name="mod-method" default="method"/> + <fontcolor name="mod-constructor" default="constructor"/> + <fontcolor name="mod-module" default="identifier"/> + <fontcolor name="mod-class" default="identifier"/> + <fontcolor name="mod-interface" default="identifier"/> + <fontcolor name="mod-annotation-type" default="identifier"/> + <fontcolor name="mod-enum" default="identifier"/> + + + <fontcolor name="mod-deprecated" strikeThrough="black"/> + <fontcolor name="mod-static" > + <font style="italic" /> + </fontcolor> + <fontcolor name="mod-private" /> + <fontcolor name="mod-package-private" /> + <fontcolor name="mod-protected" /> + <fontcolor name="mod-public" /> + <fontcolor name="mod-keyword" default="keyword" /> + <fontcolor name="mod-unindented-text-block" bgColor="EEDDDD" /> + + <!-- JavaStringTokenId categories --> + <fontcolor name="string-escape" default="string"> + <font style="bold" /> + </fontcolor> + <fontcolor name="string-escape-invalid" waveUnderlined="red" default="string"> + <font style="bold" /> + </fontcolor> + + <!-- JavaCharacterTokenId categories --> + <fontcolor name="character-escape" default="character"> + <font style="bold" /> + </fontcolor> + <fontcolor name="character-escape-invalid" default="character"> + <font style="italic" /> + </fontcolor> + + <!-- JavadocTokenId categories --> + <fontcolor name="javadoc-tag" default="comment"> + <font style="bold" /> + </fontcolor> + <fontcolor name="html-tag" default="comment" foreColor="9999FF"> + <font style="bold" /> + </fontcolor> + <fontcolor name="javadoc-first-sentence" default="comment"> + <font style="bold" /> + </fontcolor> + + <fontcolor name="javadoc-identifier" default="comment" foreColor="000000" > + </fontcolor> + +</fontscolors> diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-editor.xml b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-editor.xml new file mode 100644 index 0000000..5c88663 --- /dev/null +++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-editor.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.2//EN" "http://netbeans.apache.org/dtds/EditorFontsColors-1_2.dtd"> + +<fontscolors> + <colordef name="bg0_hard" color="1d2021"/> + <colordef name="bg0" color="282828"/> + <colordef name="bg1" color="3c3836"/> + <colordef name="bg2" color="504945"/> + <colordef name="bg3" color="665c54"/> + <colordef name="bg4" color="7c6f64"/> + + <colordef name="gray" color="928374"/> + + <colordef name="fg0" color="fbf1c7"/> + <colordef name="fg1" color="ebdbb2"/> + <colordef name="fg2" color="d5c4a1"/> + <colordef name="fg3" color="bdae93"/> + <colordef name="fg4" color="a89984"/> + + <colordef name="red" color="fb4934"/> + <colordef name="green" color="b8bb26"/> + <colordef name="yellow" color="fabd2f"/> + <colordef name="blue" color="83a598"/> + <colordef name="purple" color="d3869b"/> + <colordef name="aqua" color="8ec07c"/> + <colordef name="orange" color="fe8019"/> + + <fontcolor name="code-folding" foreColor="gray"/> + <fontcolor name="code-folding-bar" foreColor="gray"/> + <fontcolor name="highlight-caret-row" bgColor="bg1"/> + <fontcolor name="nbeditor-bracesMatching-match" foreColor="fg0" bgColor="bg3"/> + <fontcolor name="nbeditor-bracesMatching-mismatch" bgColor="red" foreColor="bg0"/> + <fontcolor name="nbeditor-bracesMatching-match-multichar" foreColor="fg0" bgColor="bg3"/> + <fontcolor name="nbeditor-bracesMatching-mismatch-multichar" bgColor="red" foreColor="bg0"/> + <fontcolor name="line-number" foreColor="gray" bgColor="bg0_hard"/> + <fontcolor name="selection" bgColor="bg3"/> + <fontcolor name="text-limit-line-color" foreColor="fg1"/> + <fontcolor name="hyperlinks" foreColor="fg4" underline="fg4"/> + <fontcolor name="indent-guide-lines" foreColor="bg2"/> + <fontcolor name="caret-color-insert-mode" foreColor="fg0" bgColor="bg0"/> + <fontcolor name="caret-color-overwrite-mode" foreColor="fg0" bgColor="bg0"/> + <fontcolor name="nbeditor-bracesMatching-sidebar" foreColor="gray"/> + <fontcolor name="indent-whitespace"/> + <fontcolor name="trailing-whitespace" bgColor="bg0_hard"/> + <fontcolor name="highlight-search" foreColor="bg0" bgColor="yellow"/> + <fontcolor name="block-search" foreColor="fg1" bgColor="bg2"/> + <fontcolor name="inc-search" bgColor="orange"/> + + <fontcolor name="guarded" bgColor="bg0_hard"/> + <fontcolor name="readonly-files" bgColor="bg0_hard"/> + <fontcolor name="status-bar"/> + <fontcolor name="status-bar-bold" foreColor="red"/> + + <fontcolor name="synchronized-text-blocks-ext" foreColor="orange"/> + <fontcolor name="synchronized-text-blocks-ext-slave" foreColor="yellow"/> +</fontscolors> diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-fontsColorsDefaults.xml b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-fontsColorsDefaults.xml new file mode 100644 index 0000000..39b6ddd --- /dev/null +++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontcolors/FlatLafDark-fontsColorsDefaults.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> + +<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.2//EN" "http://netbeans.apache.org/dtds/EditorFontsColors-1_2.dtd"> + +<fontscolors> + <colordef name="bg0_hard" color="1d2021"/> + <colordef name="bg1" color="3c3836"/> + <colordef name="bg2" color="504945"/> + <colordef name="bg3" color="665c54"/> + <colordef name="bg4" color="7c6f64"/> + + <colordef name="gray" color="928374"/> + + <colordef name="fg1" color="ebdbb2"/> + <colordef name="fg2" color="d5c4a1"/> + <colordef name="fg3" color="bdae93"/> + <colordef name="fg4" color="a89984"/> + + <colordef name="purple" color="d3869b"/> + <!-- defined --> + <colordef name="bg0" color="2b2b2b"/> + + <colordef name="fg0" color="a9b7c6"/> + + <colordef name="red" color="9e2927"/> + <colordef name="green" color="6a8759"/> + <colordef name="blue" color="6897bb"/> + <colordef name="yellow" color="e8bf6a"/> + <colordef name="orange" color="cc7832"/> + <colordef name="levander" color="9876aa"/> + + <fontcolor name="default" foreColor="fg0" bgColor="bg0"/> + + <!-- syntax colorings --> + + <fontcolor name="char" foreColor="green"/> + <fontcolor name="comment" foreColor="gray"> + <font style="italic"/> + </fontcolor> + <fontcolor name="error" waveUnderlined="red"/> + <fontcolor name="identifier"/> + <fontcolor name="keyword" foreColor="orange"/> + <fontcolor name="number" foreColor="purple"/> + <fontcolor name="operator" foreColor="fg1"/> + <fontcolor name="string" foreColor="green"/> + <fontcolor name="whitespace"/> + + <fontcolor name="markup-element"/> + <fontcolor name="markup-attribute" foreColor="aqua"/> + <fontcolor name="markup-attribute-value" foreColor="green"/> + <fontcolor name="entity-reference" foreColor="cyan"/> + <fontcolor name="mark-occurrences" bgColor="bg3"/> + + <!-- semantic colorings --> + + <fontcolor name="constructor" foreColor="aqua"> + <font style="bold" /> + </fontcolor> + <fontcolor name="method" foreColor="aqua"> + <font style="bold" /> + </fontcolor> + <fontcolor name="field" foreColor="blue"> + <font style="bold" /> + </fontcolor> + <fontcolor name="local-variable" /> + <fontcolor name="method-parameter"/> + + <fontcolor name="class" foreColor="orange"/> + <fontcolor name="interface" foreColor="orange" /> + <fontcolor name="enum" foreColor="orange" /> + + <fontcolor name="unused" foreColor="gray"/> + <fontcolor name="deprecated" strikeThrough="gray" /> + <fontcolor name="abstract" /> + <fontcolor name="static" foreColor="orange"/> + <fontcolor name="private" foreColor="red"/> + <fontcolor name="protected" foreColor="red"/> + <fontcolor name="public" /> + +</fontscolors> diff --git a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/layer.xml b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/layer.xml new file mode 100644 index 0000000..b1a6ac8 --- /dev/null +++ b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/layer.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd"> +<filesystem> + <folder name="Editors"> + <folder name="FontsColors"> + <folder name="FlatLafDark"> + <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.swing.laf.flatlaf.Bundle"/> + <folder name="Defaults"> + <file name="org-netbeans-modules-defaults-token-colorings.xml" url="fontcolors/FlatLaf-fontsColorsDefaults.xml"> + <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.swing.laf.flatlaf.Bundle"/> + </file> + <file name="org-netbeans-modules-defaults-highlight-colorings.xml" url="FlatLafDark-editor.xml"> + <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.swing.laf.flatlaf.Bundle"/> + <attr name="nbeditor-settings-ColoringType" stringvalue="highlight"/> + </file> + </folder> + </folder> + </folder> + <folder name="text"> + <folder name="x-properties"> + <folder name="FontsColors"> + <folder name="FlatLafDark"> + <folder name="Defaults"> + <file name="org-netbeans-modules-properties-syntax-token-colorings.xml" url="fontcolors/FlatLaf-Properties-fontsColors.xml"> + <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.swing.laf.flatlaf.Bundle"/> + </file> + </folder> + </folder> + </folder> + </folder> + <folder name="x-java"> + <folder name="FontsColors"> + <folder name="FlatLafDark"> + <folder name="Defaults"> + <file name="org-netbeans-modules-editor-java-token-colorings.xml" url="fontcolors/FlatLafDark-Java-fontsColors.xml"> + <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.swing.laf.flatlaf.Bundle"/> + </file> + </folder> + </folder> + </folder> + </folder> + </folder> + </folder> +</filesystem> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists