Not sure why I'm seeing this error
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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