Skip to content

Commit

Permalink
Merge pull request #122 from emulsify-ds/emulsify-74-fieldset
Browse files Browse the repository at this point in the history
Emulsify-74: Fieldset
  • Loading branch information
mariannuar authored May 10, 2024
2 parents ce1bf64 + 67d26d1 commit 16cef9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions src/components/forms/textfields/_textfields.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.form-item {
color: var(--colors-text-body);
color: var(--color-text-body);
margin-bottom: 1em;

@include clearfix;
Expand Down Expand Up @@ -45,21 +45,22 @@

.form-fieldset {
margin-bottom: 2em;
border: var(--border-sm) solid var(--color-fieldset-border);
border: var(--border-sm) solid var(--fieldset-color-border);
border-radius: var(--radius-fieldset);
padding: var(--spacing-lg);
font-weight: bold;

.form-item {
margin-left: 1em;
}
}

legend {
color: var(--color-fieldset-label);
color: var(--fieldset-color-label);
}

.form-item--warning {
--input-color-label: var(--colors-warning-default);
--input-border-color: var(--colors-warning-default);
--input-color-help-text: var(--colors-warning-default);
--input-color-label: var(--color-warning-default);
--input-border-color: var(--color-warning-default);
--input-color-help-text: var(--color-warning-default);
}
2 changes: 1 addition & 1 deletion src/components/tokens/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 10 May 2024 20:46:35 GMT
* Generated on Fri, 10 May 2024 20:51:02 GMT
*/

:root {
Expand Down

0 comments on commit 16cef9a

Please sign in to comment.