Skip to content

Conversation

@UlrichB22
Copy link
Collaborator

Related to #1502.
Replaces #2010.

Moved all code from variables.css and common.css to theme/topside/theme.css to avoid side effects on other themes like theme 'focus'. This can be consolidated if every theme has a dark mode.

@UlrichB22
Copy link
Collaborator Author

This PR is based on the work of @omjamnekar. Many Thanks for your support.

@roland-ruedenauer
Copy link
Contributor

Wouldn't it make sense to replace color codes with variable references as you've done for the body styling?

@UlrichB22
Copy link
Collaborator Author

Wouldn't it make sense to replace color codes with variable references as you've done for the body styling?

You're right, but that requires some more work. There are no predefined variables for the other colors. This is just a minimal version to use the existing PR.

The next step will be to add this feature to the other themes and use the same color set with unique names.

@RogerHaase RogerHaase merged commit 5112610 into moinwiki:master Nov 8, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants