question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug - Certification Page Uses Night Theme When Set For Code Formatting

See original GitHub issue

Describe the bug I’m back again, with another bug that I’ve observed in the certification page.

It uses the night theme setting when styling code in the solution modal, but the page doesn’t use night theme elsewhere.

To Reproduce

  1. Visit your settings and ensure that the Night Mode is set to on - https://www.freecodecamp.org/settings
  2. Visit a certification with script in it eg - https://www.freecodecamp.org/certification/rtpharry/javascript-algorithms-and-data-structures
  3. Scroll down to the projects, click on any solution
  4. Observe that the code is barely readable because its using the night theme code colours, but the certification page itself doesn’t use the night theme for anything else.

image

For bonus points, go back and switch night mode off and observe that it then shows readable code:

image

Expected behavior Should ignore the night theme setting and display in consistent colours.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ShaunSHamiltoncommented, Mar 13, 2021

Thank you, for taking the time to open this. It was briefly mentioned, but appears to have been lost in the bussle.

Something to keep track of with this: https://github.com/freeCodeCamp/freeCodeCamp/issues/37166

0reactions
TomerPacificcommented, Oct 6, 2021

@ieahleen, I have opened a PR for this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A complete guide to code snippets
While we can't fix the bugs in your code, we can show you how to make it look spectacular. In this tutorial, learn...
Read more >
Code style options and code cleanup - Visual Studio ...
Learn how to configure Visual Studio to apply code style preferences using the Code Cleanup (Visual Studio 2019) and Format Document (Visual ...
Read more >
Code Block Macro | Confluence Data Center and Server 8.0
Add the Code Block macro to your page · From the editor toolbar, choose Insert > Other Macros. · Choose Code Block from...
Read more >
Darkest Dark Theme with DevStyle
Darkest Dark theme from DevStyle - a free plugin providing an enhanced set of experiences for Eclipse. Included:
Read more >
How To Toggle Between Dark and Light Mode
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found