Fix CodeBlocks Dark mode in JSON-RPC References page.
Gagan20-vis opened this issue · 0 comments
Gagan20-vis commented
Description
On the JSON-RPC page, the CodeBlocks are rendered in light mode when the page is refreshed while in dark mode. However, this issue does not occur in reverse—refreshing the page in light mode does not switch the CodeBlocks to dark mode.
Steps to Reproduce
- Switch to dark mode.
- Refresh the page while in dark mode.
- Observe that the CodeBlocks appear in light mode, even though the rest of the page remains in dark mode.
Expected Behavior
CodeBlocks should retain the current theme (dark mode or light mode) after a page refresh.
Actual Behavior
CodeBlocks switch to light mode upon refreshing the page in dark mode.