Theme

Mole~ Theme

Theme data used by templates with outputs

// theme/index.js
export default {
	font: {
		size: [ 16, 19, 22, 26, 30, 35 ]
	}
}

Constructor

new Theme() → {Object}

Source:
Returns:
Type:
Object

Returns an object which is used by Mole.Data

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: