@fontsource-variable/chiron-hei-hk 5.2.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,2 @@
1
+ # Changelog
2
+ See the [Fontsource CHANGELOG.md](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md).
package/LICENSE ADDED
@@ -0,0 +1,93 @@
1
+ Google Inc.
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # Fontsource Chiron Hei HK
2
+
3
+ [![npm (scoped)](https://img.shields.io/npm/v/@fontsource-variable/chiron-hei-hk?color=brightgreen)](https://www.npmjs.com/package/@fontsource-variable/chiron-hei-hk) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/@fontsource-variable/chiron-hei-hk)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/@fontsource-variable/chiron-hei-hk)](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 “Chiron Hei HK” variable font. Please visit the main [Fontsource website](https://fontsource.org/fonts/chiron-hei-hk) to view more details on this package.
6
+
7
+ ## Quick Installation
8
+
9
+ Fontsource 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
12
+ npm install @fontsource-variable/chiron-hei-hk
13
+ ```
14
+
15
+ Within your app entry file or site component, import it in.
16
+
17
+ ```javascript
18
+ import "@fontsource-variable/chiron-hei-hk"; // Defaults to wght axis
19
+ import "@fontsource-variable/chiron-hei-hk/wght.css"; // Specify axis
20
+ import "@fontsource-variable/chiron-hei-hk/wght-italic.css"; // Specify axis and style
21
+ ```
22
+
23
+ Supported variables:
24
+ - Weights: `[200,300,400,500,600,700,800,900]`
25
+ - Styles: `[italic,normal]`
26
+ - Subsets: `[chinese-hongkong,cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,symbols2,vietnamese]`
27
+ - Axes: `[wght]`
28
+
29
+ > Note: `italic` may not be supported by all fonts. To learn more about what axes and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/chiron-hei-hk).
30
+
31
+ Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
32
+
33
+ ```css
34
+ body {
35
+ font-family: "Chiron Hei HK Variable";
36
+ }
37
+ ```
38
+
39
+ ## Licensing
40
+ Always 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.
41
+
42
+ Google Inc.
43
+ [OFL-1.1](http://scripts.sil.org/OFL)
44
+
45
+ ## Other Notes
46
+ Font version (provided by source): `v1`.
47
+
48
+ If 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).
package/index.css ADDED
@@ -0,0 +1,79 @@
1
+ /* chiron-hei-hk-latin-wght-normal */
2
+ @font-face {
3
+ font-family: 'Chiron Hei HK Variable';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 200 900;
7
+ src: url(./files/chiron-hei-hk-latin-wght-normal.woff2) format('woff2-variations');
8
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
+ }
10
+
11
+ /* chiron-hei-hk-cyrillic-ext-wght-normal */
12
+ @font-face {
13
+ font-family: 'Chiron Hei HK Variable';
14
+ font-style: normal;
15
+ font-display: swap;
16
+ font-weight: 200 900;
17
+ src: url(./files/chiron-hei-hk-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
18
+ unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
19
+ }
20
+
21
+ /* chiron-hei-hk-cyrillic-wght-normal */
22
+ @font-face {
23
+ font-family: 'Chiron Hei HK Variable';
24
+ font-style: normal;
25
+ font-display: swap;
26
+ font-weight: 200 900;
27
+ src: url(./files/chiron-hei-hk-cyrillic-wght-normal.woff2) format('woff2-variations');
28
+ unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
29
+ }
30
+
31
+ /* chiron-hei-hk-greek-ext-wght-normal */
32
+ @font-face {
33
+ font-family: 'Chiron Hei HK Variable';
34
+ font-style: normal;
35
+ font-display: swap;
36
+ font-weight: 200 900;
37
+ src: url(./files/chiron-hei-hk-greek-ext-wght-normal.woff2) format('woff2-variations');
38
+ unicode-range: U+1F00-1FFF;
39
+ }
40
+
41
+ /* chiron-hei-hk-greek-wght-normal */
42
+ @font-face {
43
+ font-family: 'Chiron Hei HK Variable';
44
+ font-style: normal;
45
+ font-display: swap;
46
+ font-weight: 200 900;
47
+ src: url(./files/chiron-hei-hk-greek-wght-normal.woff2) format('woff2-variations');
48
+ unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
49
+ }
50
+
51
+ /* chiron-hei-hk-symbols2-wght-normal */
52
+ @font-face {
53
+ font-family: 'Chiron Hei HK Variable';
54
+ font-style: normal;
55
+ font-display: swap;
56
+ font-weight: 200 900;
57
+ src: url(./files/chiron-hei-hk-symbols2-wght-normal.woff2) format('woff2-variations');
58
+ unicode-range: U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F;
59
+ }
60
+
61
+ /* chiron-hei-hk-vietnamese-wght-normal */
62
+ @font-face {
63
+ font-family: 'Chiron Hei HK Variable';
64
+ font-style: normal;
65
+ font-display: swap;
66
+ font-weight: 200 900;
67
+ src: url(./files/chiron-hei-hk-vietnamese-wght-normal.woff2) format('woff2-variations');
68
+ unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
69
+ }
70
+
71
+ /* chiron-hei-hk-latin-ext-wght-normal */
72
+ @font-face {
73
+ font-family: 'Chiron Hei HK Variable';
74
+ font-style: normal;
75
+ font-display: swap;
76
+ font-weight: 200 900;
77
+ src: url(./files/chiron-hei-hk-latin-ext-wght-normal.woff2) format('woff2-variations');
78
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
79
+ }
package/metadata.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "id": "chiron-hei-hk",
3
+ "family": "Chiron Hei HK",
4
+ "subsets": [
5
+ "chinese-hongkong",
6
+ "cyrillic",
7
+ "cyrillic-ext",
8
+ "greek",
9
+ "greek-ext",
10
+ "latin",
11
+ "latin-ext",
12
+ "symbols2",
13
+ "vietnamese"
14
+ ],
15
+ "weights": [200, 300, 400, 500, 600, 700, 800, 900],
16
+ "styles": ["italic", "normal"],
17
+ "defSubset": "latin",
18
+ "variable": {
19
+ "ital": {"default": "0", "min": "0", "max": "1", "step": "1"},
20
+ "wght": {"default": "400", "min": "200", "max": "900", "step": "1"}
21
+ },
22
+ "lastModified": "2025-06-25",
23
+ "version": "v1",
24
+ "category": "sans-serif",
25
+ "license": {
26
+ "type": "OFL-1.1",
27
+ "url": "http://scripts.sil.org/OFL",
28
+ "attribution": "Google Inc."
29
+ },
30
+ "source": "https://github.com/google/fonts",
31
+ "type": "google"
32
+ }
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@fontsource-variable/chiron-hei-hk",
3
+ "version": "5.2.1",
4
+ "description": "Self-host the Chiron Hei HK 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
+ "chiron-hei-hk",
13
+ "Chiron Hei HK",
14
+ "css",
15
+ "sass",
16
+ "front-end",
17
+ "web",
18
+ "typeface",
19
+ "variable"
20
+ ],
21
+ "exports": {
22
+ ".": {"sass": "./index.css", "default": "./index.css"},
23
+ "./LICENSE": "./LICENSE",
24
+ "./*": {"sass": "./*.css", "default": "./*.css"},
25
+ "./*.css": {"sass": "./*.css", "default": "./*.css"},
26
+ "./files/*": {"sass": "./files/*", "default": "./files/*"},
27
+ "./files/*.woff": {"sass": "./files/*.woff", "default": "./files/*.woff"},
28
+ "./files/*.woff2": {
29
+ "sass": "./files/*.woff2",
30
+ "default": "./files/*.woff2"
31
+ },
32
+ "./package.json": "./package.json",
33
+ "./metadata.json": "./metadata.json",
34
+ "./unicode.json": "./unicode.json",
35
+ "./scss": {"sass": "./scss/metadata.scss"}
36
+ },
37
+ "author": "Google Inc.",
38
+ "license": "OFL-1.1",
39
+ "homepage": "https://fontsource.org/fonts/chiron-hei-hk",
40
+ "funding": "https://github.com/sponsors/ayuhito",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/fontsource/font-files.git",
44
+ "directory": "fonts/variable/chiron-hei-hk"
45
+ }
46
+ }
@@ -0,0 +1,48 @@
1
+ $id: 'chiron-hei-hk';
2
+ $family: 'Chiron Hei HK';
3
+ $category: sans-serif;
4
+ $subsets: (chinese-hongkong, cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext, symbols2, vietnamese);
5
+ $weights: (200, 300, 400, 500, 600, 700, 800, 900);
6
+ $styles: (italic, normal);
7
+ $axes: (
8
+ ital: (
9
+ default: 0,
10
+ min: 0,
11
+ max: 1,
12
+ step: 1,
13
+ ),
14
+ wght: (
15
+ default: 400,
16
+ min: 200,
17
+ max: 900,
18
+ step: 1,
19
+ ),
20
+ );
21
+ $defaults: (
22
+ subset: latin,
23
+ weight: 400,
24
+ style: normal,
25
+ axis: wght,
26
+ );
27
+ $unicode: (
28
+ latin: (U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
29
+ cyrillic-ext: (U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F),
30
+ cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
31
+ greek-ext: (U+1F00-1FFF),
32
+ greek: (U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF),
33
+ symbols2: (U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F),
34
+ vietnamese: (U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB),
35
+ latin-ext: (U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF),
36
+ );
37
+
38
+ $metadata: (
39
+ id: $id,
40
+ family: $family,
41
+ category: $category,
42
+ subsets: $subsets,
43
+ weights: $weights,
44
+ styles: $styles,
45
+ axes: $axes,
46
+ defaults: $defaults,
47
+ unicode: $unicode,
48
+ ) !default;
@@ -0,0 +1,193 @@
1
+ @use 'sass:list';
2
+ @use 'sass:map';
3
+ @use 'sass:math';
4
+ @use 'sass:meta';
5
+ @use 'sass:string';
6
+
7
+ @use 'metadata';
8
+
9
+ $metadata: metadata.$metadata !default;
10
+ $directory: null !default;
11
+
12
+ $family: null !default;
13
+ $display: null !default;
14
+ $formats: null !default;
15
+ $subsets: null !default;
16
+ $weights: null !default;
17
+ $styles: null !default;
18
+ $axes: null !default;
19
+
20
+ // Deprecated
21
+ $displayVar: null !default;
22
+
23
+ @mixin generator(
24
+ $metadata: $metadata,
25
+ $directory: $directory,
26
+ $family: $family,
27
+ $display: $display,
28
+ $formats: $formats,
29
+ $subsets: $subsets,
30
+ $weights: $weights,
31
+ $styles: $styles,
32
+ $axes: $axes,
33
+
34
+ // Deprecated
35
+ $displayVar: $displayVar
36
+ ) {
37
+ @warn "Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.";
38
+
39
+ @if $displayVar != null {
40
+ @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
41
+ }
42
+
43
+ $isVariable: map.get($metadata, axes) != null;
44
+
45
+ $directory: if(
46
+ $directory,
47
+ $directory,
48
+ '~@fontsource#{if($isVariable, '-variable', '')}/#{map.get($metadata, id)}/files'
49
+ );
50
+
51
+ $family: if($family, $family, map.get($metadata, family) + if($isVariable, ' Variable', ''));
52
+ $display: if($display, $display, swap);
53
+ $formats: if(not $formats or $formats == all, if($isVariable, woff2, (woff2, woff)), $formats);
54
+ $subsets: if(
55
+ $subsets,
56
+ if($subsets == all, map.get($metadata, subsets), $subsets),
57
+ map.get($metadata, subsets)
58
+ );
59
+ $weights: if(
60
+ $weights,
61
+ if($weights == all, map.get($metadata, weights), $weights),
62
+ map.get($metadata, defaults, weight)
63
+ );
64
+ $styles: if(
65
+ $styles,
66
+ if($styles == all, map.get($metadata, styles), $styles),
67
+ map.get($metadata, defaults, style)
68
+ );
69
+ $axes: if(
70
+ $axes,
71
+ if($axes == all, full, $axes),
72
+ if($isVariable, if(map.has-key($metadata, axes, wght), wght, full), null)
73
+ );
74
+
75
+ @each $subset in $subsets {
76
+ @each $unicodeSubset, $unicodeRange in map.get($metadata, unicode) {
77
+ // If condition is true, generate faces for the current subset
78
+ @if (
79
+ // If there is no unicode information for the font or
80
+ ($unicodeSubset == null) or
81
+ // If the subset match a unicode subset or
82
+ ($subset == $unicodeSubset) or
83
+ (
84
+ // If $unicodeSubset is a numeric unicode subset
85
+ // and current subset exists in the list of font subsets but does not match any unicode subset
86
+ // then generate faces for this numeric unicode subset as it is representing part of the current subset
87
+ list.index(map.get($metadata, subsets), $subset) and not
88
+ map.has-key($metadata, unicode, $subset) and not
89
+ list.index(map.get($metadata, subsets), $unicodeSubset)
90
+ )
91
+ ) {
92
+ @each $weight in if($axes, null, $weights) {
93
+ @each $axis in $axes {
94
+ @each $style in $styles {
95
+ $variant: '#{map.get($metadata, id)}-#{if($unicodeSubset, $unicodeSubset, $subset)}-#{if($axis, $axis, $weight)}-#{$style}';
96
+
97
+ $src: ();
98
+ @each $format in $formats {
99
+ $src: list.append(
100
+ $src,
101
+ url('#{$directory}/#{$variant}.#{$format}')
102
+ format('#{$format}#{if($axis, '-variations', '')}'),
103
+ comma
104
+ );
105
+ }
106
+
107
+ @content ((
108
+ metadata: $metadata,
109
+ directory: $directory,
110
+ family: $family,
111
+ display: $display,
112
+ formats: $formats,
113
+ subsets: $subsets,
114
+ weights: $weights,
115
+ styles: $styles,
116
+ axes: $axes,
117
+
118
+ variant: $variant,
119
+ subset: $subset,
120
+ unicodeSubset: $unicodeSubset,
121
+ unicodeRange: $unicodeRange,
122
+ weight: $weight,
123
+ axis: $axis,
124
+ style: $style,
125
+
126
+ font-family: string.quote($family),
127
+ font-style: if(
128
+ (($axis == full) or ($axis == slnt)) and map.has-key($metadata, axes, slnt),
129
+ oblique map.get($metadata, axes, slnt, min) + deg map.get($metadata, axes, slnt, max) + deg,
130
+ $style
131
+ ),
132
+ font-display: $display,
133
+ font-weight: if(
134
+ (($axis == full) or ($axis == wght)) and map.has-key($metadata, axes, wght),
135
+ map.get($metadata, axes, wght, min) map.get($metadata, axes, wght, max),
136
+ $weight
137
+ ),
138
+ font-stretch: if(
139
+ (($axis == full) or ($axis == wdth)) and map.has-key($metadata, axes, wdth),
140
+ '#{map.get($metadata, axes, wdth, min)}% #{map.get($metadata, axes, wdth, max)}%',
141
+ null
142
+ ),
143
+ src: $src,
144
+ unicode-range: $unicodeRange,
145
+ ));
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+
154
+ @mixin faces(
155
+ $metadata: $metadata,
156
+ $directory: $directory,
157
+ $family: $family,
158
+ $display: $display,
159
+ $formats: $formats,
160
+ $subsets: $subsets,
161
+ $weights: $weights,
162
+ $styles: $styles,
163
+ $axes: $axes,
164
+
165
+ // Deprecated
166
+ $displayVar: $displayVar
167
+ ) {
168
+ @include generator(
169
+ $metadata: $metadata,
170
+ $directory: $directory,
171
+ $family: $family,
172
+ $display: $display,
173
+ $formats: $formats,
174
+ $subsets: $subsets,
175
+ $weights: $weights,
176
+ $styles: $styles,
177
+ $axes: $axes,
178
+
179
+ $displayVar: $displayVar
180
+ )
181
+ using ($props) {
182
+ /* #{map.get($props, variant)} */
183
+ @font-face {
184
+ font-family: map.get($props, font-family);
185
+ font-style: map.get($props, font-style);
186
+ font-display: map.get($props, font-display);
187
+ font-weight: map.get($props, font-weight);
188
+ font-stretch: map.get($props, font-stretch);
189
+ unicode-range: map.get($props, unicode-range);
190
+ src: map.get($props, src);
191
+ }
192
+ }
193
+ }
package/unicode.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "latin": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD",
3
+ "cyrillic-ext": "U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F",
4
+ "cyrillic": "U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116",
5
+ "greek-ext": "U+1F00-1FFF",
6
+ "greek": "U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF",
7
+ "symbols2": "U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F",
8
+ "vietnamese": "U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB",
9
+ "latin-ext": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF"
10
+ }
@@ -0,0 +1,79 @@
1
+ /* chiron-hei-hk-latin-wght-italic */
2
+ @font-face {
3
+ font-family: 'Chiron Hei HK Variable';
4
+ font-style: italic;
5
+ font-display: swap;
6
+ font-weight: 200 900;
7
+ src: url(./files/chiron-hei-hk-latin-wght-italic.woff2) format('woff2-variations');
8
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
+ }
10
+
11
+ /* chiron-hei-hk-cyrillic-ext-wght-italic */
12
+ @font-face {
13
+ font-family: 'Chiron Hei HK Variable';
14
+ font-style: italic;
15
+ font-display: swap;
16
+ font-weight: 200 900;
17
+ src: url(./files/chiron-hei-hk-cyrillic-ext-wght-italic.woff2) format('woff2-variations');
18
+ unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
19
+ }
20
+
21
+ /* chiron-hei-hk-cyrillic-wght-italic */
22
+ @font-face {
23
+ font-family: 'Chiron Hei HK Variable';
24
+ font-style: italic;
25
+ font-display: swap;
26
+ font-weight: 200 900;
27
+ src: url(./files/chiron-hei-hk-cyrillic-wght-italic.woff2) format('woff2-variations');
28
+ unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
29
+ }
30
+
31
+ /* chiron-hei-hk-greek-ext-wght-italic */
32
+ @font-face {
33
+ font-family: 'Chiron Hei HK Variable';
34
+ font-style: italic;
35
+ font-display: swap;
36
+ font-weight: 200 900;
37
+ src: url(./files/chiron-hei-hk-greek-ext-wght-italic.woff2) format('woff2-variations');
38
+ unicode-range: U+1F00-1FFF;
39
+ }
40
+
41
+ /* chiron-hei-hk-greek-wght-italic */
42
+ @font-face {
43
+ font-family: 'Chiron Hei HK Variable';
44
+ font-style: italic;
45
+ font-display: swap;
46
+ font-weight: 200 900;
47
+ src: url(./files/chiron-hei-hk-greek-wght-italic.woff2) format('woff2-variations');
48
+ unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
49
+ }
50
+
51
+ /* chiron-hei-hk-symbols2-wght-italic */
52
+ @font-face {
53
+ font-family: 'Chiron Hei HK Variable';
54
+ font-style: italic;
55
+ font-display: swap;
56
+ font-weight: 200 900;
57
+ src: url(./files/chiron-hei-hk-symbols2-wght-italic.woff2) format('woff2-variations');
58
+ unicode-range: U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F;
59
+ }
60
+
61
+ /* chiron-hei-hk-vietnamese-wght-italic */
62
+ @font-face {
63
+ font-family: 'Chiron Hei HK Variable';
64
+ font-style: italic;
65
+ font-display: swap;
66
+ font-weight: 200 900;
67
+ src: url(./files/chiron-hei-hk-vietnamese-wght-italic.woff2) format('woff2-variations');
68
+ unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
69
+ }
70
+
71
+ /* chiron-hei-hk-latin-ext-wght-italic */
72
+ @font-face {
73
+ font-family: 'Chiron Hei HK Variable';
74
+ font-style: italic;
75
+ font-display: swap;
76
+ font-weight: 200 900;
77
+ src: url(./files/chiron-hei-hk-latin-ext-wght-italic.woff2) format('woff2-variations');
78
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
79
+ }
package/wght.css ADDED
@@ -0,0 +1,79 @@
1
+ /* chiron-hei-hk-latin-wght-normal */
2
+ @font-face {
3
+ font-family: 'Chiron Hei HK Variable';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 200 900;
7
+ src: url(./files/chiron-hei-hk-latin-wght-normal.woff2) format('woff2-variations');
8
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
+ }
10
+
11
+ /* chiron-hei-hk-cyrillic-ext-wght-normal */
12
+ @font-face {
13
+ font-family: 'Chiron Hei HK Variable';
14
+ font-style: normal;
15
+ font-display: swap;
16
+ font-weight: 200 900;
17
+ src: url(./files/chiron-hei-hk-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
18
+ unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
19
+ }
20
+
21
+ /* chiron-hei-hk-cyrillic-wght-normal */
22
+ @font-face {
23
+ font-family: 'Chiron Hei HK Variable';
24
+ font-style: normal;
25
+ font-display: swap;
26
+ font-weight: 200 900;
27
+ src: url(./files/chiron-hei-hk-cyrillic-wght-normal.woff2) format('woff2-variations');
28
+ unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
29
+ }
30
+
31
+ /* chiron-hei-hk-greek-ext-wght-normal */
32
+ @font-face {
33
+ font-family: 'Chiron Hei HK Variable';
34
+ font-style: normal;
35
+ font-display: swap;
36
+ font-weight: 200 900;
37
+ src: url(./files/chiron-hei-hk-greek-ext-wght-normal.woff2) format('woff2-variations');
38
+ unicode-range: U+1F00-1FFF;
39
+ }
40
+
41
+ /* chiron-hei-hk-greek-wght-normal */
42
+ @font-face {
43
+ font-family: 'Chiron Hei HK Variable';
44
+ font-style: normal;
45
+ font-display: swap;
46
+ font-weight: 200 900;
47
+ src: url(./files/chiron-hei-hk-greek-wght-normal.woff2) format('woff2-variations');
48
+ unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
49
+ }
50
+
51
+ /* chiron-hei-hk-symbols2-wght-normal */
52
+ @font-face {
53
+ font-family: 'Chiron Hei HK Variable';
54
+ font-style: normal;
55
+ font-display: swap;
56
+ font-weight: 200 900;
57
+ src: url(./files/chiron-hei-hk-symbols2-wght-normal.woff2) format('woff2-variations');
58
+ unicode-range: U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F;
59
+ }
60
+
61
+ /* chiron-hei-hk-vietnamese-wght-normal */
62
+ @font-face {
63
+ font-family: 'Chiron Hei HK Variable';
64
+ font-style: normal;
65
+ font-display: swap;
66
+ font-weight: 200 900;
67
+ src: url(./files/chiron-hei-hk-vietnamese-wght-normal.woff2) format('woff2-variations');
68
+ unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
69
+ }
70
+
71
+ /* chiron-hei-hk-latin-ext-wght-normal */
72
+ @font-face {
73
+ font-family: 'Chiron Hei HK Variable';
74
+ font-style: normal;
75
+ font-display: swap;
76
+ font-weight: 200 900;
77
+ src: url(./files/chiron-hei-hk-latin-ext-wght-normal.woff2) format('woff2-variations');
78
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
79
+ }