Skip to content

Commit a9ad3dd

Browse files
fix: 664 cant select xcode light and dark themes (#665)
* fix: fix xcode theme id in theme registry * docs(changeset): fix: fix xcode theme id in theme registry
1 parent faf2fb8 commit a9ad3dd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/shy-rabbits-travel.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codeimage/app': patch
3+
---
4+
5+
fix: fix xcode theme id in theme registry

apps/codeimage/src/state/theme/themeRegistry.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
1717
load: () => import('@codeimage/highlight/themes').then(m => m.vsCodeDarkTheme),
1818
},
1919
{
20-
id: 'xcodeDarkTheme',
20+
id: 'xCodeDark',
2121
// prettier-ignore
2222
load: () => import('@codeimage/highlight/themes').then(m => m.xCodeDarkTheme),
2323
},
@@ -42,7 +42,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
4242
load: () => import('@codeimage/highlight/themes').then(m => m.draculaTheme),
4343
},
4444
{
45-
id: 'xcodeLightTheme',
45+
id: 'xCodeLight',
4646
// prettier-ignore
4747
load: () => import('@codeimage/highlight/themes').then(m => m.xCodeLightTheme),
4848
},
@@ -82,7 +82,7 @@ export const THEME_REGISTRY: ReadonlyArray<ThemeRegistryEntry> = [
8282
load: () => import('@codeimage/highlight/themes').then(m => m.auraTheme),
8383
},
8484
{
85-
id: 'light',
85+
id: 'oneLight',
8686
// prettier-ignore
8787
load: () => import('@codeimage/highlight/themes').then(m => m.lightTheme),
8888
},

0 commit comments

Comments
 (0)