diff --git a/components/lib/themes/helpers/css.js b/components/lib/themes/helpers/css.js new file mode 100644 index 000000000..eaf052ad8 --- /dev/null +++ b/components/lib/themes/helpers/css.js @@ -0,0 +1,3 @@ +import { dt, SharedUtils } from 'primevue/themes'; + +export const css = (style) => SharedUtils.object.getItemValue(style, { dt }); diff --git a/components/lib/themes/helpers/index.js b/components/lib/themes/helpers/index.js index 4795c147f..f96847ed9 100644 --- a/components/lib/themes/helpers/index.js +++ b/components/lib/themes/helpers/index.js @@ -1,3 +1,4 @@ export * from './color/index.js'; +export * from './css'; export * from './dt'; export { default as toVariables } from './toVariables';