emilkowalski / sonner

An opinionated toast component for React.

Home Page:https://sonner.emilkowal.ski

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Darkmode doesn't propagate to closeButton

AdelFetner opened this issue Β· comments

πŸ‘‹
Hi! Currently using sonner on a project and while setting up the dark/light themes, I noticed the darkmode theme does not currently spread into the closeButton, it keeps the default styling of a whitebg - black svg color.

Am I missing something or is this intended and not a bug? I tried looking specifically for it on the docs but the closest thing about it is how to customize the styling, nothing about the default dark/light themes.
I'm using the latest version

Images showing how the closeButton keeps default light theme even though darkmode is declared

image
image