Dark / Light Mode Automatic Toggle Switch / jsdmat

Dark / Light Mode Automatic Toggle Switch / jsdmat 0.4.0

Sem autorização para baixar
  • Criador do tópico Criador do tópico axtona
  • Data de início Data de início
Lv.12
Moderating
Bronze Member
Iron Member
Donor Member
Associado
28/06/2020
Mensagens
4.400
Pontuação de reações
1.401
Credits
$11.798
jessy submitted a new resource:

Dark / Light Mode Automatic Toggle Switch / jsdmat - enables a XenForo installation to automatically toggle light and dark styles

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...
 
jessy updated Dark / Light Mode Automatic Toggle Switch / jsdmat with a new update entry:

0.4.0

  • 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...
 
Top