File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
66 < title > </ title >
7- < link rel ="stylesheet " type ="text/css " href ="../css/lazy.css ">
87</ head >
98< body >
109
Original file line number Diff line number Diff line change 3131 </ div >
3232
3333 < div class ="flex-fill text-center ">
34- < a class ="link-body-emphasis text-decoration-none fs-4 " title ="Home Page " href ="homepage_url "> Link Extractor</ a >
35- < span class ="small ">
36- < a class ="link-body-emphasis text-decoration-none " title ="Release Notes " href ="version_url ">
34+ < a class ="link-body-emphasis text-decoration-none fs-4 " title ="Home Page " href ="homepage_url ">
35+ < img src ="../images/logo32.png " alt ="Logo " class ="mb-1 " style ="height: 1.1em; ">
36+ Link Extractor</ a >
37+ < a class ="link-body-emphasis text-decoration-none small " title ="Release Notes " href ="version_url ">
3738 v< span class ="version "> </ span > </ a >
38- </ span >
3939 </ div >
4040
4141 < div class ="">
Original file line number Diff line number Diff line change @@ -10,6 +10,18 @@ link.rel = 'icon'
1010link . href = `${ url . origin } /favicon.ico`
1111document . head . appendChild ( link )
1212
13+ let theme = localStorage . getItem ( 'theme' )
14+ if ( ! theme || theme === 'auto' ) {
15+ theme = window . matchMedia ( '(prefers-color-scheme: dark)' ) . matches
16+ ? 'dark'
17+ : 'light'
18+ }
19+ if ( theme === 'dark' ) {
20+ document . body . style . backgroundColor = '#1c1b21'
21+ } else {
22+ document . body . style . backgroundColor = '#fff'
23+ }
24+
1325window . addEventListener ( 'focus' , ( ) => {
1426 console . log ( 'url:' , url )
1527 window . location = url . href
You can’t perform that action at this time.
0 commit comments