Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(style): synced text field styles with pattern library #1206

Merged
merged 11 commits into from
Jan 23, 2024
5 changes: 3 additions & 2 deletions packages/styles/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--field-border-color-error: var(--accent-error);
--field-border-color-error-hover: #c42f41;
--field-border-color-error-focus-glow: rgba(217, 50, 81, 0.7);
--field-border-color-disabled: rgba(204, 204, 204, 0.25);
--field-border-color-disabled: var(--gray-40);
--field-background-color-disabled: #f7f7f7;
--field-required-text-color: var(--gray-60);
--field-label-text-color: var(--gray-90);
Expand All @@ -35,6 +35,7 @@
.cauldron--theme-dark {
--field-background-color: var(--accent-medium);
--field-content-color: var(--white);
--field-border-color: #74818b;
--field-border-color-hover: var(--accent-info-light);
--field-border-color-focus: var(--accent-info);
--field-border-color-focus-hover: var(--accent-info-light);
Expand Down Expand Up @@ -130,7 +131,7 @@ textarea.Field--has-error,
[role='textbox'].Field--has-error,
[role='listbox'].Field--has-error,
[role='spinbutton'].Field--has-error {
border: 1px solid var(--field-border-color-error);
border: 2px solid var(--field-border-color-error);
}

.Checkbox__overlay.Field--has-error {
Expand Down