Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Not sure why I'm seeing this error

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

Nobody has claimed this yet.

Assessment

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

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.

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.

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

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from twbs/bootstrap-rubygem

All issues in twbs/bootstrap-rubygem

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.