🤖 Merge PR #45451 Stripe-v3 StyleOptions update by @hartleyrobertson

This commit is contained in:
Hartley Robertson 2020-06-12 15:38:41 +01:00 committed by GitHub
parent 7f6441aaf2
commit af5c6d3adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@
// Kevin Soltysiak <https://github.com/ksol>
// Kohei Matsubara <https://github.com/matsuby>
// Marko Kaznovac <https://github.com/kaznovac>
// Hartley Robertson <https://github.com/hartleyrobertson>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var Stripe: stripe.StripeStatic;
@ -995,6 +996,7 @@ declare namespace stripe {
interface StyleOptions {
color?: string;
backgroundColor?: string;
fontFamily?: string;
fontSize?: string;
fontSmoothing?: string;

View File

@ -11,6 +11,9 @@ const style = {
fontWeight: 'bold',
'::placeholder': {
color: '#aab7c4'
},
'::selection': {
backgroundColor: '#aaccdd'
}
},
invalid: {