-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cookie consent color adjustability (#1277)
**Related Ticket:** https://github.com/orgs/NASA-IMPACT/projects/17/views/1?pane=issue&itemId=86283874&issue=NASA-IMPACT%7Cveda-ui%7C1246 ### Description of Changes Exposing styling options for the cookie consent form. ### Notes & Questions About Changes Adding the ability to pass theme styling through the veda.config.js file within the cookieConsent object: ``` cookieConsentForm:{ ... theme: { card: { backgroundColor: '#2276ac', sideBarColor: '#175074', textColor: 'White', linkColor: '#175074' }, acceptButton: { default: { backgroundColor: '#175074', textColor: 'white' }, hover: { backgroundColor: '#2c3e50', textColor: '#white' } }, declineButton: { default: { borderColor: '#175074', textColor: '#175074' }, hover: { borderColor: '#2c3e50', textColor: '#2c3e50' } }, iconColor: { default: 'White', hover: '#175074' } } }} ``` ### Validation / Testing To test pull down the branch and change the theme content to the desired changes and visually confirm that the changes are resolving on the front-end.
- Loading branch information
Showing
4 changed files
with
159 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters