[cXF] Light and dark mode switch

Add-ons [cXF] Light and dark mode switch 1.1.0

Register & Get access to index
Compatible XF Versions
2.1 , 2.2
Visible Branding
No
ldms_demo_dark_mode.gif


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! For compatibility with UI.X style, please contact me via PM

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

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

Latest reviews

Excellent
Back
Top Bottom