Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

GuySartorelli
Copy link
Member

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

Parent Issue:

Depends on:

@GuySartorelli GuySartorelli mentioned this pull request May 15, 2022
1 task
@GuySartorelli GuySartorelli force-pushed the pulls/4/respect-disable-darkmode branch from 069fb52 to c72683a Compare May 17, 2022 23:12
@GuySartorelli
Copy link
Member Author

GuySartorelli commented May 17, 2022

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.

@sabina-talipova sabina-talipova merged commit f90693c into silverstripe:4 May 18, 2022
@sabina-talipova sabina-talipova deleted the pulls/4/respect-disable-darkmode branch May 18, 2022 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants