Skip to content

Commit

Permalink
fix(cc-input-*): use --cc-color-bg-neutral-readonly when relevant
Browse files Browse the repository at this point in the history
Fixes #511
  • Loading branch information
florian-sanders-cc committed May 22, 2023
1 parent 8445e1b commit 22bbc9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/cc-input-number/cc-input-number.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export class CcInputNumber extends LitElement {
}
:host([readonly]) .ring {
background: var(--cc-color-bg-neutral-readonly);
background: var(--cc-color-bg-neutral-readonly, #aaa);
}
/* SKELETON */
Expand Down
2 changes: 1 addition & 1 deletion src/components/cc-input-text/cc-input-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export class CcInputText extends LitElement {
}
:host([readonly]) .ring {
background: var(--cc-color-bg-neutral-hovered);
background: var(--cc-color-bg-neutral-readonly, #aaa);
}
/* SKELETON */
Expand Down

0 comments on commit 22bbc9c

Please sign in to comment.