2024-02-19 22:53:42 +00:00
|
|
|
export default {
|
2024-05-09 15:02:06 +00:00
|
|
|
root: {
|
|
|
|
margin: '1rem 0',
|
2024-05-09 15:48:00 +00:00
|
|
|
borderRadius: '{content.border.radius}',
|
2024-05-13 06:22:43 +00:00
|
|
|
borderWidth: '1px'
|
2024-05-09 15:02:06 +00:00
|
|
|
},
|
|
|
|
content: {
|
|
|
|
padding: '0.5rem 0.75rem',
|
|
|
|
gap: '0.5rem'
|
|
|
|
},
|
|
|
|
text: {
|
|
|
|
fontSize: '1rem',
|
|
|
|
fontWeight: '500'
|
|
|
|
},
|
|
|
|
icon: {
|
2024-05-09 15:22:29 +00:00
|
|
|
size: '1.125rem'
|
2024-05-09 15:02:06 +00:00
|
|
|
},
|
|
|
|
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'
|
|
|
|
},
|
2024-02-20 20:46:42 +00:00
|
|
|
colorScheme: {
|
|
|
|
light: {
|
|
|
|
info: {
|
|
|
|
background: 'color-mix(in srgb, {blue.50}, transparent 5%)',
|
|
|
|
borderColor: '{blue.200}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{blue.600}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{blue.100}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{blue.600}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-19 22:53:42 +00:00
|
|
|
},
|
2024-02-20 20:46:42 +00:00
|
|
|
success: {
|
|
|
|
background: 'color-mix(in srgb, {green.50}, transparent 5%)',
|
|
|
|
borderColor: '{green.200}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{green.600}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{green.100}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{green.600}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
warn: {
|
|
|
|
background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',
|
|
|
|
borderColor: '{yellow.200}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{yellow.600}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{yellow.100}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{yellow.600}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
error: {
|
|
|
|
background: 'color-mix(in srgb, {red.50}, transparent 5%)',
|
|
|
|
borderColor: '{red.200}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{red.600}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{red.100}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{red.600}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
background: '{surface.100}',
|
|
|
|
borderColor: '{surface.200}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{surface.600}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{surface.200}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{surface.600}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
contrast: {
|
|
|
|
background: '{surface.900}',
|
|
|
|
borderColor: '{surface.950}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{surface.50}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{surface.800}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{surface.50}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
dark: {
|
|
|
|
info: {
|
|
|
|
background: 'color-mix(in srgb, {blue.500}, transparent 84%)',
|
|
|
|
borderColor: 'color-mix(in srgb, {blue.700}, transparent 64%)',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{blue.500}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: 'rgba(255, 255, 255, 0.05)',
|
|
|
|
focusRing: {
|
|
|
|
color: '{blue.500}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
success: {
|
|
|
|
background: 'color-mix(in srgb, {green.500}, transparent 84%)',
|
|
|
|
borderColor: 'color-mix(in srgb, {green.700}, transparent 64%)',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{green.500}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: 'rgba(255, 255, 255, 0.05)',
|
|
|
|
focusRing: {
|
|
|
|
color: '{green.500}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
warn: {
|
|
|
|
background: 'color-mix(in srgb, {yellow.500}, transparent 84%)',
|
|
|
|
borderColor: 'color-mix(in srgb, {yellow.700}, transparent 64%)',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{yellow.500}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: 'rgba(255, 255, 255, 0.05)',
|
|
|
|
focusRing: {
|
|
|
|
color: '{yellow.500}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
error: {
|
|
|
|
background: 'color-mix(in srgb, {red.500}, transparent 84%)',
|
|
|
|
borderColor: 'color-mix(in srgb, {red.700}, transparent 64%)',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{red.500}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: 'rgba(255, 255, 255, 0.05)',
|
|
|
|
focusRing: {
|
|
|
|
color: '{red.500}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
background: '{surface.800}',
|
|
|
|
borderColor: '{surface.700}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{surface.300}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{surface.700}',
|
|
|
|
focusRing: {
|
|
|
|
color: '{surface.300}',
|
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-20 20:46:42 +00:00
|
|
|
},
|
|
|
|
contrast: {
|
|
|
|
background: '{surface.0}',
|
|
|
|
borderColor: '{surface.100}',
|
2024-03-12 10:20:51 +00:00
|
|
|
color: '{surface.950}',
|
2024-05-09 15:22:29 +00:00
|
|
|
shadow: '0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)',
|
2024-05-04 12:23:26 +00:00
|
|
|
closeButton: {
|
2024-05-09 15:02:06 +00:00
|
|
|
hoverBackground: '{surface.100}',
|
|
|
|
focusRing: {
|
2024-05-09 15:22:29 +00:00
|
|
|
color: '{surface.950}',
|
2024-05-09 15:02:06 +00:00
|
|
|
shadow: 'none'
|
|
|
|
}
|
2024-05-04 12:23:26 +00:00
|
|
|
}
|
2024-02-19 22:53:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|