File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ export function ThemesHome() {
74
74
< Warpper >
75
75
< ThemesWarpper >
76
76
{ Object . keys ( themeData ) . map ( ( name , idx ) => {
77
- const [ _name , _theme ] = toSnakeCase ( name ) || [ ] ;
77
+ const linkName = ( toSnakeCase ( name ) || [ ] ) . join ( '/' ) ;
78
78
return (
79
- < Link key = { idx } to = { `/theme/data/${ _name } ${ _theme ? `/ ${ _theme } ` : '' } ` } >
79
+ < Link key = { idx } to = { `/theme/data/${ linkName } ` } >
80
80
< ThemeCard >
81
81
< Title > { toTitleCase ( name ) } </ Title >
82
82
< CodeEditor
Original file line number Diff line number Diff line change @@ -454,11 +454,12 @@ export const routes: MenuRouteObject[] = [
454
454
) ,
455
455
} ,
456
456
{
457
- path : 'data/vscode' ,
457
+ path : 'data/vscode/dark ' ,
458
458
label : 'VS Code' ,
459
459
element : (
460
460
< Preview
461
461
themePkg = "@uiw/codemirror-theme-vscode"
462
+ mode = "dark"
462
463
path = { ( ) => import ( '@uiw/codemirror-theme-vscode/README.md' ) }
463
464
/>
464
465
) ,
You can’t perform that action at this time.
0 commit comments