From fc5ea6dafe40469371d1d9f193b603e8bed258cd Mon Sep 17 00:00:00 2001 From: "create-issue-branch[bot]" <53036503+create-issue-branch[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 08:32:07 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Bug:=20Theming=20system?= =?UTF-8?q?=20is=20supposed=20to=20work=20but=20is=20having=20issues=20(#3?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com> Co-authored-by: Adam Matthiesen --- .changeset/heavy-houses-jump.md | 5 +++++ package/src/ExpressiveCode/index.ts | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/heavy-houses-jump.md diff --git a/.changeset/heavy-houses-jump.md b/.changeset/heavy-houses-jump.md new file mode 100644 index 0000000..291deb1 --- /dev/null +++ b/.changeset/heavy-houses-jump.md @@ -0,0 +1,5 @@ +--- +"@matthiesenxyz/astro-gists": patch +--- + +bug fix, disable theme system for the moment diff --git a/package/src/ExpressiveCode/index.ts b/package/src/ExpressiveCode/index.ts index f782cd7..9283ff9 100644 --- a/package/src/ExpressiveCode/index.ts +++ b/package/src/ExpressiveCode/index.ts @@ -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()], }) \ No newline at end of file