diff --git a/crates/typst-library/src/visualize/color.rs b/crates/typst-library/src/visualize/color.rs index 5c657b4e2..dd0287d4b 100644 --- a/crates/typst-library/src/visualize/color.rs +++ b/crates/typst-library/src/visualize/color.rs @@ -797,7 +797,9 @@ impl Color { components } - /// Returns the constructor function for this color's space: + /// Returns the constructor function for this color's space. + /// + /// Returns one of: /// - [`luma`]($color.luma) /// - [`oklab`]($color.oklab) /// - [`oklch`]($color.oklch)