@@ -85,15 +85,15 @@ const EditorTabBar: React.FC<EditorTabBarProps> = ({
85
85
) ;
86
86
return (
87
87
< >
88
- < div className = "flex bg-gray-900 " >
88
+ < div className = "flex bg-gray-50 dark:bg-gray-950 " >
89
89
< div className = "flex-1" >
90
90
{ tabs . map ( tab => (
91
91
< button
92
92
key = { tab . value }
93
93
className = { classNames (
94
94
tab . value === activeTab
95
- ? 'bg-[#1E1E1E] text-gray-200 '
96
- : 'text-gray-400 hover:text-gray-300 hover:bg-gray-800 active:bg-gray-800 ' ,
95
+ ? 'bg-gray-200 dark:bg-gray-800 text-gray-900 dark:text-gray-100 '
96
+ : 'text-gray-500 hover:text-gray-600 dark: hover:text-gray-400 hover: bg-gray-100 dark:hover:bg-gray-900 active:bg-gray-100 dark:active:bg-gray-900 ' ,
97
97
'px-4 py-2 font-medium text-sm focus:outline-none transition'
98
98
) }
99
99
onClick = { ( ) => onTabSelect ( tab ) }
@@ -103,19 +103,24 @@ const EditorTabBar: React.FC<EditorTabBarProps> = ({
103
103
) ) }
104
104
</ div >
105
105
</ div >
106
- < div className = { 'flex bg-gray-900' } >
106
+ < div
107
+ className = {
108
+ 'flex bg-gray-100 dark:bg-gray-900 text-gray-600 dark:text-gray-400'
109
+ }
110
+ >
107
111
< button
108
- className = {
109
- 'text-gray-400 hover:text-gray-300 hover:bg-gray-800 active:bg-gray-800 px-3 py-2 text-sm font-medium focus:outline-none transition'
110
- }
112
+ className = { classNames (
113
+ 'hover:text-gray-800 dark:hover:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-800 active:bg-gray-200 dark:active:bg-gray-800' ,
114
+ 'px-3 py-2 text-sm font-medium focus:outline-none transition'
115
+ ) }
111
116
onClick = { ( ) => setOpen ( true ) }
112
- type = { ' button' }
117
+ type = " button"
113
118
>
114
119
Generate Quiz
115
120
</ button >
116
121
< button
117
122
className = { classNames (
118
- 'text-gray-400 hover:text-gray-300 hover:bg-gray-800 active:bg-gray-800' ,
123
+ 'hover: text-gray-800 dark: hover:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray- 800 active:bg-gray-200 dark: active:bg-gray-800' ,
119
124
'px-3 py-2 font-medium text-sm focus:outline-none transition'
120
125
) }
121
126
onClick = { ( ) => onFormatCode ( ) }
@@ -125,7 +130,7 @@ const EditorTabBar: React.FC<EditorTabBarProps> = ({
125
130
{ useAtomValue ( tabAtom ) === 'problems' && (
126
131
< button
127
132
className = { classNames (
128
- 'text-gray-400 hover:text-gray-300 hover:bg-gray-800 active:bg-gray-800' ,
133
+ 'hover: text-gray-800 dark: hover:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray- 800 active:bg-gray-200 dark: active:bg-gray-800' ,
129
134
'px-3 py-2 font-medium text-sm focus:outline-none transition'
130
135
) }
131
136
onClick = { ( ) => setDialogOpen ( true ) }
@@ -136,7 +141,7 @@ const EditorTabBar: React.FC<EditorTabBarProps> = ({
136
141
{ githubInfo && octokit && file && branch && (
137
142
< button
138
143
className = { classNames (
139
- 'text-gray-400 hover:text-gray-300 hover:bg-gray-800 active:bg-gray-800' ,
144
+ 'hover: text-gray-800 dark: hover:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray- 800 active:bg-gray-200 dark: active:bg-gray-800' ,
140
145
'px-3 py-2 font-medium text-sm focus:outline-none transition'
141
146
) }
142
147
onClick = { ( ) => updateFile ( file ) }
0 commit comments