Skip to content

Commit bed8987

Browse files
author
Nap Joseph Calub
committed
feat: update colors
1 parent fef5eef commit bed8987

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

_includes/layouts/events.vto

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ layout: layouts/base.vto
132132
{{ if hasEvents }}
133133
<button
134134
@click="toggleOrganization('{{ org.id }}')"
135-
:class="selectedOrgs.includes('{{ org.id }}') ? 'bg-blue-600 text-white' : 'bg-white text-gray-800'"
136-
class="px-3 py-1 rounded-lg transition-colors text-sm hover:opacity-90"
135+
:class="selectedOrgs.includes('{{ org.id }}') ? 'bg-[#eb4e3b] text-white hover:bg-[#f69b39]' : 'bg-white text-gray-800 hover:bg-gray-100'"
136+
class="px-3 py-1 rounded-lg transition-colors text-sm"
137137
x-show="hasEventsInYear('{{ org.id }}')"
138138
>
139139
{{ org.name }}
@@ -143,7 +143,7 @@ layout: layouts/base.vto
143143
<button
144144
x-show="selectedOrgs.length > 0"
145145
@click="clearFilters()"
146-
class="px-3 py-1 bg-red-600 text-white rounded-lg transition-colors text-sm hover:bg-red-700 hidden"
146+
class="px-3 py-1 bg-gray-600 text-white rounded-lg transition-colors text-sm hover:bg-gray-700 hidden"
147147
:class="{'hidden': selectedOrgs.length === 0}"
148148
>
149149
Clear All
@@ -309,8 +309,8 @@ layout: layouts/base.vto
309309
class="event-day w-full text-center p-1 rounded font-semibold cursor-pointer transition-colors"
310310
:class="{
311311
'bg-gray-100 text-gray-500 hover:bg-gray-200': isPastDate({{ year }}, {{ monthIndex }}, {{ day }}),
312-
'bg-blue-100 text-blue-900 hover:bg-blue-200': !isPastDate({{ year }}, {{ monthIndex }}, {{ day }}) && !isToday({{ year }}, {{ monthIndex }}, {{ day }}),
313-
'bg-blue-600 text-white hover:bg-blue-700': isToday({{ year }}, {{ monthIndex }}, {{ day }})
312+
'bg-[#eb4e3b] text-white hover:bg-[#f69b39]': !isPastDate({{ year }}, {{ monthIndex }}, {{ day }}) && !isToday({{ year }}, {{ monthIndex }}, {{ day }}),
313+
'bg-[#f1c40f] text-gray-900 hover:bg-yellow-300': isToday({{ year }}, {{ monthIndex }}, {{ day }})
314314
}"
315315
x-show="shouldShowEvents({{ eventOrgsStr }})"
316316
data-events="{{ JSON.stringify(dayEvents).replace(/"/g, '&quot;') }}"
@@ -323,7 +323,7 @@ layout: layouts/base.vto
323323
:class="{
324324
'text-gray-400': isPastDate({{ year }}, {{ monthIndex }}, {{ day }}),
325325
'text-gray-700': !isPastDate({{ year }}, {{ monthIndex }}, {{ day }}) && !isToday({{ year }}, {{ monthIndex }}, {{ day }}),
326-
'bg-blue-600 text-white font-semibold': isToday({{ year }}, {{ monthIndex }}, {{ day }})
326+
'bg-[#f1c40f] text-gray-900 font-semibold': isToday({{ year }}, {{ monthIndex }}, {{ day }})
327327
}"
328328
>
329329
{{ day }}
@@ -334,7 +334,7 @@ layout: layouts/base.vto
334334
:class="{
335335
'text-gray-400': isPastDate({{ year }}, {{ monthIndex }}, {{ day }}),
336336
'text-gray-700': !isPastDate({{ year }}, {{ monthIndex }}, {{ day }}) && !isToday({{ year }}, {{ monthIndex }}, {{ day }}),
337-
'bg-blue-600 text-white font-semibold': isToday({{ year }}, {{ monthIndex }}, {{ day }})
337+
'bg-[#f1c40f] text-gray-900 font-semibold': isToday({{ year }}, {{ monthIndex }}, {{ day }})
338338
}"
339339
>
340340
{{ day }}
@@ -399,7 +399,7 @@ layout: layouts/base.vto
399399
<a
400400
href="{{ event.website }}"
401401
target="_blank"
402-
class="text-gray-900 hover:text-blue-600 transition-colors"
402+
class="text-gray-900 hover:text-[#eb4e3b] transition-colors"
403403
>
404404
{{ event.name }}
405405
</a>
@@ -412,7 +412,7 @@ layout: layouts/base.vto
412412
<a
413413
href="{{ org.website }}"
414414
target="_blank"
415-
class="hover:text-blue-600 transition-colors"
415+
class="hover:text-[#eb4e3b] transition-colors"
416416
>{{ org.name }}</a>
417417
{{ else }}
418418
{{ org.name }}
@@ -478,7 +478,7 @@ layout: layouts/base.vto
478478
{{# Add to Calendar Button #}}
479479
<button
480480
@click="addToCalendar('{{ event.name }}', '{{ startDateStr }}', '{{ event.end_date ? (typeof event.end_date === 'string' ? event.end_date : event.end_date.toISOString().split('T')[0]) : startDateStr }}', '{{ event.city || '' }}', '{{ event.website }}')"
481-
class="inline-flex items-center py-1 text-gray-400 hover:text-blue-600 transition-colors"
481+
class="inline-flex items-center py-1 text-gray-400 hover:text-[#eb4e3b] transition-colors"
482482
title="Add to calendar"
483483
>
484484
<svg
@@ -561,7 +561,7 @@ layout: layouts/base.vto
561561
<a
562562
:href="event.website"
563563
target="_blank"
564-
class="text-gray-900 hover:text-blue-600 transition-colors"
564+
class="text-gray-900 hover:text-[#eb4e3b] transition-colors"
565565
x-text="event.name"
566566
></a>
567567
</h3>
@@ -572,7 +572,7 @@ layout: layouts/base.vto
572572
x-show="event.orgWebsite"
573573
:href="event.orgWebsite"
574574
target="_blank"
575-
class="hover:text-blue-600 transition-colors"
575+
class="hover:text-[#eb4e3b] transition-colors"
576576
x-text="event.org"
577577
></a>
578578
<span x-show="!event.orgWebsite" x-text="event.org"></span>

0 commit comments

Comments
 (0)