Ver Fonte

Internal: Replace theme icons with the ones from ckeditor-core package.

Maciej Gołaszewski há 8 anos atrás
pai
commit
76c25f0b73

+ 4 - 4
packages/ckeditor5-alignment/src/alignment.js

@@ -13,10 +13,10 @@ import AlignmentEngine from './alignmentengine';
 
 
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
 
 
-import alignLeftIcon from '../theme/icons/alignleft.svg';
-import alignRightIcon from '../theme/icons/alignright.svg';
-import alignCenterIcon from '../theme/icons/aligncenter.svg';
-import alignJustifyIcon from '../theme/icons/alignjustify.svg';
+import alignLeftIcon from '../theme/icons/align-left.svg';
+import alignRightIcon from '../theme/icons/align-right.svg';
+import alignCenterIcon from '../theme/icons/align-center.svg';
+import alignJustifyIcon from '../theme/icons/align-justify.svg';
 
 
 /**
 /**
  * The alignment plugin.
  * The alignment plugin.

+ 1 - 0
packages/ckeditor5-alignment/theme/icons/align-center.svg

@@ -0,0 +1 @@
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16 10v1H4v-1h12zm-1 6v1H5v-1h10zm3-3v1H2v-1h16zm-2-9v1H4V4h12zm2 3v1H2V7h16z" fill="#444" fill-rule="evenodd"/></svg>

+ 1 - 0
packages/ckeditor5-alignment/theme/icons/align-justify.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M18 10v1H2v-1zm-3 6v1H2v-1zm3-3v1H2v-1zm0-9v1H2V4zm0 3v1H2V7z" fill="#444" fill-rule="evenodd"/></svg>

+ 1 - 0
packages/ckeditor5-alignment/theme/icons/align-left.svg

@@ -0,0 +1 @@
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10v1h12v-1H3zm0 6v1h10v-1H3zm0-3v1h15v-1H3zm0-9v1h12V4H3zm0 3v1h15V7H3z" fill="#444" fill-rule="evenodd"/></svg>

+ 1 - 0
packages/ckeditor5-alignment/theme/icons/align-right.svg

@@ -0,0 +1 @@
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 10v1H5v-1h12zm0 6v1H7v-1h10zm0-3v1H2v-1h15zm0-9v1H5V4h12zm0 3v1H2V7h15z" fill="#444" fill-rule="evenodd"/></svg>

+ 0 - 17
packages/ckeditor5-alignment/theme/icons/aligncenter.svg

@@ -1,17 +0,0 @@
-<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
- <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
- <g>
-  <title>background</title>
-  <rect fill="none" id="canvas_background" height="22" width="22" y="-1" x="-1"/>
-  <g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
-   <rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
-  </g>
- </g>
- <g>
-  <title>Layer 1</title>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_5" y2="8.214292" x2="17.12117" y1="8.214292" x1="3.125025" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_6" y2="16.48807" x2="17.12117" y1="16.48807" x1="3.125025" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_8" y2="4.047642" x2="14.323562" y1="4.047642" x1="5.922633" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_9" y2="12.261896" x2="14.323562" y1="12.261896" x1="5.922633" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
- </g>
-</svg>

+ 0 - 17
packages/ckeditor5-alignment/theme/icons/alignjustify.svg

@@ -1,17 +0,0 @@
-<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
- <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
- <g>
-  <title>background</title>
-  <rect fill="none" id="canvas_background" height="22" width="22" y="-1" x="-1"/>
-  <g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
-   <rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
-  </g>
- </g>
- <g>
-  <title>Layer 1</title>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_5" y2="8.452387" x2="17.061646" y1="8.452387" x1="3.065501" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_6" y2="16.3095" x2="17.12117" y1="16.3095" x1="3.125025" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_10" y2="4.642877" x2="16.883075" y1="4.642877" x1="2.886931" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_11" y2="12.559514" x2="17.002123" y1="12.559514" x1="3.005978" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
- </g>
-</svg>

+ 0 - 17
packages/ckeditor5-alignment/theme/icons/alignleft.svg

@@ -1,17 +0,0 @@
-<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
- <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
- <g>
-  <title>background</title>
-  <rect fill="none" id="canvas_background" height="22" width="22" y="-1" x="-1"/>
-  <g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
-   <rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
-  </g>
- </g>
- <g>
-  <title>Layer 1</title>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_5" y2="8.214292" x2="15.930698" y1="8.214292" x1="1.934553" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_6" y2="16.48807" x2="15.930698" y1="16.48807" x1="1.934553" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_8" y2="4.047642" x2="10.335481" y1="4.047642" x1="1.934553" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_9" y2="12.261896" x2="10.335481" y1="12.261896" x1="1.934553" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
- </g>
-</svg>

+ 0 - 17
packages/ckeditor5-alignment/theme/icons/alignright.svg

@@ -1,17 +0,0 @@
-<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
- <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
- <g>
-  <title>background</title>
-  <rect fill="none" id="canvas_background" height="22" width="22" y="-1" x="-1"/>
-  <g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
-   <rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
-  </g>
- </g>
- <g>
-  <title>Layer 1</title>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_5" y2="8.214292" x2="18.133071" y1="8.214292" x1="4.136926" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_6" y2="16.48807" x2="18.133071" y1="16.48807" x1="4.136926" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_8" y2="4.047642" x2="18.133071" y1="4.047642" x1="9.732143" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
-  <line stroke-linecap="undefined" stroke-linejoin="undefined" id="svg_9" y2="12.261896" x2="18.133071" y1="12.261896" x1="9.732143" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="none"/>
- </g>
-</svg>