import * as frugal from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";
Functions
Converts a browserslist result into targets that can be passed to lightningcss. | |
Bundles a CSS file and its dependencies, inlining @import rules. | |
Bundles a CSS file and its dependencies asynchronously, inlining @import rules. | |
Composes multiple visitor objects into a single one. | |
Initializes the web assembly module. | |
Compiles a CSS file, including optionally minifying and lowering syntax to the given targets. A source map may also be generated, but this is not enabled by default. | |
Compiles a single CSS declaration list, such as an inline style attribute in HTML. |
Interfaces
A value for the animation shorthand property. | |
A value for the background shorthand property. | |
A value for the background-position shorthand property. | |
A value for the background-repeat property. | |
A value for the border-block-color shorthand property. | |
A value for the border-block-style shorthand property. | |
A value for the border-block-width shorthand property. | |
A value for the border-color shorthand property. | |
A value for the border-image shorthand property. | |
A value for the border-image-repeat property. | |
A value for the border-image-slice property. | |
A value for the border-inline-color shorthand property. | |
A value for the border-inline-style shorthand property. | |
A value for the border-inline-width shorthand property. | |
A value for the border-radius property. | |
A value for the border-style shorthand property. | |
A value for the border-width shorthand property. | |
A value for the box-shadow property. | |
A value for the caret shorthand property. | |
A value for the composes property from CSS modules. | |
A value for the container shorthand property. | |
A @container rule. | |
A @counter-style rule. | |
A value for the cursor property. | |
A cursor image value, used in the | |
A @custom-media rule. | |
A CSS custom property, representing any unknown property. | |
A CSS | |
A CSS declaration block. | |
A | |
A CSS environment variable reference. | |
I Flex | A value for the flex shorthand property. |
A value for the flex-flow shorthand property. | |
I Font | A value for the font shorthand property. |
A @font-face rule. | |
A @font-palette-values rule. | |
A custom CSS function. | |
I Gap | A value for the gap shorthand property. |
A generic type that represents the | |
A generic type that represents the | |
I Grid | A value for the grid shorthand property. |
A value for the grid-area shorthand property. | |
A value for the grid-row shorthand property. | |
A value for the grid-row shorthand property. | |
A value for the grid-template shorthand property. | |
A CSS | |
An image option within the | |
A @import rule. | |
A value for the inset shorthand property. | |
A value for the inset-block shorthand property. | |
A value for the inset-inline shorthand property. | |
An | |
An individual keyframe within an | |
A @keyframes rule. | |
A @layer block rule. | |
A @layer statement rule. | |
A value for the list-style shorthand property. | |
A line and column position within a source file. | |
A value for the margin shorthand property. | |
A value for the margin-block shorthand property. | |
A value for the margin-inline shorthand property. | |
I Mask | A value for the mask shorthand property. |
A value for the mask-border shorthand property. | |
A 3D matrix. | |
A 2D matrix. | |
A media query. | |
A @media rule. | |
A @-moz-document rule. | |
A @namespace rule. | |
A @nest rule. | |
A value for the overflow shorthand property. | |
A value for the override-colors property in an | |
A value for the padding shorthand property. | |
A value for the padding-block shorthand property. | |
A value for the padding-inline shorthand property. | |
A page margin rule rule. | |
A @page rule. | |
A page selector within a | |
A value for the place-content shorthand property. | |
A value for the place-items shorthand property. | |
A value for the place-self shorthand property. | |
A point within a | |
A | |
A CSS | |
A @property rule. | |
Custom resolver to use when loading CSS files. | |
A value for the rotate property. | |
A value for the scale property. | |
A value for the scroll-margin shorthand property. | |
A value for the scroll-margin-block shorthand property. | |
A value for the scroll-margin-inline shorthand property. | |
A value for the scroll-padding shorthand property. | |
A value for the scroll-padding-block shorthand property. | |
A value for the scroll-padding-inline shorthand property. | |
A CSS style rule. | |
A CSS style sheet, representing a | |
A @supports rule. | |
A syntax component within a SyntaxString. | |
A value for the text-decoration shorthand property. | |
A value for the text-emphasis shorthand property. | |
A value for the text-emphasis-position property. | |
A value for the text-indent property. | |
A value for the text-shadow property. | |
A value for the text-transform property. | |
A | |
A value for the transition property. | |
A value for the translate property. | |
A contiguous range of Unicode code points. | |
An unknown at-rule, stored as raw tokens. | |
A known property with an unparsed value. | |
I Url | A CSS url() value and its source location. |
A | |
A CSS variable reference. | |
A @viewport rule. | |
A color stop within a legacy | |
An x/y position within a legacy |
Type Aliases
An absolute font size, as used in the | |
An absolute font weight, as used in the | |
A value for the align-content property. | |
A value for the align-items property. | |
A value for the align-self property. | |
A CSS | |
A value for the animation-direction property. | |
A value for the animation-fill-mode property. | |
A value for the animation-iteration-count property. | |
A value for the animation-name property. | |
A value for the animation-play-state property. | |
A value for the backface-visibility property. | |
A value for the background-attachment property. | |
A value for the background-clip property. | |
A value for the background-origin property. | |
A | |
A value for the background-size property. | |
A | |
A value for the base-palette property in an | |
A CSS | |
A single border-image-repeat keyword. | |
A value for the border-image-width property. | |
A value for the border-width property. | |
A value for the legacy (prefixed) box-align property. Equivalent to the | |
A value for the box-decoration-break property. | |
A value for the legacy (prefixed) box-direction property. Partially equivalent to the | |
A value for the legacy (prefixed) box-lines property. Equivalent to the | |
A value for the legacy (prefixed) box-orient property. Partially equivalent to | |
A value for the legacy (prefixed) box-pack property. Equivalent to the | |
A value for the box-sizing property. | |
A mathematical expression used within the | |
A mathematical expression used within the | |
A mathematical expression used within the | |
A value for the caret-shape property. | |
A circle ending shape for a | |
A value for the clip-path property. | |
A value for the color-interpolation property. | |
A value for the caret-color property. | |
A value for the color-rendering property. | |
Represents a container condition. | |
A value for the container-name property. | |
A container query size feature identifier. | |
A value for the container-type property. Establishes the element as a query container for the purpose of container queries. | |
A | |
A | |
A counter-style name. | |
A CSS | |
A pre-defined cursor value, used in the | |
A CSS custom property name. | |
A generic type that allows any kind of dimension and percentage to be used standalone or mixed within a | |
A generic type that allows any kind of dimension and percentage to be used standalone or mixed within a | |
The :dir() pseudo class. | |
A value for the display property. | |
A | |
A | |
A | |
A CSS easing function. | |
An ellipse ending shape for a | |
A | |
A CSS environment variable name. | |
A | |
A filter function. | |
A value for the filter and backdrop-filter properties. | |
A value for the flex-direction property. | |
A value for the legacy (prefixed) flex-item-align property. Equivalent to the | |
A value for the legacy (prefixed) flex-line-pack property. Equivalent to the | |
A value for the legacy (prefixed) flex-pack property. Equivalent to the | |
A value for the flex-wrap property. | |
A floating point representation of color types that are usually stored as RGBA. These are used when there are any | |
A property within an | |
A value for the font-family property. | |
A font format keyword in the | |
A property within an | |
A value for the font-size property. | |
A value for the font-stretch property. | |
A font stretch keyword, as used in the | |
A value for the font-style property. | |
A font format keyword in the | |
A value for the font-variant-caps property. | |
A value for the font-weight property. | |
A gap value, as used in the | |
A generic font family name, as used in the | |
A | |
A CSS | |
Either a color stop or interpolation hint within a gradient. | |
Either a color stop or interpolation hint within a gradient. | |
A | |
A value for the grid-template-areas property. | |
A horizontal position keyword. | |
A value for the hyphens property. | |
A CSS | |
A value for the image-rendering property. | |
A value for the justify-content property. | |
A value for the justify-items property. | |
A value for the justify-self property. | |
A keyframe selector within an | |
KeyframesName | |
A color in a LAB color space, including the | |
A legacy justification keyword, as used in the | |
A CSS | |
Either a | |
A value for the line-break property. | |
The direction of a CSS | |
A value for the line-height property. | |
A | |
A value for the list-style-position property. | |
A value for the list-style-type property. | |
A value for the marker properties. | |
A value for the marker-side property. | |
A value for the mask-border-mode property. | |
A value for the mask-clip property. | |
A value for the mask-composite property. | |
A value for the mask-mode property. | |
A value for the mask-type property. | |
A CSS math function. | |
A CSS math function. | |
A CSS math function. | |
Represents a media condition. | |
A comparator within a media query. | |
A media query feature identifier. | |
A media feature name. | |
A media feature name. | |
media feature value within a media query. | |
A multiplier for a SyntaxComponent. Indicates whether and how the component may be repeated. | |
Either a | |
A binary | |
A value for the outline-style property. | |
An overflow keyword as used in the | |
An | |
A value for the overflow-wrap property. | |
A page pseudo class within an | |
A parsed value for a SyntaxComponent. | |
A value for the perspective property. | |
A component within a Position value, representing a position along either the horizontal or vertical axis of a box. | |
A component within a Position value, representing a position along either the horizontal or vertical axis of a box. | |
A color in a predefined color space, e.g. | |
A predefined counter style. | |
A pseudo class. | |
A pseudo element. | |
A generic media feature or container feature. | |
A generic media feature or container feature. | |
A CSS | |
A generic value that represents a value for four sides of a box, e.g. border-width, margin, padding, etc. | |
A generic value that represents a value for four sides of a box, e.g. border-width, margin, padding, etc. | |
A generic value that represents a value for four sides of a box, e.g. border-width, margin, padding, etc. | |
A generic value that represents a value for four sides of a box, e.g. border-width, margin, padding, etc. | |
A relative font size, as used in the | |
A | |
A value for the resize property. | |
A CSS | |
A rounding strategy, as used in the | |
T Rule | A CSS rule. |
A | |
A shape extent for a | |
A value for the shape-rendering property. | |
T Size | A value for the preferred size properties, i.e. |
A generic value that represents a value with two components, e.g. a border radius. | |
A generic value that represents a value with two components, e.g. a border radius. | |
A generic value that represents a value with two components, e.g. a border radius. | |
A generic value that represents a value with two components, e.g. a border radius. | |
A value for the src property in an | |
A value for the word-spacing and letter-spacing properties. | |
Defines where the class names referenced in the | |
A step position, used within the | |
A value for the stroke-dasharray property. | |
A value for the stroke-linecap property. | |
A value for the stroke-linejoin property. | |
Represents a style query within a container condition. | |
A | |
An SVG | |
A fallback for an SVG paint in case a paint server | |
A single symbol as used in the | |
A | |
A CSS syntax string used to define the grammar for a registered custom property. | |
A value for the text-align property. | |
A value for the text-align-last property. | |
A value for the text-decoration-skip-ink property. | |
A value for the text-decoration-style property. | |
A value for the text-decoration-thickness property. | |
A keyword for the text-emphasis-style property. | |
A horizontal position keyword for the text-emphasis-position property. | |
A vertical position keyword for the text-emphasis-position property. | |
A text emphasis shape for the text-emphasis-style property. | |
A value for the text-emphasis-style property. | |
A value for the text-justify property. | |
A value for the text-overflow property. | |
A value for the text-rendering property. | |
Defines how text case should be transformed in the text-transform property. | |
T Time | A CSS |
A raw CSS token. | |
A raw CSS token, or a parsed value. | |
A | |
Either a track size or | |
A | |
A track sizing value for the | |
An individual transform function. | |
A value for the transform-box property. | |
A value for the transform-style property. | |
A UA-defined environment variable name. | |
A color value with an unresolved alpha value (e.g. a variable). These can be converted from the modern slash syntax to older comma syntax. This can only be done when the only unresolved component is the alpha since variables can resolve to multiple tokens. | |
A value for the user-select property. | |
A value for the vertical align property. | |
A keyword for the vertical align property. | |
A vertical position keyword. | |
A value for the visibility property. | |
A keyword or number within a WebKitGradientPoint. | |
A keyword or number within a WebKitGradientPoint. | |
A value for the -webkit-mask-composite property. | |
A value for the -webkit-mask-source-type property. | |
A webkit scrollbar pseudo class. | |
A webkit scrollbar pseudo element. | |
A value for the white-space property. | |
A value for the word-break property. | |
A value for the z-index property. |