fontaine 0.8.2 → 1.0.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/README.md CHANGED
@@ -53,7 +53,7 @@ import { defineConfig } from 'astro/config'
53
53
 
54
54
  const options = {
55
55
  // You can specify fallbacks as an array (applies to all fonts)
56
- fallbacks: ['BlinkMacSystemFont', 'Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans'],
56
+ fallbacks: ['Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans'],
57
57
 
58
58
  // Or as an object to configure specific fallbacks per font family
59
59
  // fallbacks: {
@@ -146,7 +146,7 @@ For these setups, use the PostCSS plugin instead. It runs over fully-compiled CS
146
146
  module.exports = {
147
147
  plugins: [
148
148
  require('fontaine/postcss')({
149
- fallbacks: ['BlinkMacSystemFont', 'Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans'],
149
+ fallbacks: ['Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans'],
150
150
  }),
151
151
  // ...any other plugins, such as autoprefixer or cssnano
152
152
  ],
@@ -183,7 +183,7 @@ const options = {
183
183
 
184
184
  ### Default Category Fallbacks
185
185
 
186
- - **sans-serif**: `BlinkMacSystemFont`, `Segoe UI`, `Helvetica Neue`, `Arial`, `Noto Sans`
186
+ - **sans-serif**: `Segoe UI`, `Helvetica Neue`, `Arial`, `Noto Sans`
187
187
  - **serif**: `Times New Roman`, `Georgia`, `Noto Serif`
188
188
  - **monospace**: `Courier New`, `Roboto Mono`, `Noto Sans Mono`
189
189
  - **display** & **handwriting**: Same as sans-serif
@@ -229,8 +229,8 @@ Example:
229
229
  /* This additional font-face declaration will be added to your CSS. */
230
230
  @font-face {
231
231
  font-family: 'Roboto fallback';
232
- src: local('BlinkMacSystemFont'), local('Segoe UI'), local('Helvetica Neue'),
233
- local('Arial'), local('Noto Sans');
232
+ src: local('Segoe UI'), local('Helvetica Neue'), local('Arial'),
233
+ local('Noto Sans');
234
234
  ascent-override: 92.7734375%;
235
235
  descent-override: 24.4140625%;
236
236
  line-gap-override: 0%;