Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Colorpicker does not support modern rgb color syntax #1610

Open
setyb opened this issue May 25, 2023 · 1 comment
Open

[Bug] Colorpicker does not support modern rgb color syntax #1610

setyb opened this issue May 25, 2023 · 1 comment

Comments

@setyb
Copy link

setyb commented May 25, 2023

Bug Report

Bug Description

The Stylus colorpicker does not currently support modern rgb color syntax. It only supports the old legacy syntax.

For syntax details, please see:

CSS Color Module Level 4
https://drafts.csswg.org/css-color/#typedef-modern-rgb-syntax

and

rgb() - CSS: Cascading Style Sheets | MDN
https://developer.mozilla.org/docs/Web/CSS/color_value/rgb

System Information

  • OS: Linux
  • Browser: Firefox 113.0.2
  • Stylus Version: 1.5.33
@tophf
Copy link
Member

tophf commented May 25, 2023

The modern syntax is supported, but only as an input. We should preserve it in the output as well and add an option to switch the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants