Disable dark mode in default models #34
Unanswered
lucassdoro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Looks like need to add an option for this. Can be done in two ways:
->plugin(
ThemesPlugin::make()
->canViewThemesPage(fn () => auth()->check())
->darkMode(false)
);
I personally thinking about option 2, what you think? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the case that I want to use the sunset model, could I disable the option to switch to dark mode without creating a new model?
I tried the standard methods, setting darkMode to false in the panel, but without success.
From the documentation, I saw that this should be done directly in the theme; how would it be done for the default themes?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions