From 1abb58715b469c900fab71a80f91c530ee7b87f8 Mon Sep 17 00:00:00 2001 From: xaralis <filip.varecha@fragaria.cz> Date: Fri, 12 Nov 2021 17:18:19 +0100 Subject: [PATCH] feat(form-fields): less confusing looks of unchecked checkbox --- source/css/atoms/form-field.pcss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/css/atoms/form-field.pcss b/source/css/atoms/form-field.pcss index 7da6e0f..fc1e7f5 100644 --- a/source/css/atoms/form-field.pcss +++ b/source/css/atoms/form-field.pcss @@ -114,7 +114,7 @@ @apply relative flex; input { - @apply w-5 h-5 mr-2 flex-shrink-0 cursor-pointer appearance-none outline-none bg-grey-200 border border-grey-200 transition duration-200; + @apply w-5 h-5 mr-2 flex-shrink-0 cursor-pointer appearance-none outline-none bg-white border border-grey-200 transition duration-200; &:hover:not([disabled]):not([readonly]) { @apply border-grey-300; @@ -127,6 +127,7 @@ &:checked { @apply bg-blue-300 border-transparent; + } &[disabled] { -- GitLab