XF2 Add-on [cXF] Light and dark mode switch 1.0.1

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,770
Reaction score
30,043
Points
113
NullCash
585,695
Compatible XF Versions 2.1 , 2.2 Visible Branding No

33681089d36d3.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
Screens:

cd80878f7ea15.png


3205cc2f8acb4.png


575ac5bae19c6.png


33be8cb3d0ed7.png


 

Attachments

  • BassMan-LightAndDarkModeSwitch-1_0_1.zip
    22.9 KB · Views: 2
Top