Microsoft/vscode

[css] Color picker for css variables

開放

#126,733 建立於 2021年6月19日

 (3 則留言) (0 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
css-less-scssfeature-requesthelp wanted

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Currently vs code color picker doesn't display color picker on hover for a color picker where css variable is used. E.g.

color: hsl(0, 0%, 0%)

^Works

But,

--hue-color: 250
color: hsl(var(--hue-color), 0%, 0%)

^Doesn't work.

Is there a way to make it work? If the feature is not implemented is there any challenge to do so. I am currently looking at the code how this can be implemented but if some can direct me where to start would be great.

貢獻者指南