Skip to content

The SwiftFont is a font library where user only needs to add class name as the font they need.

License

Notifications You must be signed in to change notification settings

dev-najexoz/swiftfonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

SwiftFonts

SwiftFonts is a simple and lightweight CSS library designed to help developers easily apply hundreds of popular fonts to their websites. With SwiftFonts, you don't need to worry about managing font files or writing long font declarations. Just include the library, and you're ready to use a wide range of fonts in your project with a single class.

Features

  • Includes hundreds of popular fonts like Poppins, Roboto, Helvetica, Open Sans, and many more.
  • No need for external font files – everything is included within the library.
  • Easy-to-use class names – simply apply the class to any HTML element to change the font.
  • Supports system fonts as fallback options for better performance.

Installation

You can include SwiftFonts in your project by linking to the swiftfonts.css file. You can either:

  1. Download the file directly from the repository and include it in your project.
  2. Link to the raw CSS file hosted on GitHub (or via your server).

Example:

<link rel="stylesheet" href="dev-najexoz.github.io/swiftfonts/swiftfont.css">

Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.

How to Contribute:

  • Fork the repository.
  • Create a new branch (git checkout -b feature-name).
  • Make your changes.
  • Commit your changes (git commit -m 'Add new feature').
  • Push to the branch (git push origin feature-name).
  • Create a new Pull Request.
  • License

This project is licensed under the MIT License - see the LICENSE file for details.

About

The SwiftFont is a font library where user only needs to add class name as the font they need.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages