Skip to content

Commit 3602cd0

Browse files
committed
Fix three more review findings
- calendar.html: use the already-shipped hover:text-purple-700 instead of hover:text-purple-800 for the agenda-discussion link, and bg-gray-800 instead of bg-gray-400 for the cancelled date block (meets WCAG 3:1/4.5:1 contrast after the card's opacity-75 is applied; the old gray-400 measured ~1.95:1/1.84:1). Both classes are already used unconditionally elsewhere in the theme, so no date- or content-dependent PurgeCSS risk either. - purgecss.config.cjs: drop the now-dead bg-gray-400 safelist entry. - merge-automation-prs.yml: add automation/sync-community-call to the verified-merge branch allowlist, matching the other three sync workflows — otherwise its bot PRs would sit unmerged forever.
1 parent eeaa56d commit 3602cd0

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/merge-automation-prs.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
github.event.workflow_run.head_repository.full_name == github.repository &&
1717
(github.event.workflow_run.head_branch == 'automation/update-community-stats' ||
1818
github.event.workflow_run.head_branch == 'automation/sync-meetup-events' ||
19-
github.event.workflow_run.head_branch == 'automation/sync-podcast')
19+
github.event.workflow_run.head_branch == 'automation/sync-podcast' ||
20+
github.event.workflow_run.head_branch == 'automation/sync-community-call')
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Create GitHub App token

‎purgecss.config.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
// so a date rolling an event from one branch to the other — or no
3232
// cancelled event being in scope at all on a given day — can't flip
3333
// the committed-assets check in build.yml.
34-
'bg-gray-400', 'line-through', 'text-red-700', 'px-1.5', 'py-0.5', 'align-middle',
34+
'line-through', 'text-red-700', 'px-1.5', 'py-0.5', 'align-middle',
3535
],
3636
},
3737
output: 'assets/css/tailwind.css',

‎themes/powershell-community/layouts/_default/calendar.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2 class="text-3xl font-bold text-gray-900">Upcoming Events</h2>
5757
<div class="bg-gray-50 rounded-xl border overflow-hidden transition-all duration-200 {{ if $cancelled }}border-gray-200 opacity-75{{ else }}border-gray-200 hover:border-purple-400 hover:shadow-md{{ end }}">
5858
<div class="md:flex">
5959
<!-- Date Block -->
60-
<div class="md:w-36 text-white p-6 flex flex-col items-center justify-center text-center flex-shrink-0 {{ if $cancelled }}bg-gray-400{{ else }}bg-purple-600{{ end }}">
60+
<div class="md:w-36 text-white p-6 flex flex-col items-center justify-center text-center flex-shrink-0 {{ if $cancelled }}bg-gray-800{{ else }}bg-purple-600{{ end }}">
6161
{{ $startDate := time .Params.startDate }}
6262
<span class="text-sm font-medium uppercase tracking-wide opacity-90">{{ $startDate.Format "Jan" }}</span>
6363
<span class="text-4xl font-bold leading-none my-1">{{ $startDate.Format "2" }}</span>
@@ -100,7 +100,7 @@ <h3 class="text-xl font-bold text-gray-900 mb-2 underline group-hover:text-purpl
100100
{{ end }}
101101
{{ if not $cancelled }}
102102
{{ with .Params.discussionUrl }}
103-
<a href="{{ . }}" target="_blank" rel="noopener" class="flex items-center text-purple-600 hover:text-purple-800 underline">
103+
<a href="{{ . }}" target="_blank" rel="noopener" class="flex items-center text-purple-600 hover:text-purple-700 underline">
104104
<i class="fas fa-comments mr-2"></i>
105105
Agenda discussion
106106
</a>

0 commit comments

Comments
 (0)