Skip to content

Commit

Permalink
fix(tokens): update color tokens (#5240)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Feb 4, 2020
1 parent af746dd commit 6093c2e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
.#{$prefix}--checkbox:indeterminate + .#{$prefix}--checkbox-label::before,
.#{$prefix}--checkbox-label[data-contained-checkbox-state='true']::before,
.#{$prefix}--checkbox-label[data-contained-checkbox-state='mixed']::before {
background-color: $icon-01;
border-color: $icon-01;
background-color: $ui-05;
border-color: $ui-05;
border-width: 1px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
position: absolute;
top: rem(-1px);
right: -1rem;
color: $support-01;
color: $text-error;
// TODO: sync with caption sizes
font-size: rem(12px);
background-color: $inverse-01;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
~ .#{$prefix}--form-requirement {
max-height: rem(200px);
display: block;
color: $support-01;
color: $text-error;
font-weight: 400;
margin-top: $carbon--spacing-02;
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
+ .#{$prefix}--form-requirement {
display: inline-block;
max-height: rem(200px);
color: $support-01;
color: $text-error;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
@include type-style('caption-01');
display: block;
max-height: rem(200px);
color: $support-01;
color: $text-error;
font-weight: 400;
padding: $carbon--spacing-03 $carbon--spacing-05;
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/form/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
~ .#{$prefix}--form-requirement {
max-height: rem(200px);
display: block;
color: $support-01;
color: $text-error;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
position: relative;

~ .#{$prefix}--form-requirement {
color: $support-01;
color: $text-error;
font-weight: 400;
margin-top: $carbon--spacing-02;
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

.#{$prefix}--form-requirement {
display: block;
color: $support-01;
color: $text-error;
font-weight: 400;
overflow: visible;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

& ~ .#{$prefix}--form-requirement {
order: 4;
color: $support-01;
color: $text-error;
font-weight: 400;
margin-top: $carbon--spacing-02;

Expand Down

0 comments on commit 6093c2e

Please sign in to comment.