Update palette doc

pull/5507/head
Cagatay Civici 2024-04-01 01:33:17 +03:00
parent 35d0377355
commit 7e1a40b1be
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,11 @@ export default {
basic: ` basic: `
import { palette } from 'primevue/themes'; import { palette } from 'primevue/themes';
const values = palette('#10b981'); // custom color
const values1 = palette('#10b981');
// copy an existing token set
const primaryColor = palette('{blue}');
` `
} }
}; };