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

52 lines
1.5 KiB
JavaScript

export default {
root: {
background: '{content.background}',
color: '{content.color}',
padding: '1rem',
gap: '2px',
indent: '1rem',
transitionDuration: '{transition.duration}'
},
node: {
padding: '0.25rem 0.5rem',
borderRadius: '{content.border.radius}',
hoverBackground: '{content.hover.background}',
selectedBackground: '{highlight.background}',
color: '{text.color}',
hoverColor: '{text.hover.color}',
selectedColor: '{highlight.color}',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '-1px',
shadow: '{focus.ring.shadow}'
},
gap: '0.25rem'
},
nodeIcon: {
color: '{text.muted.color}',
hoverColor: '{text.hover.muted.color}',
selectedColor: '{highlight.color}'
},
nodeToggleButton: {
borderRadius: '50%',
size: '1.75rem',
hoverBackground: '{content.hover.background}',
selectedHoverBackground: '{content.background}',
color: '{text.muted.color}',
hoverColor: '{text.hover.muted.color}',
selectedHoverColor: '{primary.color}',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
}
},
loadingIcon: {
size: '2rem'
}
};