windhamdavid 5 years ago
parent
commit
d4f62953fa
5 changed files with 236 additions and 2164 deletions
  1. 9 0
      README.md
  2. 6 10
      devtools.js
  3. 1 1
      manifest.json
  4. 0 1782
      stable.css
  5. 220 371
      sunburst.css

+ 9 - 0
README.md

@@ -1,6 +1,15 @@
+##### 1.0.2
+  - (October 2018)
+  - moved custom css to sunburst.css
+  - removed XMLHttpRequest to stable.css
+  - fixed error in devtools.js
+  - changed line highlighting colors
+  - [Changes Git Repo](https://code.davidawindham.com/david/sunburst-devtools/)
+	
 ##### 1.0.1
 ##### 1.0.1
   - spaced .toolbar-counter better
   - spaced .toolbar-counter better
   - removed text shadow    
   - removed text shadow    
+  
   **todo**: 
   **todo**: 
   	- remove text shadow from console frame selector element
   	- remove text shadow from console frame selector element
   	- remove light background from console filter .toolbar-item.toggled-shown
   	- remove light background from console filter .toolbar-item.toggled-shown

+ 6 - 10
devtools.js

@@ -1,10 +1,6 @@
-var xhr = new XMLHttpRequest(),
-	stylesheet = 'stable.css';
-
-if (/Chrome\/(\d\d)/.exec(navigator.userAgent)[1] > 39) {
-	stylesheet = 'canary.css'
-}
-
-xhr.open("GET", "/" + stylesheet, false);
-xhr.send();
-chrome.devtools.panels.applyStyleSheet(xhr.responseText);
+var x = new XMLHttpRequest();
+x.open('GET', 'sunburst.css');
+x.onload = function() {
+    chrome.devtools.panels.applyStyleSheet(x.responseText);
+};
+x.send();

+ 1 - 1
manifest.json

@@ -10,5 +10,5 @@
    "manifest_version": 2,
    "manifest_version": 2,
    "name": "DevTools Theme: Sunburst",
    "name": "DevTools Theme: Sunburst",
    "update_url": "https://clients2.google.com/service/update2/crx",
    "update_url": "https://clients2.google.com/service/update2/crx",
-   "version": "1.0.1"
+   "version": "1.0.2"
 }
 }

File diff suppressed because it is too large
+ 0 - 1782
stable.css


File diff suppressed because it is too large
+ 220 - 371
sunburst.css


Some files were not shown because too many files changed in this diff