UNPKG

malayalam-fonts

Version:

A collection of open source Malayalam web fonts.

62 lines (45 loc) 1.3 kB
# RIT TN Joy Version: `1.6.2` To learn about this font, please visit the [source](https://gitlab.com/rit-fonts/tnjoy). ## Font Files * [RIT-tnjoy-regular.woff2](RIT-tnjoy-regular.woff2) * [RIT-tnjoy-bold.woff2](RIT-tnjoy-bold.woff2) * [RIT-tnjoy-extrabold.woff2](RIT-tnjoy-extrabold.woff2) ## Supported variants * Weights: Normal (400), Bold (700), Extra Bold (800) * Styles: Normal --- ## Installation ```shell npm install malayalam-fonts ``` ## Usage In your main application file or website component, import the `RIT TN Joy` font like this: ```javascript import "malayalam-fonts/fonts/RIT-TNJoy/main.css"; ``` You can specify the font name in a CSS file, CSS Module, or CSS-in-JS. ```css body { font-family: "RIT TN Joy"; font-weight : normal; font-style : normal; } ``` --- ### Use these fonts directly from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/malayalam-fonts) To embed `RIT TN Joy` font, copy the code into the `<head>` of your html : ```css <style> @import url('https://cdn.jsdelivr.net/npm/malayalam-fonts@latest/fonts/RIT-TNJoy/main.min.css'); html { font-family : 'RIT TN Joy'; font-weight : normal; font-style : normal; } </style> ``` Refer font face defined in [`CSS`](main.css) file. --- ## License See [LICENSE.txt](LICENSE.txt)