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

91 lines
2.3 KiB
JavaScript
Raw Normal View History

2024-05-05 20:35:38 +00:00
export default {
2024-05-09 18:27:01 +00:00
root: {
borderRadius: '{border.radius.md}',
padding: '0 0.5rem',
fontSize: '0.75rem',
fontWeight: '700',
minWidth: '1.5rem',
height: '1.5rem'
},
dot: {
size: '0.5rem'
},
2024-05-13 15:09:09 +00:00
sm: {
fontSize: '0.625rem',
minWidth: '1.25rem',
height: '1.25rem'
},
2024-05-09 18:27:01 +00:00
lg: {
2024-05-13 15:09:09 +00:00
fontSize: '0.875rem',
minWidth: '1.75rem',
height: '1.75rem'
2024-05-09 18:27:01 +00:00
},
xl: {
2024-05-13 15:09:09 +00:00
fontSize: '1rem',
minWidth: '2rem',
height: '2rem'
2024-05-09 18:27:01 +00:00
},
2024-05-05 20:35:38 +00:00
colorScheme: {
light: {
primary: {
background: '{primary.color}',
color: '{primary.contrast.color}'
},
secondary: {
background: '{surface.100}',
color: '{surface.600}'
},
success: {
background: '{green.500}',
color: '{surface.0}'
},
info: {
background: '{sky.500}',
color: '{surface.0}'
},
warn: {
background: '{orange.500}',
color: '{surface.0}'
},
danger: {
background: '{red.500}',
color: '{surface.0}'
},
contrast: {
background: '{surface.950}',
color: '{surface.0}'
}
},
dark: {
primary: {
background: '{primary.color}',
color: '{primary.contrast.color}'
},
secondary: {
background: '{surface.800}',
color: '{surface.300}'
},
success: {
background: '{green.400}',
color: '{green.950}'
},
info: {
background: '{sky.400}',
color: '{sky.950}'
},
warn: {
background: '{orange.400}',
color: '{orange.950}'
},
danger: {
background: '{red.400}',
color: '{red.950}'
},
contrast: {
background: '{surface.0}',
color: '{surface.950}'
}
}
}
};