/**
 * MIT License
 *
 * Copyright (c) 2017 zgqq
 *
 * 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.
 */
package mah.ui.support.swing.theme;

import mah.ui.theme.LayoutTheme;
import mah.ui.theme.Theme;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zgq on 2017-01-08 19:17
 */
public enum Themes {

    DARK("dark","#333333","#ffffff","#616161","#222222","#ffffff","#000000","#DAA520"),
    FULL_DARK("full_dark","#17181A","#ffffff","#17181A","#17181A","#ffffff","#17181A","#DAA520");

    private Theme theme;

    Themes(String name,String backgroundColor,
           String cursorColor,
           String inputBackgroundColor,
           String pendingBackgroundColor,
           String fontColor,
           String highlightForegroundColor,
           String highlightColor) {

        Map<String, String> basicProperties = new HashMap<>();
        basicProperties.put("background-color",backgroundColor);

        Map<String, String> inputProperties = new HashMap<>(basicProperties);
        inputProperties.put("input-cursor-color",cursorColor);
        inputProperties.put("input-field-font-color",fontColor);
        inputProperties.put("input-field-background-color",inputBackgroundColor);

        Map<String, LayoutTheme> layoutThemes = new HashMap<>();
        Map<String, String> properties = new HashMap<>();

        properties.putAll(inputProperties);

        properties.put("item-pane-background-color",backgroundColor);
        properties.put("middle-container-background-color",backgroundColor);
        properties.put("text-background-color",backgroundColor);
        properties.put("text-foreground-color",fontColor);
        properties.put("num-font-color", fontColor);

        properties.put("text-highlight-foreground-color",highlightForegroundColor);
        properties.put("text-highlight-background-color",highlightColor);

        properties.put("pending-background-color",pendingBackgroundColor);

        LayoutTheme layoutTheme = new SwingLayoutTheme("classic_item_list_layout",properties);
        layoutThemes.put(layoutTheme.getName(),layoutTheme);

        LayoutTheme defaultLayoutTheme = new SwingLayoutTheme("default_layout",inputProperties);
        layoutThemes.put(defaultLayoutTheme.getName(),defaultLayoutTheme);

        Map<String, String> postLayoutProperties = new HashMap<>(basicProperties);
        LayoutTheme postLayoutTheme  = new SwingLayoutTheme("classic_post_layout",postLayoutProperties);
        layoutThemes.put(postLayoutTheme.getName(), postLayoutTheme);

        theme = new Theme(name,layoutThemes);
    }

    public Theme getTheme() {
        return theme;
    }
}

@@ -1408,14 +1408,15 @@
 %22,%22#
-000000
+17181A#
 %22,%22#

Fix full dark theme