Skip to content

Instantly share code, notes, and snippets.

@olexpono
Last active February 14, 2023 15:44
Show Gist options
  • Save olexpono/5214137 to your computer and use it in GitHub Desktop.
Save olexpono/5214137 to your computer and use it in GitHub Desktop.
Crate -- a Dark gray/orange Theme for Chrome DevTools

The file Custom.css probably already exists on your system.

You can replace it with the contents of this gist for a dark grey / pastel orange theme. See this directory (assuming OSX):

~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets/
/**********************************************/
/*
/*
/* Crate -- Theme for Chrome DevTools
/* Last Update :: September 2013
/*
/* based on:
/* mnml by Michael P. Pfeiffer
/* Based on a Gist by Ben Truyman. Further attr:
/* https://gist.github.com/3040634
/*
/**********************************************/
/* DevTools Layout */
#-webkit-web-inspector.dock-to-right {
border-left: 1px solid rgb(120,120,120) !important;
}
#-webkit-web-inspector .split-view-contents-second {
background: #222 !important;
border-color: rgba(255,255,255,0.15) !important;
color: #e5e5e5;
}
#-webkit-web-inspector .audit-launcher-view label {
color: #222 !important;
}
#-webkit-web-inspector .pane-title {
background: #404040 !important;
color: #f9a050 !important;
text-shadow: 1px 1px 0px #333 !important;
font-weight: 300 !important;
border-color: rgba(255,255,255,0.15) !important;
padding: 2px 5px !important;
text-transform: uppercase;
height: 23px !important;
}
#-webkit-web-inspector .sidebar-pane > .body .info {
color: salmon !important;
text-shadow: 1px 1px 0 black;
}
#-webkit-web-inspector .styles-element-state-pane {
padding-top: 2px;
color: #f9a050 !important;
background: #333 !important;
text-shadow: 1px 1px 1px #222 !important;
border-color: rgba(255,255,255,0.15) !important;
}
#-webkit-web-inspector .sidebar-pane-title {
padding-top: 2px;
color: #f9a050 !important;
background: #666 !important;
text-shadow: 1px 1px 1px #222 !important;
border-color: rgba(255,255,255,0.15) !important;
}
#-webkit-web-inspector .sidebar-pane-title::before {
font-size:0;
}
#-webkit-web-inspector .help-window-main {
background: #e8e8e8;
top: 30px;
left: 30px;
bottom: 30px;
right: 30px;
color: black;
}
#-webkit-web-inspector .tabbed-pane-header {
background: #444 !important;
border-color: rgba(255,255,255,0.15) !important;
}
#-webkit-web-inspector .tabbed-pane-header * {
text-shadow: none !important;
}
#-webkit-web-inspector .tabbed-pane-header-tab {
padding: 2px 7px !important;
width: auto !important;
border-radius: 4px 4px 0 0;
color: whitesmoke !important;
background-color: #333 !important;
}
#-webkit-web-inspector .tabbed-pane-header-tab.selected {
color: orange !important;
border-color: rgba(255,255,255,0.35) !important;
}
#-webkit-web-inspector .sidebar-pane-subtitle {
color: orange !important;
text-shadow: 0px 0px 0px black !important;
}
#-webkit-web-inspector .sidebar-pane-stack {
font-size: 12px !important;
border-color: rgba(255,255,255,0.15) !important;
background: #222 !important;
}
#-webkit-web-inspector body.platform-mac .monospace,
#-webkit-web-inspector body.platform-mac .source-code {
background: #222;
}
#-webkit-web-inspector .outline-disclosure {
background: #222 !important;
}
#-webkit-web-inspector .outline-disclosure ol {
color: #bbb !important;
}
#-webkit-web-inspector .text-editor-lines {
background-color: #333 !important;
border-right: none !important;
}
#-webkit-web-inspector .script-view {
background: #555;
}
#-webkit-web-inspector .script-view .CodeMirror {
font-family: "Ubuntu Mono" !important;
font-size: 14px !important;
}
#-webkit-web-inspector .script-view .CodeMirror-lines {
color: #b5b5b5;
}
#-webkit-web-inspector .script-view .CodeMirror-gutters {
color: #a5a5a5;
background-color: #333 !important;
border-right-color: #555 !important;
}
#-webkit-web-inspector .styles-section:not(.first-styles-section) {
border-top-style: dashed !important;
border-color: rgba(255,255,255,0.15) !important;
}
#-webkit-web-inspector .pane-title-button {
border-radius: 3px !important;
}
#-webkit-web-inspector .pane-title-button:active {
background-color: orange !important;
}
body.inactive #-webkit-web-inspector .pane-title-button {
background-color: transparent !important;
}
#-webkit-web-inspector .webkit-html-resource-link,
#-webkit-web-inspector .webkit-html-external-link {
color: #6ab !important;
text-decoration: none !important;
border-bottom: 1px solid transparent !important;
}
#-webkit-web-inspector .webkit-html-resource-link:hover,
#-webkit-web-inspector .webkit-html-external-link:hover {
color: #3ae !important;
text-decoration: none !important;
border-bottom: 1px solid #3ae !important;
}
#-webkit-web-inspector .webkit-html-resource-link:after,
#-webkit-web-inspector .webkit-html-external-link:after {
text-decoration: none !important;
}
#-webkit-web-inspector .webkit-html-resource-link:before,
#-webkit-web-inspector .webkit-html-external-link:before {
text-decoration: none !important;
}
#-webkit-web-inspector .outline-disclosure ol.children.expanded {
outline: 1px solid rgba(255,255,255,0.02) !important;
padding-right: 4px !important;
}
#-webkit-web-inspector .events-pane .section:not(:nth-of-type(1)) {
border-top: 1px solid rgba(255,255,255,0.15) !important;
}
#-webkit-web-inspector .sidebar-pane-stack > .sidebar-pane.visible:nth-last-of-type(1) {
border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}
/* ------ */
#-webkit-web-inspector ::selection {
background: #a46;
color: white;
}
#-webkit-web-inspector.undocked #toolbar {
background: -webkit-linear-gradient(#222, black) !important;
border-bottom: 1px solid #666 !important;
}
#-webkit-web-inspector.compact #toolbar {
background: -webkit-linear-gradient(#555555, #333333) !important;
border-top: 5px solid #c96666 !important;
border-bottom: 1px solid #444444 !important;
padding-top: 0 !important;
height: 50px !important;
}
#-webkit-web-inspector #toolbar {
background-color: #151515 !important;
border-color: rgb(120, 120, 120) !important;
}
#-webkit-web-inspector .toolbar-label,
#-webkit-web-inspector.compact .toolbar-label {
color: whitesmoke !important;
}
#-webkit-web-inspector .toggled-on {
background: #333 !important;
}
#-webkit-web-inspector .toggled-on .toolbar-label {
color: orange !important;
}
#-webkit-web-inspector.compact #toolbar .toolbar-item {
padding: 10px 15px !important;
}
#-webkit-web-inspector.compact #toolbar .toolbar-item .toolbar-icon {
-webkit-filter: grayscale(0.3);
-webkit-transform: scale(0.9);
}
#-webkit-web-inspector.compact #toolbar .toolbar-item.toggleable.toggled-on {
background: -webkit-linear-gradient(#444444, #333333) !important;
padding: 10px 13px !important;
}
#-webkit-web-inspector.compact .toolbar-item.close-left {
margin-top: 1px !important;
}
#-webkit-web-inspector.compact #toolbar-controls {
margin-top: -4px !important;
}
#-webkit-web-inspector.compact #toolbar-search-item {
margin-top: 12px !important;
}
#-webkit-web-inspector.compact #main {
top: 50px !important;
}
#-webkit-web-inspector.compact #search-results-matches {
color: #eee !important;
text-shadow: none !important;
}
#-webkit-web-inspector.compact #search {
background: #1d1f21 !important;
}
#-webkit-web-inspector .crumbs .crumb {
display: none;
}
#-webkit-web-inspector .status-bar {
border-color: #444444 !important;
background: #1d1f21 !important;
}
#-webkit-web-inspector .status-bar-item {
border-color: #444444 !important;
-webkit-filter: grayscale(0.75);
color: #666666 !important;
text-shadow: none !important;
}
#-webkit-web-inspector .status-bar-item .long-click-glyph {
display: none;
}
#-webkit-web-inspector .status-bar-items {
border: 0 !important;
}
#-webkit-web-inspector .glyph {
background-color: #666666 !important;
}
#-webkit-web-inspector .glyph.shadow {
display: none;
}
#-webkit-web-inspector button.status-bar-item.toggled-on .glyph {
background-color: #d9d9d9 !important;
}
#-webkit-web-inspector #error-warning-count {
color: #666666 !important;
margin-right: 5px;
}
#-webkit-web-inspector #error-count-img,
#-webkit-web-inspector #warning-count-img {
opacity: .5;
-webkit-filter: grayscale(0.5);
}
#-webkit-web-inspector .scope-bar {
padding: 0 3px !important;
}
#-webkit-web-inspector .scope-bar li {
margin: 1px 2px 0 !important;
padding: 2px 5px !important;
color: #666666 !important;
text-shadow: none !important;
}
#-webkit-web-inspector .scope-bar li.selected,
#-webkit-web-inspector .scope-bar li:hover,
#-webkit-web-inspector .scope-bar li:active {
color: #d9d9d9 !important;
background: #333 !important;
}
#-webkit-web-inspector .scope-bar-divider {
height: 13px !important;
margin: 0 2px;
background-color: #444444 !important;
}
#-webkit-web-inspector .status-bar-select-container {
position: relative;
background: none !important;
}
#-webkit-web-inspector .status-bar-select-container:after {
content: "";
display: block;
position: absolute;
top: 7px;
right: 3px;
width: 0;
height: 0;
opacity: .75;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 8px solid #666666;
}
#-webkit-web-inspector .timeline-records-counter {
color: #666666 !important;
text-shadow: none !important;
}
#-webkit-web-inspector .timeline-category-statusbar-item {
line-height: 20px !important;
margin-left: 5px !important;
}
#-webkit-web-inspector .timeline-category-statusbar-item:first-child {
margin-left: 0 !important;
}
#-webkit-web-inspector .timeline-category-statusbar-item .timeline-category-checkbox {
margin-right: 5px !important;
border-radius: 0 !important;
}
#-webkit-web-inspector .timeline-category-statusbar-item .timeline-category-checkbox:before {
top: -2px !important;
left: -1px !important;
}
#-webkit-web-inspector #console-messages {
font-family: 'DroidSansMono', Menlo, monospace !important;
background: #1d1f21;
}
#-webkit-web-inspector #console-messages a {
color: #666 !important;
}
#-webkit-web-inspector #console-messages a:hover {
color: #999 !important;
}
#-webkit-web-inspector .console-message {
color: #F1F1F1 !important;
}
#-webkit-web-inspector .console-message,
#-webkit-web-inspector .console-user-command {
border-bottom: 1px solid #444 !important;
}
#-webkit-web-inspector .console-user-command > .console-message-text {
color: #C4C7C6 !important;
}
#-webkit-web-inspector .console-formatted-number {
color: #db925f !important;
}
#-webkit-web-inspector .console-formatted-string {
color: #b5bc67 !important;
}
#-webkit-web-inspector .console-formatted-object {
color: #7C7C7C !important;
}
#-webkit-web-inspector .console-formatted-function {
color: #c5c8c6 !important;
}
#-webkit-web-inspector .console-formatted-regexp {
color: #c96666 !important;
}
#-webkit-web-inspector .console-group-messages .section .header .title {
color: #F1F1F1 !important;
}
#-webkit-web-inspector .console-group-messages .section .header::before,
#-webkit-web-inspector .properties-tree li.parent::before {
content: url(chrome-devtools://devtools/Images/treeRightTriangleWhite.png) !important;
}
#-webkit-web-inspector .console-group-messages .section.expanded .header::before,
#-webkit-web-inspector .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: #f22 !important;
}
100% {
color: #f77 !important;
}
}
#-webkit-web-inspector .console-message-text {
color: #c5c8c6;
}
#-webkit-web-inspector .console-error-level .console-message-text .title {
color: #f66 !important;
-webkit-animation-name: webkit-error-level;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
-webkit-timing-function: ease-in-out;
}
#-webkit-web-inspector .console-user-command::before {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTMzNzdGNUZDMTA1MTFFMDgwRUZGQ0JCMjgzMzU0MTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTMzNzdGNjBDMTA1MTFFMDgwRUZGQ0JCMjgzMzU0MTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MzM3N0Y1REMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5MzM3N0Y1RUMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pia6udAAAAB5SURBVHjaYvz//z8DMYAFxli9ejWI6oByK5AVhYaGIhRCgQsQGwOxIFTxe5gEE5pCVyA+C8RpQLwbqgmrwvdQxauhis6AbMamEASUkEwCabyHTWE51BQlqBNMoDSKQhckX3dCFd3DCB4g2AP16VkoGwUwEhvgAAEGAAzQHBRSxqPRAAAAAElFTkSuQmCC) !important;
}
#-webkit-web-inspector #console-prompt {
color: #F1F1F1 !important;
}
#-webkit-web-inspector #console-prompt::before {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjRGNTc2MTZDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjRGNTc2MTdDMTA2MTFFMDgwRUZGQ0JCMjgzMzU0MTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5MzM3N0Y2MUMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5MzM3N0Y2MkMxMDUxMUUwODBFRkZDQkIyODMzNTQxNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Plf0eOsAAAB4SURBVHjaYvz//z8DMYAFxph+BqyhA8qtQFaUacKIUAgFLkBsDMSCUMXvYRJMaApdgfgsEKcB8W6oJqwK30MVr4YqOgPEodgUgoASkkkgjfewKSyHmqIEdYIJlEZR6ILk606oonsYwQMEe6A+PQtlowBGYgMcIMAAF2wcFPVNZx8AAAAASUVORK5CYII=) !important;
color: #c5c8c6 !important;
}
#-webkit-web-inspector .script-view,
#-webkit-web-inspector .properties-tree,
#-webkit-web-inspector .pane,
#-webkit-web-inspector .breakpoint-list li,
#-webkit-web-inspector .pane > .body .info {
color: #CCC !important;
}
#-webkit-web-inspector .script-view,
#-webkit-web-inspector .text-editor-contents,
#-webkit-web-inspector .pane.expanded,
#-webkit-web-inspector #elements-content,
#-webkit-web-inspector .resource-view.json {
background: #1d1f21 !important;
font-size: 12px !important;
}
#-webkit-web-inspector .highlight {
color: #F1F1F1;
}
#-webkit-web-inspector li.hovered:not(.selected) .selection {
background: rgba(255, 255, 255, 0.2) !important;
}
#-webkit-web-inspector #elements-content .selected {
background-color: #353535 !important;
border-right: 11px solid orangered;
}
#-webkit-web-inspector .styles-sidebar-separator,
#-webkit-web-inspector .pane > .title {
position: relative;
height: 23px !important;
padding-left: 20px !important;
line-height: 20px !important;
border-top-color: #666 !important;
border-bottom-color: #333 !important;
font-weight: normal !important;
color: rgba(255, 255, 255, 0.85) !important;
text-shadow: none !important;
text-overflow: ellipsis !important;
background-image: -webkit-linear-gradient(#555555, #333333) !important;
}
#-webkit-web-inspector .styles-sidebar-separator:before,
#-webkit-web-inspector .pane > .title:before {
content: "" !important;
position: absolute;
top: 5px;
left: 7px;
width: 0 !important;
height: 0 !important;
border-left: 8px solid #666666;
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
}
#-webkit-web-inspector .pane.expanded > .title:before {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 8px solid #666666;
}
#-webkit-web-inspector .sidebar-pane-subtitle {
right: 5px !important;
font-size: 11px !important;
}
#-webkit-web-inspector .sidebar-pane-subtitle input[type=checkbox] {
margin-right: 3px;
}
#-webkit-web-inspector .pane > .title > button,
#-webkit-web-inspector .pane > .title > select {
-webkit-filter: invert(1);
}
#-webkit-web-inspector .metrics .position,
#-webkit-web-inspector .metrics .margin,
#-webkit-web-inspector .metrics .padding,
#-webkit-web-inspector .metrics .content {
color: #fff !important;
border-color: #fff !important;
}
#-webkit-web-inspector .metrics .border {
border-color: #f9a050 !important;
}
#-webkit-web-inspector .metrics .position {
background: #35393c !important;
}
#-webkit-web-inspector .metrics .margin {
background: #4d5257 !important;
}
#-webkit-web-inspector .metrics .border {
background: #656c72 !important;
}
#-webkit-web-inspector .metrics .padding {
background: #7d858d !important;
}
#-webkit-web-inspector .metrics .content {
background: #989fa5 !important;
}
#-webkit-web-inspector .metrics .label,
#-webkit-web-inspector .metrics .top,
#-webkit-web-inspector .metrics .bottom,
#-webkit-web-inspector .metrics .right,
#-webkit-web-inspector .metrics .left {
color: #fff !important;
}
#-webkit-web-inspector .webkit-html-comment {
color: #7c7c7c !important;
}
#-webkit-web-inspector .webkit-html-tag {
color: #6ab !important;
}
#-webkit-web-inspector .webkit-html-tag span {
color: #e0e8e8;
}
#-webkit-web-inspector .webkit-html-tag-name {
padding: 0 2px 0 1px;
color: #f9a050 !important;
}
#-webkit-web-inspector .webkit-html-attribute-name {
color: #e3584d !important;
}
#-webkit-web-inspector .webkit-html-attribute-value {
color: #f0df90 !important;
}
#-webkit-web-inspector .webkit-html-attribute-value.webkit-html-resource-link {
color: #1ab !important;
}
#-webkit-web-inspector .webkit-html-text-node .webkit-html-css-node {
color: #c2c3c3 !important;
}
#-webkit-web-inspector .webkit-html-js-node {
color: #c2c3c3 !important;
}
#-webkit-web-inspector .webkit-css-comment {
color: #7c7c7c !important;
}
#-webkit-web-inspector .webkit-css-selector,
#-webkit-web-inspector .styles-selector span[class] {
color: #e9b090 !important;
font-size: 12px;
}
#-webkit-web-inspector .styles-selector span.selector-matches {
color: #ff686d !important;
}
#-webkit-web-inspector .styles-section .selector {
color: #c0ffd0 !important;
}
#-webkit-web-inspector .overloaded .webkit-css-property {
color: #ffa000 !important;
}
#-webkit-web-inspector .webkit-css-property {
color: #f9a050 !important;
}
#-webkit-web-inspector .webkit-css-keyword {
color: #db925f !important;
}
#-webkit-web-inspector .webkit-css-number,
#-webkit-web-inspector .properties-tree .value {
color: #db925f !important;
}
#-webkit-web-inspector .webkit-css-important,
#-webkit-web-inspector .webkit-css-at-rule {
color: #b094bb !important;
}
#-webkit-web-inspector .webkit-css-string {
color: #b5bc67 !important;
}
#-webkit-web-inspector .webkit-css-url {
color: #5ac !important;
}
#-webkit-web-inspector .sidebar-separator {
padding: 3px 5px 5px !important;
background: #333 !important;
color: #b3b3b3 !important;
text-shadow: none !important;
border-color: rgba(255,255,255,0.25) !important;
border-color: transparent !important;
}
#-webkit-web-inspector .webkit-line-content.webkit-highlighted-line {
position: relative;
background: black !important;
-webkit-animation: none !important;
}
#-webkit-web-inspector .webkit-html-error-message {
background: #222 !important;
border: 2px solid orangered;
padding: 4px 8px !important;
font-family: "Ubuntu Mono" !important;
font-size: 15px !important;
font-weight: 400 !important;
box-shadow: none !important;
}
#-webkit-web-inspector .webkit-html-warning-message {
color: #333;
}
#-webkit-web-inspector .webkit-html-error-message .error-icon-small {
display: none !important;
}
#-webkit-web-inspector .webkit-line-content.webkit-highlighted-line:before {
position: absolute;
content: "";
left: 0;
top: 0;
height: 100%;
width:2px;
background:black;
border-width: 0 4px 0 4px;
border-style: double;
border-color: orangered;
}
#-webkit-web-inspector .webkit-line-content,
#-webkit-web-inspector .webkit-javascript-ident {
color: #ffffff !important;
}
/* JAVASCRIPT & HTML Colors */
#-webkit-web-inspector .webkit-javascript-keyword,
#-webkit-web-inspector .cm-s-web-inspector-js span.cm-keyword,
#-webkit-web-inspector .cm-s-web-inspector-html span.cm-attribute {
color: #db925f !important;
}
#-webkit-web-inspector .cm-s-web-inspector-html span.cm-tag {
color: salmon !important;
}
#-webkit-web-inspector .webkit-javascript-comment {
color: #7c7c7c !important;
}
#-webkit-web-inspector .webkit-javascript-string,
#-webkit-web-inspector .cm-s-web-inspector-js span.cm-string,
#-webkit-web-inspector .cm-s-web-inspector-html span.cm-string {
color: #b5bc67 !important;
}
#-webkit-web-inspector .webkit-javascript-number {
color: #db925f !important;
}
#-webkit-web-inspector .webkit-javascript-regexp,
#-webkit-web-inspector .cm-s-web-inspector-js span.cm-number {
color: #c96666 !important;
}
#-webkit-web-inspector .section .properties .name,
#-webkit-web-inspector .event-properties .name,
#-webkit-web-inspector .cm-s-web-inspector-js span.cm-comment,
#-webkit-web-inspector .cm-s-web-inspector-html span.cm-comment {
color: #82a1be !important;
}
#-webkit-web-inspector .popover {
color: #ffffff !important;
}
#-webkit-web-inspector .popover .arrow {
display: none;
}
#-webkit-web-inspector .popover .network-timing-bar {
background: #808080 !important;
border-color: #808080 !important;
}
#-webkit-web-inspector .network-timing-bar-title {
color: #ffffff !important;
}
#-webkit-web-inspector .editing {
color: #c5c8c6 !important;
background-color: #000 !important;
}
#-webkit-web-inspector .styles-section.read-only {
background: #2b2b2b !important;
background-image: -webkit-linear-gradient(top, transparent, transparent 2px, #262626 2px), -webkit-linear-gradient(left, transparent, transparent 2px, #262626 2px) !important;
background-size: 3px 3px !important;
}
#-webkit-web-inspector .styles-section .properties .overloaded:not(.has-ignorable-error) {
/* $line-through */
text-decoration: none !important;
position: relative;
opacity: 0.725;
}
#-webkit-web-inspector .styles-section .properties .overloaded.not-parsed-ok:not(.has-ignorable-error) {
text-decoration: line-through !important;
position: relative;
}
#-webkit-web-inspector .styles-section .properties .overloaded:not(.has-ignorable-error):after,
#-webkit-web-inspector .styles-section .properties .not-parsed-ok:not(.has-ignorable-error):after {
content:'';
z-index:30000;
position: absolute;
top: 1px;
left: 18px;
right: 8px;
height: 12px;
background-color: #363636;
opacity: 0.4;
}
#-webkit-web-inspector .styles-section,
#-webkit-web-inspector .subtitle {
color: #7C7C7C !important;
}
#-webkit-web-inspector .section > .header::before,
#-webkit-web-inspector .properties-tree li.parent::before,
#-webkit-web-inspector .event-bars .event-bar .header::before,
#-webkit-web-inspector .outline-disclosure li.parent::before,
#-webkit-web-inspector .styles-section.matched-styles .properties li.parent .expand-element {
content: url(chrome-devtools://devtools/Images/treeRightTriangleWhite.png) !important;
}
#-webkit-web-inspector .styles-section .properties li.parent::before,
#-webkit-web-inspector .styles-section .properties li.parent.expanded::before {
content: none !important;
}
#-webkit-web-inspector .styles-section.matched-styles .properties li.parent .expand-element {
margin-right: 1px !important;
margin-left: -5px !important;
opacity: 0.6 !important;
}
#-webkit-web-inspector .section.expanded > .header::before,
#-webkit-web-inspector .event-bars .event-bar.expanded .header::before,
#-webkit-web-inspector .outline-disclosure li.parent.expanded::before,
#-webkit-web-inspector .styles-section.matched-styles .properties li.parent.expanded .expand-element {
content: url(chrome-devtools://devtools/Images/treeDownTriangleWhite.png) !important;
}
#-webkit-web-inspector .child-editing {
color: #c5c8c6 !important;
}
#-webkit-web-inspector .section .properties .name,
#-webkit-web-inspector .event-properties .name {
color: #82a1be !important;
}
#-webkit-web-inspector .section .header {
color: #CCC !important;
}
#-webkit-web-inspector .properties .value {
color: #c2c3c3 !important;
}
#-webkit-web-inspector .event-bars .event-bar .header .title {
color: #969796 !important;
text-shadow: none !important;
}
#-webkit-web-inspector .console-formatted-number {
color: #db925f !important;
}
#-webkit-web-inspector .console-formatted-string {
color: #b5bc67 !important;
}
#-webkit-web-inspector .console-formatted-object,
#-webkit-web-inspector .console-formatted-node,
#-webkit-web-inspector .console-formatted-array {
color: #fC7C7C !important;
}
#-webkit-web-inspector .console-formatted-function {
color: #c5c8c6 !important;
}
#-webkit-web-inspector .console-formatted-regexp {
color: #c96666 !important;
}
#-webkit-web-inspector .console-message, .console-user-command {
border-top-color: #222 !important;
}
#-webkit-web-inspector .section .properties .name, .event-properties .name, .console-formatted-object .name {
color: #4ab !important;
}
#-webkit-web-inspector .console-error-level .console-message-text, .console-error-level .section .header .title {
color: orangered !important;
}
#-webkit-web-inspector .placard:nth-of-type(2n) {
background: #333 !important;
}
#-webkit-web-inspector .placard.selected {
background-image: -webkit-linear-gradient(#c96666, #6f2727) !important;
border-top-color: #6f2727 !important;
}
#-webkit-web-inspector .placard .title {
color: #CCC !important;
}
#-webkit-web-inspector .placard .subtitle {
color: rgba(255, 255, 255, 0.7) !important;
}
#-webkit-web-inspector .popover {
background-color: rgba(0, 0, 0, 0.9) !important;
border: 10px solid rgba(0, 0, 0, 0.9) !important;
border-radius: 10px !important;
-webkit-border-image: none !important;
margin-left: 10px !important;
}
#-webkit-web-inspector .popover .arrow {
background-image: none !important;
border-color: transparent transparent #000 transparent !important;
border-style: solid;
border-width: 10px;
width: 0 !important;
height: 0 !important;
bottom: -2px !important;
left: 0;
}
#-webkit-web-inspector .popover.bottom-left-arrow .arrow,
#-webkit-web-inspector .popover.bottom-right-arrow .arrow {
border-color: #000 transparent transparent transparent !important;
}
#-webkit-web-inspector .popover.left-top-arrow .arrow,
#-webkit-web-inspector .popover.left-bottom-arrow .arrow {
border-color: transparent #000 transparent transparent !important;
}
#-webkit-web-inspector .popover.right-top-arrow .arrow,
#-webkit-web-inspector .popover.right-bottom-arrow .arrow {
border-color: transparent transparent #000 transparent !important;
}
#-webkit-web-inspector .popover .source-frame-popover-title {
color: #c5c8c6 !important;
}
#-webkit-web-inspector .popover .source-frame-popover-tree {
border-top-color: #444 !important;
}
#-webkit-web-inspector .custom-popup-vertical-scroll ::-webkit-scrollbar-track-piece:vertical:decrement,
#-webkit-web-inspector .custom-popup-vertical-scroll ::-webkit-scrollbar-track-piece:vertical:increment {
background: #333 !important;
border-radius: 5px !important;
}
#-webkit-web-inspector .webkit-execution-line.webkit-line-content {
background-color: #242729 !important;
outline: 1px solid #000000 !important;
}
body.compact .help-window-outer {
top: 50px !important;
}
@guli
Copy link

guli commented Aug 29, 2013

adding

-webkit-web-inspector .toolbar-label {

color: #0f0 !important;
}

change color of toolbar item because the gray on black and it's hard to see them.

Great theme !

@pavelloz
Copy link

@guli Hmmm, when i loaded this theme the main toolbar didnt received any styles, so its grey background and black letters. Maybe some other custom css is interfering with yours?

@olexpono
Copy link
Author

http://i.imgur.com/cu5pR3t.png
September 2013 Update!!

Not sure how long the toolbar was broken (I must've fixed it locally a while back). @guli the toolbar got updated with a nicely-fitting style for the current tab as well.

Anyway, I changed a few details, reduced breakages in other tabs, and made it a bit more subtle in places.

Overloaded CSS rules now have a wide faded stripe over them, rather than the line-through, which can be a little confusing at first. Basically I dislike reading crossed-out properties and I found that I often couldn't make out the property as easily. Now you can see the letters in either case, and the overloaded ones are just inactive-looking. If you want to change this, Ctrl-F for $line-through and change it there.

@qcgm1978
Copy link

Hello:
I find the code displays not clear when breakpoints sets as following pic:
breakpoint line

@qcgm1978
Copy link

Can you see the pic?

@netpoetica
Copy link

Pretty awesome! I had absolutely no idea you could style Chrome dev tools!

@jklue
Copy link

jklue commented Mar 4, 2016

I can't find a "User Stylesheets" directory in my Chrome (Version 48.0.2564.116 (64-bit)). Is there a new place to save this file? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment