Skip to content

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

UX: Use theme color for the event date month label (#40497)

Régis Hanol7abe78d18b6b
diff --git a/plugins/discourse-calendar/assets/stylesheets/common/composer-event-node-view.scss b/plugins/discourse-calendar/assets/stylesheets/common/composer-event-node-view.scss
index a0921462caa..7d36559a81b 100644
--- a/plugins/discourse-calendar/assets/stylesheets/common/composer-event-node-view.scss
+++ b/plugins/discourse-calendar/assets/stylesheets/common/composer-event-node-view.scss
@@ -99,7 +99,7 @@
.composer-event__month {
text-align: center;
- color: red;
+ color: var(--primary);
font-size: var(--font-down-2);
font-weight: 400;
text-transform: uppercase;
diff --git a/plugins/discourse-calendar/assets/stylesheets/common/discourse-post-event.scss b/plugins/discourse-calendar/assets/stylesheets/common/discourse-post-event.scss
index d1aebf54e4a..3e1244d1c22 100644
--- a/plugins/discourse-calendar/assets/stylesheets/common/discourse-post-event.scss
+++ b/plugins/discourse-calendar/assets/stylesheets/common/discourse-post-event.scss
@@ -148,7 +148,7 @@ $show-interested: inherit;
.month {
text-align: center;
- color: red;
+ color: var(--primary);
font-size: var(--font-down-2);
font-weight: 400;
text-transform: uppercase;