Skip to content

Display the color of color-hex-codes, color functions #1115

Closed
@NNBnh

Description

@NNBnh

Display the color of color-hex-codes and color functions is pretty helpful for writing CSS and UI design... VScode support this feature by default, while NeoVim have an acceptable plugin vim-hexokinase that do the job:

gif

I hope Helix could support for coloring:

  • 6 digit hex codes (#FFFFFF).
  • 3 digit hex codes (#FFF).
  • RGB functions (rgb(100%, 100%, 100%), rgb(255, 255, 255)).
  • RGBA functions (rgba( ... )).
  • HSL functions (hsl( ... )).
  • HSLA functions (hsla( ... )).

With styling options:

  • Background.
  • Foreground.
  • Virtual (display a small colored square on the right).
  • Sign column (a column next to the line numbers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions