mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Display color spaces in the order in which they are presented in the doc (#6140)
This commit is contained in:
parent
bf8751c063
commit
387a8b4895
@ -120,12 +120,12 @@ use crate::visualize::{Color, ColorSpace, WeightedColor};
|
||||
/// #let spaces = (
|
||||
/// ("Oklab", color.oklab),
|
||||
/// ("Oklch", color.oklch),
|
||||
/// ("linear-RGB", color.linear-rgb),
|
||||
/// ("sRGB", color.rgb),
|
||||
/// ("linear-RGB", color.linear-rgb),
|
||||
/// ("CMYK", color.cmyk),
|
||||
/// ("Grayscale", color.luma),
|
||||
/// ("HSL", color.hsl),
|
||||
/// ("HSV", color.hsv),
|
||||
/// ("Grayscale", color.luma),
|
||||
/// )
|
||||
///
|
||||
/// #for (name, space) in spaces {
|
||||
|
Loading…
x
Reference in New Issue
Block a user