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

Error: Undefined variable: "$font-weight-bold". #143

Open
ghost opened this issue Feb 25, 2019 · 1 comment
Open

Error: Undefined variable: "$font-weight-bold". #143

ghost opened this issue Feb 25, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 25, 2019

I am attempting to load the template in a rails application, but I'm unable to compile due to application.scss not importing the material-kit files correctly. As you can see from the error below, it's unable to call the $font-weight-bold variable from bootstrap/scss/variables/_type.scss

Is this a precompile issue, or me not importing something correctly. I followed this guide, but to no avail (of course, I'd adapted for rails)

Failure Information (for bugs)

Error: Undefined variable: "$font-weight-bold".
        on line 12 of app/assets/stylesheets/material-kit/_alerts.scss
        from line 19 of app/assets/stylesheets/application.scss
>>         font-weight: $font-weight-bold;

FULL TRACE:

app/assets/stylesheets/material-kit/_alerts.scss:12
app/views/layouts/application.html.erb:4:in `_app_views_layouts_application_html_erb__25002023230680202_70181198322980'

@Ko-B
Copy link

Ko-B commented Feb 12, 2021

Hi doddy550, have you found a solution to your problem?

I am experiencing the same error with Material_kit and rails 6

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

1 participant