From 4163b2eabc1df29741228838fdce9d428b662500 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 27 Oct 2023 17:56:30 +0200 Subject: [PATCH] Fix spelling of sRGB --- crates/typst/src/geom/color.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/typst/src/geom/color.rs b/crates/typst/src/geom/color.rs index 8c12483b7..79615feef 100644 --- a/crates/typst/src/geom/color.rs +++ b/crates/typst/src/geom/color.rs @@ -337,10 +337,10 @@ impl Color { /// Create an RGB(A) color with linear luma. /// - /// This color space is similar to Srgb, but with the distinction that - /// the color component are not gamma corrected. This makes it easier to - /// perform color operations such as blending and interpolation. Although, - /// you should prefer to use the [`oklab` function]($color.oklab) for these. + /// This color space is similar to sRGB, but with the distinction that the + /// color component are not gamma corrected. This makes it easier to perform + /// color operations such as blending and interpolation. Although, you + /// should prefer to use the [`oklab` function]($color.oklab) for these. /// /// A linear RGB(A) color is represented internally by an array of four /// components: