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
Describe the bug
Setting the rx.code_block background color works when the page loads. However, toggling between the light/dark theme resets the background color.
the background color of a codeblock is part of its theme, so i'm not very surprised this happens, you could also set the theme to theme=rx.code_block.themes.[whatever]
I just tested with the theme and it seems that the custom_style prop still does not stay intact - meaning that whatever theme is set PLUS a custom background, the custom background reverts to the default.
Strictly from a UI perspective the code_block can be altered to look good, but I thought I'd bring it up here in case others come across it
Describe the bug
Setting the
rx.code_block
background color works when the page loads. However, toggling between the light/dark theme resets the background color.To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: