TehiesHomes For Sale
cXF - Light and dark mode switch

cXF - Light and dark mode switch 1.1.2

Add an icon to easily switch between light and dark mode style with some extra features.
Compatible XF Versions
  1. 2.2
  2. 2.3
ldms_demo_dark_mode.gif

Description:
Add an icon to easily switch between light and dark mode style with some extra features.

Note: with this add-on, no style is included. You need to have at least two styles to use the switch.

LIVE demo on www.synoforum.com
(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 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 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.
  • ldms_bottom_icon.webp
    ldms_bottom_icon.webp
    6.4 KB · Views: 108
  • ldms_permissions.webp
    ldms_permissions.webp
    9 KB · Views: 110
  • ldms_top_icon.webp
    ldms_top_icon.webp
    8.9 KB · Views: 110

Latest updates

  1. 1.1.2

    minor editing of the description of options in the style properties
  2. 1.1.1

    compatibility fix for XenForo 2.3
Similar resources Most view View more

XenForo Theme Showcase

Discover professionally designed XenForo styles to enhance your community's appearance. TechiesHome.com highlights quality themes from trusted developers.

Featured XenForo Theme Collections

Recommended XenForo Developers

Explore themes from these industry leaders:

ThemeHouse, PixelExit, XenFocus, DohTheme, XenConcept, XenGentr

Why Trust Our Recommendations?

  • Quality Verified: We evaluate design and performance standards
  • Current Options: Regularly updated selections
  • Direct Sources: Links to official developer pages
  • Community Feedback: Real user experiences considered

Find the perfect style for your XenForo community through our curated theme directory.

Visit TechiesHome for more community resources.

Back
Top