Replace SITE_CONFIG, UI_CONFIG, METADATA_CONFIG... to SITE, UI, METADATA...

This commit is contained in:
prototypa
2023-08-22 22:22:53 -04:00
parent 9d23150832
commit da8ef74b38
21 changed files with 83 additions and 83 deletions

View File

@ -1,8 +1,8 @@
---
import { UI_CONFIG } from '~/utils/config';
import { UI } from '~/utils/config';
---
<script is:inline define:vars={{ defaultTheme: UI_CONFIG.theme }}>
<script is:inline define:vars={{ defaultTheme: UI.theme }}>
function applyTheme(theme) {
if (theme === 'dark') {
document.documentElement.classList.add('dark');