mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-25 01:20:10 +00:00
chore: mount themes on module object
This commit is contained in:
parent
9e4cae697b
commit
aca092f5d1
19
index.js
Normal file
19
index.js
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
Mount individual themes onto the module object for convenience.
|
||||
@module index.js
|
||||
@license MIT. See LICENSE.md for details.
|
||||
*/
|
||||
|
||||
(function(){
|
||||
|
||||
module.exports = {
|
||||
themes: {
|
||||
awesome: require('./themes/awesome/theme.json'),
|
||||
basis: require('./themes/basis/theme.json'),
|
||||
compact: require('./themes/compact/theme.json'),
|
||||
modern: require('./themes/modern/theme.json'),
|
||||
positive: require('./themes/positive/theme.json')
|
||||
}
|
||||
};
|
||||
|
||||
}());
|
@ -6,7 +6,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/fluentdesk/fresh-themes.git"
|
||||
},
|
||||
"main": "README.md",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
"résumé",
|
||||
"resume",
|
||||
|
Loading…
Reference in New Issue
Block a user