-
-
Notifications
You must be signed in to change notification settings - Fork 2
First stab on adding support for deltas and contrast from other color #96
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
base: main
Are you sure you want to change the base?
Changes from 7 commits
e13ef18
d6c7f7f
8b85dff
4525cff
e642891
85428d8
6242c06
9c88652
bd4df34
5ddf3a1
fea82ad
5cfe1b5
58974c4
84ff6d3
6746cd4
bdc2ac9
43fb65b
d278303
89fdb92
5ca9abd
1aa5bbe
fdcfb61
9482bcf
de58fc4
5dfb4a6
a151249
09f4136
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,6 +71,9 @@ const Self = class ColorScale extends NudeElement { | |
| if (this.coords) { | ||
| swatch.coords = this.coords; | ||
| } | ||
| if (this.vs) { | ||
| swatch.vs = this.vs; | ||
| } | ||
| i++; | ||
| } | ||
|
|
||
|
|
@@ -152,6 +155,9 @@ const Self = class ColorScale extends NudeElement { | |
| additionalDependencies: ["coords"], | ||
| }, | ||
| coords: {}, | ||
| vs: { | ||
| type: Color, | ||
|
||
| }, | ||
| }; | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.