primevue-mirror/components/lib/themes/lara/treetable/index.js

144 lines
4.1 KiB
JavaScript
Raw Normal View History

2024-05-05 20:35:38 +00:00
export default {
header: {
2024-05-13 07:29:23 +00:00
borderColor: '{treetable.border.color}',
borderWidth: '1px 0 1px 0',
padding: '0.75rem 1rem',
fontWeight: '700'
2024-05-05 20:35:38 +00:00
},
headerCell: {
2024-05-13 07:29:23 +00:00
selectedBackground: '{highlight.background}',
borderColor: '{treetable.border.color}',
hoverColor: '{content.hover.color}',
selectedColor: '{highlight.color}',
gap: '0.5rem',
padding: '0.75rem 1rem',
fontWeight: '700',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: 'inset {focus.ring.shadow}'
}
2024-05-05 20:35:38 +00:00
},
row: {
background: '{content.background}',
hoverBackground: '{content.hover.background}',
2024-05-13 07:29:23 +00:00
selectedBackground: '{highlight.background}',
2024-05-05 20:35:38 +00:00
color: '{content.color}',
2024-05-13 07:29:23 +00:00
hoverColor: '{sr.hover.color}',
selectedColor: '{highlight.color}',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: 'inset {focus.ring.shadow}'
}
2024-05-05 20:35:38 +00:00
},
bodyCell: {
2024-05-13 07:29:23 +00:00
borderColor: '{treetable.border.color}',
padding: '0.75rem 1rem',
gap: '0.5rem'
2024-05-05 20:35:38 +00:00
},
footerCell: {
2024-05-13 07:29:23 +00:00
borderColor: '{treetable.border.color}',
padding: '0.75rem 1rem',
fontWeight: '700'
2024-05-05 20:35:38 +00:00
},
footer: {
2024-05-13 07:29:23 +00:00
borderColor: '{treetable.border.color}',
borderWidth: '0 0 1px',
padding: '0.75rem 1rem',
fontWeight: '700'
},
columnResizerWidth: '0.5rem',
resizeIndicator: {
width: '1px',
color: '{primary.color}'
2024-05-05 20:35:38 +00:00
},
sortIcon: {
color: '{text.muted.color}',
hoverColor: '{text.hover.muted.color}'
},
2024-05-13 07:29:23 +00:00
loadingIcon: {
size: '2rem'
},
2024-05-05 20:35:38 +00:00
nodeToggleButton: {
hoverBackground: '{content.hover.background}',
2024-05-13 07:29:23 +00:00
selectedHoverBackground: '{content.background}',
color: '{text.muted.color}',
hoverColor: '{text.color}',
selectedHoverColor: '{primary.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}'
}
},
paginatorTop: {
borderColor: '{content.border.color}',
borderWidth: '0 0 1px 0'
},
paginatorBottom: {
borderColor: '{content.border.color}',
borderWidth: '0 0 1px 0'
2024-05-05 20:35:38 +00:00
},
colorScheme: {
light: {
root: {
borderColor: '{content.border.color}'
},
2024-05-13 07:29:23 +00:00
header: {
2024-05-13 07:34:59 +00:00
background: '{surface.50}',
2024-05-13 07:29:23 +00:00
color: '{text.color}'
},
headerCell: {
2024-05-13 07:34:59 +00:00
background: '{surface.50}',
2024-05-13 08:03:41 +00:00
hoverBackground: '{surface.100}',
2024-05-13 07:29:23 +00:00
color: '{text.color}'
},
footer: {
2024-05-13 07:34:59 +00:00
background: '{surface.50}',
2024-05-13 07:29:23 +00:00
color: '{text.color}'
},
footerCell: {
2024-05-13 07:34:59 +00:00
background: '{surface.50}',
2024-05-13 07:29:23 +00:00
color: '{text.color}'
2024-05-05 20:35:38 +00:00
},
bodyCell: {
selectedBorderColor: '{primary.100}'
}
},
dark: {
root: {
borderColor: '{surface.800}'
},
2024-05-13 07:29:23 +00:00
header: {
background: '{surface.800}',
color: '{text.color}'
},
headerCell: {
background: '{surface.800}',
2024-05-13 08:03:41 +00:00
hoverBackground: '{surface.700}',
2024-05-13 07:29:23 +00:00
color: '{text.color}'
},
footer: {
background: '{surface.800}',
color: '{text.color}'
},
footerCell: {
background: '{surface.800}',
color: '{text.color}'
2024-05-05 20:35:38 +00:00
},
bodyCell: {
selectedBorderColor: '{primary.900}'
}
}
}
};