Skip to content

Commit

Permalink
fix: a couple of css fixes for windows high contrast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lismith2-cisco committed Oct 22, 2024
1 parent 738d490 commit 9bceb6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/emoji-mart/src/components/Picker/PickerStyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ a {
transition-property: background-color, box-shadow;
transition-timing-function: var(--easing);

@media (forced-colors: active) {
border: 1px solid ButtonBorder;
}

&::placeholder {
color: inherit;
opacity: .6;
Expand Down Expand Up @@ -472,6 +476,7 @@ button {
width: 16px; height: 16px;
border-radius: 100%;
overflow: hidden;
forced-color-adjust: none;

&:after {
content: "";
Expand Down

0 comments on commit 9bceb6b

Please sign in to comment.