@@ -26,7 +26,7 @@ export default function Explorer({
2626 const { platformApi } = usePlatformApi ( ) ;
2727 const [ isProjectSettingsModalOpen , setIsProjectSettingsModalOpen ] =
2828 useState ( false ) ;
29- const { openFileView} = useViewManager ( ) ;
29+ const { openFileView } = useViewManager ( ) ;
3030
3131 const rootGroupRef = useRef < TreeViewGroupRef | null > ( null ) ;
3232
@@ -123,7 +123,7 @@ export default function Explorer({
123123 // Choose project home path
124124 if ( ! editorContext ?. persistSettings ?. projectHomePath ) {
125125 return (
126- < div className = "h-full w-full space-y-2 bg-content2 p-4" >
126+ < div className = "bg-content2 h-full w-full space-y-2 p-4" >
127127 < p >
128128 You have not set a project home path yet. Please set a project home
129129 path to continue. All your projects will be saved in this directory.
@@ -143,14 +143,14 @@ export default function Explorer({
143143 // Browse inside a project
144144 if ( editorContext ?. editorStates . project ) {
145145 return (
146- < div className = "relative h-full w-full bg-content2 px-4 py-2" >
146+ < div className = "bg-content2 relative h-full w-full px-4 py-2" >
147147 { editorContext . editorStates . projectContent ?. length === 0 && (
148- < div className = "pointer-events-none absolute left -0 top -0 m-0 flex h-full w-full flex-col items-center justify-center pb-16" >
148+ < div className = "pointer-events-none absolute top -0 left -0 m-0 flex h-full w-full flex-col items-center justify-center pb-16" >
149149 < p > Empty content. Create a new file to get started.</ p >
150150 </ div >
151151 ) }
152152 < div className = "flex h-full w-full flex-col space-y-2" >
153- < div className = "flex h-10 w-full items-center rounded-xl bg-default px-3 text-default-foreground " >
153+ < div className = "bg-default text-default-foreground flex h-10 w-full items-center rounded-xl px-3" >
154154 < div className = "flex w-full" >
155155 < Button
156156 isIconOnly
@@ -166,7 +166,11 @@ export default function Explorer({
166166 size = "sm"
167167 onPress = { startCreatingNewFile }
168168 >
169- < Icon uri = "/icons/add-file" className = "-translate-x-0.5" />
169+ < Icon
170+ uri = "/icons/add-file"
171+ className = "-translate-x-0.5"
172+ isThemed
173+ />
170174 </ Button >
171175 </ div >
172176 < div className = "flex" >
@@ -201,7 +205,7 @@ export default function Explorer({
201205 // Pick project
202206 else {
203207 return (
204- < div className = "h-full w-full space-y-2 overflow-y-auto bg-content2 p-4" >
208+ < div className = "bg-content2 h-full w-full space-y-2 overflow-y-auto p-4" >
205209 < Button
206210 className = "w-full"
207211 onPress = { ( ) => {
0 commit comments