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:
create-issue-branch[bot] 2024-03-09 08:32:07 -08:00 committed by GitHub
parent 006a8f686e
commit fc5ea6dafe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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()],
})