windhamdavid 1 year ago
parent
commit
d4f62953fa
5 changed files with 1391 additions and 4148 deletions
  1. 9 0
      README.md
  2. 6 10
      devtools.js
  3. 1 1
      manifest.json
  4. 0 2737
      stable.css
  5. 1375 1400
      canary.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
   - spaced .toolbar-counter better
   - removed text shadow    
+  
   **todo**: 
   	- remove text shadow from console frame selector element
   	- 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,
    "name": "DevTools Theme: Sunburst",
    "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 - 2737
stable.css


File diff suppressed because it is too large
+ 1375 - 1400
canary.css