@fontsource/dawning-of-a-new-day 5.1.1 → 5.2.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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com kimberlygeswein@gmail.com)
1
+ Google Inc.
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
package/README.md CHANGED
@@ -38,8 +38,8 @@ body {
38
38
  ## Licensing
39
39
  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.
40
40
 
41
- Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com kimberlygeswein@gmail.com)
42
- [OFL-1.1](https://openfontlicense.org)
41
+ Google Inc.
42
+ [OFL-1.1](http://scripts.sil.org/OFL)
43
43
 
44
44
  ## Other Notes
45
45
  Font version (provided by source): `v20`.
package/metadata.json CHANGED
@@ -11,8 +11,8 @@
11
11
  "category": "handwriting",
12
12
  "license": {
13
13
  "type": "OFL-1.1",
14
- "url": "https://openfontlicense.org",
15
- "attribution": "Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com kimberlygeswein@gmail.com)"
14
+ "url": "http://scripts.sil.org/OFL",
15
+ "attribution": "Google Inc."
16
16
  },
17
17
  "source": "https://github.com/google/fonts",
18
18
  "type": "google"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource/dawning-of-a-new-day",
3
- "version": "5.1.1",
3
+ "version": "5.2.0",
4
4
  "description": "Self-host the Dawning of a New Day font in a neatly bundled NPM package.",
5
5
  "main": "index.css",
6
6
  "publishConfig": {"access": "public"},
@@ -18,6 +18,10 @@
18
18
  "typeface",
19
19
  "variable"
20
20
  ],
21
+ "exports": {
22
+ ".": {"sass": "./index.css", "default": "./index.css"},
23
+ "./scss": {"sass": "./scss/metadata.scss"}
24
+ },
21
25
  "author": "Google Inc.",
22
26
  "license": "OFL-1.1",
23
27
  "homepage": "https://fontsource.org/fonts/dawning-of-a-new-day",
@@ -26,5 +30,5 @@
26
30
  "url": "https://github.com/fontsource/font-files.git",
27
31
  "directory": "fonts/google/dawning-of-a-new-day"
28
32
  },
29
- "publishHash": "91a53abb83010525"
33
+ "publishHash": "e2dc05e699631732"
30
34
  }
@@ -1,16 +1,28 @@
1
- $id: 'dawning-of-a-new-day' !default;
2
- $family: 'Dawning of a New Day' !default;
3
- $category: handwriting !default;
4
- $subsets: (latin) !default;
5
- $weights: (400) !default;
6
- $styles: (normal) !default;
7
- $axes: null !default;
1
+ $id: 'dawning-of-a-new-day';
2
+ $family: 'Dawning of a New Day';
3
+ $category: handwriting;
4
+ $subsets: (latin);
5
+ $weights: (400);
6
+ $styles: (normal);
7
+ $axes: null;
8
8
  $defaults: (
9
- subset: latin,
10
- weight: 400,
11
- style: normal,
12
- axis: null,
13
- ) !default;
9
+ subset: latin,
10
+ weight: 400,
11
+ style: normal,
12
+ axis: null,
13
+ );
14
14
  $unicode: (
15
- 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),
16
- ) !default;
15
+ 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),
16
+ );
17
+
18
+ $metadata: (
19
+ id: $id,
20
+ family: $family,
21
+ category: $category,
22
+ subsets: $subsets,
23
+ weights: $weights,
24
+ styles: $styles,
25
+ axes: $axes,
26
+ defaults: $defaults,
27
+ unicode: $unicode,
28
+ ) !default;
package/scss/mixins.scss CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  @use 'metadata';
8
8
 
9
- $metadata: meta.module-variables(metadata) !default;
9
+ $metadata: metadata.$metadata !default;
10
10
  $directory: null !default;
11
11
 
12
12
  $family: null !default;
@@ -34,6 +34,7 @@ $displayVar: null !default;
34
34
  // Deprecated
35
35
  $displayVar: $displayVar
36
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.";
37
38
 
38
39
  @if $displayVar != null {
39
40
  @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
@@ -95,7 +96,7 @@ $displayVar: null !default;
95
96
 
96
97
  $src: ();
97
98
  @each $format in $formats {
98
- $src: append(
99
+ $src: list.append(
99
100
  $src,
100
101
  url('#{$directory}/#{$variant}.#{$format}')
101
102
  format('#{$format}#{if($axis, '-variations', '')}'),