KO
|
EN
gitlite β search
Search
#ai-agent
#python
#dsh-plugin
#agentic-ai
#automation
#genpark
#llm-tools
#mcp-server
#deepseek-harness
#ruby
#dotfiles
#ai-agents
nightmode
β 37
Open GitHub β
π Turn off the lights!
Download README (.md)
Explore Similar Repositories
analytics
:
A Flarum extension that provides your forum piwik's and google's analytics features
passport
:
The Laravel passport compatible oauth extension for your Flarum forum.
flarum-discussion-views
:
An extension for the Flarum forum software which tracks and displays discussion views.
flarum-ext-emojionearea
:
Add EmojioneArea emoji picker to Flarum
flarum-ext-email-verification-switch
:
Disable new registered user email verification, will be activated automatically.
// repository documentation
Was this content helpful?
β 0
(0 ratings)
Select Rating:
β
β
β
β
β
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
nightmode
?
Download (.md)
# Night Mode by FriendsOfFlarum [](https://github.com/fof/nightmode/blob/master/LICENSE) [](https://github.com/FriendsOfFlarum/nightmode) [](https://packagist.org/packages/fof/nightmode) A [Flarum](http://flarum.org) extension. Add a Night Mode π for your users to use on your Flarum forum! (THE LIGHT π, IT BUUUURNSSS!!!) - A new "Night Mode" menu option will appear in your user options when you click on your avatar next to the notifications icon.  - A "Day Mode" option has been added as well to make the light appear again! (BEGONE, DANKESS!)  ### Installation Install manually with composer: ```sh composer require fof/nightmode:"*" ``` ### Updating ```sh composer update fof/nightmode ``` ### Integrating with `fof/nightmode` from another extension Each time the mode is switched from `day` to `night` (and vice versa), a `fofnightmodechange` event is dispatched. An extension can then listen to this event to react to this change, like so: ```js if (flarum.extensions['fof-nightmode']) { document.addEventListener('fofnightmodechange', (event) => { if (event.detail == 'day') { console.log('day mode'); } else { console.log('night mode'); } }); } ``` ### Links [<img src="https://opencollective.com/fof/donate/button@2x.png?color=blue" height="25" />](https://opencollective.com/fof/donate) - [Packagist](https://packagist.org/packages/fof/nightmode) - [GitHub](https://github.com/FriendsOfFlarum/nightmode) - [ReFlar's Night Mode](https://packagist.org/packages/reflar/nightmode) An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum).