Jump to content

Invision Community Blog


Managing successful online communities

Ehren
 

4.5: ACP Dark Mode

A short while ago we revealed the new look Admin CP for Invision Community 4.5. The focus was on increasing the workspace, brightening and modernising the look.

However, for some this new look was perhaps a little too bright, especially when setting your OS to use dark mode.

Rather than cause an increase in sales for sunglasses, we went ahead and implemented a dark mode for the Admin CP.

You can set it to work inline with your OS preference, or you can choose to enforce light or dark mode.

I'm sure the next question you're about to ask is "Hey Ehren that looks amazing and now working at 3 am won't wake up the neighbours when I log into the AdminCP but can you do the same for the front-end?"

The short answer to that is "no". The theme system isn't currently designed to support both light and dark colour schemes, however our marketplace has a great selection of dark themes to enhance your community.

I hope that you like this new feature and I just wanted to say thanks for your feedback; we do listen!


Comments

Recommended Comments

1 hour ago, Mr 13 said:

What a strange excuse. It's the problem of the users of these third-party themes. Why we're who use the official theme should suffer because of them?

The theme system simply isn't built to support automatic light/dark colour schemes yet. It would likely require a complete rebuild of the entire frontend theme, which is far too much of an undertaking for a smaller update such as 4.5. With that said, it's simple enough to offer your visitors a choice of light and dark themes which they can select using the "Theme" menu at the bottom of your site. 🙂

Share this comment


Link to comment
Share on other sites
33 minutes ago, Ehren said:

The theme system simply isn't built to support automatic light/dark colour schemes yet. It would likely require a complete rebuild of the entire frontend theme, which is far too much of an undertaking for a smaller update such as 4.5. With that said, it's simple enough to offer your visitors a choice of light and dark themes which they can select using the "Theme" menu at the bottom of your site. 🙂

Simply allow us as admins to set an attribute on each installed theme that designates the modes the theme supports, either light, dark, or both. Next, have the ACP Themes section support setting a default theme for light mode users and a default theme for dark mode users. Admins can then choose a third party theme for users in dark mode and the default IPS theme for users in light mode. IPS could even provide a separate dark default theme to be used by those of us that don't use third party themes.

Finally, when a theme is loaded, it should be very simple to have a JS check for current mode and load the appropriate theme (as set in the theme attributes - light/dark/both).

I think this would be pretty easy to implement and not put any burden for third party themes since the dark mode theme would be a separate theme from the light mode theme. No big changes required to the existing IPS theming system either.

Share this comment


Link to comment
Share on other sites
2 hours ago, Ehren said:

The theme system simply isn't built to support automatic light/dark colour schemes yet. It would likely require a complete rebuild of the entire frontend theme, which is far too much of an undertaking for a smaller update such as 4.5. With that said, it's simple enough to offer your visitors a choice of light and dark themes which they can select using the "Theme" menu at the bottom of your site. 🙂

Surely shipping with two themes is better not just 'no' in the meantime, otherwise customers are waiting literally years for something that shouldn't take as long. I know staff aren't keen on it though so that's probably more the reason why.

On a forum which uses XF they do this and I think it works great.

 

Share this comment


Link to comment
Share on other sites

So without any dark mode support on the official default theme, sunglasses sales will go through the roof (for our end users) - we should offer them for sale via Commerce 🤣

Edited by Joy Rex

Share this comment


Link to comment
Share on other sites
Quote

The answer to that is "no". Front-end themes are more complicated, so creating a light and dark mode would be largely ignored by most third-party theme authors. Our marketplace has a great selection of dark mode themes already.

I hope this "no" means "Well, not now, but may be later". 🙂

Share this comment


Link to comment
Share on other sites
4 hours ago, KVentz said:

I hope this "no" means "Well, not now, but may be later". 🙂

Probably on IPS5, when they will have the chance to rewrite a lot of things. It’s weird, anyway... because dark mode isn’t a new thing out there. It’s been there for 2 or 3 years already?

Share this comment


Link to comment
Share on other sites
Quote

The answer to that is "no".

I do not support this comment. Two thumbs and two toes down to show my disapproval. 😭

Good work on the AdminCP changes though, dark mode looks excellent. Thank you...

Ted.

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy