|
|
@@ -17,6 +17,7 @@ Some key files of a theme:
|
|
|
- `text-editor.theme`: theme file of the text editor (as well as Markdown editor);
|
|
|
- `web.css`: style sheet file of the read mode of Markdown;
|
|
|
- `highlight.css`: style sheet file of the read mode of Markdown for code block syntax highlight; VNote uses [Prism](https://prismjs.com/) for syntax highlight in read mode;
|
|
|
+- `icons`: folder for customized icons (**optional**);
|
|
|
|
|
|
## Samples
|
|
|
### Customize Editor Fonts
|
|
|
@@ -154,4 +155,75 @@ Change the font size of the notebook node explorer:
|
|
|
vnotex--NotebookNodeExplorer QTreeView {
|
|
|
font-size: 14pt;
|
|
|
}
|
|
|
-```
|
|
|
+```
|
|
|
+
|
|
|
+### Customize ICONS
|
|
|
+
|
|
|
+Vnotex Support for adding custom icon folders in themes `icons`, After placing the `SVG` format image of the corresponding name inside, the icon customization in the theme can be realized.
|
|
|
+
|
|
|
+Sample directory:
|
|
|
+
|
|
|
+```
|
|
|
+.
|
|
|
+├── cover.png
|
|
|
+├── highlight.css
|
|
|
+├── icons
|
|
|
+│ ├── ***.svg
|
|
|
+│ ├── ***.svg
|
|
|
+│ └── ***.svg
|
|
|
+├── interface.qss
|
|
|
+├── palette.json
|
|
|
+├── text-editor.theme
|
|
|
+└── web.css
|
|
|
+```
|
|
|
+
|
|
|
+Mapping between common ICONS:
|
|
|
+
|
|
|
+**Notes**
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+| Name | Explain |
|
|
|
+| :-------------- | :-------------- |
|
|
|
+| folder_node.svg | Folder of nodes |
|
|
|
+| file_node.svg | Nodes |
|
|
|
+
|
|
|
+**Top Menu bar**
|
|
|
+
|
|
|
+From left to right.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+| Name | Explain |
|
|
|
+| :-------------------- | :------------------ |
|
|
|
+| notebook_menu.svg | Notebook |
|
|
|
+| new_note.svg | New Note |
|
|
|
+| import_menu.svg | Import |
|
|
|
+| export_menu.svg | Export |
|
|
|
+| flash_page_menu.svg | Flash Page |
|
|
|
+| quick_access_menu.svg | Quick Access |
|
|
|
+| task_menu.svg | Task |
|
|
|
+| united_entry.svg | United Entry |
|
|
|
+| expand.svg | Expand Content Area |
|
|
|
+| settings_menu.svg | Settings |
|
|
|
+| menu.svg | Menu |
|
|
|
+
|
|
|
+**Left navigation bar**
|
|
|
+
|
|
|
+From top to down.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+| Name | Explain |
|
|
|
+| :------------------ | :--------- |
|
|
|
+| navigation_dock.svg | Navigation |
|
|
|
+| history_dock.svg | History |
|
|
|
+| tag_dock.svg | Tags |
|
|
|
+| search_dock.svg | Search |
|
|
|
+| snippet_dock.svg | Snippets |
|
|
|
+
|
|
|
+
|
|
|
+Demo:
|
|
|
+
|
|
|
+
|
|
|
+
|