primevue-mirror/components/lib/themes/primeone/presets/aura/button/index.js

395 lines
16 KiB
JavaScript
Raw Normal View History

export default {
2024-02-20 20:46:42 +00:00
colorScheme: {
light: {
root: {
primary: {
background: '{primary.color}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{primary.hoverColor}',
activeBackground: '{primary.activeColor}',
2024-02-20 20:46:42 +00:00
borderColor: '{primary.color}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{primary.hoverColor}',
activeBorderColor: '{primary.activeColor}',
color: '{primary.inverseColor}',
hoverColor: '{primary.inverseColor}',
activeColor: '{primary.inverseColor}'
2024-02-20 20:46:42 +00:00
},
secondary: {
background: '{surface.100}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.200}',
activeBackground: '{surface.300}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.100}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{surface.200}',
activeBorderColor: '{surface.300}',
color: '{surface.600}',
hoverColor: '{surface.700}',
activeColor: '{surface.800}'
2024-02-20 20:46:42 +00:00
},
info: {
background: '{sky.500}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{sky.600}',
activeBackground: '{sky.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{sky.500}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{sky.600}',
activeBorderColor: '{sky.700}',
color: '#ffffff',
hoverColor: '#ffffff',
activeColor: '#ffffff'
2024-02-20 20:46:42 +00:00
},
success: {
background: '{green.500}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{green.600}',
activeBackground: '{green.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{green.500}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{green.600}',
activeBorderColor: '{green.700}',
color: '#ffffff',
hoverColor: '#ffffff',
activeColor: '#ffffff'
2024-02-20 20:46:42 +00:00
},
warn: {
background: '{orange.500}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{orange.600}',
activeBackground: '{orange.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{orange.500}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{orange.600}',
activeBorderColor: '{orange.700}',
color: '#ffffff',
hoverColor: '#ffffff',
activeColor: '#ffffff'
2024-02-20 20:46:42 +00:00
},
help: {
background: '{purple.500}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{purple.600}',
activeBackground: '{purple.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{purple.500}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{purple.600}',
activeBorderColor: '{purple.700}',
color: '#ffffff',
hoverColor: '#ffffff',
activeColor: '#ffffff'
2024-02-20 20:46:42 +00:00
},
danger: {
background: '{red.500}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{red.600}',
activeBackground: '{red.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{red.500}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{red.600}',
activeBorderColor: '{red.700}',
color: '#ffffff',
hoverColor: '#ffffff',
activeColor: '#ffffff'
2024-02-20 20:46:42 +00:00
},
contrast: {
background: '{surface.950}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.900}',
activeBackground: '{surface.800}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.950}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{surface.900}',
activeBorderColor: '{surface.800}',
color: '{surface.0}',
hoverColor: '{surface.0}',
activeColor: '{surface.0}'
2024-02-20 20:46:42 +00:00
}
},
outlined: {
primary: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{primary.50}',
activeBackground: '{primary.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{primary.200}',
2024-03-13 08:36:59 +00:00
color: '{primary.color}'
2024-02-20 20:46:42 +00:00
},
secondary: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.50}',
activeBackground: '{surface.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.200}',
2024-03-13 08:36:59 +00:00
color: '{surface.500}'
2024-02-20 20:46:42 +00:00
},
success: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{green.50}',
activeBackground: '{green.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{green.200}',
2024-03-13 08:36:59 +00:00
color: '{green.500}'
2024-02-20 20:46:42 +00:00
},
info: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{sky.50}',
activeBackground: '{sky.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{sky.200}',
2024-03-13 08:36:59 +00:00
color: '{sky.500}'
2024-02-20 20:46:42 +00:00
},
warn: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{orange.50}',
activeBackground: '{orange.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{orange.200}',
2024-03-13 08:36:59 +00:00
color: '{orange.500}'
2024-02-20 20:46:42 +00:00
},
help: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{purple.50}',
activeBackground: '{purple.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{purple.200}',
2024-03-13 08:36:59 +00:00
color: '{purple.500}'
2024-02-20 20:46:42 +00:00
},
danger: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{red.50}',
activeBackground: '{red.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{red.200}',
2024-03-13 08:36:59 +00:00
color: '{red.500}'
2024-02-20 20:46:42 +00:00
},
contrast: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.50}',
activeBackground: '{surface.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.700}',
2024-03-13 08:36:59 +00:00
color: '{surface.950}'
2024-02-20 20:46:42 +00:00
},
plain: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.50}',
activeBackground: '{surface.100}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.200}',
2024-03-13 08:36:59 +00:00
color: '{surface.700}'
2024-02-20 20:46:42 +00:00
}
},
text: {
primary: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{primary.50}',
activeBackground: '{primary.100}',
color: '{primary.color}'
2024-02-20 20:46:42 +00:00
},
secondary: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.50}',
activeBackground: '{surface.100}',
color: '{surface.500}'
2024-02-20 20:46:42 +00:00
},
success: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{green.50}',
activeBackground: '{green.100}',
color: '{green.500}'
2024-02-20 20:46:42 +00:00
},
info: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{sky.50}',
activeBackground: '{sky.100}',
color: '{sky.500}'
2024-02-20 20:46:42 +00:00
},
warn: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{orange.50}',
activeBackground: '{orange.100}',
color: '{orange.500}'
2024-02-20 20:46:42 +00:00
},
help: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{purple.50}',
activeBackground: '{purple.100}',
color: '{purple.600}'
2024-02-20 20:46:42 +00:00
},
danger: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{red.50}',
activeBackground: '{red.100}',
color: '{red.500}'
2024-02-20 20:46:42 +00:00
},
plain: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.50}',
activeBackground: '{surface.100}',
color: '{surface.700}'
2024-02-20 20:46:42 +00:00
}
},
link: {
2024-03-13 08:36:59 +00:00
color: '{primary.color}',
hoverColor: '{primary.color}',
activeColor: '{primary.color}'
2024-02-20 20:46:42 +00:00
}
},
dark: {
root: {
primary: {
background: '{primary.color}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{primary.hoverColor}',
activeBackground: '{primary.activeColor}',
2024-02-20 20:46:42 +00:00
borderColor: '{primary.color}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{primary.hoverColor}',
activeBorderColor: '{primary.activeColor}',
color: '{primary.inverseColor}',
hoverColor: '{primary.inverseColor}',
activeColor: '{primary.inverseColor}'
2024-02-20 20:46:42 +00:00
},
secondary: {
background: '{surface.800}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.700}',
activeBackground: '{surface.600}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.800}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{surface.700}',
activeBorderColor: '{surface.600}',
color: '{surface.300}',
hoverColor: '{surface.200}',
activeColor: '{surface.100}'
2024-02-20 20:46:42 +00:00
},
info: {
background: '{sky.400}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{sky.300}',
activeBackground: '{sky.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{sky.400}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{sky.300}',
activeBorderColor: '{sky.200}',
color: '{sky.950}',
hoverColor: '{sky.950}',
activeColor: '{sky.950}'
2024-02-20 20:46:42 +00:00
},
success: {
background: '{green.400}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{green.300}',
activeBackground: '{green.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{green.400}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{green.300}',
activeBorderColor: '{green.200}',
color: '{green.950}',
hoverColor: '{green.950}',
activeColor: '{green.950}'
2024-02-20 20:46:42 +00:00
},
warn: {
background: '{orange.400}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{orange.300}',
activeBackground: '{orange.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{orange.400}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{orange.300}',
activeBorderColor: '{orange.200}',
color: '{orange.950}',
hoverColor: '{orange.950}',
activeColor: '{orange.950}'
2024-02-20 20:46:42 +00:00
},
help: {
background: '{purple.400}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{purple.300}',
activeBackground: '{purple.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{purple.400}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{purple.300}',
activeBorderColor: '{purple.200}',
color: '{purple.950}',
hoverColor: '{purple.950}',
activeColor: '{purple.950}'
2024-02-20 20:46:42 +00:00
},
danger: {
background: '{red.400}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{red.300}',
activeBackground: '{red.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{red.400}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{red.300}',
activeBorderColor: '{red.200}',
color: '{red.950}',
hoverColor: '{red.950}',
activeColor: '{red.950}'
2024-02-20 20:46:42 +00:00
},
contrast: {
background: '{surface.0}',
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.100}',
activeBackground: '{surface.200}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.0}',
2024-03-13 08:36:59 +00:00
hoverBorderColor: '{surface.100}',
activeBorderColor: '{surface.200}',
color: '{surface.950}',
hoverColor: '{surface.950}',
activeColor: '{surface.950}'
}
},
2024-02-20 20:46:42 +00:00
outlined: {
primary: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {primary.color}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {primary.color}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{primary.900}',
2024-03-13 08:36:59 +00:00
color: '{primary.color}'
2024-02-20 20:46:42 +00:00
},
secondary: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'rgba(255,255,255,0.04)',
activeBackground: 'rgba(255,255,255,0.16)',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.700}',
2024-03-13 08:36:59 +00:00
color: '{surface.400}'
2024-02-20 20:46:42 +00:00
},
success: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {green.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {green.400}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{green.900}',
2024-03-13 08:36:59 +00:00
color: '{green.400}'
2024-02-20 20:46:42 +00:00
},
info: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {sky.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {sky.400}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{sky.900}',
2024-03-13 08:36:59 +00:00
color: '{sky.400}'
2024-02-20 20:46:42 +00:00
},
warn: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {orange.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {orange.400}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{orange.900}',
2024-03-13 08:36:59 +00:00
color: '{orange.400}'
2024-02-20 20:46:42 +00:00
},
help: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {help.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {help.400}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{purple.900}',
2024-03-13 08:36:59 +00:00
color: '{purple.400}'
2024-02-20 20:46:42 +00:00
},
danger: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {danger.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {danger.400}, transparent 84%)',
2024-02-20 20:46:42 +00:00
borderColor: '{red.900}',
2024-03-13 08:36:59 +00:00
color: '{red.400}'
2024-02-20 20:46:42 +00:00
},
contrast: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.800}',
activeBackground: '{surface.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.500}',
2024-03-13 08:36:59 +00:00
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
},
plain: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.800}',
activeBackground: '{surface.700}',
2024-02-20 20:46:42 +00:00
borderColor: '{surface.600}',
2024-03-13 08:36:59 +00:00
color: '{surface.0}'
}
2024-02-20 20:46:42 +00:00
},
text: {
primary: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {primary.color}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {primary.color}, transparent 84%)',
color: '{primary.color}'
2024-02-20 20:46:42 +00:00
},
secondary: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.800}',
activeBackground: '{surface.700}',
color: '{surface.400}'
2024-02-20 20:46:42 +00:00
},
success: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {green.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {green.400}, transparent 84%)',
color: '{green.400}'
2024-02-20 20:46:42 +00:00
},
info: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {sky.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {sky.400}, transparent 84%)',
color: '{sky.400}'
2024-02-20 20:46:42 +00:00
},
warn: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {orange.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {orange.400}, transparent 84%)',
color: '{orange.400}'
2024-02-20 20:46:42 +00:00
},
help: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {purple.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {purple.400}, transparent 84%)',
color: '{purple.400}'
2024-02-20 20:46:42 +00:00
},
danger: {
2024-03-13 08:36:59 +00:00
hoverBackground: 'color-mix(in srgb, {red.400}, transparent 96%)',
activeBackground: 'color-mix(in srgb, {red.400}, transparent 84%)',
color: '{red.400}'
2024-02-20 20:46:42 +00:00
},
plain: {
2024-03-13 08:36:59 +00:00
hoverBackground: '{surface.800}',
activeBackground: '{surface.700}',
color: '{surface.0}'
2024-02-20 20:46:42 +00:00
}
},
link: {
2024-03-13 08:36:59 +00:00
color: '{primary.color}',
hoverColor: '{primary.color}',
activeColor: '{primary.color}'
}
}
}
};