Chris Archer
06/06/2023, 7:36 PMKey benefits of using embed
Styling customization is a breeze, can make it look like an indiscernible part of your website
High UI customization makes it a seamless experience from your website
Hariom Balhara
06/07/2023, 12:01 PMHariom Balhara
06/07/2023, 12:02 PMChris Archer
06/07/2023, 10:54 PMCal("ui", {
cssVarsPerTheme: {
light: {
"cal-brand": "blue",
"cal-brand-emphasis": "red"
},
dark: {
"cal-brand": "blue",
"cal-brand-emphasis": "red"
//...any other css variable defined in tailwind-preset.js
}
}
gives access to:
export type UiConfig = {
hideEventTypeDetails?: boolean;
theme?: EmbedThemeConfig;
styles?: EmbedStyles & EmbedNonStylesConfig;
cssVarsPerTheme?: Record<Theme, Record<string, string>>;
};
in embed.iframe.d.ts
?Hariom Balhara
06/09/2023, 4:46 PM