From 9bceb6b86321d9a3fcde3c949d193caa05a60adc Mon Sep 17 00:00:00 2001 From: Lisa Smith Date: Tue, 22 Oct 2024 21:32:29 +0000 Subject: [PATCH] fix: a couple of css fixes for windows high contrast mode --- packages/emoji-mart/src/components/Picker/PickerStyles.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/emoji-mart/src/components/Picker/PickerStyles.scss b/packages/emoji-mart/src/components/Picker/PickerStyles.scss index 70c2b497..fd4fd489 100644 --- a/packages/emoji-mart/src/components/Picker/PickerStyles.scss +++ b/packages/emoji-mart/src/components/Picker/PickerStyles.scss @@ -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; @@ -472,6 +476,7 @@ button { width: 16px; height: 16px; border-radius: 100%; overflow: hidden; + forced-color-adjust: none; &:after { content: "";