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

use linear-gradient in variables.scss #76

Open
brianwachira opened this issue Jul 25, 2019 · 0 comments

Comments

@brianwachira
Copy link

commented Jul 25, 2019

Please check the _variables.scss file located in the sources/scss folder.

Is there a way to use linear-gradient( ) in variables.scss? I keep getting the error

Error: argument $coloroflighten($color, $amount)must be a color\n on line 32 of scss/_variable.scss, in functionlighten\n from line 32 of scss/_variable.scss, in function color_lighten\n from line 79 of scss/_mixin.scss, in mixin form-control\n from line 5 of scss/override/_form.scss\n from line 63 of scss/style.scss\n>> \t@return lighten(map-get($colors, $key), $amount);\n\n

I have searched for an understandable solution on the net but I haven't found any.
Currently I am resorting to copy pasting all the styles in component and styles.css and overwriting them to custom.css . I kinda feel it isn't an efficient solution hence kindly give me pointers into this

Originally posted by @brianwachira in #38 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.