Package-level declarations

Properties

Link copied to clipboard

Styles to apply to components when a cursor is interacting with them.

Link copied to clipboard

Styles to apply to a virtual element that is created after the last element in some container.

Link copied to clipboard

Styles to apply to components that would be matched by both "link" or "visited".

Link copied to clipboard

A way to select elements that have been tagged with an aria-disabled attribute.

Link copied to clipboard

A way to select elements that have been tagged with an aria-invalid attribute.

Link copied to clipboard

A way to select elements that have been tagged with an aria-required attribute.

Link copied to clipboard

Matches when an input element has been autofilled by the browser.

Link copied to clipboard

Styles to apply to a virtual element that is created before the first element in some container.

Link copied to clipboard

Matches an element, such as checkboxes and radio buttons, that are checked or toggled to an on state.

Link copied to clipboard

Matches one or more UI elements that are the default among a set of elements.

Link copied to clipboard

Represents a user interface element that is in a disabled state.

Link copied to clipboard

Represents an element with no children other than white-space characters.

Link copied to clipboard

Represents a user interface element that is in an enabled state.

Link copied to clipboard

Matches an element that is the first of its siblings.

Link copied to clipboard

Styles to apply to the first letter in a block of text.

Link copied to clipboard

Styles to apply to the first line in a block of text.

Link copied to clipboard

Matches an element that is the first of its siblings, and also matches a certain type selector.

Link copied to clipboard

Styles to apply to components when they have focus.

Link copied to clipboard

Styles to apply to components when they have keyboard / a11y-assisted focus.

Link copied to clipboard

Styles to apply to components when they or any descendants have focus.

Link copied to clipboard

Styles to apply to components when a cursor is pointing at them.

Link copied to clipboard

Matches when elements, such as checkboxes and radio buttons, are in an indeterminate state.

Link copied to clipboard

Applies to elements with range limitations, for example a slider control, when the selected value is in the allowed range.

Link copied to clipboard

Matches an element with invalid contents. For example, an input element with type 'email' with a name entered.

Link copied to clipboard

Matches an element that is the last of its siblings.

Link copied to clipboard

Matches an element that is the last of its siblings, and also matches a certain type selector.

Link copied to clipboard

Styles to apply to components that represent navigation links which have not yet been visited.

Link copied to clipboard

Used to indicate styles which should only be applied when the page is being printed.

Link copied to clipboard

Matches an element that has no siblings. For example, a list item with no other list items in that list.

Link copied to clipboard

Matches an element that has no siblings of the chosen type selector.

Link copied to clipboard

Matches when a form element is optional.

Link copied to clipboard

Applies to elements with range limitations, for example a slider control, when the selected value is outside the allowed range.

Link copied to clipboard

Matches the placeholder text within an input element that is displaying placeholder text.

Link copied to clipboard

Matches an input element that is displaying placeholder text.

Link copied to clipboard

Represents any element that cannot be changed by the user.

Link copied to clipboard

Represents any element that is user-editable.

Link copied to clipboard

Matches when a form element is required.

Link copied to clipboard

Represents an element that is the root of the document. In HTML this is usually the <html> element.

Link copied to clipboard

Styles to apply to the selected part of a document.

Link copied to clipboard

Styles to apply to elements that are targets of links in the same document.

Link copied to clipboard

Represents an element with incorrect input, but only when the user has interacted with it.

Link copied to clipboard

Represents an element with correct input, but only when the user has interacted with it.

Link copied to clipboard

Matches an element with valid contents. For example, an input element with type 'email' which contains a validly formed email address.

Link copied to clipboard

Styles to apply to components that represent navigation links which have previously been visited.

Functions

Link copied to clipboard
fun StyleScope.children(vararg elements: String, createModifier: () -> Modifier)
Link copied to clipboard
fun StyleScope.descendants(vararg elements: String, createModifier: () -> Modifier)
Link copied to clipboard
fun StyleScope.nextSiblings(vararg elements: String, createModifier: () -> Modifier)
Link copied to clipboard
Link copied to clipboard
fun StyleScope.subsequentSiblings(vararg elements: String, createModifier: () -> Modifier)