Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am trying to add a theme color to the [Vendr Checkout] Theme Color Picker datatype. But when I add a new color i get YSOD with the message The given key was not present in the dictionary. Not quite sure on how to proceed here.
[Vendr Checkout] Theme Color Picker
The given key was not present in the dictionary.
Any help is appreciated!
//Johannes
Hi Johannes,
The theme colours are currently hard coded to a specific colour pallete
https://github.com/vendrhub/vendr-checkout/blob/2c5d295698132e51aa646aff225c4409dc7ac7ee/src/Vendr.Checkout/VendrCheckoutConstants.cs#L8
If you wish to add more colours, you'll currently have to compile your own build of the checkout package.
Matt
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Add theme color for checkout package
Hi,
I am trying to add a theme color to the
[Vendr Checkout] Theme Color Picker
datatype. But when I add a new color i get YSOD with the messageThe given key was not present in the dictionary.
Not quite sure on how to proceed here.Any help is appreciated!
//Johannes
Hi Johannes,
The theme colours are currently hard coded to a specific colour pallete
https://github.com/vendrhub/vendr-checkout/blob/2c5d295698132e51aa646aff225c4409dc7ac7ee/src/Vendr.Checkout/VendrCheckoutConstants.cs#L8
If you wish to add more colours, you'll currently have to compile your own build of the checkout package.
Matt
is working on a reply...