diff --git a/src/layout/AppConfigurator.vue b/src/layout/AppConfigurator.vue index 2969958..59617b9 100644 --- a/src/layout/AppConfigurator.vue +++ b/src/layout/AppConfigurator.vue @@ -3,15 +3,13 @@ import { useLayout } from '@/layout/composables/layout'; import { $t, updatePreset, updateSurfacePalette } from '@primevue/themes'; import Aura from '@primevue/themes/aura'; import Lara from '@primevue/themes/lara'; -import Nora from '@primevue/themes/nora'; import { ref } from 'vue'; const { layoutConfig, setPrimary, setSurface, setPreset, isDarkTheme, setMenuMode } = useLayout(); const presets = { Aura, - Lara, - Nora + Lara }; const preset = ref(layoutConfig.preset); const presetOptions = ref(Object.keys(presets)); @@ -129,79 +127,41 @@ function getPresetExt() { } }; } else { - if (layoutConfig.preset === 'Nora') { - return { - semantic: { - primary: color.palette, - colorScheme: { - light: { - primary: { - color: '{primary.600}', - contrastColor: '#ffffff', - hoverColor: '{primary.700}', - activeColor: '{primary.800}' - }, - highlight: { - background: '{primary.600}', - focusBackground: '{primary.700}', - color: '#ffffff', - focusColor: '#ffffff' - } + return { + semantic: { + primary: color.palette, + colorScheme: { + light: { + primary: { + color: '{primary.500}', + contrastColor: '#ffffff', + hoverColor: '{primary.600}', + activeColor: '{primary.700}' }, - dark: { - primary: { - color: '{primary.500}', - contrastColor: '{surface.900}', - hoverColor: '{primary.400}', - activeColor: '{primary.300}' - }, - highlight: { - background: '{primary.500}', - focusBackground: '{primary.400}', - color: '{surface.900}', - focusColor: '{surface.900}' - } + highlight: { + background: '{primary.50}', + focusBackground: '{primary.100}', + color: '{primary.700}', + focusColor: '{primary.800}' + } + }, + dark: { + primary: { + color: '{primary.400}', + contrastColor: '{surface.900}', + hoverColor: '{primary.300}', + activeColor: '{primary.200}' + }, + highlight: { + background: 'color-mix(in srgb, {primary.400}, transparent 84%)', + focusBackground: 'color-mix(in srgb, {primary.400}, transparent 76%)', + color: 'rgba(255,255,255,.87)', + focusColor: 'rgba(255,255,255,.87)' } } } - }; - } else { - return { - semantic: { - primary: color.palette, - colorScheme: { - light: { - primary: { - color: '{primary.500}', - contrastColor: '#ffffff', - hoverColor: '{primary.600}', - activeColor: '{primary.700}' - }, - highlight: { - background: '{primary.50}', - focusBackground: '{primary.100}', - color: '{primary.700}', - focusColor: '{primary.800}' - } - }, - dark: { - primary: { - color: '{primary.400}', - contrastColor: '{surface.900}', - hoverColor: '{primary.300}', - activeColor: '{primary.200}' - }, - highlight: { - background: 'color-mix(in srgb, {primary.400}, transparent 84%)', - focusBackground: 'color-mix(in srgb, {primary.400}, transparent 76%)', - color: 'rgba(255,255,255,.87)', - focusColor: 'rgba(255,255,255,.87)' - } - } - } - } - }; - } + } + }; } } diff --git a/src/layout/AppFooter.vue b/src/layout/AppFooter.vue index bbee57e..487141c 100644 --- a/src/layout/AppFooter.vue +++ b/src/layout/AppFooter.vue @@ -3,6 +3,6 @@ diff --git a/src/layout/AppMenu.vue b/src/layout/AppMenu.vue index 73ec9f2..bd43eae 100644 --- a/src/layout/AppMenu.vue +++ b/src/layout/AppMenu.vue @@ -120,12 +120,12 @@ const model = ref([ items: [ { label: 'Documentation', - icon: 'pi pi-fw pi-question', + icon: 'pi pi-fw pi-book', to: '/documentation' }, { label: 'View Source', - icon: 'pi pi-fw pi-search', + icon: 'pi pi-fw pi-github', url: 'https://github.com/primefaces/sakai-vue', target: '_blank' } diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 5163434..12bda47 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -11,7 +11,7 @@ const chartOptions = ref(null); const items = ref([ { label: 'Add New', icon: 'pi pi-fw pi-plus' }, - { label: 'Remove', icon: 'pi pi-fw pi-minus' } + { label: 'Remove', icon: 'pi pi-fw pi-trash' } ]); onMounted(() => { @@ -28,21 +28,21 @@ function setChartData() { datasets: [ { type: 'bar', - label: 'Personal Wallet', + label: 'Subscriptions', backgroundColor: 'color-mix(in srgb, ' + documentStyle.getPropertyValue('--p-primary-400') + ' 100%, #fff)', data: [4000, 10000, 15000, 4000], barThickness: 32 }, { type: 'bar', - label: 'Corporate Wallet', + label: 'Advertising', backgroundColor: 'color-mix(in srgb, ' + documentStyle.getPropertyValue('--p-primary-300') + ' 100%, transparent)', data: [2100, 8400, 2400, 7500], barThickness: 32 }, { type: 'bar', - label: 'Investment Wallet', + label: 'Affiliate', backgroundColor: 'color-mix(in srgb, ' + documentStyle.getPropertyValue('--p-primary-200') + ' 100%, transparent)', data: [4100, 5200, 3400, 7400], borderRadius: { @@ -130,7 +130,7 @@ watch([getPrimary, getSurface], () => {