Microsoft/vscode

[css] support comma less color notations

オープン

#273,934 opened on 2025/10/29

 (8 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (39,847 件のフォーク)batch import
css-less-scssfeature-requesthelp wanted

Repository metrics

Stars
 (184,936 個のスター)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

Currently the color picker offers colors in (legacy):

  • rgba(r, g, b, a)
  • hsla(h, s, l, a)
  • #rrggbbaa

and are not configurable. company rules or personal preference might require other formats for instance (modern)

  • rgb(r g b / a)
  • rgb(r g b)
  • rgb(r, g, b) (legacy none transparent)

which, in css color module level 4 are all valid color definitions.

Settings

"editor.colorPickerLevel" : "legacy",
"editor.colorPickerPresentations" [
  "rgb",
  "rgb_modern"
]

コントリビューターガイド