Coder Social home page Coder Social logo

How to config variables about bootstrap-sass HOT 3 CLOSED

twbs avatar twbs commented on April 28, 2024
How to config variables

from bootstrap-sass.

Comments (3)

grk avatar grk commented on April 28, 2024

Try doing it like this: https://gist.github.com/1243355

from bootstrap-sass.

thomas-mcdonald avatar thomas-mcdonald commented on April 28, 2024

Sorry for the late response, I've had a crazy week with essays and my uni application.

@grk's method should work pretty well for now. Creating an app-side variables.css.scss is something should be addressed in #1, but it appears sass-rails imports from the current directory if the file exists before looking through the asset paths, meaning it will use the gem's copy of variables.css.scss with the default helper manifest. I think this won't be so much of an issue if I create a new manifest that will live in app/assets on rake bootstrap:variables, (something like boostrap-custom.css.scss) since it should (hopefully) look in app/assets before going to the gem file, but I haven't had time this week to check it out properly.

from bootstrap-sass.

thomas-mcdonald avatar thomas-mcdonald commented on April 28, 2024

@grk's method for configuring variables in bootstrap-sass will be recommended in the new documentation site (when I get it finished).

Whether it is with a generator or not is something I still haven't decided.

from bootstrap-sass.

Related Issues (20)

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.