Skip to content

Commit

Permalink
chore: address pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
yhafez committed Jul 20, 2023
1 parent fbd3eba commit 9808d2c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/styles/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
--field-label-text-color: var(--gray-90);
--field-label-description-text-color: var(--gray-60);
--input-min-width: 250px;
--focus-glow: rgba(181, 26, 209, 1);
--field-focus-ring-color: var(--focus-light);
}

.cauldron--theme-dark {
Expand All @@ -32,7 +32,7 @@
--field-required-text-color: var(--white);
--field-label-text-color: var(--white);
--field-label-description-text-color: rgba(255, 255, 255, 0.8);
--focus-glow: rgba(235, 148, 255, 1);
--field-focus-ring-color: var(--focus-dark);
}

input,
Expand Down Expand Up @@ -334,7 +334,7 @@ textarea.Field--has-error:focus:hover,
.Checkbox__overlay.Checkbox__overlay--focused,
.Radio__overlay.Radio__overlay--focused {
border-radius: 5px;
box-shadow: 0 0 0 2px var(--focus-glow);
box-shadow: 0 0 0 2px var(--field-focus-ring-color);
}

.Radio__overlay.Icon--radio-checked {
Expand Down Expand Up @@ -399,9 +399,3 @@ textarea.Field--has-error:focus:hover,
.cauldron--theme-dark .Checkbox__overlay--disabled.Icon--checkbox-unchecked {
color: var(--stroke-dark);
}

.Checkbox__overlay.Checkbox__overlay--focused,
.Radio__overlay.Radio__overlay--focused {
border-radius: 5px;
box-shadow: 0 0 0 2px var(--focus-glow);
}

0 comments on commit 9808d2c

Please sign in to comment.