1111 < link rel ="stylesheet " type ="text/css " href ="../static/main.css ">
1212
1313 < link rel ="shortcut icon " href ="../static/favicon.ico ">
14-
14+
15+ < script >
16+ // Inline script to set theme before the rest of the document loads
17+ ( function ( ) {
18+ const currentTheme = localStorage . getItem ( 'theme' ) ;
19+ if ( currentTheme ) {
20+ document . documentElement . classList . add ( currentTheme ) ;
21+ }
22+ } ) ( ) ;
23+ </ script >
1524</ head >
1625< body class ="rustdoc ">
17- <!--[if lte IE 8]>
18- <div class="warning">
19- This old browser is unsupported and will most likely display funky
20- things.
21- </div>
22- <![endif]-->
23-
2426< section class ="sidebar ">
2527 < a href ='../index.html '> < img src ='../static/eluna-logo.png ' alt ='Eluna Logo ' width ='100 '> </ a >
2628 < div class ="block ">
@@ -44,11 +46,26 @@ <h2>Aura Methods</h2>
4446
4547< nav class ="sub ">
4648 < form class ="search-form js-only ">
47- < div class ="search-container ">
48- < input class ="search-input " name ="search "
49- autocomplete ="off "
50- placeholder ="Click or press 'S' to search, '?' for more options... "
51- type ="search ">
49+ < input class ="search-input " name ="search "
50+ autocomplete ="off "
51+ placeholder ="Click or press 'S' to search, '?' for more options... "
52+ type ="search ">
53+
54+ < div class ="toggle-container " id ="themeToggle ">
55+ < svg class ="sun-icon " xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
56+ < circle cx ="12 " cy ="12 " r ="5 "> </ circle >
57+ < line x1 ="12 " y1 ="1 " x2 ="12 " y2 ="3 "> </ line >
58+ < line x1 ="12 " y1 ="21 " x2 ="12 " y2 ="23 "> </ line >
59+ < line x1 ="4.22 " y1 ="4.22 " x2 ="5.64 " y2 ="5.64 "> </ line >
60+ < line x1 ="18.36 " y1 ="18.36 " x2 ="19.78 " y2 ="19.78 "> </ line >
61+ < line x1 ="1 " y1 ="12 " x2 ="3 " y2 ="12 "> </ line >
62+ < line x1 ="21 " y1 ="12 " x2 ="23 " y2 ="12 "> </ line >
63+ < line x1 ="4.22 " y1 ="19.78 " x2 ="5.64 " y2 ="18.36 "> </ line >
64+ < line x1 ="18.36 " y1 ="5.64 " x2 ="19.78 " y2 ="4.22 "> </ line >
65+ </ svg >
66+ < svg class ="moon-icon " xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
67+ < path d ="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z "> </ path >
68+ </ svg >
5269 </ div >
5370 </ form >
5471</ nav >
@@ -137,6 +154,7 @@ <h1>Search tricks</h1>
137154</ script >
138155< script src ="../static/jquery.js "> </ script >
139156< script src ="../static/main.js "> </ script >
157+ < script src ="../static/theme.js "> </ script >
140158< script async src ="../search-index.js "> </ script >
141159< center > Generated on < script src ="../date.js "> </ script > </ center >
142160< center > © 2010 - 2024 Eluna Lua Engine</ center >
0 commit comments