Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias ParsedComponent
Re-export
import { type ParsedComponent } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A parsed value for a SyntaxComponent.

definition:
| { type: "length"; value: Length; }
| { type: "number"; value: number; }
| { type: "percentage"; value: number; }
| { type: "length-percentage"; value: DimensionPercentageFor_LengthValue; }
| { type: "color"; value: CssColor; }
| { type: "image"; value: Image; }
| { type: "url"; value: Url; }
| { type: "integer"; value: number; }
| { type: "angle"; value: Angle; }
| { type: "time"; value: Time; }
| { type: "resolution"; value: Resolution; }
| { type: "transform-function"; value: Transform; }
| { type: "transform-list"; value: Transform[]; }
| { type: "custom-ident"; value: String; }
| { type: "literal"; value: String; }
| { type: "repeated"; value: { components: ParsedComponent[]; multiplier: Multiplier; }; }
| { type: "token"; value: Token; }