Skip to content

Commit

Permalink
Fix blue text colour of focused inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Declan Chidlow committed Apr 29, 2024
1 parent b0ac5f5 commit 680800f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion config/global/styles/components/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ textarea {
-webkit-appearance: none;
}

button:focus,
select:focus,
input:focus,
textarea:focus {
color: inherit;
}

button,
select {
cursor: pointer;
Expand All @@ -25,7 +32,7 @@ textarea {
color: var(--white);
}

*:focus {
:focus {
outline: var(--blue) solid 2px;
color: var(--blue);
}
9 changes: 8 additions & 1 deletion docs/styles/components/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ textarea {
-webkit-appearance: none;
}

button:focus,
select:focus,
input:focus,
textarea:focus {
color: inherit;
}

button,
select {
cursor: pointer;
Expand All @@ -25,7 +32,7 @@ textarea {
color: var(--white);
}

*:focus {
:focus {
outline: var(--blue) solid 2px;
color: var(--blue);
}

0 comments on commit 680800f

Please sign in to comment.