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

86 lines
2.3 KiB
JavaScript
Raw Normal View History

export default {
2024-05-09 18:27:01 +00:00
root: {
borderRadius: '{border.radius.lg}',
padding: '0 0.5rem',
fontSize: '0.75rem',
fontWeight: '700',
minWidth: '1.5rem',
height: '1.5rem'
},
dot: {
size: '0.5rem'
},
lg: {
fontSize: '1.125rem',
minWidth: '2.25rem',
height: '2.25rem'
},
xl: {
fontSize: '1.5rem',
minWidth: '3rem',
height: '3rem'
},
2024-02-20 20:46:42 +00:00
colorScheme: {
light: {
primary: {
background: '{primary.color}',
2024-05-09 19:29:56 +00:00
color: '{primary.inverse.color}'
},
2024-02-20 20:46:42 +00:00
secondary: {
background: '{surface.100}',
2024-03-12 10:07:36 +00:00
color: '{surface.600}'
2024-02-20 20:46:42 +00:00
},
success: {
background: '{green.500}',
2024-03-12 10:07:36 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
},
info: {
background: '{sky.500}',
2024-03-12 10:07:36 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
},
warn: {
background: '{orange.500}',
2024-03-12 10:07:36 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
},
danger: {
background: '{red.500}',
2024-03-12 10:07:36 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
},
contrast: {
background: '{surface.950}',
2024-03-12 10:07:36 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
}
},
dark: {
primary: {
2024-05-09 19:31:01 +00:00
background: 'color-mix(in srgb, {primary.500}, transparent 84%)',
color: '{primary.300}'
2024-02-20 20:46:42 +00:00
},
secondary: {
background: '{surface.800}',
2024-03-12 10:07:36 +00:00
color: '{surface.300}'
2024-02-20 20:46:42 +00:00
},
success: {
2024-05-09 19:31:01 +00:00
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
color: '{green.300}'
2024-02-20 20:46:42 +00:00
},
info: {
2024-05-09 19:31:01 +00:00
background: 'color-mix(in srgb, {sky.500}, transparent 84%)',
color: '{sky.300}'
2024-02-20 20:46:42 +00:00
},
warn: {
2024-05-09 19:31:01 +00:00
background: 'color-mix(in srgb, {orange.500}, transparent 84%)',
color: '{orange.300}'
2024-02-20 20:46:42 +00:00
},
danger: {
2024-05-09 19:31:01 +00:00
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
color: '{red.300}'
2024-02-20 20:46:42 +00:00
},
contrast: {
background: '{surface.0}',
2024-03-12 10:07:36 +00:00
color: '{surface.950}'
}
}
}
};