admin design module

This commit is contained in:
developer 2026-03-26 14:17:37 +08:00
parent 5b873e73ea
commit 5f92e67e7f

View File

@ -1,10 +1,9 @@
<?
<?php
use Modules\Main\Models\Design;
define('DESIGN_PARAMETERS', Design::getParameters());
?>
<style>
@if(DESIGN_PARAMETERS['page_color'])
@if(array_key_exists('page_color', DESIGN_PARAMETERS))
#app, html {
background-color: {{ DESIGN_PARAMETERS['page_color'] }};
}