fix: 🐛 Bug: Theming system is supposed to work but is having issues (#33)
Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com> Co-authored-by: Adam Matthiesen <amatthiesen@outlook.com>
This commit is contained in:
parent
006a8f686e
commit
fc5ea6dafe
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@matthiesenxyz/astro-gists": patch
|
||||
---
|
||||
|
||||
bug fix, disable theme system for the moment
|
|
@ -1,11 +1,11 @@
|
|||
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
|
||||
import { ExpressiveCode } from 'expressive-code'
|
||||
import config from "virtual:astro-gists/config";
|
||||
import { loadTheme } from "./theming";
|
||||
// import config from "virtual:astro-gists/config";
|
||||
// import { loadTheme } from "./theming";
|
||||
|
||||
export { default as Code } from './components/Code.astro'
|
||||
|
||||
export const engine = new ExpressiveCode({
|
||||
themes: await loadTheme(config.theme),
|
||||
//themes: await loadTheme(config.theme),
|
||||
plugins: [pluginLineNumbers()],
|
||||
})
|
Loading…
Reference in New Issue