Skip to content

Commit

Permalink
changing primary color
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSCar committed Feb 21, 2025
1 parent cbd51aa commit 168bc5c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
import { definePreset } from '@primevue/themes';
import Aura from '@primevue/themes/aura';

const ThemePreset = definePreset(Aura, {
semantic: {
primary: {
50: '{sky.50}',
100: '{sky.100}',
200: '{sky.200}',
300: '{sky.300}',
400: '{sky.400}',
500: '{sky.500}',
600: '{sky.600}',
700: '{sky.700}',
800: '{sky.800}',
900: '{sky.900}',
950: '{sky.950}'
}
}
});

export default defineNuxtConfig({
$production: {
runtimeConfig: {
Expand Down Expand Up @@ -28,7 +47,7 @@ export default defineNuxtConfig({
primevue: {
options: {
theme: {
preset: Aura,
preset: ThemePreset,
options: {
darkModeSelector: '.dark-mode',
},
Expand Down

0 comments on commit 168bc5c

Please sign in to comment.