twbs / twbs/bootstrap-rubygem

Not sure why I'm seeing this error

Open
#141 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
2k
Forks
437
Avg merge
1h
Merged PRs (30d)
1

Description

I'm using the custom and variable files together (downloaded the latest), but for some reason, I'm getting this error:

$color: 'theme-color("primary")' is not a color for "darken"'

If I comment out the entire variables file this error goes away. Any ideas on why this still appears? I saw that it was supposed to be fixed last year? I am running it on Rails 5.2.0.rc1 but that shouldn't matter should it? Do I need to remove the @import "bootstrap/variables"; from the custom file? I tried that but I get a different error: $colors.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error with the downloaded custom and variables files on Rails 5.2.0.rc1. Start by inspecting the custom file's @import "bootstrap/variables" relationship and compare it with the configuration where the variables file is commented out. Done means identifying the supported import arrangement and documenting the cause of the $color or $colors error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, scss
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.