@fontsource/noto-color-emoji 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/400.css ADDED
@@ -0,0 +1,25 @@
1
+ /* noto-color-emoji-all-400-normal*/
2
+ @font-face {
3
+ font-family: 'Noto Color Emoji';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url('./files/noto-color-emoji-all-400-normal.woff2') format('woff2'), url('./files/noto-color-emoji-all-400-normal.woff') format('woff');
8
+
9
+ }
10
+ .noto-color-emoji {
11
+ font-family: 'Noto Color Emoji';
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ font-size: 24px; /* Preferred icon size */
15
+ display: inline-block;
16
+ line-height: 1;
17
+ text-transform: none;
18
+ letter-spacing: normal;
19
+ word-wrap: normal;
20
+ white-space: nowrap;
21
+ direction: ltr;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # Changelog
2
+
3
+ See the [Fontsource CHANGELOG.md](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md).
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Fontsource Noto Color Emoji
2
+
3
+ [![npm (scoped)](https://img.shields.io/npm/v/@fontsource/noto-color-emoji?color=brightgreen)](https://www.npmjs.com/package/@fontsource/noto-color-emoji) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/@fontsource/noto-color-emoji)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/@fontsource/noto-color-emoji)](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
+
5
+ The CSS and web font files to easily self-host the “Noto Color Emoji” font. Please visit the main [Fontsource website](https://fontsource.org/fonts/noto-color-emoji) to view more details on this package.
6
+
7
+ ## Quick Installation
8
+
9
+ Fontsource has a variety of methods to import CSS, such as using a bundler like Webpack. Alternatively, it supports SASS. Full documentation can be found [here](https://fontsource.org/docs/introduction).
10
+
11
+ ```javascript
12
+ yarn add @fontsource/noto-color-emoji // npm install @fontsource/noto-color-emoji
13
+ ```
14
+
15
+ Within your app entry file or site component, import it in.
16
+
17
+ ```javascript
18
+ import "@fontsource/noto-color-emoji"; // Defaults to weight 400.
19
+ ```
20
+
21
+ Supported variables:
22
+
23
+ - Weights: `[400]`
24
+ - Styles: `[normal]`
25
+ - Supported subsets: `[all]`
26
+
27
+ Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
28
+
29
+ ```css
30
+ body {
31
+ font-family: "Noto Color Emoji";
32
+ }
33
+ ```
34
+
35
+ ## Licensing
36
+
37
+ It is important to always read the license for every font that you use.
38
+ 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.
39
+
40
+ Font [Source](https://github.com/googlefonts/noto-emoji) and [License](https://github.com/googlefonts/noto-emoji/blob/main/LICENSE).
41
+
42
+ ## Other Notes
43
+
44
+ Font version (provided by source): `v14`.
45
+
46
+ Feel free to star and contribute new ideas to this repository that aim to improve the performance of font loading, as well as expanding the existing library we already have. Any suggestions or ideas can be voiced via an [issue](https://github.com/fontsource/fontsource/issues).
package/all-400.css ADDED
@@ -0,0 +1,25 @@
1
+ /* noto-color-emoji-all-400-normal*/
2
+ @font-face {
3
+ font-family: 'Noto Color Emoji';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url('./files/noto-color-emoji-all-400-normal.woff2') format('woff2'), url('./files/noto-color-emoji-all-400-normal.woff') format('woff');
8
+
9
+ }
10
+ .noto-color-emoji {
11
+ font-family: 'Noto Color Emoji';
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ font-size: 24px; /* Preferred icon size */
15
+ display: inline-block;
16
+ line-height: 1;
17
+ text-transform: none;
18
+ letter-spacing: normal;
19
+ word-wrap: normal;
20
+ white-space: nowrap;
21
+ direction: ltr;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
package/all.css ADDED
@@ -0,0 +1,25 @@
1
+ /* noto-color-emoji-all-400-normal*/
2
+ @font-face {
3
+ font-family: 'Noto Color Emoji';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url('./files/noto-color-emoji-all-400-normal.woff2') format('woff2'), url('./files/noto-color-emoji-all-400-normal.woff') format('woff');
8
+
9
+ }
10
+ .noto-color-emoji {
11
+ font-family: 'Noto Color Emoji';
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ font-size: 24px; /* Preferred icon size */
15
+ display: inline-block;
16
+ line-height: 1;
17
+ text-transform: none;
18
+ letter-spacing: normal;
19
+ word-wrap: normal;
20
+ white-space: nowrap;
21
+ direction: ltr;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
@@ -0,0 +1,4 @@
1
+ [
2
+ "./fonts/icons/noto-color-emoji/files/noto-color-emoji-all-400-normal.woff",
3
+ "./fonts/icons/noto-color-emoji/files/noto-color-emoji-all-400-normal.woff2"
4
+ ]
package/index.css ADDED
@@ -0,0 +1,25 @@
1
+ /* noto-color-emoji-all-400-normal*/
2
+ @font-face {
3
+ font-family: 'Noto Color Emoji';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url('./files/noto-color-emoji-all-400-normal.woff2') format('woff2'), url('./files/noto-color-emoji-all-400-normal.woff') format('woff');
8
+
9
+ }
10
+ .noto-color-emoji {
11
+ font-family: 'Noto Color Emoji';
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ font-size: 24px; /* Preferred icon size */
15
+ display: inline-block;
16
+ line-height: 1;
17
+ text-transform: none;
18
+ letter-spacing: normal;
19
+ word-wrap: normal;
20
+ white-space: nowrap;
21
+ direction: ltr;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
package/metadata.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "fontId": "noto-color-emoji",
3
+ "fontName": "Noto Color Emoji",
4
+ "subsets": ["all"],
5
+ "weights": [400],
6
+ "styles": ["normal"],
7
+ "defSubset": "all",
8
+ "variable": false,
9
+ "lastModified": "2022-03-26",
10
+ "version": "v14",
11
+ "category": "other",
12
+ "source": "https://github.com/googlefonts/noto-emoji",
13
+ "license": "https://github.com/googlefonts/noto-emoji/blob/main/LICENSE",
14
+ "type": "icons"
15
+ }
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@fontsource/noto-color-emoji",
3
+ "version": "4.5.0",
4
+ "description": "Self-host the Noto Color Emoji font in a neatly bundled NPM package.",
5
+ "main": "index.css",
6
+ "publishConfig": { "access": "public" },
7
+ "keywords": [
8
+ "fontsource",
9
+ "font",
10
+ "font family",
11
+ "google fonts",
12
+ "Noto Color Emoji",
13
+ "noto-color-emoji",
14
+ "css",
15
+ "sass",
16
+ "front-end",
17
+ "web",
18
+ "typeface"
19
+ ],
20
+ "author": "Lotus <declininglotus@gmail.com>",
21
+ "license": "MIT",
22
+ "homepage": "https://github.com/fontsource/fontsource/tree/main/fonts/icons/noto-color-emoji#readme",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/fontsource/fontsource.git",
26
+ "directory": "fonts/icons/noto-color-emoji"
27
+ }
28
+ }
@@ -0,0 +1,54 @@
1
+ $fontName: "Noto Color Emoji";
2
+ $fontId: "noto-color-emoji";
3
+ $style: normal;
4
+ $display: swap;
5
+ $weight: 400;
6
+ $fontDir: "~@fontsource/#{$fontId}/files";
7
+ $unicodeRange: false;
8
+ $unicodeRangeValues: null;
9
+
10
+ @mixin fontFaceCustom(
11
+ $fontName: $fontName,
12
+ $fontId: $fontId,
13
+ $style: $style,
14
+ $display: $display,
15
+ $weight: $weight,
16
+ $woff2Path: null,
17
+ $woffPath: null,
18
+ $unicodeRange: $unicodeRange,
19
+ $unicodeRangeValues: $unicodeRangeValues
20
+ ) {
21
+ @if $woffPath == null {
22
+ $woffPath: "#{$fontDir}/#{$fontId}-all-#{$weight}-#{$style}.woff";
23
+ }
24
+ @if $woff2Path == null {
25
+ $woff2Path: "#{$fontDir}/#{$fontId}-all-#{$weight}-#{$style}.woff2";
26
+ }
27
+
28
+ @font-face {
29
+ font-family: "#{$fontName}";
30
+ font-style: $style;
31
+ font-display: $display;
32
+ font-weight: $weight;
33
+ src: url("#{$woff2Path}") format("woff2"), url("#{$woffPath}") format("woff");
34
+ @if $unicodeRange {
35
+ unicode-range: $unicodeRangeValues;
36
+ }
37
+ }
38
+ }
39
+ .noto-color-emoji {
40
+ font-family: 'Noto Color Emoji';
41
+ font-weight: normal;
42
+ font-style: normal;
43
+ font-size: 24px; /* Preferred icon size */
44
+ display: inline-block;
45
+ line-height: 1;
46
+ text-transform: none;
47
+ letter-spacing: normal;
48
+ word-wrap: normal;
49
+ white-space: nowrap;
50
+ direction: ltr;
51
+ -webkit-font-smoothing: antialiased;
52
+ text-rendering: optimizeLegibility;
53
+ -moz-osx-font-smoothing: grayscale;
54
+ }
package/unicode.json ADDED
@@ -0,0 +1 @@
1
+ {}