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

75 lines
2.2 KiB
JavaScript
Raw Normal View History

2024-05-13 14:15:43 +00:00
export default {
root: {
transitionDuration: '{transition.duration}'
},
2024-05-13 14:15:43 +00:00
tablist: {
borderWidth: '0 0 1px 0',
background: '{content.background}',
borderColor: '{content.border.color}'
},
tab: {
2024-05-14 12:01:05 +00:00
background: '{content.background}',
hoverBackground: '{surface.200}',
activeBackground: '{primary.color}',
borderWidth: '0',
borderColor: 'transparent',
hoverBorderColor: 'transparent',
activeBorderColor: 'transparent',
2024-05-13 14:15:43 +00:00
color: '{text.muted.color}',
hoverColor: '{text.color}',
2024-05-14 12:01:05 +00:00
activeColor: '{primary.contrast.color}',
padding: '1rem 1.25rem',
fontWeight: '700',
margin: '0',
2024-05-13 14:15:43 +00:00
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
2024-05-14 12:01:05 +00:00
shadow: 'inset {focus.ring.shadow}'
2024-05-13 14:15:43 +00:00
}
},
tabpanel: {
background: '{content.background}',
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-13 14:15:43 +00:00
},
navButton: {
background: '{content.background}',
color: '{text.muted.color}',
hoverColor: '{text.color}',
width: '2.5rem',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
2024-05-14 12:01:05 +00:00
offset: '{focus.ring.offset}',
shadow: 'inset {focus.ring.shadow}'
2024-05-13 14:15:43 +00:00
}
},
activeBar: {
2024-05-14 12:01:05 +00:00
height: '0',
bottom: '0',
background: 'transparent'
2024-05-13 14:15:43 +00:00
},
colorScheme: {
light: {
navButton: {
2024-05-14 12:01:05 +00:00
shadow: '0px 0px 10px 50px rgba(255, 255, 255, 0.6)'
2024-05-13 14:15:43 +00:00
}
},
dark: {
navButton: {
2024-05-14 12:01:05 +00:00
shadow: '0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)'
2024-05-13 14:15:43 +00:00
}
}
}
};