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

73 lines
2.1 KiB
JavaScript
Raw Normal View History

2024-04-19 13:51:57 +00:00
export default {
2024-05-11 16:45:10 +00:00
tablist: {
borderWidth: '0 0 1px 0',
2024-05-04 11:47:06 +00:00
background: '{content.background}',
borderColor: '{content.border.color}'
},
tab: {
2024-05-11 16:45:10 +00:00
background: 'transparent',
hoverBackground: 'transparent',
activeBackground: 'transparent',
borderWidth: '0 0 1px 0',
2024-05-04 11:47:06 +00:00
borderColor: '{content.border.color}',
2024-05-11 16:45:10 +00:00
hoverBorderColor: '{content.border.color}',
2024-05-04 11:47:06 +00:00
activeBorderColor: '{primary.color}',
color: '{text.muted.color}',
hoverColor: '{text.color}',
2024-05-11 16:45:10 +00:00
activeColor: '{primary.color}',
padding: '1rem 1.125rem',
fontWeight: '600',
margin: '0 0 -1px 0',
gap: '0.5rem',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
}
2024-05-04 11:47:06 +00:00
},
2024-05-11 16:45:10 +00:00
tabpanel: {
2024-05-04 11:47:06 +00:00
background: '{content.background}',
2024-05-11 16:45:10 +00:00
color: '{content.color}',
2024-05-15 09:50:33 +00:00
padding: '0.875rem 1.125rem 1.125rem 1.125rem',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: 'inset {focus.ring.shadow}'
}
2024-05-04 11:47:06 +00:00
},
navButton: {
background: '{content.background}',
color: '{text.muted.color}',
2024-05-11 16:45:10 +00:00
hoverColor: '{text.color}',
width: '2.5rem',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '-1px',
shadow: '{focus.ring.shadow}'
}
},
activeBar: {
height: '1px',
bottom: '-1px',
background: '{primary.color}'
2024-05-04 11:47:06 +00:00
},
2024-04-19 13:51:57 +00:00
colorScheme: {
light: {
2024-05-04 11:47:06 +00:00
navButton: {
2024-04-19 13:51:57 +00:00
boxShadow: '0px 0px 10px 50px rgba(255, 255, 255, 0.6)'
}
},
dark: {
2024-05-04 11:47:06 +00:00
navButton: {
boxShadow: '0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)'
2024-04-19 13:51:57 +00:00
}
}
}
};