check
Code copied to clipboard.
close
menu
menu_open
menu

LkColorWithOnToken

Specifies the subset of color tokens that have corresponding “on-“ tokens.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

type LkColorWithOnToken =

   | "primary"

   | "primarycontainer"

   | "secondary"

   | "secondarycontainer"

   | "tertiary"

   | "tertiarycontainer"

   | "error"

   | "errorcontainer"

   | "success"

   | "successcontainer"

   | "warning"

   | "warningcontainer"

   | "info"

   | "infocontainer"

   | "background"

   | "surface"

   | "surfacevariant"

   | "surfacecontainerlowest" //todo: make sure component assigns "onsurface" to text when these are present

   | "surfacecontainerlow"

   | "surfacecontainer"

   | "surfacecontainerhigh"

   | "surfacecontainerhighest"

   | "inversesurface"

   | "transparent"

Related Components

Components that use this type.

Related Types

Types with similar roles.