rajinwonderland / react-code-blocks

React code blocks and code snippet components
https://react-code-blocks.rajinwonderland.vercel.app
MIT License
613 stars 81 forks source link

Can no longer create custom themes #85

Closed ckawell-sb closed 1 year ago

ckawell-sb commented 1 year ago

After updating to 0.1.0, I am no longer able to use my custom theme. This is because the theme in CodeBlock requires a mode field, but does not expose the ThemeModes type. Basically, mode is required, but not set-able.

ckawell-sb commented 1 year ago

In fact, I am getting the same error when attempting to use the default dracula theme.

miaawong commented 1 year ago

Having the same issues using the dracula theme as well.

Tang8330 commented 1 year ago

+1, having the same issue trying to upgrade

thomasmost commented 1 year ago

Sorry for the delay, I will prioritize this this week!

thomasmost commented 1 year ago

Closed in 0.1.2