diff --git a/crates/typst/src/visualize/color.rs b/crates/typst/src/visualize/color.rs index 9a3fd5c36..90ac8c3d0 100644 --- a/crates/typst/src/visualize/color.rs +++ b/crates/typst/src/visualize/color.rs @@ -19,13 +19,13 @@ use crate::layout::{Angle, Ratio}; use crate::syntax::{Span, Spanned}; // Type aliases for `palette` internal types in f32. -pub(crate) type Oklab = palette::oklab::Oklaba; -pub(crate) type Oklch = palette::oklch::Oklcha; -pub(crate) type LinearRgb = palette::rgb::Rgba, f32>; -pub(crate) type Rgb = palette::rgb::Rgba; -pub(crate) type Hsl = palette::hsl::Hsla; -pub(crate) type Hsv = palette::hsv::Hsva; -pub(crate) type Luma = palette::luma::Luma; +pub type Oklab = palette::oklab::Oklaba; +pub type Oklch = palette::oklch::Oklcha; +pub type LinearRgb = palette::rgb::Rgba, f32>; +pub type Rgb = palette::rgb::Rgba; +pub type Hsl = palette::hsl::Hsla; +pub type Hsv = palette::hsv::Hsva; +pub type Luma = palette::luma::Luma; /// Equivalent of [`std::f32::EPSILON`] but for hue angles. const ANGLE_EPSILON: f32 = 1e-5;