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

92 lines
3.2 KiB
JavaScript
Raw Normal View History

2024-05-05 20:35:38 +00:00
export default {
2024-05-09 15:35:57 +00:00
root: {
padding: '{form.field.padding.y} {form.field.padding.x}',
borderRadius: '{content.border.radius}',
gap: '0.5rem'
},
text: {
fontWeight: '500'
},
icon: {
size: '1.125rem'
},
2024-05-05 20:35:38 +00:00
colorScheme: {
light: {
info: {
background: 'color-mix(in srgb, {blue.50}, transparent 5%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {blue.50}, transparent 5%)',
2024-05-05 20:35:38 +00:00
color: '{blue.600}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
success: {
background: 'color-mix(in srgb, {green.50}, transparent 5%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {green.50}, transparent 5%)',
2024-05-05 20:35:38 +00:00
color: '{green.600}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
warn: {
background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
2024-05-05 20:35:38 +00:00
color: '{yellow.600}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
error: {
background: 'color-mix(in srgb, {red.50}, transparent 5%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {red.50}, transparent 5%)',
2024-05-05 20:35:38 +00:00
color: '{red.600}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
secondary: {
background: '{surface.100}',
2024-05-09 15:48:00 +00:00
borderColor: '{surface.100}',
2024-05-05 20:35:38 +00:00
color: '{surface.600}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
contrast: {
background: '{surface.900}',
2024-05-09 15:48:00 +00:00
borderColor: '{surface.900}',
2024-05-05 20:35:38 +00:00
color: '{surface.50}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
}
},
dark: {
info: {
background: 'color-mix(in srgb, {blue.500}, transparent 84%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {blue.500}, transparent 84%)',
2024-05-05 20:35:38 +00:00
color: '{blue.500}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
success: {
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {green.500}, transparent 84%)',
2024-05-05 20:35:38 +00:00
color: '{green.500}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
warn: {
background: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
2024-05-05 20:35:38 +00:00
color: '{yellow.500}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
error: {
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
2024-05-09 15:48:00 +00:00
borderColor: 'color-mix(in srgb, {red.500}, transparent 84%)',
2024-05-05 20:35:38 +00:00
color: '{red.500}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
secondary: {
background: '{surface.800}',
2024-05-09 15:48:00 +00:00
borderColor: '{surface.800}',
2024-05-05 20:35:38 +00:00
color: '{surface.300}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
},
contrast: {
background: '{surface.0}',
2024-05-09 15:48:00 +00:00
borderColor: '{surface.0}',
2024-05-05 20:35:38 +00:00
color: '{surface.950}',
2024-05-09 15:35:57 +00:00
shadow: 'none'
2024-05-05 20:35:38 +00:00
}
}
}
};