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

[feature] Added support for Dark Mode #209

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

colthreepv
Copy link
Contributor

great work

preview:
image

@nemesifier nemesifier changed the title dark mode [feature] Added support for Dark Mode Sep 24, 2024
Added initial dark mode functionality without including a separate logo for dark mode.
Implemented the use of awesometheme for logo management in the dark mode feature.
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, Valerio!

I am going to push a few adjustments:

  • Pygments Themes: The Pygments color formatting for code samples was not displaying well on the dark theme.
  • Color Adjustment: I made the orange tone in the dark version slightly darker.
  • Dark/Light Mode Switch: I have reinstated the dark/light mode switch in the upper right corner.

Here's how these changes look:

Screenshot from 2024-09-25 16-25-08

{{ _('Dark') }}
</a>
</p>
</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a light/dark mode button built in the awesome sphinx theme, but I had disabled it, I am going to put it back (will just need to delete header.html and remove this.

});
});
</script>
<!-- End Color Mode -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remove this too.

- Pygments Themes: The Pygments color formatting for code
  samples was not displaying well on the dark theme.
- Color Adjustment: I made the orange tone in the dark
  version slightly darker.
- Dark/Light Mode Switch: I have reinstated the dark/light
  mode switch in the upper right corner.
@nemesifier nemesifier merged commit 17e2a5b into openwisp:master Sep 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants