Dark / Light Mode Automatic Toggle Switch / jsdmat

XF2 Guides Dark / Light Mode Automatic Toggle Switch / jsdmat 0.4.0

No permission to download

XenForo

Administrative
Trusted Uploader
Null Master
XenForo submitted a new resource:

Dark / Light Mode Automatic Toggle Switch / jsdmat - Automatically switches unlimited light & dark styles by JS utilizing browser's prefers-color-scheme

About jsdmat​

This modification enables a XenForo installation to automatically toggle light and dark styles based on the user browser's UI setting "prefers-color-scheme".
Adding this CSS media feature directly to XenForo CSS definitions is hardly possible for the current architecture. Switching between light and dark UI without major modifications is easier done by switching between...

Read more about this resource...
 

XenForo

Administrative
Trusted Uploader
Null Master
XenForo updated Dark / Light Mode Automatic Toggle Switch / jsdmat with a new update entry:

0.4.0 Feature update

  • Added capability to react and incorporate user-driven style changes including lock and release scenarios.
  • Added call method to accept user-driven toggle requests ("light to dark" and vice versa).
  • Rebuilt mandatory template modification sheet (PAGE_CONTAINER) to comply to new jsdmat object structure.
  • Added recommended template modification sheet (style_chooser) to be able to capture user-driven style changes.
  • Added optional public navigation entry example to offer a...

Read the rest of this update entry...
 
  • Tags
    dark / light mode automatic toggle switch / jsdmat 0.4.0
  • Top