Also theme password fields

This commit is contained in:
Lukáš Kucharczyk 2025-02-07 20:20:33 +01:00
parent 34148466c7
commit 2ab497fd54
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 6 additions and 10 deletions

View File

@ -174,7 +174,7 @@ label {
@apply dark:text-slate-500;
}
[type="text"], [type="datetime-local"], [type="datetime"], [type="date"], [type="number"], select, textarea {
[type="text"], [type="password"], [type="datetime-local"], [type="datetime"], [type="date"], [type="number"], select, textarea {
@apply dark:bg-slate-600 dark:text-slate-300;
}

View File

@ -1596,18 +1596,14 @@ input:checked + .toggle-bg {
max-width: 24rem;
}
.max-w-xs {
max-width: 20rem;
}
.max-w-full {
max-width: 100%;
}
.max-w-xl {
max-width: 36rem;
}
.max-w-xs {
max-width: 20rem;
}
.flex-1 {
flex: 1 1 0%;
}
@ -2614,7 +2610,7 @@ label:is(.dark *) {
color: rgb(100 116 139 / var(--tw-text-opacity));
}
[type="text"]:is(.dark *), [type="datetime-local"]:is(.dark *), [type="datetime"]:is(.dark *), [type="date"]:is(.dark *), [type="number"]:is(.dark *), select:is(.dark *), textarea:is(.dark *) {
[type="text"]:is(.dark *), [type="password"]:is(.dark *), [type="datetime-local"]:is(.dark *), [type="datetime"]:is(.dark *), [type="date"]:is(.dark *), [type="number"]:is(.dark *), select:is(.dark *), textarea:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgb(71 85 105 / var(--tw-bg-opacity));
--tw-text-opacity: 1;