diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts index 5cb34804f..116e4e3e0 100644 --- a/quartz/plugins/emitters/componentResources.ts +++ b/quartz/plugins/emitters/componentResources.ts @@ -164,7 +164,7 @@ export const ComponentResources: QuartzEmitterPlugin = (opts?: Partial< 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 postscript = joinScripts(componentResources.afterDOMLoaded) const fps = await Promise.all([