mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Refactor on some demo
This commit is contained in:
parent
5f09ecd0a0
commit
8af7127be8
4 changed files with 43 additions and 22 deletions
|
@ -22,14 +22,14 @@ app.use(PrimeVue, {
|
|||
pt: {
|
||||
button: {
|
||||
root: { class: 'bg-teal-500 hover:bg-teal-700 cursor-pointer text-white p-3 border-round border-none flex gap-2' },
|
||||
label: { class: 'text-white font-bold text-xl' },
|
||||
icon: { class: 'text-white text-2xl' }
|
||||
label: 'text-white font-bold text-xl', // OR { class: 'text-white font-bold text-xl' }
|
||||
icon: 'text-white text-2xl'
|
||||
},
|
||||
panel: {
|
||||
header: { class: 'bg-primary border-primary' },
|
||||
content: { class: 'border-primary text-lg text-primary-700' },
|
||||
title: { class: 'bg-primary text-xl' },
|
||||
toggler: { class: 'bg-primary hover:bg-primary-reverse' }
|
||||
header: 'bg-primary border-primary',
|
||||
content: 'border-primary text-lg text-primary-700',
|
||||
title: 'bg-primary text-xl',
|
||||
toggler: 'bg-primary hover:bg-primary-reverse'
|
||||
}
|
||||
}
|
||||
});`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue