File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ export function ThemesHome() {
7474 < Warpper >
7575 < ThemesWarpper >
7676 { Object . keys ( themeData ) . map ( ( name , idx ) => {
77- const [ _name , _theme ] = toSnakeCase ( name ) || [ ] ;
77+ const linkName = ( toSnakeCase ( name ) || [ ] ) . join ( '/' ) ;
7878 return (
79- < Link key = { idx } to = { `/theme/data/${ _name } ${ _theme ? `/ ${ _theme } ` : '' } ` } >
79+ < Link key = { idx } to = { `/theme/data/${ linkName } ` } >
8080 < ThemeCard >
8181 < Title > { toTitleCase ( name ) } </ Title >
8282 < CodeEditor
Original file line number Diff line number Diff line change @@ -454,11 +454,12 @@ export const routes: MenuRouteObject[] = [
454454 ) ,
455455 } ,
456456 {
457- path : 'data/vscode' ,
457+ path : 'data/vscode/dark ' ,
458458 label : 'VS Code' ,
459459 element : (
460460 < Preview
461461 themePkg = "@uiw/codemirror-theme-vscode"
462+ mode = "dark"
462463 path = { ( ) => import ( '@uiw/codemirror-theme-vscode/README.md' ) }
463464 />
464465 ) ,
You can’t perform that action at this time.
0 commit comments