Set Aura as default

pull/6462/head
Cagatay Civici 2024-09-23 13:43:23 +03:00
parent e3a8183eec
commit 1bdb60f963
3 changed files with 2791 additions and 2698 deletions

View File

@ -1,4 +1,4 @@
<template>
a<template>
<div class="config-panel hidden">
<div class="config-panel-content">
<div class="config-panel-colors">

View File

@ -1,3 +1,5 @@
import AppTheme from '@/themes/app-theme';
import PrimeVue from 'primevue/config';
import { reactive } from 'vue';
const $appState = {
@ -22,16 +24,8 @@ export default defineNuxtPlugin(async (nuxtApp) => {
nuxtApp.vueApp.use($appState);
if (runtimeConfig.public.DEV_ENV === 'hot') {
const { default: PrimeVue } = await import('primevue/config');
const { default: Material } = await import('@primevue/themes/material');
nuxtApp.vueApp.use(PrimeVue, {
theme: {
preset: Material,
options: {
darkModeSelector: '.p-dark'
}
}
theme: AppTheme
});
}
});

File diff suppressed because it is too large Load Diff