diff --git a/.gitignore b/.gitignore index e9b4327..c5f05f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ bower_components vulcanized.js -vulcanized.html \ No newline at end of file +vulcanized.html +index.build.html +index.build.js \ No newline at end of file diff --git a/assets/favicon_128.png b/assets/favicon_128.png new file mode 100644 index 0000000..403143f Binary files /dev/null and b/assets/favicon_128.png differ diff --git a/assets/favicon_32.png b/assets/favicon_32.png new file mode 100644 index 0000000..c57a775 Binary files /dev/null and b/assets/favicon_32.png differ diff --git a/assets/favicon_512.png b/assets/favicon_512.png new file mode 100644 index 0000000..d46f4e1 Binary files /dev/null and b/assets/favicon_512.png differ diff --git a/background.js b/background.js index f460b13..abc0c16 100644 --- a/background.js +++ b/background.js @@ -6,7 +6,7 @@ */ chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.window.create( - 'index.html', + 'index.html',//Open the minified and CSP enabled code { id: 'mainWindow', bounds: {width: 800, height: 600} diff --git a/bower.json b/bower.json index 54b9d50..3d320da 100644 --- a/bower.json +++ b/bower.json @@ -6,13 +6,13 @@ "author": "", "private": true, "dependencies": { - "polymer": "Polymer/polymer#^0.5.2", - "core-elements": "Polymer/core-elements#^0.5.2", - "prettify-element": "Polymer/prettify-element3^0.5.2", - "paper-button": "Polymer/paper-button#~0.5.2", - "paper-dropdown-menu": "Polymer/paper-dropdown-menu#~0.5.2", - "paper-dropdown": "Polymer/paper-dropdown#~0.5.2", - "paper-input": "Polymer/paper-input#~0.5.2", - "paper-toggle-button": "Polymer/paper-toggle-button#~0.5.2" + "polymer": "Polymer/polymer#^1.0.5", + "prettify-element": "smokybob/prettify-element#1.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.1", + "iron-icons": "PolymerElements/iron-icons#^1.0.1", + "paper-input": "PolymerElements/paper-input#^1.0.0", + "paper-button": "PolymerElements/paper-button#^1.0.1", + "paper-toggle-button": "PolymerElements/paper-toggle-button#^1.0.1", + "iron-autogrow-textarea": "SmokyBob/iron-autogrow-textarea#inherit-color" } } diff --git a/fonts.css b/fonts.css index 2168b6a..6e551d4 100644 --- a/fonts.css +++ b/fonts.css @@ -1,9 +1,11 @@ +/*Inconsolata Font offline for Chrome Apps*/ + /* latin-ext */ @font-face { font-family: 'Inconsolata'; font-style: normal; font-weight: 400; - src: local('Inconsolata'), url(http://fonts.gstatic.com/s/inconsolata/v10/BjAYBlHtW3CJxDcjzrnZCCYE0-AqJ3nfInTTiDXDjU4.woff2) format('woff2'); + src: local('Inconsolata'), url('../fonts/Inconsolata-latin.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @@ -11,7 +13,7 @@ font-family: 'Inconsolata'; font-style: normal; font-weight: 400; - src: local('Inconsolata'), url(http://fonts.gstatic.com/s/inconsolata/v10/BjAYBlHtW3CJxDcjzrnZCOL2WfuF7Qc3ANwCvwl0TnA.woff2) format('woff2'); + src: local('Inconsolata'), url('../fonts/Inconsolata-latin-ext.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; } /* latin-ext */ @@ -19,7 +21,7 @@ font-family: 'Inconsolata'; font-style: normal; font-weight: 700; - src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url(http://fonts.gstatic.com/s/inconsolata/v10/AIed271kqQlcIRSOnQH0yejkDdvhIIFj_YMdgqpnSB0.woff2) format('woff2'); + src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url('../fonts/InconsolataBold-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @@ -27,6 +29,6 @@ font-family: 'Inconsolata'; font-style: normal; font-weight: 700; - src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url(http://fonts.gstatic.com/s/inconsolata/v10/AIed271kqQlcIRSOnQH0ydGR1r2frwpfjEqI8Bb_XHU.woff2) format('woff2'); + src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url('../fonts/InconsolataBold-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; } \ No newline at end of file diff --git a/fonts/Inconsolata-latin-ext.woff2 b/fonts/Inconsolata-latin-ext.woff2 new file mode 100644 index 0000000..732e27f Binary files /dev/null and b/fonts/Inconsolata-latin-ext.woff2 differ diff --git a/fonts/Inconsolata-latin.woff2 b/fonts/Inconsolata-latin.woff2 new file mode 100644 index 0000000..ae4186d Binary files /dev/null and b/fonts/Inconsolata-latin.woff2 differ diff --git a/fonts/InconsolataBold-latin-ext.woff2 b/fonts/InconsolataBold-latin-ext.woff2 new file mode 100644 index 0000000..0bc07dc Binary files /dev/null and b/fonts/InconsolataBold-latin-ext.woff2 differ diff --git a/fonts/InconsolataBold-latin.woff2 b/fonts/InconsolataBold-latin.woff2 new file mode 100644 index 0000000..6ea4341 Binary files /dev/null and b/fonts/InconsolataBold-latin.woff2 differ diff --git a/index.html b/index.html index 8536364..db1bfa5 100644 --- a/index.html +++ b/index.html @@ -2,54 +2,69 @@ PrettyCode - + + + + + - - - + - + - - + + - -