No longer maintained, sorry.
No longer maintained, sorry.
re-bulma
Bulma components build with react (based bulma(https://github.com/jgthms/bulma) v0.1.0)
This repository is heavily under development and unstable.
Install
npm i -S re-bulma
In your javascript pick up the css using
import insertCss from 'insert-css';
import css from '<path to yours or rebulmas>/build/css';
try {
if (typeof document !== 'undefined' || document !== null) insertCss(css, { prepend: true });
} catch (e) {}
If you want to change the styles then do the following as well.
npm install [email protected] --save-dev
npm install https://github.com/bokuweb/csjs.git --save-dev
npm install lodash.camelcase --save-dev
add the following to your Gruntfile.js or do similar for your build process
shell: {
buildReBulma: {
command: 'node node_modules/re-bulma/scripts/transform.js
./re-bulma-variables.properties node_modules/re-bulma/src/styles/ build/ no'
}
and include shell:buildReBulma in the grunt.registerTask('default'...) line
in the re-bulma-variables.properties specify the settings you require (see the
re-bulma/default/re-bulma-variables.properties for reference)
Development
npm i
npm start
- styleguide server
npm run styleguide-server
- build style
If you change src/styles/*.css, pelease rebuild styles.
npm run build:style
Document
See http://bokuweb.github.io/re-bulma/, and please try to edit sample code.
Components
Grid
- Columns
- Tile
Elements
- Box
- Button
- Content
- Form
- Icon
- Image
- Notification
- Progress
- Table
- Tag
- Titles
Components
- Card
- Level
- Media object
- Menu
- Message
- Modal
- Nav
- Pagination
- Panel
- Tabs
Layout
- Container
- Hero
- Section
- Footer
License
The MIT License (MIT)
Copyright (c) 2016 @Bokuweb
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.