cocoastorm / vue-paypal-checkout

A simple Vue.js wrapper component for paypal-checkout
MIT License
153 stars 66 forks source link

Allow "style" binding? #2

Closed dvlden closed 7 years ago

dvlden commented 7 years ago
style: {
    label: 'checkout',
    size:  'responsive',    // small | medium | large | responsive
    shape: 'pill',     // pill | rect
    color: 'gold'      // gold | blue | silver | black
}

I tried editing your package directly as I need this importantly for an specific project, but seems like it's loading compiled file and not vue file components?

Appreciate it if you can implement this soon.

cocoastorm commented 7 years ago

Hey,

Sorry about that! I completely forgot about the style customization paypal-checkout offers. I'll definitely take a look into implementing it soon.

cocoastorm commented 7 years ago

Hey, just added it as a buttonStyle prop. It's in v2.1.2

dvlden commented 7 years ago

Great! Much appreciated. It's really useful package!

dvlden commented 7 years ago

I believe it's supposed to be gold and not orange?

screen shot 2017-09-02 at 11 45 58
cocoastorm commented 7 years ago

Oh my bad! I referenced the colors from here button.md

I'll change it real quick.

EDIT: Fixed with v2.1.3, I'm so sorry about that

AkslDev commented 5 years ago

Hello, i just want to know if it possible to personnalize more the button paypal ? For add my style with my css for example ?