StylesConfig
reexport
interface
StylesConfig
{
 Â
baseStyle
?
:
Readonly
<
MixedStyleDeclaration
>
;
 Â
classesStyles
?
:
Readonly
<
Record
<
string
,
MixedStyleDeclaration
>
>
;
 Â
enableCSSInlineProcessing
?
:
boolean
;
 Â
enableUserAgentStyles
?
:
boolean
;
 Â
idsStyles
?
:
Readonly
<
Record
<
string
,
MixedStyleDeclaration
>
>
;
 Â
tagsStyles
?
:
Readonly
<
Record
<
string
,
MixedStyleDeclaration
>
>
;
}
Defined in
@native-html/transient-render-engine
#
FieldsbaseStyle
#
optional
Style for the root element. Inheritable properties will be transferred recursively to child nodes, including text styles.
Remarks
Non-inheritable properties will be ignored.
classesStyles
#
optional
Styles from classes.
Remarks
Classes styles have a specificity of 10, in compliance with the CSS standard.
enableCSSInlineProcessing
#
optional
enableCSSInlineProcessing
?
:
boolean
;
Enable or disable inline styles.
Default: true
enableUserAgentStyles
#
optional
enableUserAgentStyles
?
:
boolean
;
Enable or disable default styles for tags.
Default: false
idsStyles
#
optional
Styles from ids.
Remarks
Ids styles have a specificity of 100, in compliance with the CSS standard.
tagsStyles
#
optional
Custom styles for tags.
Remarks
Tags styles have a specificity of 1, in compliance with the CSS standard.