You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Components, such as Toasts and Dialogs, are not working in dark mode. This has to do with the portals that are being used, that are rendering the components outside of the root of the playground and so they don't have a parent with the data-theme="dark" property.
Expected behaviour
Portals should be either rendered inside the root, or we should find another way to make those components work in dark mode.
The text was updated successfully, but these errors were encountered:
Design would like to use inverted colors for our toasts, so that they
are better visible. This was already done before, and reverted, but
this was probably done because the colors weren't correctly displayed
in storybook. This is because the toasts are displayed in a portal,
and storybook is not handling them really great. Added #1608 to improve
this.
Design would like to use inverted colors for our toasts, so that they
are better visible. This was already done before, and reverted, but
this was probably done because the colors weren't correctly displayed
in storybook. This is because the toasts are displayed in a portal,
and storybook is not handling them really great. Added #1608 to improve
this.
Improvement description
Components, such as Toasts and Dialogs, are not working in dark mode. This has to do with the portals that are being used, that are rendering the components outside of the root of the playground and so they don't have a parent with the
data-theme="dark"
property.Expected behaviour
Portals should be either rendered inside the root, or we should find another way to make those components work in dark mode.
The text was updated successfully, but these errors were encountered: