imba / imba/imba.io

Should we encourage use of $var for css variables?

Open
#140 1 comment 0 reactions 0 assignees View on GitHub
docs
Dominant language
JavaScript
Stars
83
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Right now we support both `--var: value` and `$var: value`. For using variables in property values you do either `display: var(--value)` or just `display: $value`. What should we encourage and explain the documentation? It is important that we stay consistent.

Contributor guide

Open the contributing guide

Research direction

Review the issue's two supported CSS variable syntaxes, `--var`/`var(--value)` and `$var`/`$value`, and determine which usage should be recommended. Done means the preferred convention and its explanation are agreed and reflected in the documentation; no specific documentation file or test is named here.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.