GithubHelp home page GithubHelp logo

typey's Issues

Why the GPLv2 license instead of the MIT?

I would like to make use of Typey in a CSS framework using NPM. While the framework does not modify Typey, I cannot include a minified version *.css because of license restrictions (the CSS framework is MIT licensed while Typey is GPLv2).

Is there a particular reason you chose the GPLv2 license for Typey?

Increase spacing size when text increases

Currently I have my font size/line-height set at 16/24 and my method set to 'ratio'. With this set-up I can use '@include margin-bottom(1);' and it will output the margin-bottom to 24px/1.5rem (as expected). However, when I hit a higher breakpoint and increase my font size to 18 at 1.5 (18/27) the margin-bottom remains at 24px/1.5rem instead of matching the new line-height.

The Rem is correct but the pixel fallback is still 24px. Am I doing something wrong? or is this the expected outcome?

Cannot set font-style

Maybe I'm doing it wrong, but my typefaces are ignoring font-style. I tried like this:

$typefaces: (
    menu: (
        font-family: $helvetica,
        weight: bold,
        case: uppercase,
        font-style: italic,
    ),
);

Just in case, I tried with style: italic; too. Either way, the definition isn't appearing in CSS. Is a typeface supposed to accept font-styles?

I'm using Typey 1.0.3.

Need help to use Typey

Hi,

I would to replace Compass Vertical Rhythms by Typey but:

  • Do I install libsass 3.3.0 / ruby-sass 3.3.0 ? Because I already have gulp-sass (with the node-sass dependency) and it seem not to work
    What I did:
    in my application.scss >> @import 'typey';
    in my gulpfile.js >>
    basePaths.node_modules + 'typey/stylesheets'
    and
 includePaths: [].concat(
                        assetsPath.gems
                        //assetsPath.node_modules
                        ),
  • How to test if typey work ?
  • I don't find how to override the default settings. Do I need to create a scss file in my project to do so ?

Thanks

Add breakpoints in $typestyles

Sometimes we must have different font-size for mobile and desktop resolutions. Will be cool to include breakpoints feature.

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.