Skip to content

Instantly share code, notes, and snippets.

@vii33
Created April 1, 2022 23:44
Show Gist options
  • Save vii33/3dbca6d9465f8d0864cd9b5449e4350e to your computer and use it in GitHub Desktop.
Save vii33/3dbca6d9465f8d0864cd9b5449e4350e to your computer and use it in GitHub Desktop.
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 */
}
@maxwellamaral
Copy link

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment