mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Theming API: update nuxt-primevue module
This commit is contained in:
parent
b5e53e6fa3
commit
a5dff7722e
11 changed files with 46 additions and 50 deletions
|
@ -5,7 +5,7 @@ const types = ['value', 'variable'];
|
|||
export const $dt = (tokenPath, param1, param2) => {
|
||||
const config = Theme.getPConfig();
|
||||
|
||||
return types.includes(param1) ? dt(config?.theme, tokenPath, undefined, param2) : dt(config?.theme, tokenPath, param1, param2);
|
||||
return types.includes(param1) ? dt(config?.theme, tokenPath, undefined, param1) : dt(config?.theme, tokenPath, param1, param2);
|
||||
};
|
||||
|
||||
export const dt = (theme = {}, tokenPath, fallback, type = 'variable') => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue