mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Init theme structure
This commit is contained in:
parent
f7228f16e0
commit
8e4854474d
26 changed files with 649 additions and 17 deletions
|
@ -35,6 +35,9 @@ export default {
|
|||
loadStyle(options = {}) {
|
||||
return this.css ? useStyle(this.css, { name: this.name, ...options }) : {};
|
||||
},
|
||||
loadTheme(theme, options = {}) {
|
||||
return theme ? useStyle(theme, { name: `${this.name}-style`, ...options }) : {};
|
||||
},
|
||||
getStyleSheet(extendedCSS = '', props = {}) {
|
||||
if (this.css) {
|
||||
const _props = Object.entries(props)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue