Add `css` helper to themes

pull/5701/head
Mert Sincan 2024-05-03 23:10:39 +01:00
parent 4221682530
commit 3e0c68734f
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
import { dt, SharedUtils } from 'primevue/themes';
export const css = (style) => SharedUtils.object.getItemValue(style, { dt });

View File

@ -1,3 +1,4 @@
export * from './color/index.js';
export * from './css';
export * from './dt';
export { default as toVariables } from './toVariables';