source: imaps-frontend/node_modules/@fontsource/roboto/README.md@ 0c6b92a

main
Last change on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100644
File size: 2.5 KB
Line 
1# Fontsource Roboto
2
3[![npm (scoped)](https://img.shields.io/npm/v/@fontsource/roboto?color=brightgreen)](https://www.npmjs.com/package/@fontsource/roboto) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/@fontsource/roboto)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/@fontsource/roboto)](https://github.com/fontsource/fontsource) [![GitHub stars](https://img.shields.io/github/stars/fontsource/fontsource.svg?style=social&label=Star)](https://github.com/fontsource/fontsource/stargazers)
4
5The CSS and web font files to easily self-host the “Roboto” font. Please visit the main [Fontsource website](https://fontsource.org/fonts/roboto) to view more details on this package.
6
7## Quick Installation
8
9Fontsource offers multiple methods to import the CSS, including using a bundler like Vite or using SASS. You can find full documentation [here](https://fontsource.org/docs/getting-started/introduction).
10
11```javascript
12npm install @fontsource/roboto
13```
14
15Within your app entry file or site component, import it in.
16
17```javascript
18import "@fontsource/roboto"; // Defaults to weight 400
19import "@fontsource/roboto/400.css"; // Specify weight
20import "@fontsource/roboto/400-italic.css"; // Specify weight and style
21```
22
23Supported variables:
24- Weights: `[100,300,400,500,700,900]`
25- Styles: `[italic,normal]`
26- Subsets: `[cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese]`
27
28> Note: `italic` may not be supported by all fonts. To learn more about what weights and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/roboto).
29
30Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
31
32```css
33body {
34 font-family: "Roboto";
35}
36```
37
38## Licensing
39Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
40
41Copyright 2011 Google Inc. All Rights Reserved.
42[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
43
44## Other Notes
45Font version (provided by source): `v32`.
46
47If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an [issue](https://github.com/fontsource/fontsource/issues).
Note: See TracBrowser for help on using the repository browser.