Skip to content

Commit

Permalink
fix: resolve color theming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Sep 25, 2024
1 parent c37623a commit 007cc9b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,6 @@ The component may be restyled using the following code sample and changing the v
--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
--ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
--ds-auro-input-notification-icon-color: var(--ds-color-alert-error-default, #{$ds-color-alert-error-default});
--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
--ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
}
Expand Down
4 changes: 2 additions & 2 deletions src/color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ input {
}

&:disabled {
--ds-auro-input-input-text-color: var(--ds-color-text-disabled-default, #{$ds-color-text-disabled-default});
--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #{$ds-color-text-ui-disabled-default});
}
}

Expand Down Expand Up @@ -90,5 +90,5 @@ label {

:host([disabled]) {
--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #{$ds-color-border-ui-disabled-default});
--ds-auro-input-label-text-color: var(--ds-color-text-disabled-default, #{$ds-color-text-disabled-default});
--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #{$ds-color-text-ui-disabled-default});
}
1 change: 0 additions & 1 deletion src/tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
--ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
--ds-auro-input-notification-icon-color: var(--ds-color-alert-error-default, #{$ds-color-alert-error-default});
--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
--ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
}

0 comments on commit 007cc9b

Please sign in to comment.