mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactored tokens of Data components
This commit is contained in:
parent
0d488b1ba9
commit
c617766c77
14 changed files with 227 additions and 431 deletions
|
@ -1,93 +1,67 @@
|
|||
export default {
|
||||
header: {
|
||||
background: '{content.background}',
|
||||
borderColor: '{datatable.border.color}',
|
||||
color: '{content.color}'
|
||||
},
|
||||
headerCell: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
borderColor: '{datatable.border.color}',
|
||||
color: '{content.color}',
|
||||
hoverColor: '{content.hover.color}'
|
||||
},
|
||||
row: {
|
||||
background: '{content.background}',
|
||||
hoverBackground: '{content.hover.background}',
|
||||
color: '{content.color}',
|
||||
hoverColor: '{content.hover.color}'
|
||||
},
|
||||
bodyCell: {
|
||||
borderColor: '{datatable.border.color}'
|
||||
},
|
||||
footerCell: {
|
||||
background: '{content.background}',
|
||||
borderColor: '{datatable.border.color}',
|
||||
color: '{content.color}'
|
||||
},
|
||||
footer: {
|
||||
background: '{content.background}',
|
||||
borderColor: '{datatable.border.color}',
|
||||
color: '{content.color}'
|
||||
},
|
||||
resizeIndicatorColor: '{primary.color}',
|
||||
sortIcon: {
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.hover.muted.color}'
|
||||
},
|
||||
nodeToggleButton: {
|
||||
hoverBackground: '{content.hover.background}',
|
||||
highlightHoverBackground: '{content.background}',
|
||||
color: '{text.color}',
|
||||
hoverColor: '{text.muted.color}'
|
||||
},
|
||||
colorScheme: {
|
||||
light: {
|
||||
header: {
|
||||
background: '{surface.0}',
|
||||
borderColor: '{surface.200}',
|
||||
color: '{surface.700}'
|
||||
},
|
||||
headerCell: {
|
||||
background: '{surface.0}',
|
||||
hoverBackground: '{surface.100}',
|
||||
borderColor: '{surface.200}',
|
||||
color: '{surface.700}',
|
||||
hoverColor: '{surface.800}'
|
||||
root: {
|
||||
borderColor: '{content.border.color}'
|
||||
},
|
||||
row: {
|
||||
background: '{surface.0}',
|
||||
hoverBackground: '{surface.100}',
|
||||
color: '{surface.700}',
|
||||
hoverColor: '{surface.800}'
|
||||
stripedBackground: '{surface.50}'
|
||||
},
|
||||
bodyCell: {
|
||||
borderColor: '{surface.200}',
|
||||
selectedBorderColor: '{primary.100}'
|
||||
},
|
||||
footerCell: {
|
||||
background: '{surface.0}',
|
||||
borderColor: '{surface.200}',
|
||||
color: '{surface.700}'
|
||||
},
|
||||
footer: {
|
||||
background: '{surface.0}',
|
||||
borderColor: '{surface.200}',
|
||||
color: '{surface.700}'
|
||||
},
|
||||
resizerColor: '{primary.color}',
|
||||
sortIcon: {
|
||||
color: '{surface.500}',
|
||||
hoverColor: '{surface.600}'
|
||||
},
|
||||
rowAction: {
|
||||
hoverBackground: '{surface.100}',
|
||||
highlightHoverBackground: '{surface.0}',
|
||||
color: '{surface.500}',
|
||||
hoverColor: '{surface.500}'
|
||||
}
|
||||
},
|
||||
dark: {
|
||||
header: {
|
||||
background: '{surface.900}',
|
||||
borderColor: '{surface.800}',
|
||||
color: '{surface.0}'
|
||||
},
|
||||
headerCell: {
|
||||
background: '{surface.900}',
|
||||
hoverBackground: '{surface.800}',
|
||||
borderColor: '{surface.800}',
|
||||
color: '{surface.0}',
|
||||
hoverColor: '{surface.0}'
|
||||
root: {
|
||||
borderColor: '{surface.800}'
|
||||
},
|
||||
row: {
|
||||
background: '{surface.900}',
|
||||
hoverBackground: '{surface.800}',
|
||||
color: '{surface.0}',
|
||||
hoverColor: '{surface.0}'
|
||||
stripedBackground: '{surface.950}'
|
||||
},
|
||||
bodyCell: {
|
||||
borderColor: '{surface.800}',
|
||||
selectedBorderColor: '{primary.900}'
|
||||
},
|
||||
footerCell: {
|
||||
background: '{surface.900}',
|
||||
borderColor: '{surface.800}',
|
||||
color: '{surface.0}'
|
||||
},
|
||||
footer: {
|
||||
background: '{surface.900}',
|
||||
borderColor: '{surface.800}',
|
||||
color: '{surface.0}'
|
||||
},
|
||||
resizerColor: '{primary.color}',
|
||||
sortIcon: {
|
||||
color: '{surface.400}',
|
||||
hoverColor: '{surface.300}'
|
||||
},
|
||||
rowAction: {
|
||||
hoverBackground: '{surface.800}',
|
||||
highlightHoverBackground: '{surface.900}',
|
||||
color: '{surface.400}',
|
||||
hoverColor: '{surface.300}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue