diff --git a/artifacts/views.py b/artifacts/views.py index 7c2b847..5a33a9d 100644 --- a/artifacts/views.py +++ b/artifacts/views.py @@ -116,6 +116,7 @@ def feed(request): "selected_kind": selected_kind, "selected_persona": persona, "selected_view": selected_view, + "today": timezone.localdate(), "title_query": title_query, "kind_choices": Artifact.KIND_CHOICES, }, diff --git a/static/daybook.css b/static/daybook.css index f0ed612..c142547 100644 --- a/static/daybook.css +++ b/static/daybook.css @@ -207,6 +207,21 @@ h1 { box-shadow: 0 10px 24px rgba(57, 44, 28, 0.08); } +.day-link.selected { + background: #17313b; + color: #fffaf0; +} + +.day-link.selected span, +.day-link.selected strong { + color: #fffaf0; +} + +.day-link.selected .today-badge { + background: #b9e8bf; + color: #17313b; +} + .day-link span, .pane-heading span, .artifact-row-main strong { @@ -214,6 +229,18 @@ h1 { font-size: 0.7rem; } +.today-badge { + background: #cfe9cf; + border-radius: 999px; + color: #245238; + display: inline-block; + font-size: 0.62rem; + font-style: normal; + font-weight: 500; + margin-left: 0.35rem; + padding: 0.08rem 0.38rem; +} + .day-link strong { color: #17313b; font-size: 0.82rem; diff --git a/templates/artifacts/feed.html b/templates/artifacts/feed.html index 538c6be..83626da 100644 --- a/templates/artifacts/feed.html +++ b/templates/artifacts/feed.html @@ -50,7 +50,7 @@