Skip to content

Commit 209c933

Browse files
committed
feat: force Pretalx widget to light theme
1 parent 9510885 commit 209c933

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

app/home/templates/internal/pages/schedule.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
pretalx-schedule {
77
display: block;
88
width: 100%;
9+
--pretalx-font-size: 0.95rem;
10+
11+
/* Force light theme regardless of system dark mode */
12+
color-scheme: light;
13+
14+
/* Explicit light colors (override dark-mode tokens) */
15+
--pretalx-clr-background: #ffffff;
16+
--pretalx-clr-card: #ffffff;
17+
--pretalx-clr-text: #111827;
18+
--pretalx-clr-text-muted: #4b5563;
19+
--pretalx-clr-heading: #111827;
20+
--pretalx-clr-border: #e5e7eb;
21+
22+
--pretalx-clr-primary: #f97316;
923
}
1024

1125
/* Make the schedule responsive on mobile */
@@ -24,7 +38,7 @@ <h2 class="text-5xl my-10 font-bold font-td_pinoy text-orange-2 text-center sm:t
2438
<div class="content-body font-nunito text-brown-2 text-lg leading-relaxed w-full overflow-x-auto">
2539
<p class="text-brown-2 font-nunito text-center sm:text-left max-w-7xl mx-auto mb-6 italic">Note: This schedule is subject to change. Please check back regularly for updates.</p>
2640

27-
<pretalx-schedule event-url="https://pretalx.com/python-asia-2026/" locale="en" format="grid" style="--pretalx-clr-primary: #f97316; zoom: 95%"></pretalx-schedule>
41+
<pretalx-schedule event-url="https://pretalx.com/python-asia-2026/" locale="en" format="grid"></pretalx-schedule>
2842
<noscript>
2943
<div class="pretalx-widget">
3044
<div class="pretalx-widget-info-message">

0 commit comments

Comments
 (0)