mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Tokens fo rTab
This commit is contained in:
parent
1505ce359e
commit
ac33f3568f
5 changed files with 117 additions and 29 deletions
|
@ -1,12 +1,54 @@
|
|||
export default {
|
||||
tablist: {
|
||||
borderWidth: '0',
|
||||
background: '{content.background}',
|
||||
borderColor: '{content.border.color}'
|
||||
},
|
||||
itemLink: {
|
||||
borderColor: '{content.border.color}',
|
||||
item: {
|
||||
borderWidth: '2px 0 0 0',
|
||||
borderColor: 'transparent',
|
||||
hoverBorderColor: 'transparent',
|
||||
activeBorderColor: '{primary.color}',
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.color}'
|
||||
hoverColor: '{text.color}',
|
||||
activeColor: '{primary.color}',
|
||||
padding: '1rem 1.25rem',
|
||||
fontWeight: '600',
|
||||
borderRadius: '0',
|
||||
margin: '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}'
|
||||
}
|
||||
},
|
||||
itemIcon: {
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.color}',
|
||||
activeColor: '{primary.color}'
|
||||
},
|
||||
activeBar: {
|
||||
height: '0',
|
||||
bottom: '0',
|
||||
background: 'transparent'
|
||||
},
|
||||
colorScheme: {
|
||||
light: {
|
||||
item: {
|
||||
background: '{surface.100}',
|
||||
hoverBackground: '{surface.100}',
|
||||
activeBackground: '{surface.0}'
|
||||
}
|
||||
},
|
||||
dark: {
|
||||
item: {
|
||||
background: '{surface.800}',
|
||||
hoverBackground: '{surface.800}',
|
||||
activeBackground: '{surface.900}'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue