From 65fc58005cce2fe98bc57ac70d07ed6b91ec7820 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Fri, 11 Dec 2015 22:35:57 -0500 Subject: [PATCH] Use SVG for icons --- gulpfile.js | 2 +- src/css/contextmenu.css | 4 +- src/css/img/description.txt | 9 +- src/css/img/export.sh | 16 - src/css/img/jsoneditor-icons.png | Bin 14438 -> 0 bytes src/css/img/jsoneditor-icons.svg | 1715 +++++++++++++++--------------- src/css/jsoneditor.css | 8 +- src/css/menu.css | 2 +- src/css/searchbox.css | 2 +- 9 files changed, 893 insertions(+), 865 deletions(-) delete mode 100644 src/css/img/export.sh delete mode 100644 src/css/img/jsoneditor-icons.png diff --git a/gulpfile.js b/gulpfile.js index c3ddd51..d19c377 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -11,7 +11,7 @@ var uglify = require('uglify-js'); var NAME = 'jsoneditor'; var ENTRY = './src/js/JSONEditor.js'; var HEADER = './src/js/header.js'; -var IMAGE = './src/css/img/jsoneditor-icons.png'; +var IMAGE = './src/css/img/jsoneditor-icons.svg'; var DIST = './dist'; // generate banner with today's date and correct version diff --git a/src/css/contextmenu.css b/src/css/contextmenu.css index 95c49e0..ea1f71d 100644 --- a/src/css/contextmenu.css +++ b/src/css/contextmenu.css @@ -66,7 +66,7 @@ border: none; padding: 0; margin: 0; - background-image: url('img/jsoneditor-icons.png'); + background-image: url('img/jsoneditor-icons.svg'); } .jsoneditor-contextmenu ul li button div.expand { @@ -75,7 +75,7 @@ height: 24px; padding: 0; margin: 0 4px 0 0; - background: url('img/jsoneditor-icons.png') 0 -72px; + background: url('img/jsoneditor-icons.svg') 0 -72px; opacity: 0.4; } diff --git a/src/css/img/description.txt b/src/css/img/description.txt index ad8f3c8..fe410a9 100644 --- a/src/css/img/description.txt +++ b/src/css/img/description.txt @@ -1,13 +1,14 @@ -JSON Editor Online Icons +JSON Editor Icons size: outer: 24x24 px inner: 16x16 px blue background: RGBA 97b0f8ff -gray background: RGBA d3d3d3ff +gray background: RGBA 4d4d4dff +grey background: RGBA d3d3d3ff -red foreground: RGBA ff0000ff -green foreground: RGBA 109618ff +red foreground: RGBA ff3300ff +green foreground: RGBA 13ae00ff characters are based on the Arial font diff --git a/src/css/img/export.sh b/src/css/img/export.sh deleted file mode 100644 index 8f8c314..0000000 --- a/src/css/img/export.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# Export the SVG icons to PNG and GIF formats - -echo "Exporting the SVG icons..." - -outputdir=./ -mogrify -format png -background transparent -path $outputdir *.svg -# mogrify -format gif -background transparent -path $outputdir dots_gray.svg -echo "PNG's exported to $outputdir" - -# mogrify -format gif -background transparent -path gif *.svg -# echo "GIF's exported to /gif" -# mogrify -format png -background transparent -path png *.svg -# echo "PNG's exported to /png" - -echo "Done" diff --git a/src/css/img/jsoneditor-icons.png b/src/css/img/jsoneditor-icons.png deleted file mode 100644 index 7120088f9475d17ba3bd5f716bdf8bf4eeb1f32a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14438 zcmajm1yodFxG($xq@+XXl5UXh25AHYq`SL22M_@%=@OCdF6jp8?(UQr8ooWA^PO1h z-gW=K1)CWdW)HLW`#x_Fp`s*%_L}fD2n0ft{UE6d9Or?LLQDkU^JM&^18{g{A*Lt> z0#(JJJQ~3Rw_#jVWyC?{qr?Zm4RVtYs)`_xHw_3B2nK=ffx80tK_E9a5a`el1maHt zf$$tNnm-Bx-#{>ymyraHK<*@30)PXu-E;9|#YivRbg{RwfxrOrXCGkuU;uiW~{(#8hp*MuuKc(Oy3eMTF(dpRHYU`mjC~$ds(>ROA_U6jfeU}%Ms&L=o@a?4ko5VUh<_m6jOdA|Kh9C}NJjE?7~99bQmiiRR^{7b!XY!PUXyB1Ac0 zt{fd542mKXaV>O2euMjVwW<3Or`o13Y(GIr8(_Kl>Z2!@WX zu$((wzDS)R4g`8Uad>`qlQ@aMNlmS*+jW8KynXQTk*5Mlgx}xKDxPHt$;4=A!g>0% zG|5tdL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$ zD1R(wb>#88meGuZeHT`S{~Wh^r|Rb?*VKIW-=@F7_4*neT{(xsinMcm(ok;D}ob^ut!dyeYvF+sBrXc_g7@LfG!snBqv*k0;I%)&l&oWQBp?JJ_+Qx z%bk4JYx$K6B`8Gnkilic37EF78pflTcB=Cg8}|GXej5z?uPj#G6URl4!yGi1t!UpC zO6~x540w4JV}FV$2J0cg7(!PTKo>|}V8NdT?fEp_x4vRL!S=6K_NQg*wE&(MrbbDR z=|DMj*F8dJpY;8U-ug%{*+$H{%zKWe&&y2q8lr)f*TgBC3;|HjN~V#Htq{26_lBvVyqHe3*^{|oP6XDjz+?&0W(gCn#RdBf~?RPx<} zyfqb9d>V&E2SG+BpTLrH@Xo7YVndxkQnq5SVmM2Q)W*M1HTBf`i5E2kr;0H9xAjxz#lUDgX8%4mgEuLzrXO~BmFaOz|e4H&2A~* zQJWv-e@^$M-#=f0ghVmaHAB$m1EX7?G8SCS$5NRSLMMUwNC7wFhfn5E1aB{FkH!dq zVd^S)Ui{|l4-XwT9k)XEX#G^ED}~+wOQ4n2?>7#;I(z~(0v`2b&{4p9+HhF-*Liu@ zqdbJt-Ijri`%r2H*nT(whqbpYKXguTZeIxx{sH4{NO?}Ik|I!ZXEh2tZUjyOBrByPSuSoE{Qm)- CdkcvG diff --git a/src/css/img/jsoneditor-icons.svg b/src/css/img/jsoneditor-icons.svg index d869225..f464b02 100644 --- a/src/css/img/jsoneditor-icons.svg +++ b/src/css/img/jsoneditor-icons.svg @@ -1,6 +1,4 @@ - - - - + inkscape:version="0.91 r13725" + sodipodi:docname="jsoneditor-icons.svg"> + JSON Editor Icons + id="metadata4148"> image/svg+xml - + JSON Editor Icons + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VALUE - FIELD - + id="g4138"> + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VALUE + FIELD + + + + diff --git a/src/css/jsoneditor.css b/src/css/jsoneditor.css index aca50ab..bfc66eb 100644 --- a/src/css/jsoneditor.css +++ b/src/css/jsoneditor.css @@ -33,12 +33,12 @@ } .jsoneditor .field.empty { - background-image: url('img/jsoneditor-icons.png'); + background-image: url('img/jsoneditor-icons.svg'); background-position: 0 -144px; } .jsoneditor .value.empty { - background-image: url('img/jsoneditor-icons.png'); + background-image: url('img/jsoneditor-icons.svg'); background-position: -48px -144px; } @@ -87,7 +87,7 @@ margin: 0; border: none; cursor: pointer; - background: transparent url('img/jsoneditor-icons.png'); + background: transparent url('img/jsoneditor-icons.svg'); } .jsoneditor div.tree button.collapsed { @@ -188,7 +188,7 @@ } .jsoneditor div.tree button.dragarea { - background: url('img/jsoneditor-icons.png') -72px -72px; + background: url('img/jsoneditor-icons.svg') -72px -72px; cursor: move; } diff --git a/src/css/menu.css b/src/css/menu.css index 2063b10..fd5fe54 100644 --- a/src/css/menu.css +++ b/src/css/menu.css @@ -21,7 +21,7 @@ padding: 0; border-radius: 2px; border: 1px solid #aec0f8; - background: #e3eaf6 url('img/jsoneditor-icons.png'); + background: #e3eaf6 url('img/jsoneditor-icons.svg'); color: #4D4D4D; opacity: 0.8; diff --git a/src/css/searchbox.css b/src/css/searchbox.css index fd5ea88..64ca605 100644 --- a/src/css/searchbox.css +++ b/src/css/searchbox.css @@ -43,7 +43,7 @@ padding: 0; margin: 0; border: none; - background: url('img/jsoneditor-icons.png'); + background: url('img/jsoneditor-icons.svg'); vertical-align: top; }