Skip to content

Commit 4de4373

Browse files
committed
website: update theme menus. #145
1 parent 68963f9 commit 4de4373

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

www/src/router.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ export const routes: MenuRouteObject[] = [
580580
},
581581
{
582582
path: 'data/vscode/dark',
583-
label: 'VS Code',
583+
label: 'VS Code Dark',
584584
element: (
585585
<Preview
586586
themePkg="@uiw/codemirror-theme-vscode"
@@ -589,6 +589,17 @@ export const routes: MenuRouteObject[] = [
589589
/>
590590
),
591591
},
592+
{
593+
path: 'data/vscode/light',
594+
label: 'VS Code Light',
595+
element: (
596+
<Preview
597+
themePkg="@uiw/codemirror-theme-vscode"
598+
mode="light"
599+
path={() => import('@uiw/codemirror-theme-vscode/README.md')}
600+
/>
601+
),
602+
},
592603
{
593604
path: 'data/xcode/light',
594605
label: 'Xcode Light',

0 commit comments

Comments
 (0)