Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/core
ResolvedTheme
Interface ResolvedTheme
The resolved tokens and colour functions for one surface.
interface
ResolvedTheme
{
base
:
ThemeBase
;
tokens
:
ThemeTokens
;
adapt
(
color
:
string
)
:
string
;
adaptOn
(
text
:
string
,
background
:
string
)
:
string
;
}
Index
Properties
base
tokens
Methods
adapt
adapt
On
Properties
Readonly
base
base
:
ThemeBase
Readonly
tokens
tokens
:
ThemeTokens
Methods
adapt
adapt
(
color
:
string
)
:
string
Parameters
color
:
string
Returns
string
adapt
On
adaptOn
(
text
:
string
,
background
:
string
)
:
string
Parameters
text
:
string
background
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
base
tokens
Methods
adapt
adapt
On
Field Notes home
Docs
Playground
Field Notes
Loading...
The resolved tokens and colour functions for one surface.