Answered

Select form theme with embed library

  • 17 September 2021
  • 2 replies
  • 83 views

Hi,

 

I’m using `@typeform/embed-react` to embed a form in a page of my site. However, my site supports dark and light themes. I’d like to know if there’s a way in which I can tell typeform to render the embed form using a specific theme for that purpose. The options from “Typeform Vanilla Embed Library” don’t seem to offer something like this, but maybe I’m missing something.

 

Thanks,
Jorge L

icon

Best answer by mathio 17 September 2021, 10:55

View original

2 replies

Userlevel 7
Badge +5

Hello @jorgelainfiesta 

unfortunately typeforms do not support light / dark theming right now. You can pick a theme when building your typeform, but you can only choose one.

A workaround that comes to my mind right now is having 2 typeforms. You can build your 1st typeform, duplicate it and change the theme. Then you would embed correct typeform based on your website theme.

I know its not ideal, but its something :)

Thanks @mathio, I hadn’t thought of creating a second form.

Reply