roboto-stylus

0.0.5 • Public • Published

Roboto Typeface Stylus Binding

Roboto is a neo-grotesque sans-serif typeface family developed by Google

Roboto @Google Fonts

$RobotoFontPath = '../../fonts/';

// Import All Typefaces
@import('roboto-stylus')

// Import Individual Typeface
@import('roboto-stylus/roboto')
@import('roboto-stylus/roboto-slab')
@import('roboto-stylus/roboto-condensed')

Import Individual Font-Faces

// Set your Font Path
$RobotoFontPath = '../../fonts/';

// Import the Mixin
@import('roboto-stylus/roboto.mixins')

// Look at roboto.styl for more variants
Roboto($type: 'Thin',       $weight: 100, $style: normal);
Roboto($type: 'ThinItalic', $weight: 100, $style: italic);

// Look at roboto-slab.styl for more variants
RobotoSlab($type: 'Light',       $weight: 300, $style: normal);
RobotoSlab($type: 'LightItalic', $weight: 300, $style: italic);

Mixin Signature

Roboto(
    $directory = 'roboto', 
    $variant = 'Roboto', 
    $type = 'Regular', 
    $weight = 400, 
    $style = normal
)

Package Sidebar

Install

npm i roboto-stylus

Weekly Downloads

5

Version

0.0.5

License

MIT

Unpacked Size

16 MB

Total Files

118

Last publish

Collaborators

  • amansx