Improve meteor support
This commit is contained in:
parent
a987577065
commit
866526b8f1
41
package.js
41
package.js
@ -1,3 +1,42 @@
|
|||||||
Package.describe({
|
Package.describe({
|
||||||
summary: "Less-only Flat UI that doesn't require javascript",
|
summary: "Less-only Flat UI that doesn't require javascript"
|
||||||
|
});
|
||||||
|
|
||||||
|
Package.on_use(function (api){
|
||||||
|
api.use('less');
|
||||||
|
api.use('jquery');
|
||||||
|
|
||||||
|
var fonts_path = 'lib/fonts/lato/';
|
||||||
|
var bootstrap_path = 'lib/bootstrap/';
|
||||||
|
|
||||||
|
// Style and scripts
|
||||||
|
api.add_files(bootstrap_path + 'js/bootstrap.js'), 'client');
|
||||||
|
api.add_files(bootstrap_path + 'less/bootstrap.import.less'), 'client');
|
||||||
|
api.add_files('lib/less/flat-ui.import.less'), 'client');
|
||||||
|
|
||||||
|
// Fonts
|
||||||
|
api.add_files(fonts_path + 'lato-black.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-black.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-black.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-black.woff'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bold.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bold.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bold.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bold.woff'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bolditalic.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bolditalic.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bolditalic.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-bolditalic.woff'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-italic.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-italic.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-italic.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-italic.woff'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-light.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-light.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-light.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-light.woff'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-regular.eot'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-regular.svg'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-regular.ttf'), 'client');
|
||||||
|
api.add_files(fonts_path + 'lato-regular.woff'), 'client');
|
||||||
});
|
});
|
||||||
|
16
smart.json
16
smart.json
@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "flatter-ui",
|
"name": "flatter-ui",
|
||||||
"description": "Less-only Flat UI that doesn't require javascript",
|
"description": "Less-only Flat UI that doesn't require javascript",
|
||||||
"homepage": "https://github.com/Rnhmjoj/flatter-ui",
|
"homepage": "https://github.com/Rnhmjoj/flatter-ui",
|
||||||
"author": "Michele Guerini Rocco <micheleguerinirocco@me.com>",
|
"author": "Michele Guerini Rocco <micheleguerinirocco@me.com>",
|
||||||
"version": "0.1.10",
|
"version": "0.2",
|
||||||
"git": "https://github.com/rnhmjoj/flatter-ui.git",
|
"git": "https://github.com/rnhmjoj/flatter-ui.git",
|
||||||
"packages": {}
|
"packages": {
|
||||||
|
"font-awesome": "4.1.10"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user