Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible change values of scss variables ? #64

Closed
hnrqsss opened this issue Jan 15, 2020 · 1 comment
Closed

It is possible change values of scss variables ? #64

hnrqsss opened this issue Jan 15, 2020 · 1 comment

Comments

@hnrqsss
Copy link

hnrqsss commented Jan 15, 2020

Hello, thanks for your lib its amazing.

How can i change the the sccs values?
For example: $rccs-name-font-family: whaterver;

I try to

@import '../../../../node_modules/react-credit-cards/lib/styles.scss';

$rccs-size: 350px !default;
@gilbarbara
Copy link
Contributor

Yes,

Just set the variables BEFORE you import the SCSS file.
And you don't need to set !default on the variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants