File tree Expand file tree Collapse file tree 3 files changed +8
-51
lines changed Expand file tree Collapse file tree 3 files changed +8
-51
lines changed Original file line number Diff line number Diff line change 11* .wasm
2+ .vite
23
34# Logs
45logs
Original file line number Diff line number Diff line change 7676
7777 return (
7878 < div >
79- < div style = { { color : "#4e4e4e" } } > Output format</ div >
79+ < div style = { { color : "#4e4e4e" , fontSize : 12 } } > Output format</ div >
8080 < div style = { { display : "flex" , gap : 2 , alignItems : "center" } } >
8181 { Object . entries ( FormatNames ) . map ( ( [ f , name ] ) => < OutputFormatButton $selected = { format == f } key = { f } onClick = { ( ) => setFormat ( f as Format ) } > { name } </ OutputFormatButton > ) }
8282 </ div >
@@ -118,6 +118,11 @@ const OutputFormatButton = styled.button<{ $selected: boolean; }>`
118118 background: ${ props => props . $selected ? "#c172a9" : "#474747" } ;
119119 color: ${ props => props . $selected ? "white" : "white" } ;
120120 border-radius: 4px;
121+ padding: 6px 10px;
122+ border: 0;
123+ outline-offset: 2px;
124+ cursor: pointer;
125+ font-size: 14px;
121126`
122127
123128const TermContainer = styled . div `
Original file line number Diff line number Diff line change 33 line-height : 1.5 ;
44 font-weight : 400 ;
55
6- color-scheme : light dark;
7- color : rgba (255 , 255 , 255 , 0.87 );
8- background-color : # 242424 ;
9-
106 font-synthesis : none;
117 text-rendering : optimizeLegibility;
128 -webkit-font-smoothing : antialiased;
2016}
2117a : hover {
2218 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