Open LineIndent opened 1 month ago
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
you can add !important
and use style
prop for this to work
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: