File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 31
31
--chart-5 : 27 87% 67% ;
32
32
--graph : # 3f3f46 ;
33
33
--graph-group : # a1a1aa ;
34
+ --graph-bg : # fafafa ;
34
35
}
35
36
36
37
.dark {
60
61
--chart-5 : 340 75% 55% ;
61
62
--graph : # d4d4d8 ;
62
63
--graph-group : # 52525b ;
64
+ --graph-bg : # 111111 ;
63
65
}
64
66
}
65
67
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import legends from './legends'
4
4
function Legend ( ) {
5
5
const { t } = useTranslation ( )
6
6
return (
7
- < div className = "divide-y-2 *:py-4 first:*:pt-0 last:*:pb-0" >
7
+ < div className = "divide-y *:py-4 first:*:pt-0 last:*:pb-0" >
8
8
{ /* TODO move the tip to the graph */ }
9
9
{ /* <div className="tip">
10
10
<ArrowLeftCircle size={14} />
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ function Home() {
123
123
< div
124
124
className = "flex-1 flex min-h-0"
125
125
>
126
- < div className = { clsx ( 'flex-1 relative flex flex-col min-w-0' , { 'justify-center' : ! graphShow } ) } >
126
+ < div className = { clsx ( 'flex-1 relative flex flex-col min-w-0 bg-graph-bg ' , { 'justify-center' : ! graphShow } ) } >
127
127
{ graphShow && (
128
128
< ScrollArea className = "flex-1 min-h-0 h-full" >
129
129
< div className = "flex items-center justify-center p-8 h-full" >
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ function Samples() {
37
37
const { t } = useTranslation ( )
38
38
return (
39
39
< ScrollArea className = "flex-1" >
40
- < div >
41
- < div className = "max-w-7xl my-0 mx-auto p-6 flex flex-col space-y-12 " >
40
+ < div className = "bg-graph-bg" >
41
+ < div className = "max-w-7xl my-0 mx-auto p-6 flex flex-col space-y-14 " >
42
42
{ samples . map ( ( { desc, label, regex } ) => {
43
43
const linkTo = `/?r=${ encodeURIComponent ( `/${ regex } /` ) } `
44
44
return (
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export default {
55
55
} ,
56
56
'graph' : 'var(--graph)' ,
57
57
'graph-group' : 'var(--graph-group)' ,
58
+ 'graph-bg' : 'var(--graph-bg)' ,
58
59
} ,
59
60
borderRadius : {
60
61
lg : 'var(--radius)' ,
You can’t perform that action at this time.
0 commit comments