Skip to content

A platform for community discussion. Free, open, simple.

UX: sidebar btn light dark support horizon (#34319)

David Battersbydd0a5c30c65b
diff --git a/themes/horizon/scss/buttons.scss b/themes/horizon/scss/buttons.scss
index d862b0af475..5b26f223fb6 100644
--- a/themes/horizon/scss/buttons.scss
+++ b/themes/horizon/scss/buttons.scss
@@ -19,7 +19,10 @@
&:hover,
&:focus-visible {
- background: oklch(from var(--accent-color) 40% c h) !important;
+ background: light-dark(
+ oklch(from var(--accent-color) 40% c h),
+ oklch(from var(--accent-color) 50% c h)
+ ) !important;
box-shadow: none;
}
diff --git a/themes/horizon/scss/sidebar-new-topic-button.scss b/themes/horizon/scss/sidebar-new-topic-button.scss
index 4ff92c89aa1..64343eba149 100644
--- a/themes/horizon/scss/sidebar-new-topic-button.scss
+++ b/themes/horizon/scss/sidebar-new-topic-button.scss
@@ -26,7 +26,11 @@
.sidebar-new-topic-button {
border-radius: var(--d-button-border-radius) 0 0
var(--d-button-border-radius);
- border-right: 1px solid var(--primary-300);
+ border-right: 1px solid
+ light-dark(
+ oklch(from var(--primary-300) l c h),
+ oklch(from var(--primary-700) l c h)
+ ) !important;
}
}