jptaranto / typey Goto Github PK
View Code? Open in Web Editor NEWA complete framework for working with typography on the web.
License: MIT License
A complete framework for working with typography on the web.
License: MIT License
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.
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?
Sometimes we must have different font-size for mobile and desktop resolutions. Will be cool to include breakpoints feature.
Hi,
I would to replace Compass Vertical Rhythms by Typey but:
@import 'typey';
basePaths.node_modules + 'typey/stylesheets'
includePaths: [].concat(
assetsPath.gems
//assetsPath.node_modules
),
Thanks
There hasn't been any changes to the code base in a while and I know this code is being used in production, so I'd recommend tagging a 1.0.0 release. Congrats!
But, please merge #7 first. :-)
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?
Just a suggestion. Consider adding 'color', 'style' and 'letter-spacing' as accepted properties in the '$typestyles' map.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.