From 93f756ac94ab7e25f1d8da8ecaefc1f6c4b5eed6 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 22 Feb 2024 16:13:20 -0800 Subject: [PATCH] fix: share button copy state -> dark theme --- src/assets/styles/components/share-button.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/assets/styles/components/share-button.css b/src/assets/styles/components/share-button.css index 6d71e92a..7cd372f8 100644 --- a/src/assets/styles/components/share-button.css +++ b/src/assets/styles/components/share-button.css @@ -17,4 +17,16 @@ input { border-radius: var(--rounded-md); padding: .25rem; border: 1px solid var(--gray-light); +} + +:root body.theme__dark { + button { + color: var(--text-color); + } +} + +@media (prefers-color-scheme: dark) { + button { + color: var(--text-color); + } } \ No newline at end of file