Code Monkey home page Code Monkey logo

Comments (5)

whmii avatar whmii commented on August 23, 2024

One option (which might be a bit crazy) is to have breakpoint variables defined in Neat with !default and also have them in Bitters's variables.scss.

This would make it easier to use Bitters independent of Neat.

from bitters.

jmartsch avatar jmartsch commented on August 23, 2024

Please don´t make Neat a dependency, because i and others would be able to use a sytem like Susy for their grids, instead of neat.

from bitters.

bx2 avatar bx2 commented on August 23, 2024

I agree with @jmar, I wouldn't connect Neat with any typography module. I think that the main strength of the whole thoughtbot's "package" is modularity.

from bitters.

tysongach avatar tysongach commented on August 23, 2024

@kylefiedler What did you have in mind with the typography, exactly? I do love to enlarge the global font-size via media-queries on the body tag:

body {
  font-size: $base-font-size;

  @include media($small-screen-up) {
    font-size: $base-font-size * 1.0625;
  }

  @include media($medium-screen-up) {
    font-size: $base-font-size * 1.1875;
  }

  @include media($large-screen-up) {
    font-size: $base-font-size * 1.375;
  }
}

However, I also worry about making a Neat dependency and forcing people to include it when they might want to use another grid framework.

If you have some specific ideas (or maybe mine above), they could be added to Refills’ type system components.

from bitters.

whmii avatar whmii commented on August 23, 2024

I could see having some basic media query variables added to bitters to let us do some more advanced typography, etc. This could be done right with using the same variable names some clever use of !default. I would definitely agree that one of the greatest strengths of the bourbon system is its modularity and it would be dangerous to remove that.

from bitters.

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.