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

Description of a category item does not change color on selection

Open
#1,092 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start with the category-item component and the styles affected by PR #1079, then inspect how the iconClass property is bound to the icon and how the description p element is styled. The work is done when selecting an item changes both the icon and description text to the selected color.

Written by the indexing model from the issue text.

Description

bug Difficulty: Easy

Problem

From https://github.com/code-corps/code-corps-ember/pull/1079#discussion_r102404681

The description text is always using the $text--light (#666) color and does not switch to $default-color (#08A8FC when selected.

The PR introduced a minor bug. The iconClass is bound to the icon element alone and nothing is bound to the p element which holds the description. That means that the p.selected style can no longer apply.

The component itself should be bound to the iconClass class property and styles should be rewritten so they apply to both the icon and the p element.

Dominant language
JavaScript
Stars
120
Forks
75
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 code-corps/code-corps-ember

All issues in code-corps/code-corps-ember

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.