Last active
August 29, 2015 14:15
-
-
Save rksm/e46f65e4b3cd5556ad14 to your computer and use it in GitHub Desktop.
cloxp dark theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lively.morphic.CodeEditor.prototype.setTheme = lively.morphic.CodeEditor.prototype.setTheme | |
.getOriginal().wrap(function(proceed) { return proceed("monokai"); }); | |
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | |
lively.whenLoaded(function() { | |
(function() { | |
$world.get("MenuBar").addStyleClassName("MenuBar"); | |
$world.withAllSubmorphsDo(function(ea) { return ea.applyStyle({cssStylingMode: true, cssStyling: true}); }); | |
$world.setStyleSheet( | |
".MenuBar {\n" | |
+ " background-color: gray;\n" | |
+ " border: 1px solid #999;\n" | |
+ "}\n" | |
+ "" | |
+ ".MenuBar .Text {\n" | |
+ " background-color: none;\n" | |
+ " padding-top: 5px !important;\n" | |
+ " font: 14px \"Geneva,Verdana,sans-serif\";\n" | |
+ " color: white;\n" | |
+ "}\n" | |
+ "" | |
+ ".Text span {\n" | |
+ " color: white !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".Button {\n" | |
+ " font-size: 9pt;\n" | |
+ " color: #999;\n" | |
+ " background: #444;\n" | |
+ " border: 1px solid #666;\n" | |
+ "}\n" | |
+ "" | |
+ ".Button.pressed {\n" | |
+ " box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5);\n" | |
+ "}\n" | |
+ "" | |
+ ".Button.toggled {\n" | |
+ " color: black;\n" | |
+ "}\n" | |
+ "" | |
+ ".World {\n" | |
+ " background-color: #222;\n" | |
+ "}\n" | |
+ "" | |
+ ".List {\n" | |
+ " background-color: #666 !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".list-item {\n" | |
+ " color: white !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".Menu {\n" | |
+ " background-color: #333 !important;\n" | |
+ " box-shadow: 0px 2px 6px #666;\n" | |
+ "}\n" | |
+ "" | |
+ ".HorizontalDivider {\n" | |
+ " background: #444 !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".Window, .Window .Box {\n" | |
+ " background: #444 !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".Window .TitleBar, .Window .reframe-handle {\n" | |
+ " background: #444;\n" | |
+ "}\n" | |
+ "" | |
+ ".Window .window-title {\n" | |
+ " color: white !important;\n" | |
+ "}\n" | |
+ "" | |
+ ".Window.highlighted {\n" | |
+ " background-color: #666;\n" | |
+ " box-shadow: 0px 2px 6px #999;\n" | |
+ " border: 1px solid #222;\n" | |
+ "}\n" | |
+ "" | |
+ ".Window.highlighted .Text.window-title {\n" | |
+ " font-weight: bold;\n" | |
+ " color: white;\n" | |
+ "}\n" | |
+ "" | |
+ ".Button.WindowControl {\n" | |
+ " border: 1px solid #666;\n" | |
+ " background: #333;\n" | |
+ "}\n"); | |
}).delay(0); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place into your cloxp user config.
Leave the module header and end markers:
!