mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Add 'Lara' theme
This commit is contained in:
parent
30fa452525
commit
06850f3ed5
177 changed files with 3386 additions and 7 deletions
89
components/lib/themes/lara/datatable/index.js
Normal file
89
components/lib/themes/lara/datatable/index.js
Normal file
|
@ -0,0 +1,89 @@
|
|||
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}'
|
||||
},
|
||||
dropPointColor: '{primary.color}',
|
||||
resizeIndicatorColor: '{primary.color}',
|
||||
sortIcon: {
|
||||
color: '{text.muted.color}',
|
||||
hoverColor: '{text.hover.muted.color}'
|
||||
},
|
||||
rowToggleButton: {
|
||||
hoverBackground: '{content.hover.background}',
|
||||
highlightHoverBackground: '{content.background}',
|
||||
color: '{text.color}',
|
||||
hoverColor: '{text.muted.color}'
|
||||
},
|
||||
filter: {
|
||||
overlay: {
|
||||
background: '{content.background}',
|
||||
borderColor: '{content.border.color}',
|
||||
color: '{content.color}'
|
||||
},
|
||||
rule: {
|
||||
borderColor: '{content.border.color}'
|
||||
},
|
||||
filterConstraint: {
|
||||
hoverBackground: '{content.hover.background}',
|
||||
selectedBackground: '{highlight.background}',
|
||||
color: '{text.color}',
|
||||
hoverColor: '{text.hover.color}',
|
||||
selectedColor: '{highlight.color}',
|
||||
separator: {
|
||||
borderColor: '{content.border.color}'
|
||||
}
|
||||
}
|
||||
},
|
||||
colorScheme: {
|
||||
light: {
|
||||
root: {
|
||||
borderColor: '{content.border.color}'
|
||||
},
|
||||
row: {
|
||||
stripedBackground: '{surface.50}'
|
||||
},
|
||||
bodyCell: {
|
||||
selectedBorderColor: '{primary.100}'
|
||||
}
|
||||
},
|
||||
dark: {
|
||||
root: {
|
||||
borderColor: '{surface.800}'
|
||||
},
|
||||
row: {
|
||||
stripedBackground: '{surface.950}'
|
||||
},
|
||||
bodyCell: {
|
||||
selectedBorderColor: '{primary.900}'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
6
components/lib/themes/lara/datatable/package.json
Normal file
6
components/lib/themes/lara/datatable/package.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./index.cjs.js",
|
||||
"module": "./index.esm.js",
|
||||
"unpkg": "./index.min.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue