Socket
Socket
Sign inDemoInstall

bootstrap-backward

Package Overview
Dependencies
3
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bootstrap-backward

Backward compatibility for older scss versions or other scss implementations for Twitter Bootstrap 4 Alpha 5.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
4.46 MB
Created
Weekly downloads
 

Readme

Source

Bootstrap 4 Alpha 5

Bootstrap 4 with backward compatibility for older versions of Sass like Shopify.

Tested with

  • Shopify
  • OctoberCMS

Changes

  • All features of Sass that can't be build with Shopify are replaced with buildable variants
  • Use of sass-autoprefixer to get browser vendor prefixes directly in Sass without the need of recompile the css file
  • Added variables.json, very useful to generate theme settings for the bootstrap variables
  • Changed comment style of scss/_variables.scss to follow the annotations of Sassdoc, that makes it possible to generate the variables.json

Usage

Several quick start options are available:

  • Clone the repo: git clone https://github.com/JumpLinkNetwork/bootstrap-backward.git
  • Install with npm: npm install bootstrap-backward
  • Install with Bower: bower install bootstrap-backward

create a .scss file like theme.scss and add import sass-autoprefixer and bootstrap-backward:

    @import "../../bower_components/sass-autoprefixer/scss/prefixes";
    @import "../../bower_components/bootstrap-backward/scss/bootstrap";

Used in

Contributing

  • Run npm run variables to generate variables.json
  • Run scss scss/bootstrap-backward.scss:dist/css/bootstrap-backward.css and compare the resulting ./dist/css/bootstrap-backward.css with ./dist/css/bootstrap.css to make sure the result is right.

See the difference between

More

For more information see original github repo of Bootstrap 4

Creators of this fork

JumpLink

Code and documentation copyright 2011-2017 the Bootstrap Authors and Twitter, Inc. Code released under the MIT License. Docs released under Creative Commons.

Keywords

FAQs

Last updated on 06 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc