Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.5.0 <= v < 1.0.0

Ui.Token

Functions

getName
(
token
:
Ui.Token
)
:
String

Gets the name of the token.

resolve
(
darkMode
:
Bool
token
:
Ui.Token
)
:
Array(String)

Resolves the token using the dark mode param.

resolveMany
(
darkMode
:
Bool
tokens
:
Array(Ui.Token)
)
:
String

Resolves many tokens using the dark mode param.

setToken
(
token
:
Ui.Token
tokens
:
Array(Ui.Token)
)
:
Array(Ui.Token)

Sets a given token.