File tree 3 files changed +8
-51
lines changed
3 files changed +8
-51
lines changed Original file line number Diff line number Diff line change 1
1
* .wasm
2
+ .vite
2
3
3
4
# Logs
4
5
logs
Original file line number Diff line number Diff line change 76
76
77
77
return (
78
78
< div >
79
- < div style = { { color : "#4e4e4e" } } > Output format</ div >
79
+ < div style = { { color : "#4e4e4e" , fontSize : 12 } } > Output format</ div >
80
80
< div style = { { display : "flex" , gap : 2 , alignItems : "center" } } >
81
81
{ Object . entries ( FormatNames ) . map ( ( [ f , name ] ) => < OutputFormatButton $selected = { format == f } key = { f } onClick = { ( ) => setFormat ( f as Format ) } > { name } </ OutputFormatButton > ) }
82
82
</ div >
@@ -118,6 +118,11 @@ const OutputFormatButton = styled.button<{ $selected: boolean; }>`
118
118
background: ${ props => props . $selected ? "#c172a9" : "#474747" } ;
119
119
color: ${ props => props . $selected ? "white" : "white" } ;
120
120
border-radius: 4px;
121
+ padding: 6px 10px;
122
+ border: 0;
123
+ outline-offset: 2px;
124
+ cursor: pointer;
125
+ font-size: 14px;
121
126
`
122
127
123
128
const TermContainer = styled . div `
Original file line number Diff line number Diff line change 3
3
line-height : 1.5 ;
4
4
font-weight : 400 ;
5
5
6
- color-scheme : light dark;
7
- color : rgba (255 , 255 , 255 , 0.87 );
8
- background-color : # 242424 ;
9
-
10
6
font-synthesis : none;
11
7
text-rendering : optimizeLegibility;
12
8
-webkit-font-smoothing : antialiased;
20
16
}
21
17
a : hover {
22
18
color : # 535bf2 ;
23
- }
24
-
25
- body {
26
- margin : 0 ;
27
- display : flex;
28
- place-items : center;
29
- min-width : 320px ;
30
- min-height : 100vh ;
31
- }
32
-
33
- h1 {
34
- font-size : 3.2em ;
35
- line-height : 1.1 ;
36
- }
37
-
38
- button {
39
- border-radius : 8px ;
40
- border : 1px solid transparent;
41
- padding : 0.6em 1.2em ;
42
- font-size : 1em ;
43
- font-weight : 500 ;
44
- font-family : inherit;
45
- background-color : # 1a1a1a ;
46
- cursor : pointer;
47
- transition : border-color 0.25s ;
48
- }
49
- button : hover {
50
- border-color : # 646cff ;
51
- }
52
- button : focus ,
53
- button : focus-visible {
54
- outline : 4px auto -webkit-focus-ring-color;
55
- }
56
-
57
- @media (prefers-color-scheme : light) {
58
- : root {
59
- color : # 213547 ;
60
- background-color : # ffffff ;
61
- }
62
- a : hover {
63
- color : # 747bff ;
64
- }
65
- button {
66
- background-color : # f9f9f9 ;
67
- }
68
- }
19
+ }
You can’t perform that action at this time.
0 commit comments