Migrated toolbar

pull/5507/head
Cagatay Civici 2024-02-10 12:48:36 +03:00
parent 607f586309
commit 57a9e6db10
2 changed files with 30 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import global from 'primevue/theme/aura/global';
import panel from 'primevue/theme/aura/panel';
import scrollpanel from 'primevue/theme/aura/scrollpanel';
import splitter from 'primevue/theme/aura/splitter';
import toolbar from 'primevue/theme/aura/toolbar';
export default {
primitive: {
@ -149,7 +150,8 @@ export default {
divider,
fieldset,
panel,
scrollpanel,
splitter,
scrollpanel
toolbar
}
};

View File

@ -0,0 +1,27 @@
export default {
css: `
.p-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
padding: 0.75rem;
background: var(--p-dark-surface-900, var(--p-surface-0));
border: 1px solid var(--p-dark-surface-700, var(--p-surface-200));
color: var(--p-dark-surface-0, var(--p-surface-700));
border-radius: var(--p-border-radius);
gap: 0.5rem;
}
.p-toolbar-group-start,
.p-toolbar-group-center,
.p-toolbar-group-end {
display: flex;
align-items: center;
}
.p-toolbar-separator {
margin: 0 0.5rem;
}
`
};