Coder Social home page Coder Social logo

ikermedina95 / drupal-bootstrap-styles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unicorn-fail/drupal-bootstrap-styles

0.0 1.0 0.0 94 KB

Styles used to bridge the gap between Drupal and Bootstrap.

Home Page: https://www.drupal.org/project/bootstrap

JavaScript 43.46% CSS 56.54%

drupal-bootstrap-styles's Introduction

Drupal Bootstrap Styles

Styles used to bridge the gap between Drupal and Bootstrap.

The primary purpose of this project is to provide additional default styling for Drupal Bootstrap based sub-themes.

Source Files

8.x-3.x (documentation)

7.x-3.x (documentation)


CDN (Distributed)

For CDN based sub-themes, this project compiles the above source files for all branches, versions and themes and publishes them as a package available on NPM. This is primarily due to the shear number of permutations created by these variables; which number in the hundreds, of which the majority of them are simply duplicates of previously compiled output.

Development

When developing locally, you must first install Node.js and Yarn. Once installed, you may run the following commands from the root directory of this project.

Project Installation

yarn install

Compiling

yarn build

API

After the project has been compiled, there is a ./dist/api.json file that is generated alongside the compiled source files. This file contains a record of all files generated. If a file has a symlink entry, it means the file is a duplicate of a previously generated file and you should use it instead. This file is necessary since NPM does not actually publish symlinks.

History

This project was created in an effort to consolidate and simplify the tedious task of compiling multiple permutations of the generated styles within the project. It was also done in an effort to reduce the overall packaged size of the base theme as not everyone will need these styles and, if so, would only need a single compiled versions based on the version and theme chosen. For more information, see the following original Drupal.org issue:

Move "overrides" source files and generated CSS to separate project

drupal-bootstrap-styles's People

Contributors

markhalliwell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.