File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 150150 flex : 0 0 273px ;
151151 box-sizing : border-box ;
152152 overflow : hidden ;
153- background-color : #343a40 ;
153+ background-color : $gray-10 ;
154+
155+ & .darkMode {
156+ background-color : $gray-2 ;
157+ }
154158
155159 @media screen and (height <= 700px ) {
156160 flex : 0 0 200px ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { useCollaborationStore } from '@/stores/collaborationStore';
99import { useAuthStore } from '@/stores/authStore' ;
1010import { useFileContentLoader } from '@/hooks/repo/useFileContentLoader' ;
1111import { useYjsSavePoint } from '@/hooks/repo/useYjsSavePoint' ;
12+ import { useThemeStore } from '@/stores/themeStore' ;
1213import Loading from '@/components/molecules/Loading/Loading' ;
1314import styles from './RepoPage.module.scss' ;
1415import TabBar from '@/components/organisms/TabBar/TabBar' ;
@@ -38,6 +39,7 @@ export function RepoPage() {
3839 const search = useSearch ( { strict : false } ) ;
3940 const repoId = params . repoId ;
4041 const filePath = search . file ;
42+ const { isDarkMode } = useThemeStore ( ) ;
4143
4244 const {
4345 openTabs,
@@ -358,7 +360,7 @@ export function RepoPage() {
358360 </ div >
359361 </ div >
360362
361- < div className = { styles . terminalSection } >
363+ < div className = { ` ${ styles . terminalSection } ${ isDarkMode ? styles . darkMode : '' } ` } >
362364 < CodeRunner
363365 repoId = { repoId }
364366 repositoryName = { repositoryInfo ?. repositoryName }
You can’t perform that action at this time.
0 commit comments