![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||
[vBMods.rocks] Create an Inverted Color Theme off Existing Theme Using Just Few CSS
![]() Developer Last Online: Sep 2023 ![]() ![]() ![]()
If you have a light theme in your forum, you can easily create a dark theme off it, or a dark theme into a light theme, using just few lines of CSS!
![]() How cool is it that you don't have to customize every vB stylevars just to create a dark or light theme and you just let the browser do its magic to detect what the inverted color is for each the element on a page? ![]() Here's a fun quick way to test how color inversion would look like in your own forum. Follow the below steps:
If you add new custom CSS in css_additional of the parent theme/style in the future, do not forget to also add it to the css_additional of the inverted-color child style. Enjoy! ![]() Please see attached screenshot of how it looks like for the vB5 Default Style when using this mod. For more details and support, please head over to https://vbmods.rocks/forum/vbulletin...g-just-few-css Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements [vBMods.rocks] Add Custom Profile Fields in Postbit | noypiscripter | vBulletin 5.x Products & Extensions | 14 | 02 Feb 2022 04:31 |
New Posting Features [vBMods.rocks] Quote Selected Text | noypiscripter | vBulletin 5.x Products & Extensions | 8 | 02 Feb 2022 04:29 |
Show Thread Enhancements [vBMods.rocks] Display Status Update in Postbit | noypiscripter | vBulletin 5.x Products & Extensions | 1 | 29 Jan 2019 15:31 |
Calendar Enhancements [vBMods.rocks] Event Date That Rocks using CSS | noypiscripter | vBulletin 5.x Template Modifications | 4 | 05 Apr 2017 18:32 |
Forum Display Enhancements [vBMods.rocks] Display Forum Description on Forum Channel page using an Ad Module | noypiscripter | vBulletin 5.x Products & Extensions | 15 | 24 Nov 2016 15:24 |
Comments |
#2
|
||||
|
||||
Let's take this mod to another level!
![]() What if a user had enabled Dark mode preference through the Operating System setting or the browser setting and your forum automatically turned into a Dark mode too? Wouldn't that be super awesome? ![]() ![]() How to Enable Dark Mode on Your Computer or Mobile Device
Add this CSS in css_additional template of the light theme/style:
For browser support, please see this compatibility chart. Watch demo on YouTube below: https://www.youtube.com/watch?v=Ln4vqs1rWL0 In the demo, I used my Android phone and set "System default" in the Theme settings in Chrome browser app and then enabled Dark mode by turning on Battery Saver on the device.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:20.