primevue-mirror/themes/app-theme.js

59 lines
1.7 KiB
JavaScript
Raw Normal View History

import { definePreset } from 'primevue/themes';
2024-05-06 15:50:15 +00:00
import Lara from 'primevue/themes/lara';
//import Aura from 'primevue/themes/aura';
2024-03-05 09:22:33 +00:00
2024-05-06 15:50:15 +00:00
const Noir = definePreset(Lara, {
semantic: {
primary: {
2024-05-03 07:39:30 +00:00
50: '{zinc.50}',
100: '{zinc.100}',
200: '{zinc.200}',
300: '{zinc.300}',
400: '{zinc.400}',
500: '{zinc.500}',
600: '{zinc.600}',
700: '{zinc.700}',
800: '{zinc.800}',
900: '{zinc.900}',
950: '{zinc.950}'
},
colorScheme: {
light: {
primary: {
2024-05-03 07:39:30 +00:00
color: '{zinc.950}',
inverseColor: '#ffffff',
2024-05-03 07:39:30 +00:00
hoverColor: '{zinc.900}',
activeColor: '{zinc.800}'
},
highlight: {
2024-05-03 07:39:30 +00:00
background: '{zinc.950}',
focusBackground: '{zinc.700}',
color: '#ffffff',
focusColor: '#ffffff'
}
},
dark: {
primary: {
2024-05-03 07:39:30 +00:00
color: '{zinc.50}',
inverseColor: '{zinc.950}',
hoverColor: '{zinc.100}',
activeColor: '{zinc.200}'
},
highlight: {
background: 'rgba(250, 250, 250, .16)',
focusBackground: 'rgba(250, 250, 250, .24)',
color: 'rgba(255,255,255,.87)',
focusColor: 'rgba(255,255,255,.87)'
}
}
2024-05-03 07:39:30 +00:00
}
}
});
2024-03-05 09:22:33 +00:00
export default {
preset: Noir,
2024-03-05 09:22:33 +00:00
options: {
darkModeSelector: '.p-dark'
2024-03-05 09:22:33 +00:00
}
};