Doesn't highlight color on rgba less function when using variables/hex
未關閉
enhancement
- 主要語言
- CoffeeScript
- 星號
- 518
- 分支
- 70
- PR 合併指標
- 30 天內沒有已合併 PR
描述
It doesn't highlight the color when you use the rgba less function like this:
`color: rgba(red(#ffffff), green(#ffffff), blue(#ffffff), 0.7);`
or
`color: rgba(red(@color), green(@color), blue(@color), 0.7);`
Note that it **does** work with rgb function but not rgba.
Using ATOM v1.16.0 on Windows 10
貢獻指南
研究方向
The issue is in the syntax highlighting for the rgba() function in Less files. Look at the grammar or parsing logic in the package, likely in lib/ or a grammars/ directory. Find where color functions are matched, particularly rgba vs rgb. Test by modifying the pattern to accept variable/hex arguments inside rgba, then verify highlighting in an Atom editor with a Less file.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- coffeescript, css
- 領域
- developer-experience, tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100