Resource icon

[cXF] Light and dark mode switch Xenforo v1.1.0

  • Join us to download any resource for free. You will be able to download or guest post.
    Sign Up Now
  • All Passwords for this resource will be in "Updates" tab below.

Compatible XF 2.x versions
  • 2.1
  • 2.2
Description:
Add an icon to easily switch between light and dark mode style with some extra features.

(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 the top and bottom switch icons 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
  • Like
Reactions: Haboub66666
Author
kashif
Downloads
258
Views
438
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from

About us

  • Our community has been around from 2017 and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. Providing Free Resources to help newcomers/startups. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu