Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-factoring : #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
module.exports = function(grunt) {
grunt.initConfig({

pkg: grunt.file.readJSON('package.json'),
cssmin: {
options: {
banner: '/*\n <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> \n*/\n'
},
build: {
files: {
'css/skeleton.min.css': 'css/skeleton.css'
}
}
},
less: {
development: {
options: {
Expand Down Expand Up @@ -29,6 +41,7 @@ module.exports = function(grunt) {
});

grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['less', 'watch']);
};
grunt.registerTask('default', ['less', 'cssmin','watch']);
};
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Check out <http://getskeleton.com> for documentation and details.
* [Download zip](https://github.com/whatsnewsaes/Skeleton-Less/archive/master.zip), [clone the repo](github-mac://openRepo/https://github.com/whatsnewsaes/Skeleton-Less) or `bower install skeleton-less` from your terminal
* cd to project folder
* run `[sudo] npm install` (first time users)
* run `grunt` (to watch and compile Less files)
* run `grunt` (compile and cssmin Less files)
* run `grunt cssmin` (to minify css files)
* run `grunt watch` (to watch and compile Less files)

### What's in the download?

Expand All @@ -29,6 +31,19 @@ The download includes Skeleton's CSS, ~~Normalize CSS as a reset,~~ a sample fav
skeleton/
├── index.html
├── less/
│ └── skeleton
│ │ └── _variables.less
│ │ └── _mixins.less
│ │ └── _grid.less
│ │ └── _forms.less
│ │ └── _buttons.less
│ │ └── _type.less
│ │ └── _code.less
│ │ └── _tables.less
│ │ └── _utilities.less
│ │ └── _normalize.less
│ │ └── _medias.less
│ │
│ └── skeleton.less
├── images/
│ └── favicon.png
Expand All @@ -46,7 +61,7 @@ If you have Less improvements, additional mixins, or other helpful Less techniqu
### Why it's awesome

Skeleton is lightweight and simple. It styles only raw HTML elements (with a few exceptions) and provides a responsive grid. Nothing more.
- Minified, it's less than a kb
- Minified to 5,75k
- It's a starting point, not a UI framework
- ~~No compiling or installing...just vanilla CSS~~

Expand Down
7 changes: 7 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"authors": [
"Seth Coelen <[email protected]> (http://SethCoelen.com)"
],
"contributors":[
{
"name": "Amine el harrak",
"email": "[email protected]",
"url": "https://amine-elharrak.rhcloud.com/"
}
],
"description": "The (un)official Less Version of Skeleton (2.0.4): A Dead Simple, Responsive Boilerplate for Mobile-Friendly Development",
"main": "less/skeleton.less",
"keywords": [
Expand Down
Loading