From 9e7becc8c4ce33933316f10d228c48b7cebb0d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?= Date: Fri, 25 Aug 2023 23:05:12 -0400 Subject: [PATCH] month-cell: Tweak the style of month names Use bold type to make them easier to spot while scrolling. --- src/gui/views/gcal-month-cell.c | 1 + src/theme/style.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/gui/views/gcal-month-cell.c b/src/gui/views/gcal-month-cell.c index 4c1adcb64..58dafbe62 100644 --- a/src/gui/views/gcal-month-cell.c +++ b/src/gui/views/gcal-month-cell.c @@ -438,6 +438,7 @@ gcal_month_cell_set_date (GcalMonthCell *self, { g_autofree gchar *month_name = g_date_time_format (date, "%b"); gtk_label_set_text (self->month_name_label, month_name); + gtk_widget_add_css_class (self->month_name_label, "cell-month-name"); } update_weather (self); diff --git a/src/theme/style.css b/src/theme/style.css index 8008581b3..6050356dd 100644 --- a/src/theme/style.css +++ b/src/theme/style.css @@ -250,6 +250,10 @@ label.month-name { padding: 12px; } +label.cell-month-name{ + font-weight: bold; +} + /* Week View CSS */ .week-header { -- GitLab