fix(style): prioritize base and custom scss over component css
This commit is contained in:
parent
77b512e381
commit
b0220f5d25
@ -164,7 +164,7 @@ export const ComponentResources: QuartzEmitterPlugin<Options> = (opts?: Partial<
|
|||||||
|
|
||||||
addGlobalPageResources(ctx, resources, componentResources)
|
addGlobalPageResources(ctx, resources, componentResources)
|
||||||
|
|
||||||
const stylesheet = joinStyles(ctx.cfg.configuration.theme, styles, ...componentResources.css)
|
const stylesheet = joinStyles(ctx.cfg.configuration.theme, ...componentResources.css, styles)
|
||||||
const prescript = joinScripts(componentResources.beforeDOMLoaded)
|
const prescript = joinScripts(componentResources.beforeDOMLoaded)
|
||||||
const postscript = joinScripts(componentResources.afterDOMLoaded)
|
const postscript = joinScripts(componentResources.afterDOMLoaded)
|
||||||
const fps = await Promise.all([
|
const fps = await Promise.all([
|
||||||
|
Loading…
Reference in New Issue
Block a user