Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johannes Lantz 156 posts 840 karma points c-trib
    Jun 14, 2021 @ 15:58
    Johannes Lantz
    0

    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 message The given key was not present in the dictionary. Not quite sure on how to proceed here.

    enter image description here

    Any help is appreciated!

    //Johannes

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Jun 15, 2021 @ 12:25
    Matt Brailsford
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies