Init theme structure

This commit is contained in:
mertsincan 2024-01-02 10:18:28 +00:00
parent f7228f16e0
commit 8e4854474d
26 changed files with 649 additions and 17 deletions

View file

@ -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)