5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 10:56:21 +00:00

fix: validación en modo oscuro

This commit is contained in:
f 2024-06-19 13:13:09 -03:00
parent 4e473dd2cb
commit 4cdfbb7b2f
No known key found for this signature in database

View file

@ -95,6 +95,16 @@ $sizes: (
box-shadow: 0 0 0 0.2rem $cyan; box-shadow: 0 0 0 0.2rem $cyan;
} }
} }
@include form-validation-state("valid", $cyan, url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$white}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>"));
.custom-checkbox {
.custom-control-input:checked ~ .custom-control-label {
&::after {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$black}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/></svg>");
}
}
}
} }
// TODO: Encontrar la forma de generar esto desde los locales de Rails // TODO: Encontrar la forma de generar esto desde los locales de Rails