damiankorcz / Prism-Theme

A Comprehensive, Highly-Customisable and Elegant Light/Dark Theme for Obsidian.md
https://www.buymeacoffee.com/DamianKorcz
MIT License
376 stars 13 forks source link

[Bug] Nested callouts render parent color #93

Closed tauren closed 1 year ago

tauren commented 1 year ago

Describe the bug Nested callouts render in the same color as the parent callout, even if they are different types.

To Reproduce Add the following to a note:

>[!WARNING]+ Parent Warning callout
>
> >[!SUCCESS]+ Child Success callout
> >Content
>
> >[!NOTE]+ Child Note callout
> >Content

This renders all callouts in orange.

Expected behavior Should show an orange parent callout with nested green and grey callouts.

Screenshots image

Setup Information

Additional context Note that the nested callouts render correctly when the parent is type NOTE. And some other types render partially correct. But many combinations don't render correctly at all.

damiankorcz commented 1 year ago

Hi @tauren, This issue should now be resolved in Prism 3.0.2.