primevue-mirror/components/lib/themes/nora/inlinemessage/index.js

92 lines
2.7 KiB
JavaScript
Raw Normal View History

2024-05-13 14:15:43 +00:00
export default {
root: {
padding: '{form.field.padding.y} {form.field.padding.x}',
borderRadius: '{content.border.radius}',
gap: '0.5rem'
},
text: {
2024-05-14 22:14:43 +00:00
fontWeight: '600'
2024-05-13 14:15:43 +00:00
},
icon: {
size: '1rem'
},
colorScheme: {
light: {
info: {
2024-05-14 22:14:43 +00:00
background: '{blue.800}',
borderColor: '{blue.800}',
color: '{blue.50}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
success: {
2024-05-14 22:14:43 +00:00
background: '{green.800}',
borderColor: '{green.800}',
color: '{green.50}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
warn: {
2024-05-14 22:14:43 +00:00
background: '{yellow.600}',
borderColor: '{yellow.600}',
color: '{yellow.50}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
error: {
2024-05-14 22:14:43 +00:00
background: '{red.800}',
borderColor: '{red.800}',
color: '{red.50}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
secondary: {
2024-05-14 22:14:43 +00:00
background: '{surface.200}',
2024-05-13 14:15:43 +00:00
borderColor: '{surface.200}',
2024-05-14 22:14:43 +00:00
color: '{surface.700}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
contrast: {
background: '{surface.900}',
2024-05-14 22:14:43 +00:00
borderColor: '{surface.900}',
2024-05-13 14:15:43 +00:00
color: '{surface.50}',
2024-05-14 22:14:43 +00:00
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)'
2024-05-13 14:15:43 +00:00
}
},
dark: {
info: {
2024-05-14 22:14:43 +00:00
background: '{blue.200}',
borderColor: '{blue.200}',
color: '{blue.950}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
success: {
2024-05-14 22:14:43 +00:00
background: '{green.200}',
borderColor: '{green.200}',
color: '{green.950}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
warn: {
2024-05-14 22:14:43 +00:00
background: '{yellow.200}',
borderColor: '{yellow.200}',
color: '{yellow.950}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
error: {
2024-05-14 22:14:43 +00:00
background: '{red.200}',
borderColor: '{red.200}',
color: '{red.950}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
secondary: {
2024-05-14 22:14:43 +00:00
background: '{surface.700}',
2024-05-13 14:15:43 +00:00
borderColor: '{surface.700}',
2024-05-14 22:14:43 +00:00
color: '{surface.200}',
shadow: 'none'
2024-05-13 14:15:43 +00:00
},
contrast: {
background: '{surface.0}',
2024-05-14 22:14:43 +00:00
borderColor: '{surface.0}',
2024-05-13 14:15:43 +00:00
color: '{surface.950}',
2024-05-14 22:14:43 +00:00
shadow: 'none'
2024-05-13 14:15:43 +00:00
}
}
}
};