XF2 Add-on [cXF] Light and dark mode switch 1.1.0 - Xenforo Add-Ons

virgilio183

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
May 16, 2021
Messages
25,956
Reaction score
36,782
Points
113
NullCash
636,584
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

Compatible XF Versions 2.1 , 2.2
 

Attachments

  • BassMan-LightAndDarkModeSwitch-1.1.0 2.zip
    18.7 KB · Views: 1
Top