primevue-mirror/apps/showcase/themes/app-theme.js

58 lines
1.7 KiB
JavaScript
Raw Permalink Normal View History

2024-06-11 12:21:12 +00:00
import { definePreset } from '@primevue/themes';
import Aura from '@primevue/themes/aura';
2024-03-05 09:22:33 +00:00
export const NoirPreset = definePreset(Aura, {
semantic: {
primary: {
50: '{surface.50}',
100: '{surface.100}',
200: '{surface.200}',
300: '{surface.300}',
400: '{surface.400}',
500: '{surface.500}',
600: '{surface.600}',
700: '{surface.700}',
800: '{surface.800}',
900: '{surface.900}',
950: '{surface.950}'
2024-05-03 07:39:30 +00:00
},
colorScheme: {
light: {
primary: {
color: '{primary.950}',
contrastColor: '#ffffff',
2024-05-25 20:55:27 +00:00
hoverColor: '{primary.800}',
activeColor: '{primary.700}'
},
highlight: {
background: '{primary.950}',
focusBackground: '{primary.700}',
color: '#ffffff',
focusColor: '#ffffff'
}
},
dark: {
primary: {
color: '{primary.50}',
contrastColor: '{primary.950}',
2024-05-25 20:55:27 +00:00
hoverColor: '{primary.200}',
activeColor: '{primary.300}'
},
highlight: {
background: '{primary.50}',
focusBackground: '{primary.300}',
color: '{primary.950}',
focusColor: '{primary.950}'
}
}
2024-05-03 07:39:30 +00:00
}
}
});
2024-03-05 09:22:33 +00:00
export default {
preset: NoirPreset,
2024-03-05 09:22:33 +00:00
options: {
darkModeSelector: '.p-dark'
2024-03-05 09:22:33 +00:00
}
};