File tree Expand file tree Collapse file tree 13 files changed +118
-29
lines changed Expand file tree Collapse file tree 13 files changed +118
-29
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,9 @@ const InlineCondition: FCC<{
106
106
title ?: string
107
107
} > = ( { title, children } ) => (
108
108
< div className = "min-w-[5em] text-lg leading-none" >
109
- < span className = "text-zinc-500 mr-0.5 tabular-nums font-bold" >
109
+ < span className = "text-zinc-500 dark:text-slate-100 mr-0.5 tabular-nums font-bold" >
110
110
{ children }
111
111
</ span >
112
- < span className = "text-zinc-400 text-xs" > { title } </ span >
112
+ < span className = "text-zinc-400 dark:text-slate-200 text-xs" > { title } </ span >
113
113
</ div >
114
114
)
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ export const FactItem: FCC<{
19
19
className ,
20
20
) }
21
21
>
22
- { icon && < Icon icon = { icon } className = "mr-2 text-zinc-500" /> }
23
- < div className = "text-sm mr-2 text-zinc-500" > { title } </ div >
22
+ { icon && < Icon icon = { icon } className = "mr-2 text-zinc-500 dark:text-slate-100 " /> }
23
+ < div className = "text-sm mr-2 text-zinc-500 dark:text-slate-100 " > { title } </ div >
24
24
{ children }
25
25
</ div >
26
26
)
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const HelperText: FCC<{
22
22
}
23
23
24
24
return (
25
- < div className = { clsx ( 'flex text-gray-600 text-xs items-center' , className ) } >
25
+ < div className = { clsx ( 'flex text-gray-600 dark:text-zinc-400 text-xs items-center' , className ) } >
26
26
< Icon icon = "info-sign" size = { 12 } className = "mr-1.5" />
27
27
< div > { child ( ) } </ div >
28
28
</ div >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export const NeoOperationCard = ({ operation }: { operation: Operation }) => {
61
61
/>
62
62
</ div >
63
63
< div >
64
- < div className = "text-sm text-zinc-600 mb-2 font-bold" >
64
+ < div className = "text-sm text-zinc-600 dark:text-slate-100 mb-2 font-bold" >
65
65
干员/干员组
66
66
</ div >
67
67
< OperatorTags operation = { operation } />
@@ -187,7 +187,7 @@ export const OperationCard = ({ operation }: { operation: Operation }) => {
187
187
/>
188
188
</ div >
189
189
< div className = "md:w-1/2" >
190
- < div className = "text-sm text-zinc-600 mb-2 font-bold" >
190
+ < div className = "text-sm text-zinc-600 dark:text-slate-100 mb-2 font-bold" >
191
191
干员/干员组
192
192
</ div >
193
193
< OperatorTags operation = { operation } />
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const NavAside = () => {
23
23
< div className = "flex-col w-full" key = { link . to } >
24
24
< NavLink
25
25
to = { link . to }
26
- className = "text-sm text-zinc-600 !no-underline"
26
+ className = "text-sm text-zinc-600 dark:text-slate-100 !no-underline"
27
27
onClick = { ( ) => toggleNav ( ) }
28
28
>
29
29
{ ( { isActive } ) => (
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const DifficultyTag: FC<{
32
32
'transition border border-solid !text-xs cursor-help tracking-tight !px-2 !py-1 !mx-1 !my-1 leading-none !min-h-0' ,
33
33
hardLevel
34
34
? 'bg-red-400 hover:bg-red-500 border-red-700 text-red-900'
35
- : 'bg-slate-200 hover:bg-slate-300 border-slate-300 text-slate-700' ,
35
+ : 'bg-slate-200 hover:bg-slate-300 border-slate-300 text-slate-700 dark:bg-slate-900 dark:text-slate-100 ' ,
36
36
) }
37
37
>
38
38
{ content }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const NeoELevel: FC<{
20
20
}
21
21
22
22
return (
23
- < Tag className = "transition border border-solid !text-xs tracking-tight !px-2 !py-1 !my-1 leading-none !min-h-0 bg-slate-200 border-slate-300 text-slate-700" >
23
+ < Tag className = "transition border border-solid !text-xs tracking-tight !px-2 !py-1 !my-1 leading-none !min-h-0 bg-slate-200 border-slate-300 text-slate-700 dark:bg-slate-900 dark:text-slate-100 " >
24
24
< div className = "flex items-center" >
25
25
< div className = "flex whitespace-pre" >
26
26
< span className = "inline-block font-bold my-auto" > { catThree } </ span >
@@ -47,7 +47,7 @@ export const ELevel: FC<{
47
47
}
48
48
49
49
return (
50
- < Tag className = "transition border border-solid !text-xs tracking-tight !p-1 leading-none !min-h-0 bg-slate-200 border-slate-300 text-slate-700 " >
50
+ < Tag className = "transition border border-solid !text-xs tracking-tight !p-1 leading-none !min-h-0 dark: bg-slate-900 dark: text-slate-100 " >
51
51
< div className = "flex items-center mx-1" >
52
52
< div className = "flex flex-col mr-2" >
53
53
< H4 className = "inline-block font-bold my-auto" > { catThree } </ H4 >
Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ export const OperationRating: FC<{
80
80
layout === 'horizontal' ? IconSize . STANDARD : IconSize . LARGE
81
81
}
82
82
icon = "star-empty"
83
- className = "text-zinc-600"
83
+ className = "text-zinc-600 dark:text-slate-100 "
84
84
/>
85
85
}
86
86
readonly
87
87
/>
88
88
) }
89
89
< div
90
90
className = { clsx (
91
- 'text-sm text-zinc-500' ,
91
+ 'text-sm text-zinc-500 dark:text-slate-100 ' ,
92
92
layout === 'horizontal' && ! operation . notEnoughRating && 'mr-1.5' ,
93
93
) }
94
94
>
Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ function OperationSetViewerInner({
219
219
220
220
< div className = "flex flex-col items-start select-none tabular-nums" >
221
221
< FactItem title = "发布于" icon = "time" >
222
- < span className = "text-gray-800 font-bold" >
222
+ < span className = "text-gray-800 dark:text-slate-100 font-bold" >
223
223
< RelativeTime moment = { operationSet . createTime } />
224
224
</ span >
225
225
</ FactItem >
226
226
227
227
< FactItem title = "作者" icon = "user" >
228
- < span className = "text-gray-800 font-bold" >
228
+ < span className = "text-gray-800 dark:text-slate-100 font-bold" >
229
229
{ operationSet . creator }
230
230
</ span >
231
231
</ FactItem >
Original file line number Diff line number Diff line change @@ -339,17 +339,17 @@ function OperationViewerInner({
339
339
340
340
< div className = "flex flex-col items-start select-none tabular-nums" >
341
341
< FactItem title = "浏览量" icon = "eye-open" >
342
- < span className = "text-gray-800 font-bold" > { operation . views } </ span >
342
+ < span className = "text-gray-800 dark:text-slate-100 font-bold" > { operation . views } </ span >
343
343
</ FactItem >
344
344
345
345
< FactItem title = "发布于" icon = "time" >
346
- < span className = "text-gray-800 font-bold" >
346
+ < span className = "text-gray-800 dark:text-slate-100 font-bold" >
347
347
< RelativeTime moment = { operation . uploadTime } />
348
348
</ span >
349
349
</ FactItem >
350
350
351
351
< FactItem title = "作者" icon = "user" >
352
- < span className = "text-gray-800 font-bold" >
352
+ < span className = "text-gray-800 dark:text-slate-100 font-bold" >
353
353
{ operation . uploader }
354
354
</ span >
355
355
</ FactItem >
You can’t perform that action at this time.
0 commit comments