Skip to content

Commit

Permalink
fix: fixes an issue preventing users from customizing Expressive Code…
Browse files Browse the repository at this point in the history
… settings
  • Loading branch information
HiDeoo committed Oct 4, 2024
1 parent ee200d4 commit ae89ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/starlight-theme-rapide/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function starlightThemeRapidePlugin(): StarlightPlugin {
config.expressiveCode === false
? false
: {
...(typeof config.expressiveCode === 'object' ? config.expressiveCode : {}),
styleOverrides: {
borderColor: 'var(--sl-rapide-ui-border-color)',
borderRadius: '0.5rem',
Expand All @@ -44,6 +43,7 @@ export default function starlightThemeRapidePlugin(): StarlightPlugin {
},
},
themes: ['vitesse-dark', 'vitesse-light'],
...(typeof config.expressiveCode === 'object' ? config.expressiveCode : {}),
},
})
},
Expand Down

0 comments on commit ae89ffe

Please sign in to comment.