Skip to content

Instantly share code, notes, and snippets.

@yagudaev
Forked from bentruyman/Custom.css
Created June 30, 2012 18:59
Show Gist options
  • Save yagudaev/3025107 to your computer and use it in GitHub Desktop.
Save yagudaev/3025107 to your computer and use it in GitHub Desktop.
Dark Theme for Chrome Dev tools
/**********************************************/
/*
/* IR_Black Skin by Ben Truyman - 2011
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
/* http://darcyclarke.me/design/skin-your-chrome-inspector/
/*
/**********************************************/
/**********************************************/
/* Console
/**********************************************/
/**********************************************/
/* Messages
/**********************************************/
#console-messages {
font-family: 'DroidSansMono', Menlo, monospace !important;
background: #2B2B2B;
}
#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 #444 !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: #81C160 !important;
}
#console-messages .console-formatted-object,
#console-messages .console-formatted-array {
color: #CECECE !important;
}
#console-messages .console-formatted-function {
color: #fff !important;
}
#console-messages .console-formatted-regexp {
color: #e9c062 !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;
}
@-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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTMzNzdGNUZDMTA1MTFFMDgwRUZGQ0JCMjgzMzU0MTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTMzNzdGNjBDMTA1MTFFMDgwRUZGQ0JCMjgzMzU0MTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MzM3N0Y1REMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5MzM3N0Y1RUMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pia6udAAAAB5SURBVHjaYvz//z8DMYAFxli9ejWI6oByK5AVhYaGIhRCgQsQGwOxIFTxe5gEE5pCVyA+C8RpQLwbqgmrwvdQxauhis6AbMamEASUkEwCabyHTWE51BQlqBNMoDSKQhckX3dCFd3DCB4g2AP16VkoGwUwEhvgAAEGAAzQHBRSxqPRAAAAAElFTkSuQmCC) !important;
}
/**********************************************/
/* Prompt
/**********************************************/
#console-prompt {
color: #f1f1f1 !important;
}
#console-prompt::before {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjRGNTc2MTZDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjRGNTc2MTdDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MzM3N0Y2MUMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5MzM3N0Y2MkMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Plf0eOsAAAB4SURBVHjaYvz//z8DMYAFxph+BqyhA8qtQFaUacKIUAgFLkBsDMSCUMXvYRJMaApdgfgsEKcB8W6oJqwK30MVr4YqOgPEodgUgoASkkkgjfewKSyHmqIEdYIJlEZR6ILk606oonsYwQMEe6A+PQtlowBGYgMcIMAAF2wcFPVNZx8AAAAASUVORK5CYII=) !important;
color: #fff !important;
}
/**********************************************/
/* Elements/Network
/**********************************************/
/**********************************************/
/* Layout
/**********************************************/
#elements-content,
.panel.resources .text-editor-contents,
.panel.network .text-editor-contents,
.panel.scripts .script-view,
.panel.timeline .resources-container-content{
background: #2B2B2B !important;
font-size: 12px !important;
color: #ccc !important;
}
.panel.scripts .navigator,
.panel.scripts .navigator.outline-disclosure > ol
{
color: #CCC !important;
background: #2B2B2B !important;
font-size: 12px !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: #2B2B2B !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;
}
/**********************************************/
/* HTML
/**********************************************/
.panel.resources .webkit-html-comment,
#storage-views .webkit-html-comment,
#elements-content .webkit-html-comment,
#network-views .webkit-html-comment,
#scripts-split-view .webkit-html-comment,
#console-view .webkit-html-comment {
color: #7c7c7c !important;
}
.panel.resources .webkit-html-tag,
#storage-views .webkit-html-tag,
#elements-content .webkit-html-tag,
#network-views .webkit-html-tag,
#scripts-split-view .webkit-html-tag,
#console-view .webkit-html-tag {
color: #96cbfe !important;
}
.panel.resources .webkit-html-attribute-name,
#storage-views .webkit-html-attribute-name,
#elements-content .webkit-html-attribute-name,
#network-views .webkit-html-attribute-name,
#scripts-split-view .webkit-html-attribute-name,
#console-view .webkit-html-attribute-name {
color: #ffd2a7 !important;
}
.panel.resources .webkit-html-attribute-value,
#storage-views .webkit-html-attribute-value,
#elements-content .webkit-html-attribute-value,
#network-views .webkit-html-attribute-value,
#scripts-split-view .webkit-html-attribute-value,
#console-view .webkit-html-attribute-value {
color: #81C160 !important;
}
.panel.resources .webkit-html-text-node,
#storage-views .webkit-html-text-node,
#elements-content .webkit-html-text-node,
#network-views .webkit-html-text-node,
#scripts-split-view .webkit-html-text-node
#storage-views .webkit-html-css-node,
#elements-content .webkit-html-css-node,
#network-views .webkit-html-css-node,
#scripts-split-view .webkit-html-css-node,
#console-view .webkit-html-css-node {
color: #c2c3c3 !important;
}
.panel.resources .webkit-html-js-node,
#storage-views .webkit-html-js-node,
#elements-content .webkit-html-js-node,
#network-views .webkit-html-js-node,
#scripts-split-view .webkit-html-js-node,
#console-view .webkit-html-js-node {
color: #c2c3c3 !important;
}
.panel.resources .webkit-html-resource-link,
#storage-views .webkit-html-resource-link,
#elements-content .webkit-html-resource-link,
#network-views .webkit-html-resource-link,
#scripts-split-view .webkit-html-resource-link,
#storage-views .webkit-html-external-link,
#elements-content .webkit-html-external-link,
#network-views .webkit-html-external-link,
#scripts-split-view .webkit-html-external-link,
#console-view .webkit-html-external-link {
color: #ff73fd !important;
}
/**********************************************/
/* CSS
/**********************************************/
.panel.resources .text-editor-contents .webkit-css-comment,
#elements-content .webkit-css-comment,
#network-views .webkit-css-comment,
#scripts-split-view .webkit-css-comment {
color: #7c7c7c !important;
}
.panel.resources .text-editor-contents .webkit-css-selector,
#elements-content .webkit-css-selector,
#network-views .webkit-css-selector,
#scripts-split-view .webkit-css-selector,
.panel.resources .text-editor-contents .webkit-css-selector {
color: #E8BF6A !important;
}
.panel.resources .text-editor-contents .webkit-css-property,
#elements-content .webkit-css-property,
#network-views .webkit-css-property,
#scripts-split-view .webkit-css-property {
color: #fff !important;
}
.panel.resources .text-editor-contents .webkit-css-keyword,
#elements-content .webkit-css-keyword,
#network-views .webkit-css-keyword,
#scripts-split-view .webkit-css-keyword {
color: #CC7833 !important;
}
.panel.resources .text-editor-contents .webkit-css-number,
#elements-content .webkit-css-number,
#network-views .webkit-css-number,
#scripts-split-view .webkit-css-number {
color: #ff73fd !important;
}
.panel.resources .text-editor-contents .webkit-css-important,
#elements-content .webkit-css-important,
#network-views .webkit-css-important,
#scripts-split-view .webkit-css-important
#storage-views .webkit-css-at-rule,
#elements-content .webkit-css-at-rule,
#network-views .webkit-css-at-rule,
#scripts-split-view .webkit-css-at-rule {
color: #96cbfe !important;
}
.panel.resources .text-editor-contents .webkit-css-string,
#elements-content .webkit-css-string,
#network-views .webkit-css-string,
#scripts-split-view .webkit-css-string {
color: #81C160 !important;
}
.panel.resources .text-editor-contents .webkit-css-url,
#elements-content .webkit-css-url,
#network-views .webkit-css-url,
#scripts-split-view .webkit-css-url {
color: #c6c5fe !important;
}
.diff-container .webkit-added-line.webkit-line-content {
background-color: #005A05 !important;
}
/**********************************************/
/* JavaScript
/**********************************************/
#storage-views .webkit-line-content,
#elements-content .webkit-line-content,
#network-views .webkit-line-content,
#scripts-split-view .webkit-line-content,
#storage-views .webkit-javascript-ident,
#elements-content .webkit-javascript-ident,
#network-views .webkit-javascript-ident,
#scripts-split-view .webkit-javascript-ident {
color: #fff !important;
}
#storage-views .webkit-javascript-keyword,
#elements-content .webkit-javascript-keyword,
#network-views .webkit-javascript-keyword,
#scripts-split-view .webkit-javascript-keyword {
color: #CC7833 !important;
}
#storage-views .webkit-javascript-comment,
#elements-content .webkit-javascript-comment,
#network-views .webkit-javascript-comment,
#scripts-split-view .webkit-javascript-comment {
color: #7c7c7c !important;
}
#storage-views .webkit-javascript-string,
#elements-content .webkit-javascript-string,
#network-views .webkit-javascript-string,
#scripts-split-view .webkit-javascript-string {
color: #81C160 !important;
}
#storage-views .webkit-javascript-number,
#elements-content .webkit-javascript-number,
#network-views .webkit-javascript-number,
#scripts-split-view .webkit-javascript-number {
color: #ff73fd !important;
}
#storage-views .webkit-javascript-regexp,
#elements-content .webkit-javascript-regexp,
#network-views .webkit-javascript-regexp,
#scripts-split-view .webkit-javascript-regexp {
color: #e9c062 !important;
}
.webkit-execution-line.webkit-line-content {
background-color: #4C4D5D !important;
}
.webkit-highlighted-line.webkit-line-content {
-webkit-animation: "fadeout" 2s 0s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment