Renderer style is set to initial (all: initial;) to avoid affecting Vue Designer style for the user component. But initial leads unexpected behavior for some css properties such as font-family - the font-family is always serif even if the user set font-family: sans-serif; to <body> on their shared style.
To handle such situation, we should use unset css value instead of initial so that inherited properties (e.g. font-family) will be set to inherit.
Renderer style is set to initial (
all: initial;
) to avoid affecting Vue Designer style for the user component. Butinitial
leads unexpected behavior for some css properties such asfont-family
- the font-family is always serif even if the user setfont-family: sans-serif;
to<body>
on their shared style.To handle such situation, we should use
unset
css value instead ofinitial
so that inherited properties (e.g.font-family
) will be set toinherit
.