primevue-mirror/themes/app-theme.js

58 lines
1.6 KiB
JavaScript
Raw Normal View History

import { definePreset } from 'primevue/themes';
2024-05-14 11:04:59 +00:00
import Nora from 'primevue/themes/nora';
2024-03-05 09:22:33 +00:00
2024-05-14 11:04:59 +00:00
const Noir = definePreset(Nora, {
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
}
};