0.2.1 • Published 1 year ago

ab-nextjs-fonts v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ab-nextjs-fonts

IMPORTANT: This is a work in progress and subject to major changes until version 1.0.

āœļø This is a lightweight collection of React fonts created by Abraham Ukachi, and optimized for Next.js applications šŸ˜Ž.

Getting Started

Installation

npm

npm i ab-nextjs-fonts

pnpm

pnpm install ab-nextjs-fonts

Fonts

A list of all the supported fonts and their current status:

No.NameStatus
1InterDone
2MulishDone
3QuicksandDone
4RobotoDone
5ZillaSlabDone

NOTE: These fonts are also available offline ;) See ab-nextjs-theme/typography for more details.

Inter

Use font-inter-* tailwindcss utilities to apply the Inter font to your nextjs/react component:

<p className="font-inter-light">...</p>
# or
<p className="font-inter-medium">...</p>
# or
<p className="font-inter-bold">...</p>

Mulish

Use font-mulish-* tailwindcss utilities to apply the Mulish font to your nextjs/react component:

<p className="font-mulish-light">...</p>
# or
<p className="font-mulish-medium">...</p>
# or
<p className="font-mulish-bold">...</p>

Quicksand

Use font-quicksand-* tailwindcss utilities to apply the Quicksand font to your nextjs/react component:

<p className="font-quicksand-light">...</p>
# or
<p className="font-quicksand-medium">...</p>
# or
<p className="font-quicksand-bold">...</p>

Roboto

Use font-roboto-* tailwindcss utilities to apply the Roboto font to your nextjs/react component:

<p className="font-roboto-light">...</p>
# or
<p className="font-roboto-medium">...</p>
# or
<p className="font-roboto-bold">...</p>

Zilla Slab

Use font-zillaslab-* tailwindcss utilities to apply the ZillaSlab font to your nextjs/react component:

<p className="font-zillaslab-light">...</p>
# or
<p className="font-zillaslab-medium">...</p>
# or
<p className="font-zillaslab-bold">...</p>

TODOs

  • Optimize all fonts
  • Add the Sacramento font
  • Add a Nerd Font font (for easy icon support)

Learn More abElements

To learn more about abElements, take a look at the following resources:

You can check out the abElements GitHub repository for more details.

License

This ab-nextjs-fonts project is MIT Licensed ;)

0.2.1

1 year ago

0.2.0

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.0

1 year ago