Package-level declarations

Types

Link copied to clipboard
sealed interface AccentColor : StylePropertyValue
Link copied to clipboard
sealed interface AlignContent : StylePropertyValue

Kobweb's version of the AlignContent class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
sealed interface AlignItems : StylePropertyValue

Kobweb's version of the AlignItems class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
sealed interface AlignSelf : StylePropertyValue

Kobweb's version of the AlignSelf class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
sealed interface All : StylePropertyValue
Link copied to clipboard
sealed interface Animation : StylePropertyValue
Link copied to clipboard
sealed interface AnimationIterationCount : StylePropertyValue
Link copied to clipboard
sealed interface Appearance : StylePropertyValue
Link copied to clipboard
sealed interface AspectRatio : StylePropertyValue
Link copied to clipboard
sealed interface BackdropFilter : StylePropertyValue
Link copied to clipboard
sealed interface BackfaceVisibility : StylePropertyValue
Link copied to clipboard
sealed interface Background : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundAttachment : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundBlendMode : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundClip : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundColor : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface BackgroundOrigin : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundPosition : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundRepeat : StylePropertyValue
Link copied to clipboard
sealed interface BackgroundSize : StylePropertyValue
Link copied to clipboard
sealed interface BorderCollapse : StylePropertyValue
Link copied to clipboard
sealed interface BorderImage : StylePropertyValue
Link copied to clipboard
sealed class BorderImageNumericBuilder<T : CSSNumericValue<*>>
Link copied to clipboard
sealed interface BorderImageOutset : StylePropertyValue
Link copied to clipboard
sealed interface BorderImageRepeat : StylePropertyValue
Link copied to clipboard
sealed interface BorderImageSlice : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface BorderImageWidth : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface BoxDecorationBreak : StylePropertyValue
Link copied to clipboard
sealed interface BoxShadow : StylePropertyValue

The Kotlin representation of the CSS box-shadow.

Link copied to clipboard
sealed interface BoxSizing : StylePropertyValue
Link copied to clipboard
sealed interface BreakAfter : StylePropertyValue
Link copied to clipboard
sealed interface BreakBefore : StylePropertyValue
Link copied to clipboard
sealed interface BreakInside : StylePropertyValue
Link copied to clipboard
sealed interface CaptionSide : StylePropertyValue
Link copied to clipboard
sealed interface CaretColor : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface Clear : StylePropertyValue
Link copied to clipboard
sealed class ColorInterpolationMethod : StylePropertyValue
Link copied to clipboard
sealed interface ColorScheme : StylePropertyValue
Link copied to clipboard
sealed interface ColumnCount : StylePropertyValue
Link copied to clipboard
sealed interface ColumnFill : StylePropertyValue
Link copied to clipboard
sealed interface ColumnSpan : StylePropertyValue
Link copied to clipboard
class ComparableStyleScope : StyleScope
Link copied to clipboard
sealed interface Contain : StylePropertyValue
Link copied to clipboard
sealed interface ContainIntrinsicBlockSize : StylePropertyValue
Link copied to clipboard
sealed interface ContainIntrinsicInlineSize : StylePropertyValue
Link copied to clipboard
sealed interface Content : StylePropertyValue
Link copied to clipboard
typealias CSSAngleNumericValue = CSSNumericValue<out CSSUnitAngle>

A CSS numeric value representing an angle.

Link copied to clipboard
interface CssBlendModeValues<T : StylePropertyValue>
Link copied to clipboard
sealed interface CSSColor : StylePropertyValue
Link copied to clipboard
sealed interface CSSElementPosition : StylePropertyValue
Link copied to clipboard
typealias CSSFlexNumericValue = CSSNumericValue<out CSSUnitFlex>

A CSS numeric value representing a flex value.

Link copied to clipboard
sealed interface CSSFloat : StylePropertyValue

A list of enumerated CSS float values.

Link copied to clipboard
class CSSLayerRuleDeclaration(val name: String, val rules: CSSRuleDeclarationList) : CSSGroupingRuleDeclaration
Link copied to clipboard
typealias CSSLengthNumericValue = CSSNumericValue<out CSSUnitLength>

A CSS numeric value representing a length.

Link copied to clipboard
typealias CSSLengthOrPercentageNumericValue = CSSNumericValue<out CSSUnitLengthOrPercentage>

A CSS numeric value representing a length or percentage.

Link copied to clipboard
class CSSMargin
Link copied to clipboard
class CSSOutline : CSSStyleValue
Link copied to clipboard
typealias CSSPercentageNumericValue = CSSNumericValue<out CSSUnitPercentage>

A CSS numeric value representing a percentage.

Link copied to clipboard
class CSSPosition : StylePropertyValue

Support for declaring a 2D coordinate relative to some element rectangle.

Link copied to clipboard
class CSSScopeRuleDeclaration(val start: String?, val end: String?, val rules: CSSRuleDeclarationList) : CSSGroupingRuleDeclaration
Link copied to clipboard
class CSSTextShadow(val offsetX: CSSLengthNumericValue, val offsetY: CSSLengthNumericValue, val blurRadius: CSSLengthNumericValue? = null, val color: CSSColorValue? = null) : StylePropertyValue
Link copied to clipboard
typealias CSSTimeNumericValue = CSSNumericValue<out CSSUnitTime>

A CSS numeric value representing a time value.

Link copied to clipboard
interface CSSUnitExt : CSSUnit
Link copied to clipboard
sealed interface Cursor : StylePropertyValue
Link copied to clipboard
sealed class Edge
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class EdgeXOrCenter : Edge
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class EdgeYOrCenter : Edge
Link copied to clipboard
sealed interface Filter : StylePropertyValue
Link copied to clipboard
sealed interface FlexBasis : StylePropertyValue
Link copied to clipboard
sealed interface FontOpticalSizing : StylePropertyValue
Link copied to clipboard
sealed interface FontSize : CSSStyleValue
Link copied to clipboard
sealed interface FontStyle : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantAlternates : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantCaps : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantEastAsian : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantEmoji : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantLigatures : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantNumeric : StylePropertyValue
Link copied to clipboard
sealed interface FontVariantPosition : StylePropertyValue
Link copied to clipboard
sealed interface FontVariationSettings : StylePropertyValue
Link copied to clipboard
sealed interface FontWeight : CSSStyleValue
Link copied to clipboard
sealed interface GridAuto : StylePropertyValue
Link copied to clipboard

A class which allows for a more concise way of declaring a grid.

Link copied to clipboard
abstract class GridBuilderInAuto
Link copied to clipboard
annotation class GridDslMarker
Link copied to clipboard
sealed class GridEntry

The base class for all values which can be used to configure a CSS grid's rows or columns.

Link copied to clipboard
sealed interface GridTemplate : StylePropertyValue

Represents all possible values that can be passed into a CSS grid property.

Link copied to clipboard

A builder for simplifying the creation of grid track lists.

Link copied to clipboard
Link copied to clipboard
sealed interface Height : StylePropertyValue
Link copied to clipboard
class HueInterpolationMethod : StylePropertyValue
Link copied to clipboard
sealed interface Isolation : StylePropertyValue
Link copied to clipboard
sealed interface JustifyContent : StylePropertyValue

Kobweb's version of the JustifyContent class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
sealed interface JustifyItems : StylePropertyValue

Kobweb's version of the JustifyItems class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
sealed interface JustifySelf : StylePropertyValue

Kobweb's version of the JustifySelf class, which is more fully featured than the Compose HTML one.

Link copied to clipboard
Link copied to clipboard
sealed interface LineHeight : StylePropertyValue
Link copied to clipboard
sealed interface ListStyle : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface ListStylePosition : StylePropertyValue
Link copied to clipboard
sealed interface ListStyleType : StylePropertyValue
Link copied to clipboard
sealed interface MaxHeight : StylePropertyValue
Link copied to clipboard
sealed interface MaxWidth : StylePropertyValue
Link copied to clipboard
sealed interface MinHeight : StylePropertyValue
Link copied to clipboard
sealed interface MinWidth : StylePropertyValue
Link copied to clipboard
sealed interface MixBlendMode : StylePropertyValue
Link copied to clipboard
sealed interface ObjectFit : StylePropertyValue
Link copied to clipboard
sealed interface Outline : StylePropertyValue
Link copied to clipboard
sealed interface OutlineWidth : StylePropertyValue
Link copied to clipboard
sealed interface Overflow : StylePropertyValue
Link copied to clipboard
sealed interface OverflowBlock : StylePropertyValue
Link copied to clipboard
sealed interface OverflowInline : StylePropertyValue
Link copied to clipboard
sealed interface OverflowWrap : StylePropertyValue
Link copied to clipboard
sealed interface OverscrollBehavior : StylePropertyValue
Link copied to clipboard
sealed interface OverscrollBehaviorBlock : StylePropertyValue
Link copied to clipboard
sealed interface OverscrollBehaviorInline : StylePropertyValue
Link copied to clipboard
sealed interface PointerEvents : StylePropertyValue
Link copied to clipboard
sealed interface Resize : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface RubyPosition : StylePropertyValue
Link copied to clipboard
sealed interface ScrollbarWidth : StylePropertyValue
Link copied to clipboard
sealed interface ScrollBehavior : StylePropertyValue
Link copied to clipboard
sealed interface ScrollSnapAlign : StylePropertyValue
Link copied to clipboard
sealed interface ScrollSnapStop : StylePropertyValue
Link copied to clipboard
sealed interface ScrollSnapType : StylePropertyValue
Link copied to clipboard
sealed class StyleVariable<T : StylePropertyValue, V> : CSSVariable

A class for declaring a CSS style property (i.e. a variable value that can be used inside CSS styles).

Link copied to clipboard

A delegate provider class which allows you to create a StyleVariable.NumberValue instance via the by keyword.

Link copied to clipboard
class StyleVariablePropertyProvider<T : StylePropertyValue>

A delegate provider class which allows you to create a StyleVariable.PropertyValue instance via the by keyword.

Link copied to clipboard

A delegate provider class which allows you to create a StyleVariable.StringValue instance via the by keyword.

Link copied to clipboard
sealed interface TextAlign : StylePropertyValue
Link copied to clipboard
sealed interface TextDecorationLine : StylePropertyValue
Link copied to clipboard
sealed interface TextOverflow : StylePropertyValue
Link copied to clipboard
sealed interface TextShadow : StylePropertyValue
Link copied to clipboard
sealed interface TextTransform : StylePropertyValue
Link copied to clipboard
Link copied to clipboard
sealed interface TouchAction : StylePropertyValue
Link copied to clipboard
sealed interface TransformBox : StylePropertyValue
Link copied to clipboard
sealed interface TransformOrigin : StylePropertyValue
Link copied to clipboard
sealed interface TransformStyle : StylePropertyValue
Link copied to clipboard
sealed interface Transition : StylePropertyValue
Link copied to clipboard
sealed interface TransitionBehavior : StylePropertyValue
Link copied to clipboard
sealed interface TransitionProperty : StylePropertyValue
Link copied to clipboard
typealias TransitionTimingFunction = AnimationTimingFunction
Link copied to clipboard
sealed interface UserSelect : StylePropertyValue
Link copied to clipboard
sealed interface VerticalAlign : StylePropertyValue
Link copied to clipboard
sealed interface Visibility : StylePropertyValue
Link copied to clipboard
sealed interface WhiteSpace : StylePropertyValue
Link copied to clipboard
sealed interface Widows : StylePropertyValue
Link copied to clipboard
sealed interface Width : StylePropertyValue
Link copied to clipboard
sealed interface WillChange : StylePropertyValue
Link copied to clipboard
sealed interface WordBreak : StylePropertyValue
Link copied to clipboard
sealed interface WordSpacing : StylePropertyValue
Link copied to clipboard
sealed interface WritingMode : StylePropertyValue

Properties

Link copied to clipboard

A CSS value that represents the "auto" keyword and can be used anywhere that accepts a length argument.

Link copied to clipboard
val Number.dvb: CSSSizeValue<CSSUnitExt.dvb>

Represents 1% of the dynamic viewport's block size.

Link copied to clipboard
val Number.dvh: CSSSizeValue<CSSUnitExt.dvh>

Represents 1% of the dynamic viewport's height.

Link copied to clipboard
val Number.dvi: CSSSizeValue<CSSUnitExt.dvi>

Represents 1% of the dynamic viewport's inline size.

Link copied to clipboard
val Number.dvmax: CSSSizeValue<CSSUnitExt.dvmax>

Represents 1% of the dynamic viewport's largest dimension.

Link copied to clipboard
val Number.dvmin: CSSSizeValue<CSSUnitExt.dvmin>

Represents 1% of the dynamic viewport's smallest dimension.

Link copied to clipboard
val Number.dvw: CSSSizeValue<CSSUnitExt.dvw>

Represents 1% of the dynamic viewport's width.

Link copied to clipboard
val FlexDirection.Companion.Inherit: FlexDirection
Link copied to clipboard
val FlexDirection.Companion.Initial: FlexDirection
Link copied to clipboard
val Number.lvb: CSSSizeValue<CSSUnitExt.lvb>

Represents 1% of the large viewport's block size.

Link copied to clipboard
val Number.lvh: CSSSizeValue<CSSUnitExt.lvh>

Represents 1% of the large viewport's inline size.

Link copied to clipboard
val Number.lvi: CSSSizeValue<CSSUnitExt.lvi>

Represents 1% of the large viewport's height.

Link copied to clipboard
val Number.lvmax: CSSSizeValue<CSSUnitExt.lvmax>

Represents 1% of the large viewport's largest dimension.

Link copied to clipboard
val Number.lvmin: CSSSizeValue<CSSUnitExt.lvmin>

Represents 1% of the large viewport's smallest dimension.

Link copied to clipboard
val Number.lvw: CSSSizeValue<CSSUnitExt.lvw>

Represents 1% of the large viewport's width.

Link copied to clipboard
val FlexDirection.Companion.Revert: FlexDirection
Link copied to clipboard
val Number.svb: CSSSizeValue<CSSUnitExt.svb>

Represents 1% of the small viewport's block size.

Link copied to clipboard
val Number.svh: CSSSizeValue<CSSUnitExt.svh>

Represents 1% of the small viewport's height.

Link copied to clipboard
val Number.svi: CSSSizeValue<CSSUnitExt.svi>

Represents 1% of the small viewport's inline size.

Link copied to clipboard
val Number.svmax: CSSSizeValue<CSSUnitExt.svmax>

Represents 1% of the small viewport's largest dimension.

Link copied to clipboard
val Number.svmin: CSSSizeValue<CSSUnitExt.svmin>

Represents 1% of the small viewport's smallest dimension.

Link copied to clipboard
val Number.svw: CSSSizeValue<CSSUnitExt.svw>

Represents 1% of the viewport's block size.

Link copied to clipboard
val FlexDirection.Companion.Unset: FlexDirection
Link copied to clipboard
val Number.vb: CSSSizeValue<CSSUnit.vb>

Represents 1% of the viewport's block size.

Link copied to clipboard
val Number.vi: CSSSizeValue<CSSUnit.vi>

Represents 1% of the viewport's inline size.

Functions

Link copied to clipboard
fun StyleScope.accentColor(accentColor: AccentColor)
fun StyleScope.accentColor(color: CSSColorValue)
Link copied to clipboard
fun StyleScope.alignContent(alignContent: AlignContent)
Link copied to clipboard
fun StyleScope.alignItems(alignItems: AlignItems)
Link copied to clipboard
fun StyleScope.alignSelf(alignSelf: AlignSelf)
Link copied to clipboard
fun StyleScope.all(all: All)
Link copied to clipboard
fun StyleScope.animation(animation: Animation)
fun StyleScope.animation(animation: Animation.Listable)
fun StyleScope.animation(vararg animations: Animation.Listable)
Link copied to clipboard
fun StyleScope.appearance(appearance: Appearance)
Link copied to clipboard
fun AttrsScope<*>.ariaDisabled(value: Boolean = true)
Link copied to clipboard
fun AttrsScope<*>.ariaHidden(value: Boolean = true)
Link copied to clipboard
fun AttrsScope<*>.ariaInvalid(value: Boolean = true)
Link copied to clipboard
fun AttrsScope<*>.ariaLabel(value: String)
Link copied to clipboard
fun AttrsScope<*>.ariaRequired(value: Boolean = true)
Link copied to clipboard
fun StyleScope.aspectRatio(aspectRatio: AspectRatio)
fun StyleScope.aspectRatio(ratio: Number)
fun StyleScope.aspectRatio(width: Number, height: Number)
Link copied to clipboard
fun StyleScope.backdropFilter(backdropFilter: BackdropFilter)
fun StyleScope.backdropFilter(vararg filters: BackdropFilter.Listable)
fun StyleScope.backdropFilter(vararg filters: CSSFilter)
Link copied to clipboard
fun StyleScope.backfaceVisibility(backFaceVisibility: BackfaceVisibility)
Link copied to clipboard
fun StyleScope.background(background: Background)
fun StyleScope.background(background: Background.Listable)
fun StyleScope.background(vararg backgrounds: Background.Listable)
fun StyleScope.background(color: CSSColorValue, vararg backgrounds: Background.Listable)
Link copied to clipboard
fun StyleScope.backgroundAttachment(backgroundAttachment: BackgroundAttachment)
Link copied to clipboard
fun StyleScope.backgroundBlendMode(blendMode: BackgroundBlendMode)
fun StyleScope.backgroundBlendMode(vararg blendModes: BackgroundBlendMode.Listable)
Link copied to clipboard
fun StyleScope.backgroundClip(backgroundClip: BackgroundClip)
Link copied to clipboard
fun StyleScope.backgroundColor(backgroundColor: BackgroundColor)
Link copied to clipboard
fun StyleScope.backgroundImage(backgroundImage: BackgroundImage)
fun StyleScope.backgroundImage(url: CSSUrl)
fun StyleScope.backgroundImage(gradient: Gradient)
Link copied to clipboard
fun StyleScope.backgroundOrigin(backgroundOrigin: BackgroundOrigin)
Link copied to clipboard
fun StyleScope.backgroundPosition(backgroundPosition: BackgroundPosition)
Link copied to clipboard
fun StyleScope.backgroundRepeat(backgroundRepeat: BackgroundRepeat)
fun StyleScope.backgroundRepeat(horizontal: BackgroundRepeat.Mode, vertical: BackgroundRepeat.Mode)
Link copied to clipboard
fun StyleScope.backgroundSize(backgroundSize: BackgroundSize)
Link copied to clipboard
fun StyleScope.borderBottom(borderBuild: CSSBorder.() -> Unit)
fun StyleScope.borderBottom(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.borderCollapse(borderCollapse: BorderCollapse)
Link copied to clipboard
fun StyleScope.borderColor(color: CSSColorValue)
fun StyleScope.borderColor(topBottom: CSSColorValue = Color.currentColor, leftRight: CSSColorValue = Color.currentColor)
fun StyleScope.borderColor(top: CSSColorValue = Color.currentColor, leftRight: CSSColorValue = Color.currentColor, bottom: CSSColorValue = Color.currentColor)
fun StyleScope.borderColor(top: CSSColorValue = Color.currentColor, right: CSSColorValue = Color.currentColor, bottom: CSSColorValue = Color.currentColor, left: CSSColorValue = Color.currentColor)
Link copied to clipboard
fun StyleScope.borderImage(borderImage: BorderImage)
Link copied to clipboard
fun StyleScope.borderImageOutset(outset: BorderImageOutset)
Link copied to clipboard
fun StyleScope.borderImageRepeat(repeat: BorderImageRepeat)
Link copied to clipboard
fun StyleScope.borderImageSlice(slice: BorderImageSlice)
Link copied to clipboard
fun StyleScope.borderImageSource(source: BorderImageSource)
Link copied to clipboard
fun StyleScope.borderImageWidth(width: BorderImageWidth)
Link copied to clipboard
fun StyleScope.borderLeft(borderBuild: CSSBorder.() -> Unit)
fun StyleScope.borderLeft(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.borderRight(borderBuild: CSSBorder.() -> Unit)
fun StyleScope.borderRight(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.borderStyle(lineStyle: LineStyle)
fun StyleScope.borderStyle(topBottom: LineStyle = LineStyle.None, leftRight: LineStyle = LineStyle.None)
fun StyleScope.borderStyle(top: LineStyle = LineStyle.None, leftRight: LineStyle = LineStyle.None, bottom: LineStyle = LineStyle.None)
fun StyleScope.borderStyle(top: LineStyle = LineStyle.None, right: LineStyle = LineStyle.None, bottom: LineStyle = LineStyle.None, left: LineStyle = LineStyle.None)
Link copied to clipboard
fun StyleScope.borderTop(borderBuild: CSSBorder.() -> Unit)
fun StyleScope.borderTop(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.borderWidth(width: CSSLengthNumericValue)
Link copied to clipboard
fun StyleScope.bottom(bottom: Bottom)
Link copied to clipboard
fun StyleScope.boxDecorationBreak(boxDecorationBreak: BoxDecorationBreak)
Link copied to clipboard
fun StyleScope.boxShadow(boxShadow: BoxShadow)

Creates a box-shadow property with a single shadow. The property accepts either the BoxShadow.None value, the default global keywords, which indicates no shadows, or a list of shadows, created by using BoxShadow.of, ordered front to back.

fun StyleScope.boxShadow(boxShadow: BoxShadow.Listable)
fun StyleScope.boxShadow(vararg boxShadows: BoxShadow.Listable)
fun StyleScope.boxShadow(value: String)
fun StyleScope.boxShadow(offsetX: CSSLengthNumericValue = 0.px, offsetY: CSSLengthNumericValue = 0.px, blurRadius: CSSLengthNumericValue? = null, spreadRadius: CSSLengthNumericValue? = null, color: CSSColorValue? = null, inset: Boolean = false)
Link copied to clipboard
fun StyleScope.boxSizing(boxSizing: BoxSizing)
Link copied to clipboard
fun StyleScope.breakAfter(breakAfter: BreakAfter)
Link copied to clipboard
fun StyleScope.breakBefore(breakBefore: BreakBefore)
Link copied to clipboard
fun StyleScope.breakInside(breakInside: BreakInside)
Link copied to clipboard
fun StyleScope.captionSide(captionSide: CaptionSide)
Link copied to clipboard
fun StyleScope.caretColor(caretColor: CaretColor)
fun StyleScope.caretColor(color: CSSColorValue)
Link copied to clipboard
fun StyleScope.clear(clear: Clear)
Link copied to clipboard
fun StyleScope.color(color: CSSColor)
fun StyleScope.color(value: String)
Link copied to clipboard
fun StyleScope.colorScheme(colorScheme: ColorScheme)
Link copied to clipboard
fun StyleScope.columnCount(columnCount: ColumnCount)
Link copied to clipboard
fun StyleScope.columnFill(columnFill: ColumnFill)
Link copied to clipboard
fun StyleScope.columnRule(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.columnRuleColor(color: CSSColorValue)
Link copied to clipboard
fun StyleScope.columnRuleStyle(style: LineStyle)
Link copied to clipboard
fun StyleScope.columnRuleWidth(width: CSSLengthNumericValue)
Link copied to clipboard
fun StyleScope.columnSpan(columnSpan: ColumnSpan)
Link copied to clipboard
fun StyleScope.contain(contain: Contain)
Link copied to clipboard
fun StyleScope.containIntrinsicBlockSize(containIntrinsicBlockSize: ContainIntrinsicBlockSize)
Link copied to clipboard
fun StyleScope.containIntrinsicInlineSize(containIntrinsicInlineSize: ContainIntrinsicInlineSize)
Link copied to clipboard
fun StyleScope.content(content: Content)
fun StyleScope.content(content: Content.Listable)
fun StyleScope.content(vararg contents: Content.Listable)
fun StyleScope.content(altText: String, vararg contents: Content.Listable)

fun StyleScope.content(value: String)

Convenience function for an extremely common case, setting content to text.

Link copied to clipboard
fun StyleScope.cursor(cursor: Cursor)
Link copied to clipboard
fun AttrsScope<*>.disabled(value: Boolean = true)
Link copied to clipboard
fun StyleScope.filter(filter: Filter)
fun StyleScope.filter(vararg filters: Filter.Listable)
fun StyleScope.filter(vararg filters: CSSFilter)
Link copied to clipboard
fun StyleScope.flexBasis(flexBasis: FlexBasis)
Link copied to clipboard
fun StyleScope.float(float: CSSFloat)
Link copied to clipboard
fun StyleScope.fontOpticalSizing(sizing: FontOpticalSizing)
Link copied to clipboard
fun StyleScope.fontSize(size: FontSize)
Link copied to clipboard
fun StyleScope.fontStyle(style: FontStyle)
Link copied to clipboard
fun StyleScope.fontVariant(alternates: FontVariantAlternates? = null, caps: FontVariantCaps? = null, eastAsian: FontVariantEastAsian? = null, emoji: FontVariantEmoji? = null, ligatures: FontVariantLigatures? = null, numeric: FontVariantNumeric? = null, position: FontVariantPosition? = null)
Link copied to clipboard
fun StyleScope.fontVariantAlternates(fontVariantAlternates: FontVariantAlternates)
Link copied to clipboard
fun StyleScope.fontVariantCaps(caps: FontVariantCaps)
Link copied to clipboard
fun StyleScope.fontVariantEastAsian(eastAsian: FontVariantEastAsian)
Link copied to clipboard
fun StyleScope.fontVariantEmoji(emoji: FontVariantEmoji)
Link copied to clipboard
fun StyleScope.fontVariantLigatures(ligatures: FontVariantLigatures)
Link copied to clipboard
fun StyleScope.fontVariantNumeric(numeric: FontVariantNumeric)
Link copied to clipboard
fun StyleScope.fontVariantPosition(position: FontVariantPosition)
Link copied to clipboard
Link copied to clipboard
fun StyleScope.fontWeight(weight: FontWeight)
Link copied to clipboard
fun StyleScope.grid(block: GridBuilder.() -> Unit)
Link copied to clipboard
fun StyleScope.gridAutoColumns(gridAutoColumns: GridAuto)
fun StyleScope.gridAutoColumns(vararg gridAutoColumns: GridEntry)
fun StyleScope.gridAutoColumns(block: GridTrackBuilder.() -> Unit)
Link copied to clipboard
fun StyleScope.gridAutoRows(gridAutoRows: GridAuto)
fun StyleScope.gridAutoRows(vararg gridAutoRows: GridEntry)
fun StyleScope.gridAutoRows(block: GridTrackBuilder.() -> Unit)
Link copied to clipboard
fun StyleScope.gridTemplateColumns(gridTemplateColumns: GridTemplate)
fun StyleScope.gridTemplateColumns(vararg gridTemplateColumns: GridEntry)
fun StyleScope.gridTemplateColumns(block: GridTrackBuilder.() -> Unit)
Link copied to clipboard
fun StyleScope.gridTemplateRows(gridTemplateRows: GridTemplate)
fun StyleScope.gridTemplateRows(vararg gridTemplateRows: GridEntry)
fun StyleScope.gridTemplateRows(block: GridTrackBuilder.() -> Unit)
Link copied to clipboard
fun AttrsScope<*>.height(height: Int)
fun StyleScope.height(height: Height)
Link copied to clipboard
Link copied to clipboard
fun StyleScope.isolation(isolation: Isolation)
Link copied to clipboard
fun StyleScope.justifyContent(justifyContent: JustifyContent)
Link copied to clipboard
fun StyleScope.justifyItems(justifyItems: JustifyItems)
Link copied to clipboard
fun StyleScope.justifySelf(justifySelf: JustifySelf)
Link copied to clipboard
fun <TBuilder> GenericStyleSheetBuilder<TBuilder>.layer(name: String, rulesBuild: GenericStyleSheetBuilder<CSSStyleRuleBuilder>.() -> Unit)

Wrap some styles with a @layer block.

Link copied to clipboard
fun StyleScope.left(left: Left)
Link copied to clipboard
fun StyleScope.lineHeight(lineHeight: LineHeight)
Link copied to clipboard
fun StyleScope.listStyle(listStyle: ListStyle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.maxHeight(maxHeight: MaxHeight)
Link copied to clipboard
fun StyleScope.maxWidth(maxWidth: MaxWidth)
Link copied to clipboard
fun StyleScope.minHeight(minHeight: MinHeight)
Link copied to clipboard
fun StyleScope.minWidth(minWidth: MinWidth)
Link copied to clipboard
fun StyleScope.mixBlendMode(blendMode: MixBlendMode)
Link copied to clipboard
fun StyleScope.objectFit(objectFit: ObjectFit)
Link copied to clipboard
fun StyleScope.outline(outline: Outline)
fun StyleScope.outline(outlineBuilder: CSSOutline.() -> Unit)
fun StyleScope.outline(width: CSSLengthNumericValue? = null, style: LineStyle? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.outlineOffset(value: CSSLengthNumericValue)
Link copied to clipboard
fun StyleScope.outlineStyle(value: LineStyle)
Link copied to clipboard
fun StyleScope.outlineWidth(outlineWidth: OutlineWidth)
fun StyleScope.outlineWidth(value: CSSLengthNumericValue)
Link copied to clipboard
fun StyleScope.overflow(overflow: Overflow)
fun StyleScope.overflow(overflowX: Overflow, overflowY: Overflow)
Link copied to clipboard
fun StyleScope.overflowBlock(overflowBlock: OverflowBlock)
Link copied to clipboard
fun StyleScope.overflowInline(overflowInline: OverflowInline)
Link copied to clipboard
fun StyleScope.overflowWrap(overflowWrap: OverflowWrap)
Link copied to clipboard
fun StyleScope.overflowX(overflowX: Overflow)
Link copied to clipboard
fun StyleScope.overflowY(overflowY: Overflow)
Link copied to clipboard
fun StyleScope.overscrollBehavior(overscrollBehavior: OverscrollBehavior)
Link copied to clipboard
fun StyleScope.overscrollBehaviorBlock(overscrollBehaviorBlock: OverscrollBehaviorBlock)
Link copied to clipboard
fun StyleScope.overscrollBehaviorInline(overscrollBehaviorInline: OverscrollBehaviorInline)
Link copied to clipboard
fun StyleScope.overscrollBehaviorX(overscrollBehavior: OverscrollBehavior.SingleValue)
Link copied to clipboard
fun StyleScope.overscrollBehaviorY(overscrollBehavior: OverscrollBehavior.SingleValue)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.placeContent(alignContent: AlignContent, justifyContent: JustifyContent)
Link copied to clipboard
fun StyleScope.placeItems(alignItems: AlignItems, justifyItems: JustifyItems)
Link copied to clipboard
fun StyleScope.placeSelf(alignSelf: AlignSelf, justifySelf: JustifySelf)
Link copied to clipboard
fun StyleScope.pointerEvents(pointerEvents: PointerEvents)
Link copied to clipboard
fun StyleScope.resize(resize: Resize)
Link copied to clipboard
fun StyleScope.right(right: Right)
Link copied to clipboard
fun AttrsScope<*>.role(value: String)
Link copied to clipboard
fun StyleScope.rotate(a: CSSAngleNumericValue)
fun StyleScope.rotate(x: Number, y: Number, z: Number, a: CSSAngleNumericValue)
Link copied to clipboard
fun StyleScope.rotateX(a: CSSAngleNumericValue)
Link copied to clipboard
fun StyleScope.rotateY(a: CSSAngleNumericValue)
Link copied to clipboard
fun StyleScope.rotateZ(a: CSSAngleNumericValue)
Link copied to clipboard
fun StyleScope.rubyPosition(rubyPosition: RubyPosition)
Link copied to clipboard
fun StyleScope.scale(s: Number)
fun StyleScope.scale(s: CSSPercentageNumericValue)
fun StyleScope.scale(sx: Number, sy: Number)
fun StyleScope.scale(sx: Number, sy: Number, sz: Number)
Link copied to clipboard
fun StyleScope.scaleX(s: Number)
Link copied to clipboard
fun StyleScope.scaleY(s: Number)
Link copied to clipboard
fun StyleScope.scaleZ(s: Number)
Link copied to clipboard
fun <TBuilder> GenericStyleSheetBuilder<TBuilder>.scope(start: String? = null, end: String? = null, rulesBuild: GenericStyleSheetBuilder<CSSStyleRuleBuilder>.() -> Unit)

Wrap some styles with a @scope block.

Link copied to clipboard
fun StyleScope.scrollbarWidth(scrollbarWidth: ScrollbarWidth)
Link copied to clipboard
fun StyleScope.scrollBehavior(scrollBehavior: ScrollBehavior)
Link copied to clipboard
fun StyleScope.scrollMargin(all: CSSLengthNumericValue)
fun StyleScope.scrollMargin(topBottom: CSSLengthNumericValue = 0.px, leftRight: CSSLengthNumericValue = 0.px)
fun StyleScope.scrollMargin(top: CSSLengthNumericValue = 0.px, leftRight: CSSLengthNumericValue = 0.px, bottom: CSSLengthNumericValue = 0.px)
fun StyleScope.scrollMargin(top: CSSLengthNumericValue = 0.px, right: CSSLengthNumericValue = 0.px, bottom: CSSLengthNumericValue = 0.px, left: CSSLengthNumericValue = 0.px)
Link copied to clipboard
fun StyleScope.scrollMarginBlock(start: CSSLengthNumericValue = 0.px, end: CSSLengthNumericValue = 0.px)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.scrollMarginInline(start: CSSLengthNumericValue = 0.px, end: CSSLengthNumericValue = 0.px)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.scrollMarginTop(value: CSSLengthNumericValue)
Link copied to clipboard
fun StyleScope.scrollPadding(topBottom: CSSLengthOrPercentageNumericValue = autoLength, leftRight: CSSLengthOrPercentageNumericValue = autoLength)
fun StyleScope.scrollPadding(top: CSSLengthOrPercentageNumericValue = autoLength, leftRight: CSSLengthOrPercentageNumericValue = autoLength, bottom: CSSLengthOrPercentageNumericValue = autoLength)
fun StyleScope.scrollPadding(top: CSSLengthOrPercentageNumericValue = autoLength, right: CSSLengthOrPercentageNumericValue = autoLength, bottom: CSSLengthOrPercentageNumericValue = autoLength, left: CSSLengthOrPercentageNumericValue = autoLength)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.scrollSnapAlign(scrollSnapAlign: ScrollSnapAlign)
Link copied to clipboard
fun StyleScope.scrollSnapStop(scrollSnapStop: ScrollSnapStop)
Link copied to clipboard
fun StyleScope.scrollSnapType(scrollSnapType: ScrollSnapType)
Link copied to clipboard
fun <T : Number> StyleScope.setVariable(variable: StyleVariable.NumberValue<T>, value: T)
fun <T : StylePropertyValue> StyleScope.setVariable(variable: StyleVariable.PropertyValue<T>, value: T)
fun StyleScope.setVariable(variable: StyleVariable.StringValue, value: String)

fun <T> HTMLElement.setVariable(variable: StyleVariable<*, T>, value: T)

Helper method for setting a StyleVariable onto a raw HTML element.

Link copied to clipboard
fun <T : StylePropertyValue> StyleVariable(prefix: String? = null): StyleVariablePropertyProvider<T>
fun <T : StylePropertyValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<T>

Helper method for declaring a StyleVariable.PropertyValue instance via the by keyword.

fun <T : Number> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariableNumberProvider<T>

Helper method for declaring a StyleVariable.NumberValue instance via the by keyword.

fun <T : String> StyleVariable(defaultFallback: T? = null, prefix: T? = null): StyleVariableStringProvider

Helper method for declaring a StyleVariable.StringValue instance via the by keyword.

fun <T : CSSFlexNumericValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSFlexNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing a flex value via the by keyword.

fun <T : CSSTimeNumericValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSTimeNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing a time value via the by keyword.

fun <T : CSSAngleValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSAngleNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing an angle value via the by keyword.

fun <T : CSSLengthOrPercentageValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSLengthOrPercentageNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing a length or percentage value via the by keyword.

fun <T : CSSLengthValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSLengthNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing a length value via the by keyword.

fun <T : CSSPercentageValue> StyleVariable(defaultFallback: T? = null, prefix: String? = null): StyleVariablePropertyProvider<CSSPercentageNumericValue>

Helper method for declaring a StyleVariable.PropertyValue instance representing a percentage value via the by keyword.

Link copied to clipboard
fun StyleScope.textAlign(textAlign: TextAlign)
Link copied to clipboard
fun StyleScope.textDecorationLine(vararg textDecorationLines: TextDecorationLine)
Link copied to clipboard
fun StyleScope.textOverflow(textOverflow: TextOverflow)
Link copied to clipboard
fun StyleScope.textShadow(textShadow: TextShadow)
fun StyleScope.textShadow(textShadow: TextShadow.Listable)
fun StyleScope.textShadow(vararg shadows: TextShadow.Listable)
fun StyleScope.textShadow(offsetX: CSSLengthNumericValue, offsetY: CSSLengthNumericValue, blurRadius: CSSLengthNumericValue? = null, color: CSSColorValue? = null)
Link copied to clipboard
fun StyleScope.textTransform(textTransform: TextTransform)
Link copied to clipboard
fun CSSAngleValue.toDegrees(): Float
Link copied to clipboard
fun StyleScope.top(top: Top)
Link copied to clipboard
fun StyleScope.touchAction(touchAction: TouchAction)
Link copied to clipboard
fun StyleScope.transformBox(transformBox: TransformBox)
Link copied to clipboard
fun StyleScope.transformOrigin(transformOrigin: TransformOrigin)
Link copied to clipboard
fun StyleScope.transformStyle(transformStyle: TransformStyle)
Link copied to clipboard
fun StyleScope.transition(transition: Transition)
fun StyleScope.transition(transition: Transition.Listable)
fun StyleScope.transition(vararg transitions: Transition.Listable)
Link copied to clipboard
fun StyleScope.transitionBehavior(behavior: TransitionBehavior)
fun StyleScope.transitionBehavior(vararg behaviors: TransitionBehavior.Listable)
Link copied to clipboard
fun StyleScope.transitionDelay(vararg delays: CSSTimeNumericValue)
Link copied to clipboard
fun StyleScope.transitionDuration(vararg durations: CSSTimeNumericValue)
Link copied to clipboard
fun StyleScope.transitionProperty(property: TransitionProperty)
fun StyleScope.transitionProperty(vararg properties: TransitionProperty.Name)
fun StyleScope.transitionProperty(vararg properties: String)
Link copied to clipboard
fun StyleScope.transitionTimingFunction(vararg timingFunctions: TransitionTimingFunction)
fun StyleScope.transitionTimingFunction(timingFunction: TransitionTimingFunction)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StyleScope.userSelect(userSelect: UserSelect)
Link copied to clipboard
fun StyleScope.verticalAlign(verticalAlign: VerticalAlign)
Link copied to clipboard
fun StyleScope.visibility(visibility: Visibility)
Link copied to clipboard
fun StyleScope.whiteSpace(whiteSpace: WhiteSpace)
Link copied to clipboard
fun StyleScope.widows(widows: Widows)
Link copied to clipboard
fun AttrsScope<*>.width(width: Int)
fun StyleScope.width(width: Width)
Link copied to clipboard
fun StyleScope.willChange(willChange: WillChange)
Link copied to clipboard
fun StyleScope.wordBreak(wordBreak: WordBreak)
Link copied to clipboard
fun StyleScope.wordSpacing(wordSpacing: WordSpacing)
Link copied to clipboard
fun StyleScope.writingMode(writingMode: WritingMode)
Link copied to clipboard
fun StyleScope.zIndex(value: Number)