Skip to content

Instantly share code, notes, and snippets.

@ScottKillen
Forked from vii33/obsidian-vii-callouts.css
Created December 3, 2022 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ScottKillen/8adad5783cbfff575ea80da1c74c7475 to your computer and use it in GitHub Desktop.
Save ScottKillen/8adad5783cbfff575ea80da1c74c7475 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 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment