flatter-ui/package.js

46 lines
1.9 KiB
JavaScript
Raw Normal View History

2014-06-19 16:40:22 +02:00
Package.describe({
2014-09-22 20:25:56 +02:00
summary: "Less-only Flat UI that doesn't require javascript",
2014-09-22 20:30:35 +02:00
name: 'mrt:flatter-ui',
2014-09-22 20:25:56 +02:00
version: '0.2.3'
2014-06-29 02:27:19 +02:00
});
Package.on_use(function (api){
2014-09-22 20:37:46 +02:00
api.use('less@1.0.8');
api.use('jquery@1.0.0');
2014-09-22 20:36:11 +02:00
api.use('mrt:font-awesome-4-less@4.3.9')
2014-06-29 02:27:19 +02:00
var fonts_path = 'lib/fonts/lato/';
var bootstrap_path = 'lib/bootstrap/';
// Style and scripts
2014-07-08 12:33:27 +02:00
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');
2014-06-29 02:27:19 +02:00
// Fonts
2014-07-08 12:33:27 +02:00
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');
2014-06-19 16:40:22 +02:00
});