feat: basic themes for event sites
This commit is contained in:
@@ -18,7 +18,10 @@
|
||||
{% else %}
|
||||
<span class="pagination-item__border">
|
||||
<span class="{{ html_classes('pagination-item__inner', {
|
||||
'bg-primary-light text-white': step == current_step,
|
||||
'bg-primary-light text-white': step == current_step and booking_theme() == 'base',
|
||||
'bg-sbw-primary text-white': step == current_step and booking_theme() == 'sbw',
|
||||
'bg-snz-primary-dark text-white': step == current_step and booking_theme() == 'snz',
|
||||
'bg-ser-primary text-white': step == current_step and booking_theme() == 'ser',
|
||||
'bg-primary-bg text-gray-800': step != current_step
|
||||
}) }}">
|
||||
{{ step }}
|
||||
|
||||
@@ -18,7 +18,10 @@
|
||||
<div class="py-4" id="participant-card-{{ index }}">
|
||||
<div class="flex items-start space-x-4">
|
||||
<div class="{{ html_classes('w-12 h-12 inline-flex flex-shrink-0 items-center justify-center rounded-full text-white font-bold', {
|
||||
'bg-primary-dark': not showAsError,
|
||||
'bg-primary-dark': not showAsError and booking_theme() == 'base',
|
||||
'bg-sbw-primary': not showAsError and booking_theme() == 'sbw',
|
||||
'bg-snz-primary-dark': not showAsError and booking_theme() == 'snz',
|
||||
'bg-ser-primary': not showAsError and booking_theme() == 'ser',
|
||||
'bg-red-500': showAsError,
|
||||
'text-2xl': participantNumber < 100,
|
||||
'text-xl': participantNumber >= 100,
|
||||
|
||||
@@ -146,7 +146,12 @@
|
||||
{% import _self as macros %}
|
||||
|
||||
<div class="flex items-center gap-4 pb-4 mb-4 border-b border-primary-bg">
|
||||
<div class="w-12 h-12 inline-flex flex-shrink-0 items-center justify-center rounded-full bg-primary-dark text-white text-2xl font-bold">
|
||||
<div class="{{ html_classes('w-12 h-12 inline-flex flex-shrink-0 items-center justify-center rounded-full text-white text-2xl font-bold', {
|
||||
'bg-primary-dark': booking_theme() == 'base',
|
||||
'bg-sbw-primary': booking_theme() == 'sbw',
|
||||
'bg-snz-primary-dark': booking_theme() == 'snz',
|
||||
'bg-ser-primary': booking_theme() == 'ser',
|
||||
}) }}">
|
||||
{{ participantIndex + 1 }}
|
||||
</div>
|
||||
<div class="text-2xl">
|
||||
|
||||
Reference in New Issue
Block a user