Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-08 22:08:01 +00:00
parent 890a59fc8a
commit 3e2a5551dc

View File

@ -33,14 +33,26 @@ if(isset($_POST['delete_account'])) {
.body {
<?=$theme_dark?>
}
<?php for ($i = 0; $i < count($themes_dark); $i++) { echo "#palette" . $i . " { " . $themes_dark[$i] . " } "; }?>
<?php
for ($i = 0; $i < count($themes_dark); $i++) {
echo "#palette" . $i . " { ";
echo $themes_dark[$i];
echo " } ";
}
?>
}
@media (prefers-color-scheme: light) {
.body {
<?=$theme_light?>
}
}
<?php for ($i = 0; $i < count($themes_light); $i++) { echo "#palette" . $i . " { " . $themes_light[$i] . " } "; }?>
<?php
for ($i = 0; $i < count($themes_light); $i++) {
echo "#palette" . $i . " { ";
echo $themes_light[$i];
echo " } ";
}
?>
</style>
<link rel="icon" href="src/img/favicon.ico">
<title><?=$title?></title>