Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/theme
Look
Class Look<T, U>
Type parameters
T
U =
never
Hierarchy
Look
NumberLook
LengthLook
ColorLook
FontLook
ShadowLook
TimingLook
Implements
Mood
Index
Constructors
constructor
Properties
name
accent
Color
background
Color
border
Color
color
faint
Color
font
highlight
Color
icon
Color
muted
Color
neutral
Color
opacity
shadow
spacing
status
Color
subdued
Color
timing
Methods
add
between
coerce
combine
dot
dot
Or
empty
from
Array
multiply
negate
of
subtract
to
String
Constructors
constructor
new
Look<T, U>
(
name
:
string
)
:
Look
<
T
,
U
>
Type parameters
T
U =
never
Parameters
name:
string
Returns
Look
<
T
,
U
>
Properties
Readonly
name
name
:
string
Static
accent
Color
accent
Color
:
Look
<
Color
,
AnyColor
>
Static
background
Color
background
Color
:
Look
<
Color
,
AnyColor
>
Static
border
Color
border
Color
:
Look
<
Color
,
AnyColor
>
Static
color
color
:
Look
<
Color
,
AnyColor
>
Static
faint
Color
faint
Color
:
Look
<
Color
,
AnyColor
>
Static
font
font
:
Look
<
Font
,
AnyFont
>
Static
highlight
Color
highlight
Color
:
Look
<
Color
,
AnyColor
>
Static
icon
Color
icon
Color
:
Look
<
Color
,
AnyColor
>
Static
muted
Color
muted
Color
:
Look
<
Color
,
AnyColor
>
Static
neutral
Color
neutral
Color
:
Look
<
Color
,
AnyColor
>
Static
opacity
opacity
:
Look
<
number
,
never
>
Static
shadow
shadow
:
Look
<
BoxShadow
,
AnyBoxShadow
>
Static
spacing
spacing
:
Look
<
Length
,
AnyLength
>
Static
status
Color
status
Color
:
Look
<
Color
,
AnyColor
>
Static
subdued
Color
subdued
Color
:
Look
<
Color
,
AnyColor
>
Static
timing
timing
:
Look
<
Timing
,
AnyTiming
>
Methods
add
add
(
a
:
LookVector
<
T
>
, b
:
LookVector
<
T
>
)
:
LookVector
<
T
>
Parameters
a:
LookVector
<
T
>
b:
LookVector
<
T
>
Returns
LookVector
<
T
>
Abstract
between
between
(
a
:
T
, b
:
T
)
:
Interpolator
<
T
>
Parameters
a:
T
b:
T
Returns
Interpolator
<
T
>
Abstract
coerce
coerce
(
value
:
T
|
U
)
:
T
Parameters
value:
T
|
U
Returns
T
Abstract
combine
combine
(
combination
:
undefined
|
T
, value
:
T
, weight
?:
number
)
:
T
Parameters
combination:
undefined
|
T
value:
T
Optional
weight:
number
Returns
T
dot
dot
(
a
:
LookVector
<
T
>
, b
:
MoodVector
<
Feel
>
)
:
undefined
|
T
Parameters
a:
LookVector
<
T
>
b:
MoodVector
<
Feel
>
Returns
undefined
|
T
dot
Or
dot
Or<E>
(
a
:
LookVector
<
T
>
, b
:
MoodVector
<
Feel
>
, elseValue
:
E
)
:
T
|
E
Type parameters
E
Parameters
a:
LookVector
<
T
>
b:
MoodVector
<
Feel
>
elseValue:
E
Returns
T
|
E
empty
empty
(
)
:
LookVector
<
T
>
Returns
LookVector
<
T
>
from
Array
from
Array
(
array
:
readonly
[
Feel
,
T
]
[]
, index
?:
{}
)
:
LookVector
<
T
>
Parameters
array:
readonly
[
Feel
,
T
]
[]
Optional
index:
{}
[
name:
string
]:
number
|
undefined
Returns
LookVector
<
T
>
multiply
multiply
(
a
:
LookVector
<
T
>
, scalar
:
number
)
:
LookVector
<
T
>
Parameters
a:
LookVector
<
T
>
scalar:
number
Returns
LookVector
<
T
>
negate
negate
(
a
:
LookVector
<
T
>
)
:
LookVector
<
T
>
Parameters
a:
LookVector
<
T
>
Returns
LookVector
<
T
>
of
of
(
...
feels
:
[
Feel
,
T
|
U
]
[]
)
:
LookVector
<
T
>
Parameters
Rest
...
feels:
[
Feel
,
T
|
U
]
[]
Returns
LookVector
<
T
>
subtract
subtract
(
a
:
LookVector
<
T
>
, b
:
LookVector
<
T
>
)
:
LookVector
<
T
>
Parameters
a:
LookVector
<
T
>
b:
LookVector
<
T
>
Returns
LookVector
<
T
>
to
String
to
String
(
)
:
string
Returns
string
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Brightness
Feel
Color
Look
Feel
Feel
Vector
Feel
Vector
Interpolator
Font
Look
Interpolated
Feel
Length
Look
Look
constructor
name
accent
Color
background
Color
border
Color
color
faint
Color
font
highlight
Color
icon
Color
muted
Color
neutral
Color
opacity
shadow
spacing
status
Color
subdued
Color
timing
add
between
coerce
combine
dot
dot
Or
empty
from
Array
multiply
negate
of
subtract
to
String
Look
Vector
Mood
Matrix
Mood
Vector
Number
Look
Opacity
Feel
Shadow
Look
Theme
Matrix
Timing
Look
Mood
Any
Feel
Vector
Any
Look
Vector
Any
Mood
Vector
Feel
Vector
Array
Feel
Vector
Updates
Look
Vector
Array
Look
Vector
Updates
Mood
Vector
Array
Mood
Vector
Updates
Mood
Theme
Generated using
TypeDoc