Skip to content

Instantly share code, notes, and snippets.

@chrisgeo
Last active December 14, 2015 14:29
Show Gist options
  • Save chrisgeo/5101074 to your computer and use it in GitHub Desktop.
Save chrisgeo/5101074 to your computer and use it in GitHub Desktop.
Chrome Custom.css file
/*
Chrome Developer Tools - Monokai Color Theme
Author: Béres Máté Csaba / bjmatt.com / @bjmatt / beres.mate@bjmatt.com
-----------------------------------------------------------------------------------------------------------
Installation:
1. Find your Chrome's user stylesheet's directory, for example in win7:
"c:\Users\***YOUR USERNAME***\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\"
2. Replace the existing "Custom.css" file with this one
3. No restart needed, changes are applied immediately
-----------------------------------------------------------------------------------------------------------
Inspired by:
Monokai color scheme (slightly modified)
Ben Truyman's IR_Black Skin:
https://gist.github.com/1150520
Darcy Clarke:
http://darcyclarke.me/design/skin-your-chrome-inspector
----------------------------------------------------------------------------------------------------------*/
/* GENERIC TYPO, COLORS, SIDEBAR
----------------------------------------------------------------------------------------------------------*/
#-webkit-web-inspector #main-panels .script-view,
#-webkit-web-inspector #main-panels .source-code,
#-webkit-web-inspector #main-panels .text-editor-contents {
background-color: #272822 !important;
font-size: 10px !important;
line-height: 14px !important;
}
#-webkit-web-inspector #main-panels .resource-headers-view .source-code {
background-color: #fff !important;
font-size: 10px !important;
line-height: 14px !important;
}
#-webkit-web-inspector #toolbar {
background-image: none !important;
background-color: rgba(230, 230, 230, 1.0) !important;
}
.split-view-sidebar-right .pane .sidebar-separator {
background-image: -webkit-gradient(linear, left top, left bottom, from(#E6E6E6),
color-stop(0.05, #5C5C5C), color-stop(0.05, #727272), to(#3D3D3D)) !important;
padding: 0 5px !important;
border-top: 1px solid #636363 !important;
border-bottom: 1px solid black !important;
color: #D8D8D8 !important;
text-shadow: #222 0 1px 0 !important;
white-space: nowrap !important;
text-overflow: ellipsis !important;
overflow: hidden !important;
font-size: 11px !important;
}
/* ELEMENTS
----------------------------------------------------------------------------------------------------------*/
#storage-views .webkit-html-comment,
#elements-content .webkit-html-comment,
#network-views .webkit-html-comment,
.resources .script-view .webkit-html-comment,
#storage-views .webkit-css-comment,
#elements-content .webkit-css-comment,
#network-views .webkit-css-comment,
.resources .script-view .webkit-css-comment,
.console-message .webkit-css-comment,
.console-message .webkit-html-comment {
color: #75715E !important;
}
#storage-views .webkit-html-tag,
#elements-content .webkit-html-tag,
#network-views .webkit-html-tag,
.resources .script-view .webkit-html-tag,
.console-message .webkit-html-tag,
.console-message .webkit-html-tag-name {
color: #F92672 !important;
}
#storage-views .webkit-html-attribute-name,
#elements-content .webkit-html-attribute-name,
#network-views .webkit-html-attribute-name,
.resources .script-view .webkit-html-attribute-name,
.console-message .webkit-html-attribute-name {
color: #A6E22E !important;
}
#storage-views .webkit-html-attribute-value,
#elements-content .webkit-html-attribute-value,
#network-views .webkit-html-attribute-value,
.resources .script-view .webkit-html-attribute-value,
.console-message .webkit-html-attribute-value {
color: #E6DB74 !important;
}
#storage-views .webkit-html-text-node,
#elements-content .webkit-html-text-node,
#network-views .webkit-html-text-node,
.resources .script-view .webkit-html-text-node,
#storage-views .webkit-html-css-node,
#elements-content .webkit-html-css-node,
#network-views .webkit-html-css-node,
.resources .script-view .webkit-html-css-node,
.console-message .webkit-html-text-node {
color: #c1c1c1 !important;
}
#storage-views .webkit-html-js-node,
#elements-content .webkit-html-js-node,
#network-views .webkit-html-js-node,
.resources .script-view .webkit-html-js-node {
color: #c2c3c3 !important;
}
#storage-views .webkit-html-resource-link,
#elements-content .webkit-html-resource-link,
#network-views .webkit-html-resource-link,
.resources .script-view .webkit-html-resource-link,
#storage-views .webkit-html-external-link,
#elements-content .webkit-html-external-link,
#network-views .webkit-html-external-link,
.resources .script-view .webkit-html-external-link,
.console-message .webkit-html-external-link {
color: #A6E22E !important;
}
#storage-views .webkit-css-selector,
#elements-content .webkit-css-selector,
#network-views .webkit-css-selector,
.resources .script-view .webkit-css-selector {
color: #A6E22E !important;
}
#storage-views .webkit-css-property,
#elements-content .webkit-css-property,
#network-views .webkit-css-property,
.resources .script-view .webkit-css-property,
#storage-views .webkit-css-at-rule,
#elements-content .webkit-css-at-rule,
#network-views .webkit-css-at-rule,
.resources .script-view .webkit-css-at-rule {
color: #66D9EF !important;
}
#storage-views .webkit-css-number,
#elements-content .webkit-css-number,
#network-views .webkit-css-number,
.resources .script-view .webkit-css-number,
#storage-views .webkit-css-url,
#elements-content .webkit-css-url,
#network-views .webkit-css-url,
.resources .script-view .webkit-css-url,
#storage-views .webkit-css-color,
#elements-content .webkit-css-color,
#network-views .webkit-css-color,
.resources .script-view .webkit-css-color,
#storage-views .webkit-css-string,
#elements-content .webkit-css-string,
#network-views .webkit-css-string,
.resources .script-view .webkit-css-string,
#storage-views .webkit-css-keyword,
#elements-content .webkit-css-keyword,
#network-views .webkit-css-keyword,
.resources .script-view .webkit-css-keyword {
color: #F92672 !important;
}
#elements-content .highlight {
color: #f1f1f1;
}
#elements-content li.hovered:not(.selected) .selection {
background: rgba(255, 255, 255, .2) !important;
}
#elements-content .selection.selected {
z-index: 0 !important;
}
#elements-content ol:focus li.selected .selection {
background: #3F4360 !important;
}
#elements-content .selected .highlight {
position: relative;
z-index: 2;
}
#elements-content .selected {
background-color: #4c4d5d !important;
}
#elements-content .editing {
background-color: #242424 !important;
}
#elements-content .parent::before {
content: url(chrome-devtools://devtools/Images/treeRightTriangleWhite.png) !important;
position: relative;
z-index: 999;
}
#elements-content .parent.expanded::before {
content: url(chrome-devtools://devtools/Images/treeDownTriangleWhite.png) !important;
}
#elements-content .editing {
color: #c1c1c1 !important;
}
/* SCRIPTS
----------------------------------------------------------------------------------------------------------*/
#-webkit-web-inspector #main-panels .webkit-line-content {
padding-left: 10px;
}
#-webkit-web-inspector #main-panels .text-editor-contents,
#-webkit-web-inspector #main-panels .text-editor-contents,
#-webkit-web-inspector #main-panels .text-editor-contents,
#-webkit-web-inspector #main-panels .text-editor-contents {
color: #c1c1c1 !important;
}
#-webkit-web-inspector #main-panels .text-editor-lines {
background-color: #272822 !important;
border-right: none !important;
}
#-webkit-web-inspector #main-panels .text-editor-contents {
color: #c1c1c1 !important;
}
#-webkit-web-inspector #main-panels .webkit-javascript-keyword {
color: #66D9EF !important;
}
#-webkit-web-inspector #main-panels .webkit-javascript-string,
#-webkit-web-inspector #main-panels .webkit-javascript-regexp {
color: #E6DB74 !important;
}
#-webkit-web-inspector #main-panels .webkit-javascript-number {
color: #AE81FF !important;
}
#-webkit-web-inspector #main-panels .webkit-javascript-ident {
color: #c1c1c1 !important;
}
#-webkit-web-inspector #main-panels .webkit-javascript-comment {
color: #75715E !important;
}
/* CONSOLE
----------------------------------------------------------------------------------------------------------*/
#console-prompt {
color: #c1c1c1 !important;
font-size: 10px !important;
}
#console-messages .monospace,
#console-messages .source-code {
font-size: 10px !important;
}
#console-message {
font-size: 10px !important;
}
#console-prompt::before {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjRGNTc2MTZDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjRGNTc2MTdDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MzM3N0Y2MUMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5MzM3N0Y2MkMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Plf0eOsAAAB4SURBVHjaYvz//z8DMYAFxph+BqyhA8qtQFaUacKIUAgFLkBsDMSCUMXvYRJMaApdgfgsEKcB8W6oJqwK30MVr4YqOgPEodgUgoASkkkgjfewKSyHmqIEdYIJlEZR6ILk606oonsYwQMEe6A+PQtlowBGYgMcIMAAF2wcFPVNZx8AAAAASUVORK5CYII=) !important;
color: #c1c1c1 !important;
}
#console-messages {
background: #272822;
}
#console-messages a {
color: #666 !important;
}
#console-messages a:hover {
color: #999 !important;
}
#console-messages .console-message {
color: #f1f1f1 !important;
}
#console-messages .console-message, .console-user-command {
border-bottom: 1px solid #333 !important;
}
#console-messages .console-user-command > .console-message-text {
color: #ffd2a7 !important;
}
#console-messages .console-formatted-number {
color: #ff73fd !important;
}
#console-messages .console-formatted-string {
color: #a8ff60 !important;
}
#console-messages .console-formatted-object {
color: #bbb !important;
}
#console-messages .console-formatted-undefined {
color: #666 !important;
}
#console-messages .console-formatted-function {
color: #bbb !important;
}
#console-messages .console-formatted-regexp {
color: #e9c062 !important;
}
#console-messages .console-formatted-array {
color: #a8ff60 !important;
}
.console-message-text {
}
.console-message-text.source-code {
color: #c1c1c1 !important;
}
.console-message:hover {
background-color: rgba(240, 240, 240, .2) !important;
}
#-webkit-web-inspector #main-panels .console-message .source-code {
background-color: transparent !important;
}
#console-messages .console-formatted-object,
#console-messages .console-formatted-function,
#console-messages .console-formatted-null {
color: #a8ff60 !important;
}
#console-messages .console-group-messages .section .header .title {
color: #f1f1f1 !important;
}
#console-messages .section .properties .name, .event-properties .name {
color: #96cbfe !important;
}
#console-messages .console-group-messages .section .header::before,
#console-messages .properties-tree li.parent::before {
content: url(chrome-devtools://devtools/Images/treeRightTriangleWhite.png) !important;
}
#console-messages .console-group-messages .section.expanded .header::before,
#console-messages .properties-tree li.parent.expanded::before {
content: url(chrome-devtools://devtools/Images/treeDownTriangleWhite.png) !important;
}
.console-message .outline-disclosure li.parent::before {
content: url(chrome-devtools://devtools/Images/treeRightTriangleWhite.png) !important;
}
.console-message .outline-disclosure li.parent.expanded::before {
content: url(chrome-devtools://devtools/Images/treeDownTriangleWhite.png) !important;
}
@-webkit-keyframes webkit-error-level {
0% { color: #f77; !important }
50% { color: #f00; !important }
100% { color: #f77; !important }
}
#console-messages .console-error-level .console-message-text {
color: #f66 !important;
-webkit-animation-name: webkit-error-level;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
-webkit-timing-function: ease-in-out;
}
#console-messages .console-user-command::before {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEge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MamEASUkEwCabyHTWE51BQlqBNMoDSKQhckX3dCFd3DCB4g2AP16VkoGwUwEhvgAAEGAAzQHBRSxqPRAAAAAElFTkSuQmCC) !important;
}
.styles-element-state-pane.source-code label {
color: #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment