# g4code.font.family

> font family mixin library

Latest version **2.1.0** (published 2020-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install g4code.font.family
pnpm add g4code.font.family
yarn add g4code.font.family
bun add g4code.font.family
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2020-09-01 |
| First published | 2020-09-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 191.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | G4 Code |
| Maintainers | jovanivezic |
| Keywords | g4code.font.family |

## Links

- npm: https://www.npmjs.com/package/g4code.font.family
- Repository: https://github.com/g4code/g4.font.family
- Issues: https://github.com/g4code/g4.font.family/issues
- npm.io page: https://npm.io/package/g4code.font.family

## Recent versions

- 2.1.0 (latest) — 2020-09-01

## README

Font Family
======

> g4.font.family - [compass](http://http://compass-style.org/) mixin library

## Install
Via npm

```sh
npm install g4code.font.family
```

## Usage

**Import**

Import bower package mixin for font-family in to project for example

```sh
@import             "../../public/node_modules/g4code.font.family/src/font_family";
```
Now you need to declare font-family which you want to have on site

**Declare**


```sass


@include font_family(Font_name);


@include font_family(Roboto);


@include font_family(OpenSans);


```

All fonts has same naming convention

Name + sufix
OpenSans-LightItalic
Roboto-LightItalic

Now we have successfuly setup font family on our project. Default font it will be

font-family: Roboto
font-style: normal;
font-weight: 400;


**Custom weight**

You have possibility to load different fonts weight

for example:

```sh
.some_selector {
    @extend %f700;
}
```

**Limits**
You can't use this @extend method inside @mediaqueries


## License

Copyright (c) 2016 [g4code](http://http://g4code.com/) (https://github.com/g4code)
(The MIT License) see LICENSE file for details.

---
_Source: https://npm.io/package/g4code.font.family · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
