Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for transparent background to the survey editor #2870

Open
RashaMou opened this issue Jul 10, 2024 · 3 comments
Open

Add an option for transparent background to the survey editor #2870

RashaMou opened this issue Jul 10, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@RashaMou
Copy link

Is your feature request related to a problem? Please describe.

When embedding a survey into my website, I'd like the option of not having a background so I can use my own styling.

Describe the solution you'd like

A transparent option added to the SURVEY_BG_COLORS array in constants.ts.

I am happy to open a PR for this if this solution is acceptable.

Describe alternatives you've considered

No response

Additional context

No response

@RashaMou RashaMou added the enhancement New feature or request label Jul 10, 2024
Copy link
Contributor

Thank you for opening your first issue! 🙏❤️ One of our team members will review it and get back to you as soon as it possible. 😊

@Nikhil-shukla1
Copy link

so it would be like i just need to modify the survey_bg_colors or add the transparent direct in the object. please clarify this.

@AnanteshG
Copy link
Contributor

Hi, I’d like to work on this issue.

AnanteshG added a commit to AnanteshG/formbricks that referenced this issue Aug 7, 2024
### Description

This PR adds a `"transparent"` option to the `SURVEY_BG_COLORS` array in `constants.ts`. This new color option allows users to set the survey background to be transparent, providing greater flexibility for customizing the survey’s appearance to match their website’s design.

### Changes Made

- Added `"transparent"` to the `SURVEY_BG_COLORS` array.

### Impact

- Users can now select a transparent background for their surveys, enabling better integration with custom styles and backgrounds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants