Skip to content

Build your personal knowledge base with Trilium Notes

Adjusted icon file name casing.

Marek Lewandowski479a8008c63b
diff --git a/src/index.js b/src/index.js
index 3f45adb68a..963d539297 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,9 +4,9 @@
import infoIcon from './../theme/icons/info.svg';
import insertMermaidIcon from './../theme/icons/insert.svg';
-import previewModeIcon from './../theme/icons/previewMode.svg';
-import splitModeIcon from './../theme/icons/splitMode.svg';
-import sourceModeIcon from './../theme/icons/sourceMode.svg';
+import previewModeIcon from './../theme/icons/preview-mode.svg';
+import splitModeIcon from './../theme/icons/split-mode.svg';
+import sourceModeIcon from './../theme/icons/source-mode.svg';
export { default as Mermaid } from './mermaid';
diff --git a/src/mermaidui.js b/src/mermaidui.js
index ed9eaaf01c..0d9000d583 100644
--- a/src/mermaidui.js
+++ b/src/mermaidui.js
@@ -6,9 +6,9 @@ import { Plugin } from 'ckeditor5/src/core';
import { ButtonView } from 'ckeditor5/src/ui';
import insertMermaidIcon from '../theme/icons/insert.svg';
-import previewModeIcon from '../theme/icons/previewMode.svg';
-import splitModeIcon from '../theme/icons/splitMode.svg';
-import sourceModeIcon from '../theme/icons/sourceMode.svg';
+import previewModeIcon from '../theme/icons/preview-mode.svg';
+import splitModeIcon from '../theme/icons/split-mode.svg';
+import sourceModeIcon from '../theme/icons/source-mode.svg';
import infoIcon from '../theme/icons/info.svg';
/* global window */
diff --git a/tests/index.js b/tests/index.js
index 5f342e3ef4..9f33b05cdb 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -3,9 +3,9 @@ import Mermaid from '../src/mermaid';
import infoIcon from './../theme/icons/info.svg';
import insertMermaidIcon from './../theme/icons/insert.svg';
-import previewModeIcon from './../theme/icons/previewMode.svg';
-import splitModeIcon from './../theme/icons/splitMode.svg';
-import sourceModeIcon from './../theme/icons/sourceMode.svg';
+import previewModeIcon from './../theme/icons/preview-mode.svg';
+import splitModeIcon from './../theme/icons/split-mode.svg';
+import sourceModeIcon from './../theme/icons/source-mode.svg';
describe( 'CKEditor5 Mermaid DLL', () => {
it( 'exports MermaidWidget', () => {
diff --git a/theme/icons/previewMode.svg b/theme/icons/preview-mode.svg
similarity index 100%
rename from theme/icons/previewMode.svg
rename to theme/icons/preview-mode.svg
diff --git a/theme/icons/sourceMode.svg b/theme/icons/source-mode.svg
similarity index 100%
rename from theme/icons/sourceMode.svg
rename to theme/icons/source-mode.svg
diff --git a/theme/icons/splitMode.svg b/theme/icons/split-mode.svg
similarity index 100%
rename from theme/icons/splitMode.svg
rename to theme/icons/split-mode.svg