Commented out unused imports and disabled loading of themes

This commit is contained in:
Adam Matthiesen 2024-03-09 08:31:51 -08:00
parent 932fe925ea
commit 90ff102900
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
"@matthiesenxyz/astro-gists": patch
---
bug fix, disable theme system for the moment

View File

@ -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()],
})