Skip to content

Commit ff31aa6

Browse files
authored
Merge pull request #41 from soranjiro:feat/theme/new-shopping-quwst
Feat/theme/new-shopping-quwst
2 parents fb62f03 + 376d6f9 commit ff31aa6

34 files changed

Lines changed: 8264 additions & 12 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: "20"
27+
node-version: "22"
2828
cache: "pnpm"
2929

3030
- name: Install dependencies
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Node.js
4949
uses: actions/setup-node@v4
5050
with:
51-
node-version: "20"
51+
node-version: "22"
5252
cache: "pnpm"
5353

5454
- name: Install dependencies

apps/web/src/lib/themes/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export async function loadTheme(themeId: string): Promise<Theme> {
77
return (await import('./standard-autumn')).default;
88
case 'ai-generated':
99
return (await import('./ai-generated')).default;
10+
case 'shopping':
11+
return (await import('./shopping')).default;
12+
case 'pixel-quest':
13+
return (await import('./pixel-quest')).default;
1014
case 'minimal':
1115
default:
1216
return (await import('./minimal')).default;
@@ -24,11 +28,13 @@ const THEME_CATALOG: Array<{ id: AvailableTheme; name: string; description: stri
2428
{ id: 'minimal', name: 'ミニマル', description: '軽量で最低限' },
2529
{ id: 'standard-autumn', name: '標準', description: 'モチーフ秋' },
2630
{ id: 'ai-generated', name: 'AI Generated', description: 'purple' },
31+
{ id: 'shopping', name: '買い物リスト', description: '買い物管理向け' },
32+
{ id: 'pixel-quest', name: 'ピクセルクエスト', description: 'RPG風マップ表示' },
2733
];
2834

2935
export function getAvailableThemes(): Array<{ id: string; name: string; description: string }> {
3036
return THEME_CATALOG;
3137
}
3238

33-
export const availableThemes = ['minimal', 'ai-generated', 'standard-autumn'] as const;
39+
export const availableThemes = ['minimal', 'ai-generated', 'standard-autumn', 'shopping', 'pixel-quest'] as const;
3440
export type AvailableTheme = typeof availableThemes[number];

0 commit comments

Comments
 (0)