ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

ToastProvider ToastMessage theme color defaults to dark #379

Open MikeLockz opened 4 years ago

MikeLockz commented 4 years ago

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