Skip to content

Commit

Permalink
feat: Modernize and make focus styles more prominent
Browse files Browse the repository at this point in the history
  • Loading branch information
rkunev committed Jan 21, 2024
1 parent b19f48c commit 401407a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,13 @@
border: 0;
}
.rcp__well:hover {
box-shadow: 0 0 1px 1px #333;
.rcp:focus-visible .rcp__knob,
.rcp__well:focus-visible {
box-shadow: 0 0 0 2px rgba(160, 174, 192, 0.6);
}
.rcp__well:focus {
box-shadow: 0 0 1px 2px #b2b2b2;
.rcp__well:hover {
box-shadow: 0 0 1px 1px #333;
}
.rcp__well.pressed {
Expand Down

0 comments on commit 401407a

Please sign in to comment.