This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 233142
Collapse All | Expand All

(-)a/o.n.swing.laf.dark/src/org/netbeans/swing/laf/dark/DarkNimbusTheme.java (-5 / +12 lines)
Lines 57-62 Link Here
57
public class DarkNimbusTheme {
57
public class DarkNimbusTheme {
58
58
59
    public static void install( LookAndFeel laf ) {
59
    public static void install( LookAndFeel laf ) {
60
        Color caretForeground = new Color( 230, 230, 230);
61
        Color selectionBackground = new Color( 104, 93, 156);
62
        Color selectedText = new Color( 255, 255, 255);
63
        
60
        UIManager.put( "nb.dark.theme", Boolean.TRUE );
64
        UIManager.put( "nb.dark.theme", Boolean.TRUE );
61
        UIManager.put( "control", new Color( 128, 128, 128) );
65
        UIManager.put( "control", new Color( 128, 128, 128) );
62
        UIManager.put( "info", new Color(128,128,128) );
66
        UIManager.put( "info", new Color(128,128,128) );
Lines 69-76 Link Here
69
        UIManager.put( "nimbusLightBackground", new Color( 18, 30, 49) );
73
        UIManager.put( "nimbusLightBackground", new Color( 18, 30, 49) );
70
        UIManager.put( "nimbusOrange", new Color(191,98,4) );
74
        UIManager.put( "nimbusOrange", new Color(191,98,4) );
71
        UIManager.put( "nimbusRed", new Color(169,46,34) );
75
        UIManager.put( "nimbusRed", new Color(169,46,34) );
72
        UIManager.put( "nimbusSelectedText", new Color( 255, 255, 255) );
76
        UIManager.put( "nimbusSelectedText", selectedText );
73
        UIManager.put( "nimbusSelectionBackground", new Color( 104, 93, 156) );
77
        UIManager.put( "nimbusSelectionBackground", selectionBackground );
74
        UIManager.put( "text", new Color( 230, 230, 230) );
78
        UIManager.put( "text", new Color( 230, 230, 230) );
75
//        UIManager.put( "nb.imageicon.filter", new DarkIconFilter() );
79
//        UIManager.put( "nb.imageicon.filter", new DarkIconFilter() );
76
        UIManager.put( "nb.errorForeground", new Color(127,0,0) ); //NOI18N
80
        UIManager.put( "nb.errorForeground", new Color(127,0,0) ); //NOI18N
Lines 128-136 Link Here
128
        UIManager.put( "nb.startpage.contentheader.color1", new Color(12,33,61) ); //NOI18N
132
        UIManager.put( "nb.startpage.contentheader.color1", new Color(12,33,61) ); //NOI18N
129
        UIManager.put( "nb.startpage.contentheader.color2", new Color(16,24,42) ); //NOI18N
133
        UIManager.put( "nb.startpage.contentheader.color2", new Color(16,24,42) ); //NOI18N
130
134
131
        UIManager.put( "nb.popupswitcher.background", new Color(18, 30, 49) );
135
        UIManager.put( "nb.popupswitcher.background", new Color(18, 30, 49) ); //NOI18N
132
136
133
        UIManager.put( "nb.editor.errorstripe.caret.color", new Color(230, 230, 230) ); //NOI18N
137
        UIManager.put( "TextField.selectionForeground", selectedText); //NOI18N
138
        UIManager.put( "TextField.selectionBackground", selectionBackground); //NOI18N
139
        UIManager.put( "TextField.caretForeground", caretForeground); //NOI18N
140
        UIManager.put( "nb.editor.errorstripe.caret.color", caretForeground ); //NOI18N
134
141
135
        UIManager.put( "nb.wizard.hideimage", Boolean.TRUE ); //NOI18N
142
        UIManager.put( "nb.wizard.hideimage", Boolean.TRUE ); //NOI18N
136
143
Lines 228-234 Link Here
228
        UIManager.put( "nb.explorer.noFocusSelectionBackground", UIManager.get( "nimbusSelectionBackground") );
235
        UIManager.put( "nb.explorer.noFocusSelectionBackground", UIManager.get( "nimbusSelectionBackground") );
229
236
230
        //search in projects
237
        //search in projects
231
        UIManager.put("nb.search.sandbox.highlight", new Color(104, 93, 156));
238
        UIManager.put("nb.search.sandbox.highlight", selectionBackground);
232
        UIManager.put("nb.search.sandbox.regexp.wrong", new Color(255, 71, 71));
239
        UIManager.put("nb.search.sandbox.regexp.wrong", new Color(255, 71, 71));
233
   }
240
   }
234
}
241
}

Return to bug 233142