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

Support for color() function and newer color formats like lab/lch an oklab/oklch #50

Open
benfrain opened this issue Dec 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@benfrain
Copy link

benfrain commented Dec 7, 2023

I'm sure it would be considerable work but it would be great to eventually see the newer color formats supported in this plugin.

Examples:

P3

.p3 {
    --bg: color(display-p3 0 1 0);
    background-color: var(--bg);
}

LCH

.lch-lightness {
    background: linear-gradient(
        to right,
        lch(50% 300 45) 50%,
        lch(50% 300 0) 0
    );
}

OKLCH

.oklch {
   background-color: oklch(67.22% 0.327 329.65);
}
@brenoprata10 brenoprata10 added the enhancement New feature or request label Jan 2, 2024
@brenoprata10
Copy link
Owner

This would be indeed a considerable ammount of work for formats that are not yet that popular to justify my time investment. Let's leave it in our improvement list for now 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants