[cXF] Light and dark mode switch

xF2 Add-on [cXF] Light and dark mode switch 1.1.0

No permission to download
Compatible XF Versions
2.1, 2.2
Visible Branding
No
Description:
Add an icon to easily switch between light and dark mode style with some extra features.

NOTE: dark style or any other is not included! This is just a switch for any style you have installed on your forum

Features:
  • set light and dark style ID in the options
  • 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 style ID (for light and dark style)
  3. Set position in Options
  4. Go to Style properties for your Light style and then for your Dark style and customize it for your needs
Screens:

< demo >
ldms_demo_dark_mode.gif

< top position >
ldms_top_icon.png

< bottom (footer) posiiton >
ldms_bottom_icon.png

< options >
ldms_options.png

< style properties >
ldms_sp.png

< permissions >
ldms_permissions.png
Author
ENXF NET
Downloads
74
Views
1,948
Last update
Rating
5.00 star(s) 1 ratings

More resources from ENXF NET

Latest updates

  1. 1.1.0

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

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

    bug fix for switch icon in guest view
Top