Compare commits

..

No commits in common. "da0c214baab289fab5b785bedebb3b452149698d" and "8f20ad8e1af3ab2801842bd4c9fbb8cf94463893" have entirely different histories.

3 changed files with 10 additions and 51 deletions

View File

@ -10,10 +10,10 @@
"noteSettingsIsInitialized": true, "noteSettingsIsInitialized": true,
"siteName": "Shw3th@", "siteName": "Shw3th@",
"slugifyEnabled": true, "slugifyEnabled": true,
"noteIconKey": "note-icon-1", "noteIconKey": "icons8-star-wars",
"defaultNoteIcon": "", "defaultNoteIcon": "",
"showNoteIconOnTitle": false, "showNoteIconOnTitle": false,
"showNoteIconInFileTree": true, "showNoteIconInFileTree": false,
"showNoteIconOnInternalLink": false, "showNoteIconOnInternalLink": false,
"showNoteIconOnBackLink": false, "showNoteIconOnBackLink": false,
"showCreatedTimestamp": false, "showCreatedTimestamp": false,

View File

@ -25,7 +25,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md", "file": "Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md",
"mode": "source", "mode": "source",
"source": false "source": false
} }
@ -98,7 +98,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md", "file": "Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -115,7 +115,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md", "file": "Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -138,7 +138,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md" "file": "Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md"
} }
} }
} }
@ -164,10 +164,8 @@
}, },
"active": "2da46b49ada159fb", "active": "2da46b49ada159fb",
"lastOpenFiles": [ "lastOpenFiles": [
"1..md",
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md",
"Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230816173235.png", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230816173235.png",
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Digital Garden Plugin.md",
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Encrypting Obsidian.md", "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Encrypting Obsidian.md",
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Obsidian-gitea process.md", "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides/Obsidian-gitea process.md",
"Coding Tips (Classical)/Terminal Tips/Languages/Markdown.md", "Coding Tips (Classical)/Terminal Tips/Languages/Markdown.md",
@ -186,6 +184,7 @@
"Coding Tips (Classical)/Terminal Tips/Computers/Linux/How Fuzzing with AFL Works.md", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/How Fuzzing with AFL Works.md",
"Coding Tips (Classical)/Terminal Tips/Computers/Linux/Distributions/Linux Distributions.md", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/Distributions/Linux Distributions.md",
"Coding Tips (Classical)/Terminal Tips/Computers/Linux/Distributions/AlpaLinux.md", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/Distributions/AlpaLinux.md",
"Coding Tips (Classical)/Project Vault/hi.mainsite/Quantum Stuff.md",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/grey-darkgrey-S.svg", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/grey-darkgrey-S.svg",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/orange-grey-S.svg", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/orange-grey-S.svg",
"Coding Tips (Classical)/Project Vault/hi.mainsite/Main Page.md", "Coding Tips (Classical)/Project Vault/hi.mainsite/Main Page.md",
@ -211,6 +210,7 @@
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818202825.png", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818202825.png",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818202254.png", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818202254.png",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818000111.png", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230818000111.png",
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230817184323.png",
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides", "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian Guides",
"Webpage/Machine Tips - Quantum" "Webpage/Machine Tips - Quantum"
] ]

View File

@ -3,7 +3,6 @@ Digital Garden is the Obsidian plugin that lets me publish changes from my local
---- ----
## Appearances:
#### Digital Garden Themes: #### Digital Garden Themes:
- 80's Neon - dark mode - 80's Neon - dark mode
@ -22,43 +21,3 @@ Digital Garden is the Obsidian plugin that lets me publish changes from my local
- ![[Pasted image 20230822102804.png]] - ![[Pasted image 20230822102804.png]]
- Origami - Origami
- ![[Pasted image 20230822103145.png]] - ![[Pasted image 20230822103145.png]]
## 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 and how to find this in the source files.
### 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
body {
--note-icon-1: url(/img/your-custom.svg);
--note-icon-2: url(/img/tree-2.svg);
--note-icon-3: url(/img/tree-3.svg);
--note-icon-fallback: url(/img/default-note-icon.svg);}
}
```
To add new icons, let's say, for 'stone', add a snippet like this (and add the relevant svg) in a [custom css file](https://dg-docs.ole.dev/advanced/adding-custom-components/#dynamic-css-scss):
```css
body.title-note-icon .cm-s-obsidian > header > h1[data-note-icon="stone"]::before,
body.filetree-note-icon .filename[data-note-icon="stone"]::before,
body.links-note-icon .internal-link[data-note-icon="stone"]::before,
body.backlinks-note-icon .backlink[data-note-icon="3"]::before {
background-image: url(/img/stone.svg);
}
```