mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #5667 - Remove base option from theme config
This commit is contained in:
parent
6d688ef675
commit
0979dde96d
438 changed files with 10872 additions and 11957 deletions
|
@ -1,5 +1,38 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const theme = ({ dt }) => `
|
||||
.p-panel {
|
||||
border: 1px solid ${dt('panel.border.color')};
|
||||
border-radius: ${dt('rounded.base')};
|
||||
background: ${dt('panel.background')};
|
||||
color: ${dt('panel.color')};
|
||||
}
|
||||
|
||||
.p-panel-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1.125rem;
|
||||
}
|
||||
|
||||
.p-panel-toggleable .p-panel-header {
|
||||
padding: 0.75rem 1.125rem;
|
||||
}
|
||||
|
||||
.p-panel-title {
|
||||
line-height: 1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.p-panel-content {
|
||||
padding: 0 1.125rem 1.125rem 1.125rem;
|
||||
}
|
||||
|
||||
.p-panel-footer {
|
||||
padding: 0 1.125rem 1.125rem 1.125rem;
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => [
|
||||
'p-panel p-component',
|
||||
|
@ -18,5 +51,6 @@ const classes = {
|
|||
|
||||
export default BaseStyle.extend({
|
||||
name: 'panel',
|
||||
theme,
|
||||
classes
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue