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

Instances can adjust colors in cookie consent #1246

Open
1 task
aboydnw opened this issue Nov 6, 2024 · 1 comment
Open
1 task

Instances can adjust colors in cookie consent #1246

aboydnw opened this issue Nov 6, 2024 · 1 comment
Assignees

Comments

@aboydnw
Copy link
Contributor

aboydnw commented Nov 6, 2024

Context

GHGC would like to customize colors of the cookie consent bar to better match the overall site theme before turning on. We should make it so each instance can customize this to the colors that best match their theme. Pasting some direction from Sandra below, originally given in slack:

I think we can just create a ticket for that then to make those properties exposable/customizeable on cookie consent component and then worry about uswds tokens later once they are more defined and set since it can be tackled separately. Should just be an easy update of changing the colors to the tokens later

Acceptance Criteria

  • Each instance can customize the colors of the cookie consent alert popup
@aboydnw
Copy link
Contributor Author

aboydnw commented Nov 18, 2024

@paridhi-parajuli @Jeanne-le-Roux heads up that we are pulling this ticket into this sprint. Our idea is that we will allow the styles on the cookie consent form to be set to the same values as the instance theme, so you could set it to the same color as the nav bar, buttons, etc.

Is it okay if @snmln reaches out to you with any specific questions on how that gets implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants