{@ // PHP Variables }
{@
$li = $layout_info;
// 컬러모드 구분을 위한 쿠키 체크
if(!$layout_info->color_scheme && $_COOKIE['is_dark_theme'])
$color_scheme = $_COOKIE['is_dark_theme'];
// 컬러 모드
if($color_scheme !== "light")
$is_darkmode = $color_scheme;
// theme 선언
$theme = new theme();
$theme->variables = $theme->getVariables($is_darkmode);
// 컬러 모드를 변수로 전달
$theme->variables['dark-mode'] = $is_darkmode;
// 레이아웃 설정을 변수로 전달
if($layout_info->primary_color)
$theme->variables['color-primary'] = $layout_info->primary_color;
}
{@
$theme->variables['font-family'] = "'Noto Sans KR', 'Noto Sans Korean', -apple-system, 'SF Pro Display', 'Helvetica Neue', 'Apple SD Gothic Neo', 'Roboto', 'Noto Sans KR', 'Malgun Gothic', sans-serif";
}
{@
$theme->variables['font-family'] = "-apple-system, 'SF Pro Display', 'Helvetica Neue', 'Apple SD Gothic Neo', 'Roboto', 'Noto Sans KR', 'Malgun Gothic', sans-serif";
}
{@ // JS }
{@ // CSS }
{@ // COMPONENTS }
{@ // 외부 라이브러리 }