ConsenSysMesh / ConsenSysMesh/rimble-ui

ToastProvider ToastMessage theme color defaults to dark

Open
#379 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
455
Forks
60
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
ToastMessage when used via the .toastProvider with no colorTheme prop set shows the dark theme.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a ToastMessage.toastProvider
2. Show a ToastMessage with no theme value set
3. Should show light colored ToastMessage

https://codesandbox.io/embed/default-toastprovider-toastmessage-theme-colors-zbjzm

**Expected behavior**
ToastMessage when used via the .toastProvider with no colorTheme prop set should default to the light theme.

**Rimble UI Version**

- 0.10.0 (latest)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.