Skip to content

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

UX: scope css vars to HCTC component (#37116)

chapoic47b2885b297
diff --git a/themes/horizon/scss/high-context-cards.scss b/themes/horizon/scss/high-context-cards.scss
index 5036da7f3f3..9b53c3ce0f3 100644
--- a/themes/horizon/scss/high-context-cards.scss
+++ b/themes/horizon/scss/high-context-cards.scss
@@ -1,18 +1,11 @@
@use "lib/viewport";
-:root {
- --topic-card-shadow: rgb(var(--tertiary-rgb), 0.1);
- --title-color--read: var(--primary-medium);
- --topic-title-font-weight--visited: 700;
-}
-
$padding-pills-small: var(--space-half) var(--space-2);
-.topic-list-data {
- display: none;
-}
-
.topic-list-body:has(.--high-context) {
+ --title-color--read: var(--primary-high);
+ --topic-title-font-weight--visited: 700;
+
@include viewport.from(sm) {
gap: var(--space-4);
}