sketches
Sketches
Brittni Watkins
Preparing search index...
palette
palette
PALETTE_SCHEMA
Variable PALETTE_SCHEMA
Const
PALETTE_SCHEMA
:
ZodObject
<
{
COLORS
:
ZodReadonly
<
ZodArray
<
ZodObject
<
{
DISCRIMINATOR
:
ZodReadonly
<
ZodEnum
<
{
I_PALETTE_COLOR
:
PALETTE_COLOR
}
>
,
>
;
HEX
:
ZodReadonly
<
ZodCustomStringFormat
<
"hex"
>
>
;
HSL
:
ZodOptional
<
ZodReadonly
<
ZodObject
<
{
H
:
ZodReadonly
<
(...)
>
;
L
:
ZodReadonly
<
(...)
>
;
S
:
ZodReadonly
<
(...)
>
;
}
,
$strict
,
>
,
>
,
>
;
LUMINANCE
:
ZodOptional
<
ZodReadonly
<
ZodNumber
>
>
;
NAME
:
ZodReadonly
<
ZodString
>
;
RGB
:
ZodOptional
<
ZodReadonly
<
ZodObject
<
{
B
:
ZodReadonly
<
(...)
>
;
G
:
ZodReadonly
<
(...)
>
;
R
:
ZodReadonly
<
(...)
>
;
}
,
$strict
,
>
,
>
,
>
;
}
,
$strict
,
>
,
>
,
>
;
CONTRAST_MAP
:
ZodOptional
<
ZodReadonly
<
ZodRecord
<
ZodString
,
ZodReadonly
<
ZodArray
<
ZodString
>
>
>
>
,
>
;
DISCRIMINATOR
:
ZodReadonly
<
ZodEnum
<
{
I_PALETTE
:
PALETTE
}
>
>
;
IS_GRADIENT
:
ZodReadonly
<
ZodBoolean
>
;
NAME
:
ZodReadonly
<
ZodString
>
;
SOURCE
:
ZodOptional
<
ZodReadonly
<
ZodString
>
>
;
SOURCE_URL
:
ZodOptional
<
ZodReadonly
<
ZodURL
>
>
;
}
,
$strict
,
>
= ...
Zod schema for validating that an object implements the
Palette
type.
See
Discriminable
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Deprecated
Theme
OS
Light
Dark
Sketches
Brittni Watkins
sketches
Loading...
Zod schema for validating that an object implements the Palette type.