-
-
Save ScottKillen/8adad5783cbfff575ea80da1c74c7475 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