From 9cf4c074895b2bfa76f7a2ea8801b85ba1ea48be Mon Sep 17 00:00:00 2001 From: nd0ut Date: Mon, 6 May 2024 18:47:22 +0300 Subject: [PATCH 1/3] feat: load svg icons as sprite --- abstract/SolutionBlock.js | 3 +- .../src/EditorButtonControl.js | 2 +- .../src/EditorFilterControl.js | 2 +- blocks/CloudImageEditor/src/css/icons.css | 127 +- .../src/elements/button/LrBtnUi.js | 2 +- .../CloudImageEditor/src/icons/brightness.svg | 3 + .../CloudImageEditor/src/icons/closeMax.svg | 3 + .../CloudImageEditor/src/icons/contrast.svg | 3 + blocks/CloudImageEditor/src/icons/crop.svg | 3 + blocks/CloudImageEditor/src/icons/done.svg | 3 + blocks/CloudImageEditor/src/icons/enhance.svg | 3 + .../CloudImageEditor/src/icons/exposure.svg | 3 + blocks/CloudImageEditor/src/icons/filters.svg | 3 + blocks/CloudImageEditor/src/icons/flip.svg | 3 + blocks/CloudImageEditor/src/icons/gamma.svg | 3 + blocks/CloudImageEditor/src/icons/mirror.svg | 3 + .../CloudImageEditor/src/icons/original.svg | 3 + blocks/CloudImageEditor/src/icons/rotate.svg | 3 + blocks/CloudImageEditor/src/icons/sad.svg | 3 + .../CloudImageEditor/src/icons/saturation.svg | 13 + blocks/CloudImageEditor/src/icons/slider.svg | 3 + blocks/CloudImageEditor/src/icons/tuning.svg | 3 + .../CloudImageEditor/src/icons/vibrance.svg | 76 + blocks/CloudImageEditor/src/icons/warmth.svg | 5 + blocks/CloudImageEditor/src/svg-sprite.js | 1 + blocks/CloudImageEditor/src/template.js | 4 +- blocks/Config/Config.js | 2 +- blocks/Config/initialConfig.js | 1 + blocks/Icon/Icon.js | 51 +- blocks/Icon/icon.css | 4 - blocks/svg-backgrounds/svg-backgrounds.js | 2 +- blocks/themes/lr-basic/icons.css | 59 - blocks/themes/lr-basic/icons/about.svg | 3 + blocks/themes/lr-basic/icons/add.svg | 3 + blocks/themes/lr-basic/icons/arrow-down.svg | 3 + blocks/themes/lr-basic/icons/back.svg | 3 + blocks/themes/lr-basic/icons/badge-error.svg | 3 + .../themes/lr-basic/icons/badge-success.svg | 3 + blocks/themes/lr-basic/icons/box.svg | 3 + blocks/themes/lr-basic/icons/camera.svg | 3 + blocks/themes/lr-basic/icons/check.svg | 3 + blocks/themes/lr-basic/icons/close.svg | 3 + blocks/themes/lr-basic/icons/collapse.svg | 3 + blocks/themes/lr-basic/icons/default.svg | 3 + blocks/themes/lr-basic/icons/detail.svg | 3 + blocks/themes/lr-basic/icons/dots.svg | 3 + blocks/themes/lr-basic/icons/dropbox.svg | 3 + .../themes/lr-basic/icons/edit-brightness.svg | 3 + blocks/themes/lr-basic/icons/edit-color.svg | 3 + .../themes/lr-basic/icons/edit-contrast.svg | 3 + blocks/themes/lr-basic/icons/edit-crop.svg | 3 + blocks/themes/lr-basic/icons/edit-draw.svg | 3 + blocks/themes/lr-basic/icons/edit-file.svg | 3 + blocks/themes/lr-basic/icons/edit-flip-h.svg | 3 + blocks/themes/lr-basic/icons/edit-flip-v.svg | 3 + blocks/themes/lr-basic/icons/edit-guides.svg | 3 + blocks/themes/lr-basic/icons/edit-resize.svg | 3 + blocks/themes/lr-basic/icons/edit-rotate.svg | 3 + .../themes/lr-basic/icons/edit-saturation.svg | 3 + blocks/themes/lr-basic/icons/edit-text.svg | 3 + blocks/themes/lr-basic/icons/edit.svg | 3 + blocks/themes/lr-basic/icons/error.svg | 3 + blocks/themes/lr-basic/icons/evernote.svg | 3 + blocks/themes/lr-basic/icons/expand.svg | 3 + .../icons/external-source-placeholder.svg | 3 + blocks/themes/lr-basic/icons/facebook.svg | 3 + blocks/themes/lr-basic/icons/file.svg | 3 + blocks/themes/lr-basic/icons/flickr.svg | 3 + .../themes/lr-basic/icons/fullscreen-exit.svg | 3 + blocks/themes/lr-basic/icons/fullscreen.svg | 3 + blocks/themes/lr-basic/icons/gdrive.svg | 3 + blocks/themes/lr-basic/icons/gphotos.svg | 3 + blocks/themes/lr-basic/icons/huddle.svg | 3 + blocks/themes/lr-basic/icons/info.svg | 3 + blocks/themes/lr-basic/icons/instagram.svg | 3 + blocks/themes/lr-basic/icons/local.svg | 3 + blocks/themes/lr-basic/icons/onedrive.svg | 3 + blocks/themes/lr-basic/icons/remove-file.svg | 3 + blocks/themes/lr-basic/icons/remove.svg | 3 + blocks/themes/lr-basic/icons/select.svg | 3 + blocks/themes/lr-basic/icons/trash-file.svg | 3 + blocks/themes/lr-basic/icons/upload-error.svg | 3 + blocks/themes/lr-basic/icons/upload.svg | 3 + blocks/themes/lr-basic/icons/url.svg | 3 + blocks/themes/lr-basic/icons/vk.svg | 3 + blocks/themes/lr-basic/index.css | 3 - blocks/themes/lr-basic/svg-sprite.js | 1 + build-svg-sprite.js | 77 + demo/icons.html | 38 + demo/raw-regular.html | 8 - demo/test.svg | 5 + package-lock.json | 2721 ++++++++++++++++- package.json | 4 +- solutions/file-uploader/minimal/index.js | 42 +- types/exported.d.ts | 4 +- 95 files changed, 3111 insertions(+), 353 deletions(-) create mode 100644 blocks/CloudImageEditor/src/icons/brightness.svg create mode 100644 blocks/CloudImageEditor/src/icons/closeMax.svg create mode 100644 blocks/CloudImageEditor/src/icons/contrast.svg create mode 100644 blocks/CloudImageEditor/src/icons/crop.svg create mode 100644 blocks/CloudImageEditor/src/icons/done.svg create mode 100644 blocks/CloudImageEditor/src/icons/enhance.svg create mode 100644 blocks/CloudImageEditor/src/icons/exposure.svg create mode 100644 blocks/CloudImageEditor/src/icons/filters.svg create mode 100644 blocks/CloudImageEditor/src/icons/flip.svg create mode 100644 blocks/CloudImageEditor/src/icons/gamma.svg create mode 100644 blocks/CloudImageEditor/src/icons/mirror.svg create mode 100644 blocks/CloudImageEditor/src/icons/original.svg create mode 100644 blocks/CloudImageEditor/src/icons/rotate.svg create mode 100644 blocks/CloudImageEditor/src/icons/sad.svg create mode 100644 blocks/CloudImageEditor/src/icons/saturation.svg create mode 100644 blocks/CloudImageEditor/src/icons/slider.svg create mode 100644 blocks/CloudImageEditor/src/icons/tuning.svg create mode 100644 blocks/CloudImageEditor/src/icons/vibrance.svg create mode 100644 blocks/CloudImageEditor/src/icons/warmth.svg create mode 100644 blocks/CloudImageEditor/src/svg-sprite.js delete mode 100644 blocks/themes/lr-basic/icons.css create mode 100644 blocks/themes/lr-basic/icons/about.svg create mode 100644 blocks/themes/lr-basic/icons/add.svg create mode 100644 blocks/themes/lr-basic/icons/arrow-down.svg create mode 100644 blocks/themes/lr-basic/icons/back.svg create mode 100644 blocks/themes/lr-basic/icons/badge-error.svg create mode 100644 blocks/themes/lr-basic/icons/badge-success.svg create mode 100644 blocks/themes/lr-basic/icons/box.svg create mode 100644 blocks/themes/lr-basic/icons/camera.svg create mode 100644 blocks/themes/lr-basic/icons/check.svg create mode 100644 blocks/themes/lr-basic/icons/close.svg create mode 100644 blocks/themes/lr-basic/icons/collapse.svg create mode 100644 blocks/themes/lr-basic/icons/default.svg create mode 100644 blocks/themes/lr-basic/icons/detail.svg create mode 100644 blocks/themes/lr-basic/icons/dots.svg create mode 100644 blocks/themes/lr-basic/icons/dropbox.svg create mode 100644 blocks/themes/lr-basic/icons/edit-brightness.svg create mode 100644 blocks/themes/lr-basic/icons/edit-color.svg create mode 100644 blocks/themes/lr-basic/icons/edit-contrast.svg create mode 100644 blocks/themes/lr-basic/icons/edit-crop.svg create mode 100644 blocks/themes/lr-basic/icons/edit-draw.svg create mode 100644 blocks/themes/lr-basic/icons/edit-file.svg create mode 100644 blocks/themes/lr-basic/icons/edit-flip-h.svg create mode 100644 blocks/themes/lr-basic/icons/edit-flip-v.svg create mode 100644 blocks/themes/lr-basic/icons/edit-guides.svg create mode 100644 blocks/themes/lr-basic/icons/edit-resize.svg create mode 100644 blocks/themes/lr-basic/icons/edit-rotate.svg create mode 100644 blocks/themes/lr-basic/icons/edit-saturation.svg create mode 100644 blocks/themes/lr-basic/icons/edit-text.svg create mode 100644 blocks/themes/lr-basic/icons/edit.svg create mode 100644 blocks/themes/lr-basic/icons/error.svg create mode 100644 blocks/themes/lr-basic/icons/evernote.svg create mode 100644 blocks/themes/lr-basic/icons/expand.svg create mode 100644 blocks/themes/lr-basic/icons/external-source-placeholder.svg create mode 100644 blocks/themes/lr-basic/icons/facebook.svg create mode 100644 blocks/themes/lr-basic/icons/file.svg create mode 100644 blocks/themes/lr-basic/icons/flickr.svg create mode 100644 blocks/themes/lr-basic/icons/fullscreen-exit.svg create mode 100644 blocks/themes/lr-basic/icons/fullscreen.svg create mode 100644 blocks/themes/lr-basic/icons/gdrive.svg create mode 100644 blocks/themes/lr-basic/icons/gphotos.svg create mode 100644 blocks/themes/lr-basic/icons/huddle.svg create mode 100644 blocks/themes/lr-basic/icons/info.svg create mode 100644 blocks/themes/lr-basic/icons/instagram.svg create mode 100644 blocks/themes/lr-basic/icons/local.svg create mode 100644 blocks/themes/lr-basic/icons/onedrive.svg create mode 100644 blocks/themes/lr-basic/icons/remove-file.svg create mode 100644 blocks/themes/lr-basic/icons/remove.svg create mode 100644 blocks/themes/lr-basic/icons/select.svg create mode 100644 blocks/themes/lr-basic/icons/trash-file.svg create mode 100644 blocks/themes/lr-basic/icons/upload-error.svg create mode 100644 blocks/themes/lr-basic/icons/upload.svg create mode 100644 blocks/themes/lr-basic/icons/url.svg create mode 100644 blocks/themes/lr-basic/icons/vk.svg create mode 100644 blocks/themes/lr-basic/svg-sprite.js create mode 100644 build-svg-sprite.js create mode 100644 demo/icons.html create mode 100644 demo/test.svg diff --git a/abstract/SolutionBlock.js b/abstract/SolutionBlock.js index 6a4160940..6332753b7 100644 --- a/abstract/SolutionBlock.js +++ b/abstract/SolutionBlock.js @@ -1,5 +1,6 @@ import { ShadowWrapper } from '../blocks/ShadowWrapper/ShadowWrapper.js'; import { uploaderBlockCtx } from './CTX.js'; +import svgIconsSprite from '../blocks/themes/lr-basic/svg-sprite.js'; export class SolutionBlock extends ShadowWrapper { requireCtxName = true; @@ -7,7 +8,7 @@ export class SolutionBlock extends ShadowWrapper { _template = null; static set template(value) { - this._template = value + /** HTML */ ``; + this._template = svgIconsSprite + value + /** HTML */ ``; } static get template() { diff --git a/blocks/CloudImageEditor/src/EditorButtonControl.js b/blocks/CloudImageEditor/src/EditorButtonControl.js index 75d979843..e8cf27665 100644 --- a/blocks/CloudImageEditor/src/EditorButtonControl.js +++ b/blocks/CloudImageEditor/src/EditorButtonControl.js @@ -43,6 +43,6 @@ export class EditorButtonControl extends Block { EditorButtonControl.template = /* HTML */ `
- +
{{title}}
`; diff --git a/blocks/CloudImageEditor/src/EditorFilterControl.js b/blocks/CloudImageEditor/src/EditorFilterControl.js index b49332d8c..b027af778 100644 --- a/blocks/CloudImageEditor/src/EditorFilterControl.js +++ b/blocks/CloudImageEditor/src/EditorFilterControl.js @@ -150,5 +150,5 @@ export class EditorFilterControl extends EditorButtonControl { EditorFilterControl.template = /* HTML */ `
- + `; diff --git a/blocks/CloudImageEditor/src/css/icons.css b/blocks/CloudImageEditor/src/css/icons.css index 1647abcab..ea9be1939 100644 --- a/blocks/CloudImageEditor/src/css/icons.css +++ b/blocks/CloudImageEditor/src/css/icons.css @@ -10,129 +10,6 @@ :host(.lr-cloud-image-editor) lr-icon svg, .lr-cloud-image-editor lr-icon svg { - width: unset; - height: unset; -} - -:host(.lr-cloud-image-editor) lr-icon:not([raw]) path, -.lr-cloud-image-editor lr-icon:not([raw]) path { - stroke-linejoin: round; - fill: none; - stroke: currentColor; - stroke-width: 1.2; -} - -:host(.lr-cloud-image-editor), -.lr-cloud-image-editor { - --icon-rotate: 'M13.5.399902L12 1.9999l1.5 1.6M12.0234 2H14.4C16.3882 2 18 3.61178 18 5.6V8M4 17h9c.5523 0 1-.4477 1-1V7c0-.55228-.4477-1-1-1H4c-.55228 0-1 .44771-1 1v9c0 .5523.44771 1 1 1z'; - --icon-mirror: 'M5.00042.399902l-1.5 1.599998 1.5 1.6M15.0004.399902l1.5 1.599998-1.5 1.6M3.51995 2H16.477M8.50042 16.7V6.04604c0-.30141-.39466-.41459-.5544-.159L1.28729 16.541c-.12488.1998.01877.459.2544.459h6.65873c.16568 0 .3-.1343.3-.3zm2.99998 0V6.04604c0-.30141.3947-.41459.5544-.159L18.7135 16.541c.1249.1998-.0187.459-.2544.459h-6.6587c-.1657 0-.3-.1343-.3-.3z'; - --icon-flip: 'M19.6001 4.99993l-1.6-1.5-1.6 1.5m3.2 9.99997l-1.6 1.5-1.6-1.5M18 3.52337V16.4765M3.3 8.49993h10.654c.3014 0 .4146-.39466.159-.5544L3.459 1.2868C3.25919 1.16192 3 1.30557 3 1.5412v6.65873c0 .16568.13432.3.3.3zm0 2.99997h10.654c.3014 0 .4146.3947.159.5544L3.459 18.7131c-.19981.1248-.459-.0188-.459-.2544v-6.6588c0-.1657.13432-.3.3-.3z'; - --icon-sad: 'M2 17c4.41828-4 11.5817-4 16 0M16.5 5c0 .55228-.4477 1-1 1s-1-.44772-1-1 .4477-1 1-1 1 .44772 1 1zm-11 0c0 .55228-.44772 1-1 1s-1-.44772-1-1 .44772-1 1-1 1 .44772 1 1z'; - --icon-closeMax: 'M3 3l14 14m0-14L3 17'; - --icon-crop: 'M20 14H7.00513C6.45001 14 6 13.55 6 12.9949V0M0 6h13.0667c.5154 0 .9333.41787.9333.93333V20M14.5.399902L13 1.9999l1.5 1.6M13 2h2c1.6569 0 3 1.34315 3 3v2M5.5 19.5999l1.5-1.6-1.5-1.6M7 18H5c-1.65685 0-3-1.3431-3-3v-2'; - --icon-tuning: 'M8 10h11M1 10h4M1 4.5h11m3 0h4m-18 11h11m3 0h4M12 4.5a1.5 1.5 0 103 0 1.5 1.5 0 10-3 0M5 10a1.5 1.5 0 103 0 1.5 1.5 0 10-3 0M12 15.5a1.5 1.5 0 103 0 1.5 1.5 0 10-3 0'; - --icon-filters: 'M4.5 6.5a5.5 5.5 0 1011 0 5.5 5.5 0 10-11 0m-3.5 6a5.5 5.5 0 1011 0 5.5 5.5 0 10-11 0m7 0a5.5 5.5 0 1011 0 5.5 5.5 0 10-11 0'; - --icon-done: 'M1 10.6316l5.68421 5.6842L19 4'; - --icon-original: 'M0 40L40-.00000133'; - --icon-slider: 'M0 10h11m0 0c0 1.1046.8954 2 2 2s2-.8954 2-2m-4 0c0-1.10457.8954-2 2-2s2 .89543 2 2m0 0h5'; - - --icon-exposure: 'M10 20v-3M2.92946 2.92897l2.12132 2.12132M0 10h3m-.07054 7.071l2.12132-2.1213M10 0v3m7.0705 14.071l-2.1213-2.1213M20 10h-3m.0705-7.07103l-2.1213 2.12132M5 10a5 5 0 1010 0 5 5 0 10-10 0'; - --icon-contrast: 'M2 10a8 8 0 1016 0 8 8 0 10-16 0m8-8v16m8-8h-8m7.5977 2.5H10m6.24 2.5H10m7.6-7.5H10M16.2422 5H10'; - --icon-brightness: 'M15 10c0 2.7614-2.2386 5-5 5m5-5c0-2.76142-2.2386-5-5-5m5 5h-5m0 5c-2.76142 0-5-2.2386-5-5 0-2.76142 2.23858-5 5-5m0 10V5m0 15v-3M2.92946 2.92897l2.12132 2.12132M0 10h3m-.07054 7.071l2.12132-2.1213M10 0v3m7.0705 14.071l-2.1213-2.1213M20 10h-3m.0705-7.07103l-2.1213 2.12132M14.3242 7.5H10m4.3242 5H10'; - --icon-gamma: 'M17 3C9 6 2.5 11.5 2.5 17.5m0 0h1m-1 0v-1m14 1h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3 0h1m-3-14v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1m0 3v-1'; - --icon-enhance: 'M19 13h-2m0 0c-2.2091 0-4-1.7909-4-4m4 4c-2.2091 0-4 1.7909-4 4m0-8V7m0 2c0 2.2091-1.7909 4-4 4m-2 0h2m0 0c2.2091 0 4 1.7909 4 4m0 0v2M8 8.5H6.5m0 0c-1.10457 0-2-.89543-2-2m2 2c-1.10457 0-2 .89543-2 2m0-4V5m0 1.5c0 1.10457-.89543 2-2 2M1 8.5h1.5m0 0c1.10457 0 2 .89543 2 2m0 0V12M12 3h-1m0 0c-.5523 0-1-.44772-1-1m1 1c-.5523 0-1 .44772-1 1m0-2V1m0 1c0 .55228-.44772 1-1 1M8 3h1m0 0c.55228 0 1 .44772 1 1m0 0v1'; - --icon-saturation: '\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - '; - --icon-warmth: '\ - \ - \ - \ - '; - --icon-vibrance: '\ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - '; + width: 20px; + height: 20px; } diff --git a/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js b/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js index 8f277a24e..cbf3a215e 100644 --- a/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js +++ b/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js @@ -76,6 +76,6 @@ export class LrBtnUi extends Block { LrBtnUi.bindAttributes({ text: 'text', icon: 'icon', reverse: 'reverse', theme: 'theme' }); LrBtnUi.template = /* HTML */ ` - +
{{text}}
`; diff --git a/blocks/CloudImageEditor/src/icons/brightness.svg b/blocks/CloudImageEditor/src/icons/brightness.svg new file mode 100644 index 000000000..4f4b8691c --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/brightness.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/closeMax.svg b/blocks/CloudImageEditor/src/icons/closeMax.svg new file mode 100644 index 000000000..3e621f4de --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/closeMax.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/contrast.svg b/blocks/CloudImageEditor/src/icons/contrast.svg new file mode 100644 index 000000000..847c0014d --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/contrast.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/crop.svg b/blocks/CloudImageEditor/src/icons/crop.svg new file mode 100644 index 000000000..5fa451cb3 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/crop.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/done.svg b/blocks/CloudImageEditor/src/icons/done.svg new file mode 100644 index 000000000..87a628a61 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/done.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/enhance.svg b/blocks/CloudImageEditor/src/icons/enhance.svg new file mode 100644 index 000000000..e129b45c6 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/enhance.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/exposure.svg b/blocks/CloudImageEditor/src/icons/exposure.svg new file mode 100644 index 000000000..043509e5b --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/exposure.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/filters.svg b/blocks/CloudImageEditor/src/icons/filters.svg new file mode 100644 index 000000000..6c88d1685 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/filters.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/flip.svg b/blocks/CloudImageEditor/src/icons/flip.svg new file mode 100644 index 000000000..3665e96ab --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/flip.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/gamma.svg b/blocks/CloudImageEditor/src/icons/gamma.svg new file mode 100644 index 000000000..a005b4be5 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/gamma.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/mirror.svg b/blocks/CloudImageEditor/src/icons/mirror.svg new file mode 100644 index 000000000..d47966e6c --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/mirror.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/original.svg b/blocks/CloudImageEditor/src/icons/original.svg new file mode 100644 index 000000000..85ec3648d --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/original.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/rotate.svg b/blocks/CloudImageEditor/src/icons/rotate.svg new file mode 100644 index 000000000..d4fe2a8ec --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/rotate.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/sad.svg b/blocks/CloudImageEditor/src/icons/sad.svg new file mode 100644 index 000000000..bbd8fb264 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/sad.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/saturation.svg b/blocks/CloudImageEditor/src/icons/saturation.svg new file mode 100644 index 000000000..8eda76cb2 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/saturation.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/blocks/CloudImageEditor/src/icons/slider.svg b/blocks/CloudImageEditor/src/icons/slider.svg new file mode 100644 index 000000000..f3f6183a0 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/slider.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/tuning.svg b/blocks/CloudImageEditor/src/icons/tuning.svg new file mode 100644 index 000000000..c4430fdac --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/tuning.svg @@ -0,0 +1,3 @@ + + + diff --git a/blocks/CloudImageEditor/src/icons/vibrance.svg b/blocks/CloudImageEditor/src/icons/vibrance.svg new file mode 100644 index 000000000..dd9a3974a --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/vibrance.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/blocks/CloudImageEditor/src/icons/warmth.svg b/blocks/CloudImageEditor/src/icons/warmth.svg new file mode 100644 index 000000000..ac002e7a7 --- /dev/null +++ b/blocks/CloudImageEditor/src/icons/warmth.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/blocks/CloudImageEditor/src/svg-sprite.js b/blocks/CloudImageEditor/src/svg-sprite.js new file mode 100644 index 000000000..bf6f75af8 --- /dev/null +++ b/blocks/CloudImageEditor/src/svg-sprite.js @@ -0,0 +1 @@ +export default ""; diff --git a/blocks/CloudImageEditor/src/template.js b/blocks/CloudImageEditor/src/template.js index 00cb4dd2c..0d69e4cba 100644 --- a/blocks/CloudImageEditor/src/template.js +++ b/blocks/CloudImageEditor/src/template.js @@ -1,11 +1,13 @@ import { TRANSPARENT_PIXEL_SRC } from '../../../utils/transparentPixelSrc.js'; +import svgIconsSprite from './svg-sprite.js'; export const TEMPLATE = /* HTML */ ` + ${svgIconsSprite}
- +
Network error
diff --git a/blocks/Config/Config.js b/blocks/Config/Config.js index a587d848f..9a24b0239 100644 --- a/blocks/Config/Config.js +++ b/blocks/Config/Config.js @@ -12,7 +12,7 @@ const allConfigKeys = /** @type {(keyof import('../../types').ConfigType)[]} */ * * @type {(keyof import('../../types').ConfigComplexType)[]} */ -const complexConfigKeys = ['metadata', 'localeDefinitionOverride']; +const complexConfigKeys = ['metadata', 'localeDefinitionOverride', 'iconHrefResolver']; /** @type {(key: keyof import('../../types').ConfigType) => key is keyof import('../../types').ConfigComplexType} */ const isComplexKey = (key) => complexConfigKeys.includes(key); diff --git a/blocks/Config/initialConfig.js b/blocks/Config/initialConfig.js index 3c396ebca..50259226c 100644 --- a/blocks/Config/initialConfig.js +++ b/blocks/Config/initialConfig.js @@ -60,4 +60,5 @@ export const initialConfig = { metadata: null, localeName: 'en', localeDefinitionOverride: null, + iconHrefResolver: null, }; diff --git a/blocks/Icon/Icon.js b/blocks/Icon/Icon.js index 3c9ecccbf..b01844ac2 100644 --- a/blocks/Icon/Icon.js +++ b/blocks/Icon/Icon.js @@ -1,13 +1,17 @@ +// @ts-check import { Block } from '../../abstract/Block.js'; export class Icon extends Block { - init$ = { - ...this.init$, - name: '', - path: '', - size: '24', - viewBox: '', - }; + constructor() { + super(); + + this.init$ = { + ...this.init$, + name: '', + href: '', + title: '', + }; + } initCallback() { super.initCallback(); @@ -15,37 +19,24 @@ export class Icon extends Block { if (!val) { return; } - let path = this.getCssData(`--icon-${val}`); - if (path) { - this.$.path = path; + let iconHref = `#uc-icon-${val}`; + if (this.cfg.iconHrefResolver) { + const customIconHref = this.cfg.iconHrefResolver(val); + iconHref = customIconHref ?? iconHref; } - }); - - this.sub('path', (path) => { - if (!path) { - return; - } - let isRaw = path.trimStart().startsWith('<'); - if (isRaw) { - this.setAttribute('raw', ''); - this.ref.svg.innerHTML = path; - } else { - this.removeAttribute('raw'); - this.ref.svg.innerHTML = ``; - } - }); - - this.sub('size', (size) => { - this.$.viewBox = `0 0 ${size} ${size}`; + this.$.href = iconHref; }); } } Icon.template = /* HTML */ ` - + + {{title}} + + `; Icon.bindAttributes({ name: 'name', - size: 'size', + title: 'title', }); diff --git a/blocks/Icon/icon.css b/blocks/Icon/icon.css index 9d7a72567..8259f816f 100644 --- a/blocks/Icon/icon.css +++ b/blocks/Icon/icon.css @@ -10,7 +10,3 @@ lr-icon svg { width: calc(var(--ui-size) / 2); height: calc(var(--ui-size) / 2); } - -lr-icon:not([raw]) path { - fill: currentColor; -} diff --git a/blocks/svg-backgrounds/svg-backgrounds.js b/blocks/svg-backgrounds/svg-backgrounds.js index 042fc17c9..5d35812f7 100644 --- a/blocks/svg-backgrounds/svg-backgrounds.js +++ b/blocks/svg-backgrounds/svg-backgrounds.js @@ -39,7 +39,7 @@ export function strokesCssBg(color = 'rgba(0, 0, 0, .1)') { export function fileCssBg(color = 'hsl(209, 21%, 65%)', width = 32, height = 32) { return createSvgBlobUrl(/*svg*/ ` - + `); } diff --git a/blocks/themes/lr-basic/icons.css b/blocks/themes/lr-basic/icons.css deleted file mode 100644 index e57bc5d56..000000000 --- a/blocks/themes/lr-basic/icons.css +++ /dev/null @@ -1,59 +0,0 @@ -:where(.lr-wgt-icons, .lr-wgt-common), -:host { - --icon-default: 'm11.5014.392135c.2844-.253315.7134-.253315.9978 0l6.7037 5.971925c.3093.27552.3366.74961.0611 1.05889-.2755.30929-.7496.33666-1.0589.06113l-5.4553-4.85982v13.43864c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-13.43771l-5.45427 4.85889c-.30929.27553-.78337.24816-1.0589-.06113-.27553-.30928-.24816-.78337.06113-1.05889zm-10.644466 16.336765c.414216 0 .749996.3358.749996.75v4.9139h20.78567v-4.9139c0-.4142.3358-.75.75-.75.4143 0 .75.3358.75.75v5.6639c0 .4143-.3357.75-.75.75h-22.285666c-.414214 0-.75-.3357-.75-.75v-5.6639c0-.4142.335786-.75.75-.75z'; - --icon-file: 'm2.89453 1.2012c0-.473389.38376-.857145.85714-.857145h8.40003c.2273 0 .4453.090306.6061.251051l8.4 8.400004c.1607.16074.251.37876.251.60609v13.2c0 .4734-.3837.8571-.8571.8571h-16.80003c-.47338 0-.85714-.3837-.85714-.8571zm1.71429.85714v19.88576h15.08568v-11.4858h-7.5428c-.4734 0-.8572-.3837-.8572-.8571v-7.54286zm8.39998 1.21218 5.4736 5.47353-5.4736.00001z'; - --icon-close: 'm4.60395 4.60395c.29289-.2929.76776-.2929 1.06066 0l6.33539 6.33535 6.3354-6.33535c.2929-.2929.7677-.2929 1.0606 0 .2929.29289.2929.76776 0 1.06066l-6.3353 6.33539 6.3353 6.3354c.2929.2929.2929.7677 0 1.0606s-.7677.2929-1.0606 0l-6.3354-6.3353-6.33539 6.3353c-.2929.2929-.76777.2929-1.06066 0-.2929-.2929-.2929-.7677 0-1.0606l6.33535-6.3354-6.33535-6.33539c-.2929-.2929-.2929-.76777 0-1.06066z'; - --icon-collapse: 'M3.11572 12C3.11572 11.5858 3.45151 11.25 3.86572 11.25H20.1343C20.5485 11.25 20.8843 11.5858 20.8843 12C20.8843 12.4142 20.5485 12.75 20.1343 12.75H3.86572C3.45151 12.75 3.11572 12.4142 3.11572 12Z'; - --icon-expand: 'M12.0001 8.33716L3.53033 16.8068C3.23743 17.0997 2.76256 17.0997 2.46967 16.8068C2.17678 16.5139 2.17678 16.0391 2.46967 15.7462L11.0753 7.14067C11.1943 7.01825 11.3365 6.92067 11.4936 6.8536C11.6537 6.78524 11.826 6.75 12.0001 6.75C12.1742 6.75 12.3465 6.78524 12.5066 6.8536C12.6637 6.92067 12.8059 7.01826 12.925 7.14068L21.5304 15.7462C21.8233 16.0391 21.8233 16.5139 21.5304 16.8068C21.2375 17.0997 20.7627 17.0997 20.4698 16.8068L12.0001 8.33716Z'; - --icon-info: 'M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z'; - --icon-error: 'M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z'; - --icon-arrow-down: 'm11.5009 23.0302c.2844.2533.7135.2533.9978 0l9.2899-8.2758c.3092-.2756.3366-.7496.0611-1.0589s-.7496-.3367-1.0589-.0612l-8.0417 7.1639v-19.26834c0-.41421-.3358-.749997-.75-.749997s-.75.335787-.75.749997v19.26704l-8.04025-7.1626c-.30928-.2755-.78337-.2481-1.05889.0612-.27553.3093-.24816.7833.06112 1.0589z'; - --icon-upload: 'm11.5014.392135c.2844-.253315.7134-.253315.9978 0l6.7037 5.971925c.3093.27552.3366.74961.0611 1.05889-.2755.30929-.7496.33666-1.0589.06113l-5.4553-4.85982v13.43864c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-13.43771l-5.45427 4.85889c-.30929.27553-.78337.24816-1.0589-.06113-.27553-.30928-.24816-.78337.06113-1.05889zm-10.644466 16.336765c.414216 0 .749996.3358.749996.75v4.9139h20.78567v-4.9139c0-.4142.3358-.75.75-.75.4143 0 .75.3358.75.75v5.6639c0 .4143-.3357.75-.75.75h-22.285666c-.414214 0-.75-.3357-.75-.75v-5.6639c0-.4142.335786-.75.75-.75z'; - --icon-local: 'm3 3.75c-.82843 0-1.5.67157-1.5 1.5v13.5c0 .8284.67157 1.5 1.5 1.5h18c.8284 0 1.5-.6716 1.5-1.5v-9.75c0-.82843-.6716-1.5-1.5-1.5h-9c-.2634 0-.5076-.13822-.6431-.36413l-2.03154-3.38587zm-3 1.5c0-1.65685 1.34315-3 3-3h6.75c.2634 0 .5076.13822.6431.36413l2.0315 3.38587h8.5754c1.6569 0 3 1.34315 3 3v9.75c0 1.6569-1.3431 3-3 3h-18c-1.65685 0-3-1.3431-3-3z'; - --icon-url: 'm19.1099 3.67026c-1.7092-1.70917-4.5776-1.68265-6.4076.14738l-2.2212 2.22122c-.2929.29289-.7678.29289-1.0607 0-.29289-.29289-.29289-.76777 0-1.06066l2.2212-2.22122c2.376-2.375966 6.1949-2.481407 8.5289-.14738l1.2202 1.22015c2.334 2.33403 2.2286 6.15294-.1474 8.52895l-2.2212 2.2212c-.2929.2929-.7678.2929-1.0607 0s-.2929-.7678 0-1.0607l2.2212-2.2212c1.8301-1.83003 1.8566-4.69842.1474-6.40759zm-3.3597 4.57991c.2929.29289.2929.76776 0 1.06066l-6.43918 6.43927c-.29289.2928-.76777.2928-1.06066 0-.29289-.2929-.29289-.7678 0-1.0607l6.43924-6.43923c.2929-.2929.7677-.2929 1.0606 0zm-9.71158 1.17048c.29289.29289.29289.76775 0 1.06065l-2.22123 2.2212c-1.83002 1.8301-1.85654 4.6984-.14737 6.4076l1.22015 1.2202c1.70917 1.7091 4.57756 1.6826 6.40763-.1474l2.2212-2.2212c.2929-.2929.7677-.2929 1.0606 0s.2929.7677 0 1.0606l-2.2212 2.2212c-2.37595 2.376-6.19486 2.4815-8.52889.1474l-1.22015-1.2201c-2.334031-2.3341-2.22859-6.153.14737-8.5289l2.22123-2.22125c.29289-.2929.76776-.2929 1.06066 0z'; - --icon-camera: 'm7.65 2.55c.14164-.18885.36393-.3.6-.3h7.5c.2361 0 .4584.11115.6.3l2.025 2.7h2.625c1.6569 0 3 1.34315 3 3v10.5c0 1.6569-1.3431 3-3 3h-18c-1.65685 0-3-1.3431-3-3v-10.5c0-1.65685 1.34315-3 3-3h2.625zm.975 1.2-2.025 2.7c-.14164.18885-.36393.3-.6.3h-3c-.82843 0-1.5.67157-1.5 1.5v10.5c0 .8284.67157 1.5 1.5 1.5h18c.8284 0 1.5-.6716 1.5-1.5v-10.5c0-.82843-.6716-1.5-1.5-1.5h-3c-.2361 0-.4584-.11115-.6-.3l-2.025-2.7zm3.375 6c-1.864 0-3.375 1.511-3.375 3.375s1.511 3.375 3.375 3.375 3.375-1.511 3.375-3.375-1.511-3.375-3.375-3.375zm-4.875 3.375c0-2.6924 2.18261-4.875 4.875-4.875 2.6924 0 4.875 2.1826 4.875 4.875s-2.1826 4.875-4.875 4.875c-2.69239 0-4.875-2.1826-4.875-4.875z'; - --icon-dots: 'M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z'; - --icon-back: 'M20.251 12.0001C20.251 12.4143 19.9152 12.7501 19.501 12.7501L6.06696 12.7501L11.7872 18.6007C12.0768 18.8968 12.0715 19.3717 11.7753 19.6613C11.4791 19.9508 11.0043 19.9455 10.7147 19.6493L4.13648 12.9213C4.01578 12.8029 3.91947 12.662 3.85307 12.5065C3.78471 12.3464 3.74947 12.1741 3.74947 12C3.74947 11.8259 3.78471 11.6536 3.85307 11.4935C3.91947 11.338 4.01578 11.1971 4.13648 11.0787L10.7147 4.35068C11.0043 4.0545 11.4791 4.04916 11.7753 4.33873C12.0715 4.62831 12.0768 5.10315 11.7872 5.39932L6.06678 11.2501L19.501 11.2501C19.9152 11.2501 20.251 11.5859 20.251 12.0001Z'; - --icon-remove: 'm6.35673 9.71429c-.76333 0-1.35856.66121-1.27865 1.42031l1.01504 9.6429c.06888.6543.62067 1.1511 1.27865 1.1511h9.25643c.658 0 1.2098-.4968 1.2787-1.1511l1.015-9.6429c.0799-.7591-.5153-1.42031-1.2786-1.42031zm.50041-4.5v.32142h-2.57143c-.71008 0-1.28571.57564-1.28571 1.28572s.57563 1.28571 1.28571 1.28571h15.42859c.7101 0 1.2857-.57563 1.2857-1.28571s-.5756-1.28572-1.2857-1.28572h-2.5714v-.32142c0-1.77521-1.4391-3.21429-3.2143-3.21429h-3.8572c-1.77517 0-3.21426 1.43908-3.21426 3.21429zm7.07146-.64286c.355 0 .6428.28782.6428.64286v.32142h-5.14283v-.32142c0-.35504.28782-.64286.64283-.64286z'; - --icon-edit: 'M3.96371 14.4792c-.15098.151-.25578.3419-.3021.5504L2.52752 20.133c-.17826.8021.53735 1.5177 1.33951 1.3395l5.10341-1.1341c.20844-.0463.39934-.1511.55032-.3021l8.05064-8.0507-5.557-5.55702-8.05069 8.05062ZM13.4286 5.01437l5.557 5.55703 2.0212-2.02111c.6576-.65765.6576-1.72393 0-2.38159l-3.1755-3.17546c-.6577-.65765-1.7239-.65765-2.3816 0l-2.0211 2.02113Z'; - --icon-detail: 'M5,3C3.89,3 3,3.89 3,5V19C3,20.11 3.89,21 5,21H19C20.11,21 21,20.11 21,19V5C21,3.89 20.11,3 19,3H5M5,5H19V19H5V5M7,7V9H17V7H7M7,11V13H17V11H7M7,15V17H14V15H7Z'; - --icon-select: 'M7,10L12,15L17,10H7Z'; - --icon-check: 'm12 22c5.5228 0 10-4.4772 10-10 0-5.52285-4.4772-10-10-10-5.52285 0-10 4.47715-10 10 0 5.5228 4.47715 10 10 10zm4.7071-11.4929-5.9071 5.9071-3.50711-3.5071c-.39052-.3905-.39052-1.0237 0-1.4142.39053-.3906 1.02369-.3906 1.41422 0l2.09289 2.0929 4.4929-4.49294c.3905-.39052 1.0237-.39052 1.4142 0 .3905.39053.3905 1.02374 0 1.41424z'; - --icon-add: 'M12.75 21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21V12.7499H3C2.58579 12.7499 2.25 12.4141 2.25 11.9999C2.25 11.5857 2.58579 11.2499 3 11.2499H11.25V3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V11.2499H21C21.4142 11.2499 21.75 11.5857 21.75 11.9999C21.75 12.4141 21.4142 12.7499 21 12.7499H12.75V21Z'; - --icon-edit-file: 'm12.1109 6c.3469-1.69213 1.8444-2.96484 3.6391-2.96484s3.2922 1.27271 3.6391 2.96484h2.314c.4142 0 .75.33578.75.75 0 .41421-.3358.75-.75.75h-2.314c-.3469 1.69213-1.8444 2.9648-3.6391 2.9648s-3.2922-1.27267-3.6391-2.9648h-9.81402c-.41422 0-.75001-.33579-.75-.75 0-.41422.33578-.75.75-.75zm3.6391-1.46484c-1.2232 0-2.2148.99162-2.2148 2.21484s.9916 2.21484 2.2148 2.21484 2.2148-.99162 2.2148-2.21484-.9916-2.21484-2.2148-2.21484zm-11.1391 11.96484c.34691-1.6921 1.84437-2.9648 3.6391-2.9648 1.7947 0 3.2922 1.2727 3.6391 2.9648h9.814c.4142 0 .75.3358.75.75s-.3358.75-.75.75h-9.814c-.3469 1.6921-1.8444 2.9648-3.6391 2.9648-1.79473 0-3.29219-1.2727-3.6391-2.9648h-2.31402c-.41422 0-.75-.3358-.75-.75s.33578-.75.75-.75zm3.6391-1.4648c-1.22322 0-2.21484.9916-2.21484 2.2148s.99162 2.2148 2.21484 2.2148 2.2148-.9916 2.2148-2.2148-.99158-2.2148-2.2148-2.2148z'; - --icon-remove-file: 'm11.9554 3.29999c-.7875 0-1.5427.31281-2.0995.86963-.49303.49303-.79476 1.14159-.85742 1.83037h5.91382c-.0627-.68878-.3644-1.33734-.8575-1.83037-.5568-.55682-1.312-.86963-2.0994-.86963zm4.461 2.7c-.0656-1.08712-.5264-2.11657-1.3009-2.89103-.8381-.83812-1.9749-1.30897-3.1601-1.30897-1.1853 0-2.32204.47085-3.16016 1.30897-.77447.77446-1.23534 1.80391-1.30087 2.89103h-2.31966c-.03797 0-.07529.00282-.11174.00827h-1.98826c-.41422 0-.75.33578-.75.75 0 .41421.33578.75.75.75h1.35v11.84174c0 .7559.30026 1.4808.83474 2.0152.53448.5345 1.25939.8348 2.01526.8348h9.44999c.7559 0 1.4808-.3003 2.0153-.8348.5344-.5344.8347-1.2593.8347-2.0152v-11.84174h1.35c.4142 0 .75-.33579.75-.75 0-.41422-.3358-.75-.75-.75h-1.9883c-.0364-.00545-.0737-.00827-.1117-.00827zm-10.49169 1.50827v11.84174c0 .358.14223.7014.3954.9546.25318.2532.59656.3954.9546.3954h9.44999c.358 0 .7014-.1422.9546-.3954s.3954-.5966.3954-.9546v-11.84174z'; - --icon-trash-file: var(--icon-remove); - --icon-upload-error: var(--icon-error); - --icon-fullscreen: 'M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z'; - --icon-fullscreen-exit: 'M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z'; - --icon-badge-success: 'M10.5 18.2044L18.0992 10.0207C18.6629 9.41362 18.6277 8.46452 18.0207 7.90082C17.4136 7.33711 16.4645 7.37226 15.9008 7.97933L10.5 13.7956L8.0992 11.2101C7.53549 10.603 6.5864 10.5679 5.97933 11.1316C5.37226 11.6953 5.33711 12.6444 5.90082 13.2515L10.5 18.2044Z'; - --icon-badge-error: 'm13.6 18.4c0 .8837-.7164 1.6-1.6 1.6-.8837 0-1.6-.7163-1.6-1.6s.7163-1.6 1.6-1.6c.8836 0 1.6.7163 1.6 1.6zm-1.6-13.9c.8284 0 1.5.67157 1.5 1.5v7c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5v-7c0-.82843.6716-1.5 1.5-1.5z'; - --icon-about: 'M11.152 14.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076 0-.579-.137-1.085-.41-1.518a2.717 2.717 0 0 0-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597 0-1.142.114-1.636.34-.49.228-.884.564-1.182 1.008-.299.44-.46.98-.485 1.619h1.62c.024-.377.118-.684.282-.922.163-.241.369-.419.617-.532.25-.114.51-.17.784-.17.301 0 .575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82 0 .263-.05.502-.149.72-.1.216-.234.408-.405.574a3.48 3.48 0 0 1-.575.453c-.33.199-.613.42-.847.66-.234.242-.415.558-.543.949-.125.39-.19.916-.197 1.577ZM11.205 17.15c.21.206.46.31.75.31.196 0 .374-.049.534-.144.16-.096.287-.224.383-.384.1-.163.15-.343.15-.538a1 1 0 0 0-.32-.746 1.019 1.019 0 0 0-.746-.314c-.291 0-.542.105-.751.314-.21.206-.314.455-.314.746 0 .295.104.547.314.756ZM24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-1.5 0c0 5.799-4.701 10.5-10.5 10.5S1.5 17.799 1.5 12 6.201 1.5 12 1.5 22.5 6.201 22.5 12Z'; - - /* editor section is to be removed */ - --icon-edit-rotate: 'M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'; - --icon-edit-flip-v: 'M3 15V17H5V15M15 19V21H17V19M19 3H5C3.9 3 3 3.9 3 5V9H5V5H19V9H21V5C21 3.9 20.1 3 19 3M21 19H19V21C20.1 21 21 20.1 21 19M1 11V13H23V11M7 19V21H9V19M19 15V17H21V15M11 19V21H13V19M3 19C3 20.1 3.9 21 5 21V19Z'; - --icon-edit-flip-h: 'M15 21H17V19H15M19 9H21V7H19M3 5V19C3 20.1 3.9 21 5 21H9V19H5V5H9V3H5C3.9 3 3 3.9 3 5M19 3V5H21C21 3.9 20.1 3 19 3M11 23H13V1H11M19 17H21V15H19M15 5H17V3H15M19 13H21V11H19M19 21C20.1 21 21 20.1 21 19H19Z'; - --icon-edit-brightness: 'M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,15.31L23.31,12L20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31Z'; - --icon-edit-contrast: 'M12,20C9.79,20 7.79,19.1 6.34,17.66L17.66,6.34C19.1,7.79 20,9.79 20,12A8,8 0 0,1 12,20M6,8H8V6H9.5V8H11.5V9.5H9.5V11.5H8V9.5H6M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,16H17V14.5H12V16Z'; - --icon-edit-saturation: 'M3,13A9,9 0 0,0 12,22C12,17 7.97,13 3,13M12,5.5A2.5,2.5 0 0,1 14.5,8A2.5,2.5 0 0,1 12,10.5A2.5,2.5 0 0,1 9.5,8A2.5,2.5 0 0,1 12,5.5M5.6,10.25A2.5,2.5 0 0,0 8.1,12.75C8.63,12.75 9.12,12.58 9.5,12.31C9.5,12.37 9.5,12.43 9.5,12.5A2.5,2.5 0 0,0 12,15A2.5,2.5 0 0,0 14.5,12.5C14.5,12.43 14.5,12.37 14.5,12.31C14.88,12.58 15.37,12.75 15.9,12.75C17.28,12.75 18.4,11.63 18.4,10.25C18.4,9.25 17.81,8.4 16.97,8C17.81,7.6 18.4,6.74 18.4,5.75C18.4,4.37 17.28,3.25 15.9,3.25C15.37,3.25 14.88,3.41 14.5,3.69C14.5,3.63 14.5,3.56 14.5,3.5A2.5,2.5 0 0,0 12,1A2.5,2.5 0 0,0 9.5,3.5C9.5,3.56 9.5,3.63 9.5,3.69C9.12,3.41 8.63,3.25 8.1,3.25A2.5,2.5 0 0,0 5.6,5.75C5.6,6.74 6.19,7.6 7.03,8C6.19,8.4 5.6,9.25 5.6,10.25M12,22A9,9 0 0,0 21,13C16,13 12,17 12,22Z'; - --icon-edit-crop: 'M7,17V1H5V5H1V7H5V17A2,2 0 0,0 7,19H17V23H19V19H23V17M17,15H19V7C19,5.89 18.1,5 17,5H9V7H17V15Z'; - --icon-edit-text: 'M18.5,4L19.66,8.35L18.7,8.61C18.25,7.74 17.79,6.87 17.26,6.43C16.73,6 16.11,6 15.5,6H13V16.5C13,17 13,17.5 13.33,17.75C13.67,18 14.33,18 15,18V19H9V18C9.67,18 10.33,18 10.67,17.75C11,17.5 11,17 11,16.5V6H8.5C7.89,6 7.27,6 6.74,6.43C6.21,6.87 5.75,7.74 5.3,8.61L4.34,8.35L5.5,4H18.5Z'; - --icon-edit-draw: 'm21.879394 2.1631238c-1.568367-1.62768627-4.136546-1.53831744-5.596267.1947479l-8.5642801 10.1674753c-1.4906533-.224626-3.061232.258204-4.2082427 1.448604-1.0665468 1.106968-1.0997707 2.464806-1.1203996 3.308068-.00142.05753-.00277.113001-.00439.16549-.02754.894146-.08585 1.463274-.5821351 2.069648l-.80575206.98457.88010766.913285c1.0539516 1.093903 2.6691689 1.587048 4.1744915 1.587048 1.5279113 0 3.2235468-.50598 4.4466094-1.775229 1.147079-1.190514 1.612375-2.820653 1.395772-4.367818l9.796763-8.8879697c1.669907-1.5149954 1.75609-4.1802333.187723-5.8079195zm-16.4593821 13.7924592c.8752943-.908358 2.2944227-.908358 3.1697054 0 .8752942.908358.8752942 2.381259 0 3.289617-.5909138.61325-1.5255389.954428-2.53719.954428-.5223687 0-.9935663-.09031-1.3832112-.232762.3631253-.915463.3952949-1.77626.4154309-2.429737.032192-1.045425.072224-1.308557.3352649-1.581546z'; - --icon-edit-guides: 'M1.39,18.36L3.16,16.6L4.58,18L5.64,16.95L4.22,15.54L5.64,14.12L8.11,16.6L9.17,15.54L6.7,13.06L8.11,11.65L9.53,13.06L10.59,12L9.17,10.59L10.59,9.17L13.06,11.65L14.12,10.59L11.65,8.11L13.06,6.7L14.47,8.11L15.54,7.05L14.12,5.64L15.54,4.22L18,6.7L19.07,5.64L16.6,3.16L18.36,1.39L22.61,5.64L5.64,22.61L1.39,18.36Z'; - --icon-edit-color: 'M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z'; - --icon-edit-resize: 'M10.59,12L14.59,8H11V6H18V13H16V9.41L12,13.41V16H20V4H8V12H10.59M22,2V18H12V22H2V12H6V2H22M10,14H4V20H10V14Z'; - - --icon-external-source-placeholder: 'M6.341 3.27a10.5 10.5 0 0 1 5.834-1.77.75.75 0 0 0 0-1.5 12 12 0 1 0 12 12 .75.75 0 0 0-1.5 0A10.5 10.5 0 1 1 6.34 3.27Zm14.145 1.48a.75.75 0 1 0-1.06-1.062L9.925 13.19V7.95a.75.75 0 1 0-1.5 0V15c0 .414.336.75.75.75h7.05a.75.75 0 0 0 0-1.5h-5.24l9.501-9.5Z'; - --icon-facebook: 'm12 1.5c-5.79901 0-10.5 4.70099-10.5 10.5 0 4.9427 3.41586 9.0888 8.01562 10.2045v-6.1086h-2.13281c-.41421 0-.75-.3358-.75-.75v-3.2812c0-.4142.33579-.75.75-.75h2.13281v-1.92189c0-.95748.22571-2.51089 1.38068-3.6497 1.1934-1.17674 3.1742-1.71859 6.2536-1.05619.3455.07433.5923.3798.5923.73323v2.75395c0 .41422-.3358.75-.75.75-.6917 0-1.2029.02567-1.5844.0819-.3865.05694-.5781.13711-.675.20223-.1087.07303-.2367.20457-.2367 1.02837v1.0781h2.3906c.2193 0 .4275.0959.57.2626.1425.1666.205.3872.1709.6038l-.5156 3.2813c-.0573.3647-.3716.6335-.7409.6335h-1.875v6.1058c4.5939-1.1198 8.0039-5.2631 8.0039-10.2017 0-5.79901-4.701-10.5-10.5-10.5zm-12 10.5c0-6.62744 5.37256-12 12-12 6.6274 0 12 5.37256 12 12 0 5.9946-4.3948 10.9614-10.1384 11.8564-.2165.0337-.4369-.0289-.6033-.1714s-.2622-.3506-.2622-.5697v-7.7694c0-.4142.3358-.75.75-.75h1.9836l.28-1.7812h-2.2636c-.4142 0-.75-.3358-.75-.75v-1.8281c0-.82854.0888-1.72825.9-2.27338.3631-.24396.8072-.36961 1.293-.4412.3081-.0454.6583-.07238 1.0531-.08618v-1.39629c-2.4096-.40504-3.6447.13262-4.2928.77165-.7376.72735-.9338 1.79299-.9338 2.58161v2.67189c0 .4142-.3358.75-.75.75h-2.13279v1.7812h2.13279c.4142 0 .75.3358.75.75v7.7712c0 .219-.0956.427-.2619.5695-.1662.1424-.3864.2052-.6028.1717-5.74968-.8898-10.1509-5.8593-10.1509-11.8583z'; - --icon-dropbox: 'm6.01895 1.92072c.24583-.15659.56012-.15658.80593.00003l5.17512 3.29711 5.1761-3.29714c.2458-.15659.5601-.15658.8059.00003l5.5772 3.55326c.2162.13771.347.37625.347.63253 0 .25629-.1308.49483-.347.63254l-4.574 2.91414 4.574 2.91418c.2162.1377.347.3762.347.6325s-.1308.4948-.347.6325l-5.5772 3.5533c-.2458.1566-.5601.1566-.8059 0l-5.1761-3.2971-5.17512 3.2971c-.24581.1566-.5601.1566-.80593 0l-5.578142-3.5532c-.216172-.1377-.347058-.3763-.347058-.6326s.130886-.4949.347058-.6326l4.574772-2.91408-4.574772-2.91411c-.216172-.1377-.347058-.37626-.347058-.63257 0-.2563.130886-.49486.347058-.63256zm.40291 8.61518-4.18213 2.664 4.18213 2.664 4.18144-2.664zm6.97504 2.664 4.1821 2.664 4.1814-2.664-4.1814-2.664zm2.7758-3.54668-4.1727 2.65798-4.17196-2.65798 4.17196-2.658zm1.4063-.88268 4.1814-2.664-4.1814-2.664-4.1821 2.664zm-6.9757-2.664-4.18144-2.664-4.18213 2.664 4.18213 2.664zm-4.81262 12.43736c.22254-.3494.68615-.4522 1.03551-.2297l5.17521 3.2966 5.1742-3.2965c.3493-.2226.813-.1198 1.0355.2295.2226.3494.1198.813-.2295 1.0355l-5.5772 3.5533c-.2458.1566-.5601.1566-.8059 0l-5.57819-3.5532c-.34936-.2226-.45216-.6862-.22963-1.0355z'; - --icon-gdrive: 'm7.73633 1.81806c.13459-.22968.38086-.37079.64707-.37079h7.587c.2718 0 .5223.14697.6548.38419l7.2327 12.94554c.1281.2293.1269.5089-.0031.7371l-3.7935 6.6594c-.1334.2342-.3822.3788-.6517.3788l-14.81918.0004c-.26952 0-.51831-.1446-.65171-.3788l-3.793526-6.6598c-.1327095-.233-.130949-.5191.004617-.7504zm.63943 1.87562-6.71271 11.45452 2.93022 5.1443 6.65493-11.58056zm3.73574 6.52652-2.39793 4.1727 4.78633.0001zm4.1168 4.1729 5.6967-.0002-6.3946-11.44563h-5.85354zm5.6844 1.4998h-13.06111l-2.96515 5.1598 13.08726-.0004z'; - --icon-gphotos: 'M12.51 0c-.702 0-1.272.57-1.272 1.273V7.35A6.381 6.381 0 0 0 0 11.489c0 .703.57 1.273 1.273 1.273H7.35A6.381 6.381 0 0 0 11.488 24c.704 0 1.274-.57 1.274-1.273V16.65A6.381 6.381 0 0 0 24 12.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381 6.381 0 0 0 12.511 0Zm.252 11.232V1.53a4.857 4.857 0 0 1 0 9.702Zm-1.53.006H1.53a4.857 4.857 0 0 1 9.702 0Zm1.536 1.524a4.857 4.857 0 0 0 9.702 0h-9.702Zm-6.136 4.857c0-2.598 2.04-4.72 4.606-4.85v9.7a4.857 4.857 0 0 1-4.606-4.85Z'; - --icon-instagram: 'M6.225 12a5.775 5.775 0 1 1 11.55 0 5.775 5.775 0 0 1-11.55 0zM12 7.725a4.275 4.275 0 1 0 0 8.55 4.275 4.275 0 0 0 0-8.55zM18.425 6.975a1.4 1.4 0 1 0 0-2.8 1.4 1.4 0 0 0 0 2.8zM11.958.175h.084c2.152 0 3.823 0 5.152.132 1.35.134 2.427.41 3.362 1.013a7.15 7.15 0 0 1 2.124 2.124c.604.935.88 2.012 1.013 3.362.132 1.329.132 3 .132 5.152v.084c0 2.152 0 3.823-.132 5.152-.134 1.35-.41 2.427-1.013 3.362a7.15 7.15 0 0 1-2.124 2.124c-.935.604-2.012.88-3.362 1.013-1.329.132-3 .132-5.152.132h-.084c-2.152 0-3.824 0-5.153-.132-1.35-.134-2.427-.409-3.36-1.013a7.15 7.15 0 0 1-2.125-2.124C.716 19.62.44 18.544.307 17.194c-.132-1.329-.132-3-.132-5.152v-.084c0-2.152 0-3.823.132-5.152.133-1.35.409-2.427 1.013-3.362A7.15 7.15 0 0 1 3.444 1.32C4.378.716 5.456.44 6.805.307c1.33-.132 3-.132 5.153-.132zM6.953 1.799c-1.234.123-2.043.36-2.695.78A5.65 5.65 0 0 0 2.58 4.26c-.42.65-.657 1.46-.78 2.695C1.676 8.2 1.675 9.797 1.675 12c0 2.203 0 3.8.124 5.046.123 1.235.36 2.044.78 2.696a5.649 5.649 0 0 0 1.68 1.678c.65.421 1.46.658 2.694.78 1.247.124 2.844.125 5.047.125s3.8 0 5.046-.124c1.235-.123 2.044-.36 2.695-.78a5.648 5.648 0 0 0 1.68-1.68c.42-.65.657-1.46.78-2.694.123-1.247.124-2.844.124-5.047s-.001-3.8-.125-5.046c-.122-1.235-.359-2.044-.78-2.695a5.65 5.65 0 0 0-1.679-1.68c-.651-.42-1.46-.657-2.695-.78-1.246-.123-2.843-.124-5.046-.124-2.203 0-3.8 0-5.047.124z'; - --icon-flickr: 'M5.95874 7.92578C3.66131 7.92578 1.81885 9.76006 1.81885 11.9994C1.81885 14.2402 3.66145 16.0744 5.95874 16.0744C8.26061 16.0744 10.1039 14.2396 10.1039 11.9994C10.1039 9.76071 8.26074 7.92578 5.95874 7.92578ZM0.318848 11.9994C0.318848 8.91296 2.85168 6.42578 5.95874 6.42578C9.06906 6.42578 11.6039 8.91232 11.6039 11.9994C11.6039 15.0877 9.06919 17.5744 5.95874 17.5744C2.85155 17.5744 0.318848 15.0871 0.318848 11.9994ZM18.3898 7.92578C16.0878 7.92578 14.2447 9.76071 14.2447 11.9994C14.2447 14.2396 16.088 16.0744 18.3898 16.0744C20.6886 16.0744 22.531 14.2401 22.531 11.9994C22.531 9.76019 20.6887 7.92578 18.3898 7.92578ZM12.7447 11.9994C12.7447 8.91232 15.2795 6.42578 18.3898 6.42578C21.4981 6.42578 24.031 8.91283 24.031 11.9994C24.031 15.0872 21.4982 17.5744 18.3898 17.5744C15.2794 17.5744 12.7447 15.0877 12.7447 11.9994Z'; - --icon-vk: var(--icon-external-source-placeholder); - --icon-evernote: 'M9.804 2.27v-.048c.055-.263.313-.562.85-.562h.44c.142 0 .325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461 1.461 0 0 1 .16.356l.004.012a.75.75 0 0 0 .603.577l1.191.207a1988.512 1988.512 0 0 0 2.332.402c.512.083 1.1.178 1.665.442.64.3 1.19.795 1.376 1.77.548 2.931.657 5.829.621 8a39.233 39.233 0 0 1-.125 2.602 17.518 17.518 0 0 1-.092.849.735.735 0 0 0-.024.112c-.378 2.705-1.269 3.796-2.04 4.27-.746.457-1.53.451-2.217.447h-.192c-.46 0-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217 0-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75 0 1 0 .792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098 1.188-1.098 2.08 0 .996.634 1.84 1.329 2.392.704.56 1.638.96 2.515.96l.185.002c.667.009 1.874.025 3.007-.67 1.283-.786 2.314-2.358 2.733-5.276.01-.039.018-.078.022-.105.011-.061.023-.14.034-.23.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576-.097-.015-.18-.028-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93 2.93 0 0 0-.182-.338A2.532 2.532 0 0 0 12.379.329l-.091-.023a3.967 3.967 0 0 0-.493-.103L11.769.2a7.846 7.846 0 0 0-.675-.04h-.44c-.733 0-1.368.284-1.795.742L2.416 7.431c-.468.428-.751 1.071-.751 1.81 0 .02 0 .041.003.062l.003.034c.017.21.038.468.096.796.107.715.275 1.47.391 1.994.029.13.055.245.075.342l.002.008c.258 1.141.641 1.94.978 2.466.168.263.323.456.444.589a2.808 2.808 0 0 0 .192.194c1.536 1.562 3.713 2.196 5.731 2.08.13-.005.35-.032.537-.073a2.627 2.627 0 0 0 .652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915.197.193.412.357.627.493a5.022 5.022 0 0 0 1.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736 1.736 0 0 1 .145.048l.03.014c.765.34 1.302 1.09 1.302 1.871a.75.75 0 0 0 1.5 0c0-1.456-.964-2.69-2.18-3.235-.212-.103-.5-.174-.679-.217l-.063-.015a10.616 10.616 0 0 0-.606-.105l-.02-.003-.03-.003h-.002a3.542 3.542 0 0 1-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75 0 0 0-1.48-.106l-.001.003-.004.017a8.23 8.23 0 0 1-.092.352 9.963 9.963 0 0 1-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178 1.178 0 0 1-.221.072 1.949 1.949 0 0 1-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746 0 0 0-.053-.05L4.84 14.6a1.348 1.348 0 0 1-.07-.073 2.99 2.99 0 0 1-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1 54.1 0 0 0-.083-.376 27.494 27.494 0 0 1-.367-1.872l-.003-.02a6.791 6.791 0 0 1-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63 0 0 1 .292-.145h.05c.18 0 1.095.055 2.013.115l1.207.08.534.037a.747.747 0 0 0 .052.002c.782 0 1.349-.206 1.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97 774.97 0 0 1 9.885 4.4c-.042-.961-.081-1.939-.081-2.13ZM4.995 6.953a251.126 251.126 0 0 1 2.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69 791.69 0 0 1-.095-2.187L4.995 6.953Zm16.122 9.996ZM15.638 11.626a.75.75 0 0 0 1.014.31 2.04 2.04 0 0 1 .304-.089 1.84 1.84 0 0 1 .544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75 0 0 0 1.289-.767c-.337-.567-.906-.783-1.552-.85a3.334 3.334 0 0 0-1.002.062c-.27.056-.531.14-.705.234a.75.75 0 0 0-.31 1.014Z'; - --icon-box: 'M1.01 4.148a.75.75 0 0 1 .75.75v4.348a4.437 4.437 0 0 1 2.988-1.153c1.734 0 3.23.992 3.978 2.438a4.478 4.478 0 0 1 3.978-2.438c2.49 0 4.488 2.044 4.488 4.543 0 2.5-1.999 4.544-4.488 4.544a4.478 4.478 0 0 1-3.978-2.438 4.478 4.478 0 0 1-3.978 2.438C2.26 17.18.26 15.135.26 12.636V4.898a.75.75 0 0 1 .75-.75Zm.75 8.488c0 1.692 1.348 3.044 2.988 3.044s2.989-1.352 2.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76 10.945 1.76 12.636Zm10.944-3.043c-1.64 0-2.988 1.352-2.988 3.043 0 1.692 1.348 3.044 2.988 3.044s2.988-1.352 2.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75 0 0 1 1.052.128l2.333 2.983 2.333-2.983a.75.75 0 0 1 1.181.924l-2.562 3.277 2.562 3.276a.75.75 0 1 1-1.181.924l-2.333-2.983-2.333 2.983a.75.75 0 1 1-1.181-.924l2.562-3.276-2.562-3.277a.75.75 0 0 1 .129-1.052Z'; - --icon-onedrive: 'M13.616 4.147a7.689 7.689 0 0 0-7.642 3.285A6.299 6.299 0 0 0 1.455 17.3c.684.894 2.473 2.658 5.17 2.658h12.141c.95 0 1.882-.256 2.697-.743.815-.486 1.514-1.247 1.964-2.083a5.26 5.26 0 0 0-3.713-7.612 7.69 7.69 0 0 0-6.098-5.373ZM3.34 17.15c.674.63 1.761 1.308 3.284 1.308h12.142a3.76 3.76 0 0 0 2.915-1.383l-7.494-4.489L3.34 17.15Zm10.875-6.25 2.47-1.038a5.239 5.239 0 0 1 1.427-.389 6.19 6.19 0 0 0-10.3-1.952 6.338 6.338 0 0 1 2.118.813l4.285 2.567Zm4.55.033c-.512 0-1.019.104-1.489.307l-.006.003-1.414.594 6.521 3.906a3.76 3.76 0 0 0-3.357-4.8l-.254-.01ZM4.097 9.617A4.799 4.799 0 0 1 6.558 8.9c.9 0 1.84.25 2.587.713l3.4 2.037-10.17 4.28a4.799 4.799 0 0 1 1.721-6.312Z'; - --icon-huddle: 'M6.204 2.002c-.252.23-.357.486-.357.67V21.07c0 .15.084.505.313.812.208.28.499.477.929.477.519 0 .796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725 1.419-3.883 3.867-3.883 1.33 0 2.332.581 2.987 1.364.637.762.95 1.717.95 2.526v6.47c0 .392.11.751.305.995.175.22.468.41 1.008.41.52 0 .816-.198 1.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971 5.971 0 0 0-3.183.41c-.912.393-1.538.96-1.81 1.489a.75.75 0 0 1-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315 0-.638.136-.885.36ZM5.194.892A2.844 2.844 0 0 1 7.09.142c1.328 0 2.742.867 2.742 2.53v5.607a6.358 6.358 0 0 1 1.133-.629 7.47 7.47 0 0 1 3.989-.516c3.056.436 5.425 3.482 5.425 6.906v6.914c0 .602-.177 1.313-.627 1.89-.47.605-1.204 1.016-2.186 1.016-.96 0-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447 0-2.367 1.304-2.367 2.39v.014l-.117 6.58c-.001.64-.177 1.333-.637 1.881-.48.57-1.2.9-2.105.9-.995 0-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z'; -} diff --git a/blocks/themes/lr-basic/icons/about.svg b/blocks/themes/lr-basic/icons/about.svg new file mode 100644 index 000000000..90df1c4ae --- /dev/null +++ b/blocks/themes/lr-basic/icons/about.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/add.svg b/blocks/themes/lr-basic/icons/add.svg new file mode 100644 index 000000000..c5a21fa75 --- /dev/null +++ b/blocks/themes/lr-basic/icons/add.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/arrow-down.svg b/blocks/themes/lr-basic/icons/arrow-down.svg new file mode 100644 index 000000000..663acc8c7 --- /dev/null +++ b/blocks/themes/lr-basic/icons/arrow-down.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/back.svg b/blocks/themes/lr-basic/icons/back.svg new file mode 100644 index 000000000..7101f43c0 --- /dev/null +++ b/blocks/themes/lr-basic/icons/back.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/badge-error.svg b/blocks/themes/lr-basic/icons/badge-error.svg new file mode 100644 index 000000000..8b1230633 --- /dev/null +++ b/blocks/themes/lr-basic/icons/badge-error.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/badge-success.svg b/blocks/themes/lr-basic/icons/badge-success.svg new file mode 100644 index 000000000..025f8a40e --- /dev/null +++ b/blocks/themes/lr-basic/icons/badge-success.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/box.svg b/blocks/themes/lr-basic/icons/box.svg new file mode 100644 index 000000000..c175b59a1 --- /dev/null +++ b/blocks/themes/lr-basic/icons/box.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/camera.svg b/blocks/themes/lr-basic/icons/camera.svg new file mode 100644 index 000000000..2604259a5 --- /dev/null +++ b/blocks/themes/lr-basic/icons/camera.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/check.svg b/blocks/themes/lr-basic/icons/check.svg new file mode 100644 index 000000000..c09d48bb7 --- /dev/null +++ b/blocks/themes/lr-basic/icons/check.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/close.svg b/blocks/themes/lr-basic/icons/close.svg new file mode 100644 index 000000000..fa6bf276b --- /dev/null +++ b/blocks/themes/lr-basic/icons/close.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/collapse.svg b/blocks/themes/lr-basic/icons/collapse.svg new file mode 100644 index 000000000..d08f9b476 --- /dev/null +++ b/blocks/themes/lr-basic/icons/collapse.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/default.svg b/blocks/themes/lr-basic/icons/default.svg new file mode 100644 index 000000000..b7a37b42b --- /dev/null +++ b/blocks/themes/lr-basic/icons/default.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/detail.svg b/blocks/themes/lr-basic/icons/detail.svg new file mode 100644 index 000000000..55759bca2 --- /dev/null +++ b/blocks/themes/lr-basic/icons/detail.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/dots.svg b/blocks/themes/lr-basic/icons/dots.svg new file mode 100644 index 000000000..f5b2f365e --- /dev/null +++ b/blocks/themes/lr-basic/icons/dots.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/dropbox.svg b/blocks/themes/lr-basic/icons/dropbox.svg new file mode 100644 index 000000000..578272dbf --- /dev/null +++ b/blocks/themes/lr-basic/icons/dropbox.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-brightness.svg b/blocks/themes/lr-basic/icons/edit-brightness.svg new file mode 100644 index 000000000..dde83dd28 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-brightness.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-color.svg b/blocks/themes/lr-basic/icons/edit-color.svg new file mode 100644 index 000000000..72ba8de67 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-color.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-contrast.svg b/blocks/themes/lr-basic/icons/edit-contrast.svg new file mode 100644 index 000000000..af76cee71 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-contrast.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-crop.svg b/blocks/themes/lr-basic/icons/edit-crop.svg new file mode 100644 index 000000000..64e3c5b4d --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-crop.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-draw.svg b/blocks/themes/lr-basic/icons/edit-draw.svg new file mode 100644 index 000000000..fe1d72141 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-draw.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-file.svg b/blocks/themes/lr-basic/icons/edit-file.svg new file mode 100644 index 000000000..9188f9785 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-file.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-flip-h.svg b/blocks/themes/lr-basic/icons/edit-flip-h.svg new file mode 100644 index 000000000..f44f858ad --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-flip-h.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-flip-v.svg b/blocks/themes/lr-basic/icons/edit-flip-v.svg new file mode 100644 index 000000000..b1794aa6b --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-flip-v.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-guides.svg b/blocks/themes/lr-basic/icons/edit-guides.svg new file mode 100644 index 000000000..8b392fc93 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-guides.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-resize.svg b/blocks/themes/lr-basic/icons/edit-resize.svg new file mode 100644 index 000000000..759ccc880 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-resize.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-rotate.svg b/blocks/themes/lr-basic/icons/edit-rotate.svg new file mode 100644 index 000000000..be7ac2f30 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-rotate.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-saturation.svg b/blocks/themes/lr-basic/icons/edit-saturation.svg new file mode 100644 index 000000000..3b26e45ef --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-saturation.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit-text.svg b/blocks/themes/lr-basic/icons/edit-text.svg new file mode 100644 index 000000000..7f351d4f0 --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit-text.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/edit.svg b/blocks/themes/lr-basic/icons/edit.svg new file mode 100644 index 000000000..5dc4b2ebf --- /dev/null +++ b/blocks/themes/lr-basic/icons/edit.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/error.svg b/blocks/themes/lr-basic/icons/error.svg new file mode 100644 index 000000000..526551226 --- /dev/null +++ b/blocks/themes/lr-basic/icons/error.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/evernote.svg b/blocks/themes/lr-basic/icons/evernote.svg new file mode 100644 index 000000000..5e1e98e08 --- /dev/null +++ b/blocks/themes/lr-basic/icons/evernote.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/expand.svg b/blocks/themes/lr-basic/icons/expand.svg new file mode 100644 index 000000000..d1b6f153b --- /dev/null +++ b/blocks/themes/lr-basic/icons/expand.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/external-source-placeholder.svg b/blocks/themes/lr-basic/icons/external-source-placeholder.svg new file mode 100644 index 000000000..7f1cd1491 --- /dev/null +++ b/blocks/themes/lr-basic/icons/external-source-placeholder.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/facebook.svg b/blocks/themes/lr-basic/icons/facebook.svg new file mode 100644 index 000000000..c8d22352c --- /dev/null +++ b/blocks/themes/lr-basic/icons/facebook.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/file.svg b/blocks/themes/lr-basic/icons/file.svg new file mode 100644 index 000000000..940f9516e --- /dev/null +++ b/blocks/themes/lr-basic/icons/file.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/flickr.svg b/blocks/themes/lr-basic/icons/flickr.svg new file mode 100644 index 000000000..1a9dffc68 --- /dev/null +++ b/blocks/themes/lr-basic/icons/flickr.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/fullscreen-exit.svg b/blocks/themes/lr-basic/icons/fullscreen-exit.svg new file mode 100644 index 000000000..b6003ee18 --- /dev/null +++ b/blocks/themes/lr-basic/icons/fullscreen-exit.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/fullscreen.svg b/blocks/themes/lr-basic/icons/fullscreen.svg new file mode 100644 index 000000000..09d822573 --- /dev/null +++ b/blocks/themes/lr-basic/icons/fullscreen.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/gdrive.svg b/blocks/themes/lr-basic/icons/gdrive.svg new file mode 100644 index 000000000..b74bcd434 --- /dev/null +++ b/blocks/themes/lr-basic/icons/gdrive.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/gphotos.svg b/blocks/themes/lr-basic/icons/gphotos.svg new file mode 100644 index 000000000..d9789805f --- /dev/null +++ b/blocks/themes/lr-basic/icons/gphotos.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/huddle.svg b/blocks/themes/lr-basic/icons/huddle.svg new file mode 100644 index 000000000..64b1b63f8 --- /dev/null +++ b/blocks/themes/lr-basic/icons/huddle.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/info.svg b/blocks/themes/lr-basic/icons/info.svg new file mode 100644 index 000000000..ec0e870ef --- /dev/null +++ b/blocks/themes/lr-basic/icons/info.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/instagram.svg b/blocks/themes/lr-basic/icons/instagram.svg new file mode 100644 index 000000000..ba89a129e --- /dev/null +++ b/blocks/themes/lr-basic/icons/instagram.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/local.svg b/blocks/themes/lr-basic/icons/local.svg new file mode 100644 index 000000000..0c08241c6 --- /dev/null +++ b/blocks/themes/lr-basic/icons/local.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/onedrive.svg b/blocks/themes/lr-basic/icons/onedrive.svg new file mode 100644 index 000000000..ae2642129 --- /dev/null +++ b/blocks/themes/lr-basic/icons/onedrive.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/remove-file.svg b/blocks/themes/lr-basic/icons/remove-file.svg new file mode 100644 index 000000000..af4292b31 --- /dev/null +++ b/blocks/themes/lr-basic/icons/remove-file.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/remove.svg b/blocks/themes/lr-basic/icons/remove.svg new file mode 100644 index 000000000..d21bfd88e --- /dev/null +++ b/blocks/themes/lr-basic/icons/remove.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/select.svg b/blocks/themes/lr-basic/icons/select.svg new file mode 100644 index 000000000..bc69be8b0 --- /dev/null +++ b/blocks/themes/lr-basic/icons/select.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/trash-file.svg b/blocks/themes/lr-basic/icons/trash-file.svg new file mode 100644 index 000000000..d21bfd88e --- /dev/null +++ b/blocks/themes/lr-basic/icons/trash-file.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/upload-error.svg b/blocks/themes/lr-basic/icons/upload-error.svg new file mode 100644 index 000000000..526551226 --- /dev/null +++ b/blocks/themes/lr-basic/icons/upload-error.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/upload.svg b/blocks/themes/lr-basic/icons/upload.svg new file mode 100644 index 000000000..b7a37b42b --- /dev/null +++ b/blocks/themes/lr-basic/icons/upload.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/url.svg b/blocks/themes/lr-basic/icons/url.svg new file mode 100644 index 000000000..f4cdfae72 --- /dev/null +++ b/blocks/themes/lr-basic/icons/url.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/icons/vk.svg b/blocks/themes/lr-basic/icons/vk.svg new file mode 100644 index 000000000..7f1cd1491 --- /dev/null +++ b/blocks/themes/lr-basic/icons/vk.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/blocks/themes/lr-basic/index.css b/blocks/themes/lr-basic/index.css index 27e6da10e..91190d231 100644 --- a/blocks/themes/lr-basic/index.css +++ b/blocks/themes/lr-basic/index.css @@ -1,9 +1,6 @@ /* BASE CONFIGURATION: */ @import url('config.css'); -/* ICONS: */ -@import url('icons.css'); - /* THEME */ @import url('theme.css'); diff --git a/blocks/themes/lr-basic/svg-sprite.js b/blocks/themes/lr-basic/svg-sprite.js new file mode 100644 index 000000000..417ac7310 --- /dev/null +++ b/blocks/themes/lr-basic/svg-sprite.js @@ -0,0 +1 @@ +export default ""; diff --git a/build-svg-sprite.js b/build-svg-sprite.js new file mode 100644 index 000000000..64d3580f1 --- /dev/null +++ b/build-svg-sprite.js @@ -0,0 +1,77 @@ +import fs from 'fs'; +import path from 'path'; +import SVGSpriter from 'svg-sprite'; +import url from 'url'; + +const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); + +const DATA = [ + { + input: path.resolve(__dirname, './blocks/CloudImageEditor/src/icons/'), + output: path.resolve(__dirname, './blocks/CloudImageEditor/src/svg-sprite.js'), + }, + { + input: path.resolve(__dirname, './blocks/themes/lr-basic/icons/'), + output: path.resolve(__dirname, './blocks/themes/lr-basic/svg-sprite.js'), + }, +]; + +const config = { + mode: { + symbol: { + inline: true, + }, + }, + shape: { + id: { + generator: (name) => `uc-icon-${name.replace(/\.svg$/, '')}`, + }, + transform: [ + { + svgo: { + plugins: [ + { + name: 'preset-default', + }, + { + name: 'prefixIds', + params: { + prefix: 'uc-icon-id', + }, + }, + ], + }, + }, + ], + }, +}; + +const spriter = new SVGSpriter(config); + +console.log('Generating SVG sprite...'); + +DATA.forEach((item) => { + fs.readdir(item.input, (err, files) => { + if (err) { + throw err; + } + + console.log(`Processing ${item.input}...`); + + files.forEach((file) => { + const filePath = path.resolve(item.input, file); + console.log(`Icon processed: ${filePath}`); + spriter.add(filePath, null, fs.readFileSync(filePath, { encoding: 'utf-8' })); + }); + + spriter.compile((error, result) => { + if (error) { + throw error; + } + + const jsTemplate = `export default "${result.symbol.sprite.contents.toString().replace(/\"/g, "'")}";`; + + fs.writeFileSync(item.output, jsTemplate); + }); + }); +}); diff --git a/demo/icons.html b/demo/icons.html new file mode 100644 index 000000000..ddf6054d8 --- /dev/null +++ b/demo/icons.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + diff --git a/demo/raw-regular.html b/demo/raw-regular.html index 20065dbf2..9a4ffd196 100644 --- a/demo/raw-regular.html +++ b/demo/raw-regular.html @@ -3,13 +3,6 @@ -