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

Add a dark and light class to the <body> tag #77

Open
MrCaspan opened this issue Dec 29, 2024 · 0 comments · May be fixed by #78
Open

Add a dark and light class to the <body> tag #77

MrCaspan opened this issue Dec 29, 2024 · 0 comments · May be fixed by #78
Labels
enhancement New feature or request

Comments

@MrCaspan
Copy link

MrCaspan commented Dec 29, 2024

Is it possible to please add a class to the tag so that we can target things only in dark or light mode? Right now there is some text that is super hard to read in dark mode and I cannot find a way to target it only in dark mode. I fell like this would be such a useful feature to add and would be so simple to add

Dark Mode

<body class="fof-DarkMode">

Light Mode

<body class="fof-LightMode">

i am using fof- so that it does not possibly conflict with any other classes. I am willing to do a one-time bounty of $15 to any of the devs can make this happen ASAP as it is currently holding up a migration from Vanilla3 to Flarum! And no Dev should work for free :)

@MrCaspan MrCaspan added the enhancement New feature or request label Dec 29, 2024
@aybanda aybanda linked a pull request Dec 30, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant