Deaktivate Bright/Dark Mode Switch #2965

Closed
opened 2026-02-05 05:52:56 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @reddexx on GitHub (Aug 18, 2022).

Describe the feature you'd like

Is it possible to disable the switch for the bright/dark mode?

image

Describe the benefits this would bring to existing BookStack users

We not use the DarkMode from BookStack

Because it wasn't optimally designed

Can the goal of this request already be achieved via other means?

no

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Originally created by @reddexx on GitHub (Aug 18, 2022). ### Describe the feature you'd like Is it possible to disable the switch for the bright/dark mode? ![image](https://user-images.githubusercontent.com/6242840/185372704-69743a8f-a667-4d34-b001-5d2368e1a055.png) ### Describe the benefits this would bring to existing BookStack users We not use the DarkMode from BookStack Because it wasn't optimally designed ### Can the goal of this request already be achieved via other means? no ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundemental request ### How long have you been using BookStack? Not using yet, just scoping ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 05:52:56 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 18, 2022):

Hi @reddexx,
This would not be an option I'd look to build in, but you could hide the toggle buttons using our methods of customization.
Below is a quick "Custom HTML Head Content" hack that would do this, quickly tested on the latest release.

<style type="text/css">
	form[action$="toggle-dark-mode"] {
		display: none;
	}
	header .dropdown-menu li:nth-child(5),
	header .dropdown-menu li:nth-child(6) {
		display: none;
	}
</style>

May not be applicable for future updates.

@ssddanbrown commented on GitHub (Aug 18, 2022): Hi @reddexx, This would not be an option I'd look to build in, but you could hide the toggle buttons using our [methods of customization](https://www.bookstackapp.com/docs/admin/hacking-bookstack/). Below is a quick "Custom HTML Head Content" hack that would do this, quickly tested on the latest release. ```html <style type="text/css"> form[action$="toggle-dark-mode"] { display: none; } header .dropdown-menu li:nth-child(5), header .dropdown-menu li:nth-child(6) { display: none; } </style> ``` May not be applicable for future updates.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2965