Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CodeBlocks Dark mode in JSON-RPC References page. #20647

Open
Gagan20-vis opened this issue Dec 16, 2024 · 0 comments
Open

Fix CodeBlocks Dark mode in JSON-RPC References page. #20647

Gagan20-vis opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
doc-issue Issue submitted using the Doc issue template

Comments

@Gagan20-vis
Copy link

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

  1. Switch to dark mode.
  2. Refresh the page while in dark mode.
  3. 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.

Screenshots

Screenshot 2024-12-16 at 9 59 36 PM
@Gagan20-vis Gagan20-vis added the doc-issue Issue submitted using the Doc issue template label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-issue Issue submitted using the Doc issue template
Projects
None yet
Development

No branches or pull requests

2 participants