From aec17da6b0391209489d636ca29b08688f464c41 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 29 Oct 2021 14:35:57 -0400 Subject: [PATCH] improve trigger border color in dark mode --- docs/resources/changelog.md | 1 + src/components/color-picker/color-picker.styles.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index feeec3cd..4f49775b 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -10,6 +10,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - Added eye dropper to `` when the browser supports the [EyeDropper API](https://wicg.github.io/eyedropper-api/) - Fixed a bug in `` where buttons groups with only one button would have an incorrect border radius +- Improved the `` trigger's border in dark mode - Updated to Lit 2.0.2 ## 2.0.0-beta.58 diff --git a/src/components/color-picker/color-picker.styles.ts b/src/components/color-picker/color-picker.styles.ts index ee302109..bb2d1305 100644 --- a/src/components/color-picker/color-picker.styles.ts +++ b/src/components/color-picker/color-picker.styles.ts @@ -302,7 +302,7 @@ export default css` height: 100%; border-radius: inherit; background-color: currentColor; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0 0 0 1px rgb(var(--sl-color-neutral-1000) / 25%); transition: inherit; }