Skip to content

Commit

Permalink
fix: confirmation & input (#833)
Browse files Browse the repository at this point in the history
* fix(confirmation): fix disabled input opacity

* fix(input): fix autofill color
  • Loading branch information
dmitrsavk committed Sep 10, 2021
1 parent b255acd commit f3c0d62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

&.disabled {
color: var(--color-light-text-tertiary);
opacity: 1;
}
}

Expand Down
4 changes: 4 additions & 0 deletions packages/input/src/default.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.input:-webkit-autofill {
-webkit-text-fill-color: var(--input-color);
}

.input::placeholder {
color: var(--input-placeholder-color);
}
Expand Down
4 changes: 4 additions & 0 deletions packages/input/src/inverted.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.input:-webkit-autofill {
-webkit-text-fill-color: var(--input-inverted-color);
}

.input::placeholder {
color: var(--input-inverted-placeholder-color);
}
Expand Down

0 comments on commit f3c0d62

Please sign in to comment.