109 lines
5.3 KiB
JavaScript
109 lines
5.3 KiB
JavaScript
export default {
|
|
variables: {
|
|
colorScheme: {
|
|
light: {
|
|
blur: '1.5px',
|
|
info: {
|
|
background: 'color-mix(in srgb, {blue.50}, transparent 5%)',
|
|
borderColor: '{blue.200}',
|
|
textColor: '{blue.600}',
|
|
detailTextColor: '{surface.700}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
|
|
closeBackgroundHover: '{blue.100}'
|
|
},
|
|
success: {
|
|
background: 'color-mix(in srgb, {green.50}, transparent 5%)',
|
|
borderColor: '{green.200}',
|
|
textColor: '{green.600}',
|
|
detailTextColor: '{surface.700}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
|
|
closeBackgroundHover: '{green.100}'
|
|
},
|
|
warn: {
|
|
background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
|
|
borderColor: '{yellow.200}',
|
|
textColor: '{yellow.600}',
|
|
detailTextColor: '{surface.700}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
|
|
closeBackgroundHover: '{yellow.100}'
|
|
},
|
|
error: {
|
|
background: 'color-mix(in srgb, {red.50}, transparent 5%)',
|
|
borderColor: '{red.200}',
|
|
textColor: '{red.600}',
|
|
detailTextColor: '{surface.700}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
|
|
closeBackgroundHover: '{red.100}'
|
|
},
|
|
secondary: {
|
|
background: '{surface.100}',
|
|
borderColor: '{surface.200}',
|
|
textColor: '{surface.600}',
|
|
detailTextColor: '{surface.700}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
|
|
closeBackgroundHover: '{surface.200}'
|
|
},
|
|
contrast: {
|
|
background: '{surface.900}',
|
|
borderColor: '{surface.950}',
|
|
textColor: '{surface.50}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
closeBackgroundHover: '{surface.800}'
|
|
}
|
|
},
|
|
dark: {
|
|
blur: '10px',
|
|
info: {
|
|
background: 'color-mix(in srgb, {blue.500}, transparent 84%)',
|
|
borderColor: 'color-mix(in srgb, {blue.700}, transparent 64%)',
|
|
textColor: '{blue.500}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
|
|
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
|
|
},
|
|
success: {
|
|
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
|
|
borderColor: 'color-mix(in srgb, {green.700}, transparent 64%)',
|
|
textColor: '{green.500}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
|
|
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
|
|
},
|
|
warn: {
|
|
background: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
|
|
borderColor: 'color-mix(in srgb, {yellow.700}, transparent 64%)',
|
|
textColor: '{yellow.500}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
|
|
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
|
|
},
|
|
error: {
|
|
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
|
|
borderColor: 'color-mix(in srgb, {red.700}, transparent 64%)',
|
|
textColor: '{red.500}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
|
|
closeBackgroundHover: 'rgba(255, 255, 255, 0.05)'
|
|
},
|
|
secondary: {
|
|
background: '{surface.800}',
|
|
borderColor: '{surface.700}',
|
|
textColor: '{surface.300}',
|
|
detailTextColor: '{surface.0}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
|
|
closeBackgroundHover: '{surface.700}'
|
|
},
|
|
contrast: {
|
|
background: '{surface.0}',
|
|
borderColor: '{surface.100}',
|
|
textColor: '{surface.950}',
|
|
detailTextColor: '{surface.950}',
|
|
boxShadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
closeBackgroundHover: '{surface.100}'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|