Directus / @directus/themes / index / ThemeSchema
Variable: ThemeSchema ​
const
ThemeSchema:TObject
<object
>
Type declaration ​
appearance ​
appearance:
TUnion
<[TLiteral
<"light"
>,TLiteral
<"dark"
>]>
id ​
id:
TString
name ​
name:
TString
rules ​
rules:
TObject
<object
> =Rules
Type declaration ​
background ​
background:
TOptional
<TRef
<TString
>>
backgroundAccent ​
backgroundAccent:
TOptional
<TRef
<TString
>>
backgroundNormal ​
backgroundNormal:
TOptional
<TRef
<TString
>>
backgroundSubdued ​
backgroundSubdued:
TOptional
<TRef
<TString
>>
banner ​
banner:
TOptional
<TObject
<object
>>
borderColor ​
borderColor:
TOptional
<TRef
<TString
>>
borderColorAccent ​
borderColorAccent:
TOptional
<TRef
<TString
>>
borderColorSubdued ​
borderColorSubdued:
TOptional
<TRef
<TString
>>
borderRadius ​
borderRadius:
TOptional
<TUnion
<[TRef
<TString
>,TRef
<TString
>]>>
borderWidth ​
borderWidth:
TOptional
<TRef
<TUnion
<[TString
,TLiteral
<"thin"
>,TLiteral
<"medium"
>,TLiteral
<"thick"
>]>>>
danger ​
danger:
TOptional
<TRef
<TString
>>
dangerAccent ​
dangerAccent:
TOptional
<TRef
<TString
>>
dangerBackground ​
dangerBackground:
TOptional
<TRef
<TString
>>
dangerSubdued ​
dangerSubdued:
TOptional
<TRef
<TString
>>
fonts ​
fonts:
TOptional
<TObject
<object
>>
foreground ​
foreground:
TOptional
<TRef
<TString
>>
foregroundAccent ​
foregroundAccent:
TOptional
<TRef
<TString
>>
foregroundSubdued ​
foregroundSubdued:
TOptional
<TRef
<TString
>>
form ​
form:
TOptional
<TObject
<object
>> =FormRules
header ​
header:
TOptional
<TObject
<object
>>
navigation ​
navigation:
TOptional
<TObject
<object
>>
popover ​
popover:
TOptional
<TObject
<object
>>
primary ​
primary:
TOptional
<TRef
<TString
>>
primaryAccent ​
primaryAccent:
TOptional
<TRef
<TString
>>
primaryBackground ​
primaryBackground:
TOptional
<TRef
<TString
>>
primarySubdued ​
primarySubdued:
TOptional
<TRef
<TString
>>
public ​
public:
TOptional
<TObject
<object
>>
secondary ​
secondary:
TOptional
<TRef
<TString
>>
secondaryAccent ​
secondaryAccent:
TOptional
<TRef
<TString
>>
secondaryBackground ​
secondaryBackground:
TOptional
<TRef
<TString
>>
secondarySubdued ​
secondarySubdued:
TOptional
<TRef
<TString
>>
sidebar ​
sidebar:
TOptional
<TObject
<object
>>
success ​
success:
TOptional
<TRef
<TString
>>
successAccent ​
successAccent:
TOptional
<TRef
<TString
>>
successBackground ​
successBackground:
TOptional
<TRef
<TString
>>
successSubdued ​
successSubdued:
TOptional
<TRef
<TString
>>
warning ​
warning:
TOptional
<TRef
<TString
>>
warningAccent ​
warningAccent:
TOptional
<TRef
<TString
>>
warningBackground ​
warningBackground:
TOptional
<TRef
<TString
>>
warningSubdued ​
warningSubdued:
TOptional
<TRef
<TString
>>