Dark theme on a dark site
Lokl: https://lokl-web.basharatusman-a.workers.dev · organization lokl-test-account
Expected on this host (an allowed website)
This whole page is dark. Each button is a light (white) button that stays readable on the dark background, with no box around it (the frame is transparent). The fifth, gift, slot is empty while gift sales are off.
If you see the plain "Book now" link instead, embed-lab.allegco.com is not on the organization's allowed websites yet: that is the blocked result, and a mismatch for this host.
Expected on this host (not an allowed website)
Lokl refuses to show its booking embeds on this website, so there is no booking panel, no empty box and no error frame. Where each embed would be, you see:
- A plain black Book now button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-account/dinner-shared/torontoin the same tab. - A plain black Give a gift certificate button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-account/giftin the same tab.
Known rough edge: the plain link is always a near-black button, whatever data-theme says, so on this dark page it is hard to see (dark on dark). Lokl's loader hard-codes that style.
Lokl also makes a blocked-website record: the owner sees "A browser reported that embed-blocked.allegco.com tried to show your embed…" in Settings › Embed, with an Add it button. It is saved at most once an hour per website, so reloading does not add entries.
Each box is what Settings › Embed copies for that embed. This page loads widget.js once, at the bottom.
1. theme=dark, style=solid
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-theme="dark"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
2. theme=dark, style=price
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="price" data-theme="dark"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
3. theme=dark, style=next
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="next" data-theme="dark"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
4. theme=dark, style=outline
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="outline" data-theme="dark"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
5. theme=dark, style=gift
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-style="gift" data-theme="dark"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed: