Constructor
new Theme() → {Object}
- Source:
Methods
clone()
Keeps an original copy of the theme data in case it needs to be referenced by the user
- Source:
parse()
Parses the given theme data so it's usable by the rest of the app
- Source:
Theme data used by templates with outputs
// theme/index.js
export default {
font: {
size: [ 16, 19, 22, 26, 30, 35 ]
}
}
Keeps an original copy of the theme data in case it needs to be referenced by the user
Parses the given theme data so it's usable by the rest of the app