2024-05-13 14:15:43 +00:00
|
|
|
export default {
|
|
|
|
root: {
|
|
|
|
margin: '1rem 0',
|
|
|
|
borderRadius: '{content.border.radius}',
|
|
|
|
borderWidth: '1px'
|
|
|
|
},
|
|
|
|
content: {
|
|
|
|
padding: '0.5rem 0.75rem',
|
|
|
|
gap: '0.5rem'
|
|
|
|
},
|
|
|
|
text: {
|
|
|
|
fontSize: '1rem',
|
2024-05-14 22:14:43 +00:00
|
|
|
fontWeight: '700'
|
2024-05-13 14:15:43 +00:00
|
|
|
},
|
|
|
|
icon: {
|
|
|
|
size: '1.125rem'
|
|
|
|
},
|
|
|
|
closeButton: {
|
|
|
|
width: '1.75rem',
|
|
|
|
height: '1.75rem',
|
|
|
|
borderRadius: '50%',
|
|
|
|
focusRing: {
|
|
|
|
width: '{focus.ring.width}',
|
|
|
|
style: '{focus.ring.style}',
|
|
|
|
offset: '{focus.ring.offset}'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
closeIcon: {
|
|
|
|
size: '1rem'
|
|
|
|
},
|
|
|
|
colorScheme: {
|
|
|
|
light: {
|
|
|
|
info: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{blue.800}',
|
|
|
|
borderColor: '{blue.800}',
|
|
|
|
color: '{blue.50}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{blue.600}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{blue.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
success: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{green.800}',
|
|
|
|
borderColor: '{green.800}',
|
|
|
|
color: '{green.50}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{green.600}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{green.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
warn: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{yellow.600}',
|
|
|
|
borderColor: '{yellow.600}',
|
|
|
|
color: '{yellow.50}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{yellow.400}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{yellow.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
error: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{red.800}',
|
|
|
|
borderColor: '{red.800}',
|
|
|
|
color: '{red.50}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{red.600}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{red.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
secondary: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{surface.200}',
|
2024-05-13 14:15:43 +00:00
|
|
|
borderColor: '{surface.200}',
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{surface.700}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{surface.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{surface.700}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
contrast: {
|
|
|
|
background: '{surface.900}',
|
2024-05-14 22:14:43 +00:00
|
|
|
borderColor: '{surface.900}',
|
2024-05-13 14:15:43 +00:00
|
|
|
color: '{surface.50}',
|
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{surface.700}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
|
|
|
color: '{surface.50}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
dark: {
|
|
|
|
info: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{blue.200}',
|
|
|
|
borderColor: '{blue.200}',
|
|
|
|
color: '{blue.950}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{blue.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{blue.950}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
success: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{green.200}',
|
|
|
|
borderColor: '{green.200}',
|
|
|
|
color: '{green.950}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{green.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{green.950}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
warn: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{yellow.200}',
|
|
|
|
borderColor: '{yellow.200}',
|
|
|
|
color: '{yellow.950}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{yellow.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{yellow.950}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
error: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{red.200}',
|
|
|
|
borderColor: '{red.200}',
|
|
|
|
color: '{red.950}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{red.50}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{red.950}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
secondary: {
|
2024-05-14 22:14:43 +00:00
|
|
|
background: '{surface.700}',
|
2024-05-13 14:15:43 +00:00
|
|
|
borderColor: '{surface.700}',
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{surface.200}',
|
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{surface.500}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
2024-05-14 22:14:43 +00:00
|
|
|
color: '{surface.200}',
|
2024-05-13 14:15:43 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
contrast: {
|
|
|
|
background: '{surface.0}',
|
2024-05-14 22:14:43 +00:00
|
|
|
borderColor: '{surface.0}',
|
2024-05-13 14:15:43 +00:00
|
|
|
color: '{surface.950}',
|
2024-05-14 22:14:43 +00:00
|
|
|
shadow: 'none',
|
2024-05-13 14:15:43 +00:00
|
|
|
closeButton: {
|
2024-05-14 22:14:43 +00:00
|
|
|
hoverBackground: '{surface.200}',
|
2024-05-13 14:15:43 +00:00
|
|
|
focusRing: {
|
|
|
|
color: '{surface.950}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|