Using CSS variables in Mobi.css v3
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 2.3k
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
After some investigating, I think maybe it's time to use css variables in Mobi.css@2.0.0
First of all, css variables is the future of css. It's already drafted three years ago, and most of modern browsers supports it. There is a demo here.
Secondly, for me, the most useful feature of SASS is variables. Css variables not only extends the all function of SASS variables, but also has some exciting features. Such as scoping, calculating and re-rendering in time.
Last, using css variables can bring us a comfortable way to customizing themes, just need to override some variables. No more compiling!
Contributor guide
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
Review the repository's current CSS sources and build setup, including the cssnext/PostCSS configuration mentioned by the project topics. Define which existing theme values should become CSS variables and how customization should work, then validate the change across supported browsers and existing framework behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- design, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100