mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Tokens for Org Chart
This commit is contained in:
parent
4f617533fb
commit
f1d01dd4d5
3 changed files with 77 additions and 31 deletions
|
@ -1,17 +1,38 @@
|
|||
export default {
|
||||
root: {
|
||||
gutter: '0.75rem'
|
||||
},
|
||||
node: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
selectedBackground: '{highlight.background}',
|
||||
borderColor: '{content.border.color}',
|
||||
color: '{text.color}',
|
||||
hoverColor: '{text.hover.color}'
|
||||
color: '{content.color}',
|
||||
selectedColor: '{highlight.color}',
|
||||
hoverColor: '{content.hover.color}',
|
||||
padding: '0.75rem 1rem',
|
||||
toggleablePadding: '0.75rem 1rem 1.25rem 1rem',
|
||||
borderRadius: '{content.border.radius}'
|
||||
},
|
||||
nodeToggleButton: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
borderColor: '{content.border.color}',
|
||||
color: '{text.muted.color}'
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.color}',
|
||||
size: '1.5rem',
|
||||
borderRadius: '50%',
|
||||
focusRing: {
|
||||
width: '{focus.ring.width}',
|
||||
style: '{focus.ring.style}',
|
||||
color: '{focus.ring.color}',
|
||||
offset: '{focus.ring.offset}',
|
||||
shadow: '{focus.ring.shadow}'
|
||||
}
|
||||
},
|
||||
connector: {
|
||||
color: '{content.border.color}'
|
||||
color: '{content.border.color}',
|
||||
borderRadius: '{content.border.radius}',
|
||||
height: '24px'
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,17 +1,38 @@
|
|||
export default {
|
||||
root: {
|
||||
gutter: '0.75rem'
|
||||
},
|
||||
node: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
selectedBackground: '{highlight.background}',
|
||||
borderColor: '{content.border.color}',
|
||||
color: '{text.color}',
|
||||
hoverColor: '{text.hover.color}'
|
||||
color: '{content.color}',
|
||||
selectedColor: '{highlight.color}',
|
||||
hoverColor: '{content.hover.color}',
|
||||
padding: '1rem 1.25rem',
|
||||
toggleablePadding: '1rem 1.25rem 1.5rem 1.25rem',
|
||||
borderRadius: '{content.border.radius}'
|
||||
},
|
||||
nodeToggleButton: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
borderColor: '{content.border.color}',
|
||||
color: '{text.muted.color}'
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.color}',
|
||||
size: '1.75rem',
|
||||
borderRadius: '50%',
|
||||
focusRing: {
|
||||
width: '{focus.ring.width}',
|
||||
style: '{focus.ring.style}',
|
||||
color: '{focus.ring.color}',
|
||||
offset: '{focus.ring.offset}',
|
||||
shadow: '{focus.ring.shadow}'
|
||||
}
|
||||
},
|
||||
connector: {
|
||||
color: '{content.border.color}'
|
||||
color: '{content.border.color}',
|
||||
borderRadius: '{content.border.radius}',
|
||||
height: '24px'
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue