Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
type alias GradientItemFor_DimensionPercentageFor_Angle
import { type GradientItemFor_DimensionPercentageFor_Angle } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

Either a color stop or interpolation hint within a gradient.

This type is generic, and items may be either a LengthPercentage or Angle depending on what type of gradient it is within.

definition: { color: CssColor; position?: DimensionPercentageFor_Angle | null; type: "color-stop"; } | { type: "hint"; value: DimensionPercentageFor_Angle; }