Skip to content

strikeout/meteor-jq-flowtype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A wrapper for the excellent FlowType.JS library

Responsive web typography at its finest: font-size and line-height based on element width.

Check out the demo site.

Meteor

In Meteor, just use it as you normally would - but in your Templates rendered function

Template.body.rendered = function(e) {
	$('body').flowtype({
	   minimum   : 500,
	   maximum   : 1200,
	   minFont   : 12,
	   maxFont   : 40,
	   fontRatio : 30,
	   lineRatio : 1.45
	});
}

About

FlowType.JS smart package for Meteor

Resources

License

Stars

Watchers

Forks

Packages

No packages published