Skip to content

Commit

Permalink
first.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Nov 30, 2013
0 parents commit 809220e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devtools.html
@@ -0,0 +1,6 @@
<html>
<head>
<body>
<script src="devtools.js"></script>
</body>
</html>
5 changes: 5 additions & 0 deletions devtools.js
@@ -0,0 +1,5 @@
var xhr = new XMLHttpRequest();
xhr.open("GET", "/styles.css", false);
xhr.send();
chrome.devtools.panels.applyStyleSheet(xhr.responseText);

7 changes: 7 additions & 0 deletions manifest.json
@@ -0,0 +1,7 @@
{
"name": "Rainbow DevTools Theme",
"version": "1.1",
"description": "Sample DevTools theme. Enable DevTools experiments in about:flags, then open DevTools and toggle \"Allow UI themes\" experiment.",
"devtools_page": "devtools.html",
"manifest_version": 2
}
14 changes: 14 additions & 0 deletions styles.css
@@ -0,0 +1,14 @@
.panel {
background-image: -webkit-gradient(linear, left top, right top,
color-stop(0.00, rgba(255,0,0, 0.1)),
color-stop(16%, rgba(255, 165, 0, 0.1)),
color-stop(32%, rgba(255, 255, 0, 0.1)),
color-stop(48%, rgba(0, 128, 0, 0.1)),
color-stop(60%, rgba(0, 0, 255, 0.1)),
color-stop(76%, rgba(75, 0, 130, 0.1)),
color-stop(1.00, rgba(238, 130, 238, 0.1)));
}

* { direction:rtl; }


0 comments on commit 809220e

Please sign in to comment.