Skip to content

Commit

Permalink
website: update theme menus. #145
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 7, 2024
1 parent 68963f9 commit 4de4373
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion www/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export const routes: MenuRouteObject[] = [
},
{
path: 'data/vscode/dark',
label: 'VS Code',
label: 'VS Code Dark',
element: (
<Preview
themePkg="@uiw/codemirror-theme-vscode"
Expand All @@ -589,6 +589,17 @@ export const routes: MenuRouteObject[] = [
/>
),
},
{
path: 'data/vscode/light',
label: 'VS Code Light',
element: (
<Preview
themePkg="@uiw/codemirror-theme-vscode"
mode="light"
path={() => import('@uiw/codemirror-theme-vscode/README.md')}
/>
),
},
{
path: 'data/xcode/light',
label: 'Xcode Light',
Expand Down

1 comment on commit 4de4373

@jaywcjlove
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.