Created
April 1, 2022 23:44
-
-
Save vii33/3dbca6d9465f8d0864cd9b5449e4350e to your computer and use it in GitHub Desktop.
Obsidian Notes - Change callout color and icon (admonitions)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Settings for all callouts / admonitions: */ | |
.callout { | |
background-color: hsl(220, 16%, 16%); | |
} | |
/* Settings for individual callouts / admonitions: */ | |
.callout[data-callout="important"] { /* same name as in callout to be changed */ | |
--callout-color: 19, 203, 232; /* rgb only */ | |
--callout-icon: "lucide-flame"; /* Use lucide- plus icon name from https://lucide.dev */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks!