8
0
Просмотр исходного кода

Moved icons from the theme to the feature package. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/59.

Piotrek Koszuliński 9 лет назад
Родитель
Сommit
4644e49394

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-center.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-center</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-center" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-center" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M2,6 L2,7 L14,7 L14,6 L2,6 L2,6 Z M3,12 L3,13 L13,13 L13,12 L3,12 L3,12 Z M0,9 L0,10 L16,10 L16,9 L0,9 L0,9 Z M2,0 L2,1 L14,1 L14,0 L2,0 L2,0 Z M0,3 L0,4 L16,4 L16,3 L0,3 L0,3 Z" id="path4634-copy-3" sketch:type="MSShapeGroup" transform="translate(8.000000, 6.500000) scale(-1, 1) translate(-8.000000, -6.500000) "></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-left.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-left</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-left" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-left" sketch:type="MSLayerGroup" transform="translate(3.000000, 4.000000)">
+                <path d="M0,6 L0,7 L12,7 L12,6 L0,6 L0,6 Z M0,12 L0,13 L10,13 L10,12 L0,12 L0,12 Z M0,9 L0,10 L15,10 L15,9 L0,9 L0,9 Z M0,0 L0,1 L12,1 L12,0 L0,0 L0,0 Z M0,3 L0,4 L15,4 L15,3 L0,3 L0,3 Z" id="path4634" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-right.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-right</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-right" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-right" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M0,6 L0,7 L12,7 L12,6 L0,6 L0,6 Z M0,12 L0,13 L10,13 L10,12 L0,12 L0,12 Z M0,9 L0,10 L15,10 L15,9 L0,9 L0,9 Z M0,0 L0,1 L12,1 L12,0 L0,0 L0,0 Z M0,3 L0,4 L15,4 L15,3 L0,3 L0,3 Z" id="path4634-copy" sketch:type="MSShapeGroup" transform="translate(7.500000, 6.500000) scale(-1, 1) translate(-7.500000, -6.500000) "></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/image.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>image</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="image" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:image" sketch:type="MSLayerGroup" transform="translate(2.000000, 3.000000)">
+                <path d="M0,11.9941413 C0,13.1019465 0.894513756,14 1.99406028,14 L14.0059397,14 C15.1072288,14 16,13.1029399 16,11.9941413 L16,2.00585866 C16,0.898053512 15.1054862,0 14.0059397,0 L1.99406028,0 C0.892771196,0 0,0.897060126 0,2.00585866 L0,11.9941413 Z M1,2.00247329 C1,1.44882258 1.44994876,1 2.00684547,1 L13.9931545,1 C14.5492199,1 15,1.45576096 15,2.00247329 L15,11.9975267 C15,12.5511774 14.5500512,13 13.9931545,13 L2.00684547,13 C1.45078007,13 1,12.544239 1,11.9975267 L1,2.00247329 Z M2.0237314,12.0028573 L14,12.0028573 L14,8.90598928 L11.1099289,4.64285714 L8.01350775,9.9000001 L5.01091767,7.79714291 L2,10.9601769 L2.0237314,12.0028573 Z M4.40625001,3 C3.62959688,3 3,3.62360071 3,4.39285714 C3,5.16210429 3.62959688,5.78571429 4.40625001,5.78571429 C5.18289376,5.78571429 5.81250002,5.16210429 5.81250002,4.39285714 C5.81250002,3.62360071 5.18289376,3 4.40625001,3 L4.40625001,3 Z" id="path4700" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 16 - 0
packages/ckeditor5-core/theme/icons/picker.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>picker</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="picker" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:picker" sketch:type="MSLayerGroup" transform="translate(0.000000, 1.000000)">
+                <g id="Rectangle-230-+-Oval-3-+-Rectangle-229" transform="translate(9.683996, 9.356877) rotate(-316.000000) translate(-9.683996, -9.356877) translate(5.683996, 0.356877)" sketch:type="MSShapeGroup">
+                    <path d="M2,7 L2,15.9996343 C2,17.1039635 2.89543351,18 4,18 C5.10776926,18 6,17.1050627 6,15.9996343 L6,7 L5,7 L5,15.9996343 C5,16.552121 4.55613518,17 4,17 C3.44771525,17 3,16.5516755 3,15.9996343 L3,7 L2,7 Z M6.20527682,3.97573974 C6.22184549,3.82738584 6.23044302,3.66006568 6.23044302,3.47140644 C6.23044302,1.5542016 5.3238196,8.8817842e-15 4.20544292,8.8817842e-15 C3.08706625,8.8817842e-15 2.18044283,1.5542016 2.18044283,3.47140644 C2.18044283,3.66006568 2.18940334,3.82738584 2.20662653,3.97573974 L6.20527682,3.97573974 Z M0.513009559,4.92759357 L7.1496054,4.92759357 L7.1496054,5.8794474 L0.513009559,5.8794474 L0.513009559,4.92759357 Z" id="Oval-3"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

Разница между файлами не показана из-за своего большого размера
+ 9 - 0
packages/ckeditor5-core/theme/icons/quote.svg


+ 16 - 0
packages/ckeditor5-core/theme/icons/source.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>source</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="source" sketch:type="MSArtboardGroup" fill="#232323">
+            <g id="icon:source" sketch:type="MSLayerGroup" transform="translate(2.000000, 2.000000)">
+                <g id="Path-199-+-Path-199-Copy-2" sketch:type="MSShapeGroup">
+                    <path d="M13.1155362,5.96137107 L15.5420842,8.16727971 C15.5420842,8.16727971 15.5359174,7.88896426 15.532834,7.74980653 C15.5289593,7.57493346 15.5212098,7.22518734 15.5212098,7.22518734 L9.65170429,13.0562511 L10.567918,13.978505 L16.4374236,8.1474413 L16.9226298,7.66541293 L16.4165492,7.20534892 L13.9982879,5.00697343 L13.1155362,5.96137107 Z M10.1556393,3.27060948 L9.67257863,2.83147214 L10.5470437,1.86954136 L11.038391,2.31621184 L10.1556393,3.27060948 Z M3.11490302,10.8827864 L0.672578629,8.66253589 L0.166498111,8.20247188 L0.651704292,7.72044352 L6.52120984,1.88937977 L7.43742358,2.81163373 L1.56791804,8.64269748 L1.5470437,7.7006051 L3.99765471,9.9283888 L3.11490302,10.8827864 Z M6.07479988,13.573548 L6.54208418,13.9983435 L7.41654925,13.0364127 L6.95755158,12.6191504 L6.07479988,13.573548 Z M2.51844088,15.4303731 L15.4749228,1.4223165 L14.5205606,0.539597559 L1.56407865,14.5476542 L2.51844088,15.4303731 Z" id="Shape"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/table.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>table</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="table" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:table" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M1.99406028,0 C0.892771196,0 0,0.897060126 0,2.00585866 L0,11.9941413 C0,13.1019465 0.894513756,14 1.99406028,14 L14.0059397,14 C15.1072288,14 16,13.1029399 16,11.9941413 L16,2.00585866 C16,0.898053512 15.1054862,0 14.0059397,0 L1.99406028,0 Z M1,2.01750603 L5,2.01750603 L5,5.01750603 L1,5.01750603 L1,2.01750603 Z M6,2.01750603 L10,2.01750603 L10,5.01750603 L6,5.01750603 L6,2.01750603 Z M11,2.01750603 L15,2.01750603 L15,5.01750603 L11,5.01750603 L11,2.01750603 Z M1,6.01750603 L5,6.01750603 L5,9.01750603 L1,9.01750603 L1,6.01750603 Z M6,6.01750603 L10,6.01750603 L10,9.01750603 L6,9.01750603 L6,6.01750603 Z M11,6.01750603 L15,6.01750603 L15,9.01750603 L11,9.01750603 L11,6.01750603 Z M1,10.017506 L5,10.017506 L5,13.017506 L1,13.017506 L1,10.017506 Z M6,10.017506 L10,10.017506 L10,13.017506 L6,13.017506 L6,10.017506 Z M11,10.017506 L15,10.017506 L15,13.017506 L11,13.017506 L11,10.017506 Z" id="path4770" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

Разница между файлами не показана из-за своего большого размера
+ 9 - 0
packages/ckeditor5-core/theme/icons/underline.svg


Некоторые файлы не были показаны из-за большого количества измененных файлов