mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 14:03:16 -05:00
Merge main into feat/color-wheel-document-colors
This commit is contained in:
commit
e690eecb81
186 files changed
+8174
-557
No files matched your search
@@ -272,12 +272,12 @@ My Themes tab lists the saved themes; every action runs a command (`colorTheme.s
|
||||
Color Wheel panel (`window.panel {panel: "colorWheel"}`): a hue ring around a saturation and brightness square. A
|
||||
pick runs the commands the Color panel's sliders run: `paint.setFill` or `paint.setStroke` with `keepModel`,
|
||||
`paint.editGradient` for a gradient's selected stop, and `paint.freeform.setPoint` for a freeform gradient's selected
|
||||
point (the first stop or point when none is selected). `ui.colorWheel {view?, channel?, harmony?, harmonyRule?, vision?}`
|
||||
shows the wheel or the box (a color field with a channel strip at its right), picks the box's channel, shows the
|
||||
other colors of a harmony rule as markers on the wheel's ring, and shows or hides the color vision row; it returns
|
||||
the settings, and `ui.inspect` reports them as `ui.color_wheel`.
|
||||
The key `sliders` shows OKLCH Sliders, HSL Sliders or
|
||||
neither (`"oklch"`, `"hsl"` or `"none"`; `"oklch"` is an error while the active document's RGB space, its assigned
|
||||
point (the first stop or point when none is selected). `ui.colorWheel {view?, channel?, sliders?, gamut?, harmony?,
|
||||
harmonyRule?, vision?}` shows the wheel or the box (a color field with a channel strip at its right), picks the box's
|
||||
channel, shows OKLCH Sliders, HSL Sliders or neither, grays out the colors the CMYK space cannot print, shows the
|
||||
other colors of a harmony rule as markers on the wheel's ring, and shows or hides the color vision row; it returns the
|
||||
settings, and `ui.inspect` reports them as `ui.color_wheel`.
|
||||
The key `sliders` takes (`"oklch"`, `"hsl"` or `"none"`; `"oklch"` is an error while the active document's RGB space, its assigned
|
||||
profile or else the working RGB space, is not sRGB), and the settings carry it too.
|
||||
|
||||
Edit Colors dialogs: `ui.colorBalanceDialog` opens Adjust Colors (`colorBalance`: fields `mode` `gray`/`rgb`/`cmyk`/
|
||||
|
||||
Reference in new issue
Block a user