Dark mode switcher

This commit is contained in:
Peter Papp
2021-07-23 17:16:42 +02:00
parent be2690fd1c
commit 32d54fa50e
113 changed files with 565 additions and 452 deletions
@@ -36,7 +36,7 @@
.focus-within-border-theme:focus-within {border-color: {{ $color }} !important;}
.focus-border-theme:focus {border-color: {{ $color }}}
.focus-border-theme:focus {border-color: {{ $color }} !important}
.focus-border-theme:focus[type='email'] {border-color: {{ $color }}}
.focus-border-theme:focus[type='text'] {border-color: {{ $color }}}
.focus-border-theme:focus[type='password'] {border-color: {{ $color }}}
@@ -96,7 +96,7 @@
.StripeElement--focus {border-color: {{ $color }} !important;}
{{-- Dark mode --}}
@media (prefers-color-scheme: dark) {
.dark-text-theme {color: {{ $color }}}
.dark-mode .text-theme {
color: {{ $color }}
}
</style>