Skip to content

Commit

Permalink
fix: 664 cant select xcode light and dark themes (#665)
Browse files Browse the repository at this point in the history
* fix: fix xcode theme id in theme registry

* docs(changeset): fix: fix xcode theme id in theme registry
  • Loading branch information
riccardoperra authored Jan 5, 2025
1 parent faf2fb8 commit a9ad3dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-rabbits-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@codeimage/app': patch
---

fix: fix xcode theme id in theme registry
6 changes: 3 additions & 3 deletions apps/codeimage/src/state/theme/themeRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
load: () => import('@codeimage/highlight/themes').then(m => m.vsCodeDarkTheme),
},
{
id: 'xcodeDarkTheme',
id: 'xCodeDark',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.xCodeDarkTheme),
},
Expand All @@ -42,7 +42,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
load: () => import('@codeimage/highlight/themes').then(m => m.draculaTheme),
},
{
id: 'xcodeLightTheme',
id: 'xCodeLight',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.xCodeLightTheme),
},
Expand Down Expand Up @@ -82,7 +82,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
load: () => import('@codeimage/highlight/themes').then(m => m.auraTheme),
},
{
id: 'light',
id: 'oneLight',
// prettier-ignore
load: () => import('@codeimage/highlight/themes').then(m => m.lightTheme),
},
Expand Down

0 comments on commit a9ad3dd

Please sign in to comment.