Updated: Sunday, August 27,2023-08-27 14:29:06

main
shwetha729 2023-08-27 14:29:06 -04:00
parent 6d6cbb2308
commit da0c214baa
1 changed files with 8 additions and 4 deletions

View File

@ -26,17 +26,21 @@ Digital Garden is the Obsidian plugin that lets me publish changes from my local
---
## Custom Code
---
For further tweaks and customization, adding in your own CSS is helpful. Digital Garden docs provides a helpful guide to[ notes icon customizing ](1. https://dg-docs.ole.dev/advanced/note-specific-settings/#note-icons)and how to find this in the source files.
For further tweaks and customization, adding in your own CSS is helpful. Digital Garden docs provides a helpful guide to notes icon customizing and how to find this in the source files.
##### Changing and adding icons
### CSS
1. Customizing Icons.
Navigate to `repo/src/site/img` to drop the icon .svg file there and then navigate to `repo/src/site/styles` to edit the `custom-style.css` file.
###### via [Digital Garden Docs. ](https://dg-docs.ole.dev/advanced/note-specific-settings/#note-icons) - Changing and adding icons
You can change and add your own icons the following way:
The ideal way to change the default icons is by adding the svgs in the img folder and setting the appropriate css vars in body in a [custom css file](https://dg-docs.ole.dev/advanced/adding-custom-components/#dynamic-css-scss):
```css