18 lines
390 B
Vue
18 lines
390 B
Vue
<template>
|
|
<wd-config-provider :themeVars="themeVars">
|
|
<slot />
|
|
<wd-toast />
|
|
<wd-message-box />
|
|
</wd-config-provider>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
|
|
|
const themeVars: ConfigProviderThemeVars = {
|
|
// colorTheme: 'red',
|
|
// buttonPrimaryBgColor: '#07c160',
|
|
// buttonPrimaryColor: '#07c160',
|
|
}
|
|
</script>
|