Skip to content

Commit

Permalink
fix(style): prioritize base and custom scss over component css
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Oct 22, 2023
1 parent 54e722a commit 1e357ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/plugins/emitters/componentResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const ComponentResources: QuartzEmitterPlugin<Options> = (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([
Expand Down

0 comments on commit 1e357ef

Please sign in to comment.