cal.pub0.org/packages/features/bookings/Booker/utils
Hariom Balhara 6dfc19247e
fix: Embed `theme` not working using Embed API (#10163)
## What does this PR do?

Fixes #10187
See [Tests Done](https://www.loom.com/share/f03e0191b60143d8b45a505042dbfa11)

## Type of change
  - [x] Bug fix (non-breaking change which fixes an issue)

## How should this be tested?
- [x] Configure embed to use `dark` theme and verify that dark theme is shown on event booking page(when user has light theme set). This is failing in main
- Additional Tests for embed to avoid any new regression
	- [x] - Configure "auto" theme using embed API and see it reacts to system theme
	- [x] - Don't configure any theme and see that "light" theme is shown even when we switch system theme(Because User has configured light theme in App)
-  Tests outside embed to avoid any new regression
	- [x] - See that light theme is shown even after switching system theme
	- [x] - Now, switch the user theme to dark and see that it reflects the change. 

## Mandatory Tasks

 [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-17 18:02:42 -07:00
..
dates.tsx fix: locales in dates utils (#10067) 2023-07-17 20:19:00 +00:00
event.ts fix: Important Booking Page fixes (#10130) 2023-07-13 19:38:41 +05:30
layout.ts feat: new booker embed (#9023) 2023-06-14 09:22:44 +00:00
query-param.ts fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
use-brand-colors.tsx fix: Embed `theme` not working using Embed API (#10163) 2023-07-17 18:02:42 -07:00