2017 © Pedro Peláez
 

flarum-extension nightmode

Turn your flarum forum to dark as user

image

reflar/nightmode

Turn your flarum forum to dark as user

  • Tuesday, May 29, 2018
  • by datitisev
  • Repository
  • 3 Watchers
  • 4 Stars
  • 290 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 7 Versions
  • 106 % Grown

The README.md

Night Mode by FriendsOfFlarum

GitHub license Latest Stable Version Total Downloads, (*1)

A Flarum 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. Night Mode Option - A "Day Mode" option has been added as well to make the light appear again! (BEGONE, DANKESS!) Day Mode Option, (*2)

Installation

Install manually with composer:, (*3)

composer require fof/nightmode:"*"

Updating

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:, (*4)

if (flarum.extensions['fof-nightmode']) {
  document.addEventListener('fofnightmodechange', (event) => {
    if (event.detail == 'day') {
      console.log('day mode');
    } else {
      console.log('night mode');
    }
  });
}

, (*5)

An extension by FriendsOfFlarum., (*6)

The Versions

29/05 2018

dev-master

9999999-dev

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

15/05 2018

0.1.5

0.1.5.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

13/05 2018

0.1.4

0.1.4.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

10/05 2018

0.1.3

0.1.3.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

10/05 2018

0.1.2

0.1.2.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

16/04 2018

0.1.1

0.1.1.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night

16/04 2018

0.1.0

0.1.0.0

Turn your flarum forum to dark as user

  Sources   Download

MIT

The Requires

 

extension flarum mode moon reflar night