Merge pull request #5 from Mennaruuk/main
Implement prefers-color-scheme
This commit is contained in:
commit
fc1fcd3031
|
@ -10,7 +10,8 @@
|
|||
<select name="theme">
|
||||
<?php
|
||||
|
||||
$themes = "<option value=\"dark\">Dark</option>
|
||||
$themes = "<option value=\"auto\">Auto</option>
|
||||
<option value=\"dark\">Dark</option>
|
||||
<option value=\"light\">Light</option>
|
||||
<option value=\"nord\">Nord</option>
|
||||
<option value=\"night_owl\">Night Owl</option>
|
||||
|
@ -96,4 +97,4 @@
|
|||
?>
|
||||
</div>
|
||||
|
||||
<?php require "static/footer.html"; ?>
|
||||
<?php require "static/footer.html"; ?>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
@import "dark.css" (prefers-color-scheme: dark);
|
||||
@import "light.css" (prefers-color-scheme: light);
|
Loading…
Reference in New Issue