[cXF] Light and dark mode switch

[cXF] Light and dark mode switch 1.1.1

No permission to buy (€18.00)
Compatible XF 2.x versions
  1. 2.2
  2. 2.3
Visible branding
No
This is a cXF Pack B Membership Add-on. Upgrade your account to cXF Pack B Membership for:
If you got our add-ons on websites other than customizexf.com or xenforo.com, then you got them on pirated sites. If so, we suggest you remove the add-on from the server and download it from the original site. Please, support the developers and fight piracy!

Description:
Add an icon to easily switch between light and dark mode style with some extra features.

Note: with this add-on, no style is included. You need to have at least two styles to use the switch.

LIVE demo on https://www.synoforum.com
(you can switch between Light and Dark style AND VertiLight and VertiDark style. To choose VertiLight style, switch the style from the footer, and then you can use the switch for VertiDark)


Features:
  • set light and dark style ID in the style properties
  • set switch icon position (next to Search in navigation, next to Style chooser in the footer or both positions)
  • switch mode is based on permissions (you can enable/disable switch mode for certain groups)
  • set text on icon hover for each style (i.e. Light mode, Dark mode)
  • set the icon for each style
  • set the icon color and hover color separately in navigation and footer position
  • set the page width (below the selected page width the switch mode icon will not show) for top and bottom switch icon separately

HOW TO SET IT UP:
  1. Set user or group permission to Yes for this add-on
  2. Go to Options > [cXF] Light and dark mode switch and set the position
  3. Set position in Options
  4. Go to Style properties for your style and set the Style ID of the switched style (i.e. in Light style you'll set the ID of the Dark style and vice versa) and customize it for your needs

Because you set the switched style ID in style properties, you can have more Light and Dark styles and switch between them.


Screens:

< demo >
ldms_demo_dark_mode.gif



< top position >

ldms_top_icon.png



< bottom (footer) posiiton >

ldms_bottom_icon.png




< permissions >

ldms_permissions.png
Author
BassMan
Views
5,950
First release
Last update

Ratings

5.00 star(s) 2 ratings

More resources from BassMan

Latest updates

  1. 1.1.1

    compatibility fix for XenForo 2.3
  2. 1.1.0

    CHANGE: style ID of the switched style is set in the style properties Now you can have more...
  3. 1.0.3

    changed template modification to work with regular expression (better compatibility with some...

Latest reviews

Useful Addon, at this point it's still better than the new variations feature as it allows you to better accomplish your goals. BassMan provides fast and reliable support.
BassMan
BassMan
Thank you for your review. I'm glad you like it!
Works perfectly and does the job. It enables you to be able to switch from one light style to a dark one quite easily.
BassMan
BassMan
Thank you for your review.
Back
Top Bottom