mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Theming API: Refactor on global.style implementation
This commit is contained in:
parent
88b1c191b6
commit
4677385e6d
2 changed files with 4 additions and 3 deletions
|
@ -203,7 +203,7 @@ export default {
|
|||
let css = [Theme.getStyleSheet(this.name, params, props)];
|
||||
|
||||
if (this.theme) {
|
||||
const name = `${this.name}-style`;
|
||||
const name = this.name === 'base' ? 'global-style' : `${this.name}-style`;
|
||||
const _css = ObjectUtils.getItemValue(this.theme, { dt });
|
||||
const _style = ObjectUtils.minifyCSS(Theme.transformCSS(name, _css));
|
||||
const _props = Object.entries(props)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue