Bug 223457 - Web Inspector: color-mix() should have color swatch
Summary: Web Inspector: color-mix() should have color swatch
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-18 11:23 PDT by Nikita Vasilyev
Modified: 2021-03-19 13:25 PDT (History)
3 users (show)

See Also:


Attachments
[Image] color-mix current behavior (17.59 KB, image/png)
2021-03-19 13:25 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2021-03-18 11:23:19 PDT
I propose to add a read-only color swatch before `color-mix`

    [ ] color-mix(var(--brand) 40%, white)
     ^
     resulting color
Comment 1 Radar WebKit Bug Importer 2021-03-18 11:23:32 PDT
<rdar://problem/75581952>
Comment 2 Sam Weinig 2021-03-18 17:47:54 PDT
Can we add swatches for the input colors too?
Comment 3 Nikita Vasilyev 2021-03-19 13:25:17 PDT
Created attachment 423766 [details]
[Image] color-mix current behavior

(In reply to Sam Weinig from comment #2)
> Can we add swatches for the input colors too?

We already have them! Unless I misunderstood you.