Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Obsidian Notes - Change callout color and icon (admonitions)
/* 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