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,7 +1,7 @@
---
import { Icon } from 'astro-icon/components';
import { UI_CONFIG } from '~/utils/config';
import { UI } from '~/utils/config';
export interface Props {
label?: string;
@@ -20,7 +20,7 @@ const {
---
{
!(UI_CONFIG.theme && UI_CONFIG.theme.endsWith(':only')) && (
!(UI.theme && UI.theme.endsWith(':only')) && (
<button type="button" class={className} aria-label={label} data-aw-toggle-color-scheme>
<Icon name={iconName} class={iconClass} />
</button>