silverstripe / silverstripe-mfa

MultiFactor Authentication for Silverstripe CMS
BSD 3-Clause "New" or "Revised" License
11 stars 24 forks source link

ENH Don't use dark mode style when dark mode is disabled. #456

Closed GuySartorelli closed 2 years ago

GuySartorelli commented 2 years ago

When dark mode is disabled in login forms, dark mode theming shouldn't be used.

Parent Issue:

Depends on:

GuySartorelli commented 2 years ago

Changed the approach - this now retains the css variables. Had to add a couple of new ones - colours were taken from the existing styling in light mode.