BlockSuite API Documentation / @blocksuite/affine-model / PaletteSchema
Variable: PaletteSchema
const
PaletteSchema:ZodObject
<{key
:ZodString
;value
:ZodUnion
<[ZodString
,ZodObject
<{normal
:ZodString
; },"strip"
,ZodTypeAny
, {normal
:string
; }, {normal
:string
; }>,ZodObject
<{dark
:ZodString
;light
:ZodString
; },"strip"
,ZodTypeAny
, {dark
:string
;light
:string
; }, {dark
:string
;light
:string
; }>]>; },"strip"
,ZodTypeAny
, {key
:string
;value
:string
| {normal
:string
; } | {dark
:string
;light
:string
; }; }, {key
:string
;value
:string
| {normal
:string
; } | {dark
:string
;light
:string
; }; }>
Defined in: packages/affine/model/src/themes/types.ts:5