Bear aims to be an alternative to Twitter's Bootstrap or Foundation. I used to take them as a base for my personnal projects but I'm not totally satisfied about the style and some components.
- Documentation
- Source code
- License (MIT licensed)
I hope you will love this project and it will be useful. I'm just "open sourcing" this hoping it could be useful for someone.
- Simple to use and customize
- Written in Sass
- Lightweight
- Make responsive design easy
- Open source <3
I'm a big fan of Ruby on Rails so the kit is available as a gem:
gem 'bear-sass', '~> 1.1'
Then run bundle
to install it and add @import "bear"
at the top of your
stylesheet file.
Alternatively, you can download assets using curl or wget:
$ wget https://github.com/robin850/bear/archive/master.zip
$ unzip master.zip
Then you can use either Sass files (located in the sass
directory) or just
use the generated CSS file (located in the css
folder). Then use a link
tag
in your HTML files and there you go!
If you are using Rails, the gem ships with a rails generator for the layout. You can optionally give the name of the generated layout:
$ rails g bear:layout nice
Then add at the top of your file @import "bear";
to use it! Alternatively, you
can simply invoke the bootstrap generator like this:
$ rails g bear:bootstrap
to create the Bear's folder structure in your application. Your application stylesheets will also be edited to load these files and also load Bear.
The documentation is hosted on github pages. All the components are explained through examples with the necessary code to build them.
Feel free to fix typos and contribute to the documentation in the documentation directory at the root of this repository. Thanks!
Please see the contribution guideline. You are awesome!
Copyright (c) 2013+ Robin Dupret
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.