Bookstack: Add env variable to set default light/dark mode option, For when no set preference exists

Created on 30 Apr 2020  路  6Comments  路  Source: BookStackApp/BookStack

Describe the feature you'd like
Add .env setting for default to be dark mode.

Describe the benefits this feature would bring to BookStack users
Customization of bookstack appearance without using themes. Also since mode toggle is on home page anyone going to direct link can be forced to dark mode.

Additional context
Hope I haven't missed it, but I couldn't find it here https://github.com/BookStackApp/BookStack/blob/master/.env.example.complete

Design Back-End Feature Request

All 6 comments

Hi @mahdi1234,
Could you describe what is meant by this?

Customization of bookstack appearance without using themes. Also since mode toggle is on home page anyone going to direct link can be forced to dark mode.

The dark-mode in BookStack is a user-level preference. It should not affect other users in the system.

Hi @ssddanbrown maybe I described that bit confusing, basically I would like to have a setting for default theme light/dark, so when I give someone direct link to page_xyz it's dark on first visit. Sure he can change later on to white, but it's about first visit, does it make sense? I'm the only user on system and have read-only system for guests.

@mahdi1234 Ah, Okay, that makes sense. Thanks for confirming, I'll update the title.

Hey! Any updates on this?

Hey! Any updates on this?

Nope, nothing yet

Is there still no way to change the default theme to dark?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spacesven picture spacesven  路  3Comments

alex2702 picture alex2702  路  3Comments

ensemblebd picture ensemblebd  路  3Comments

mackcoding picture mackcoding  路  3Comments

gab-cass picture gab-cass  路  3Comments