@gjsify/adwaita-fonts 0.4.43 → 0.4.44

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.
Files changed (2) hide show
  1. package/README.md +38 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # @gjsify/adwaita-fonts
2
+
3
+ Adwaita Sans TTF font files plus `@font-face` CSS (fontsource-style) for browser builds. Carries the GNOME/Libadwaita typographic identity to the web, sourced from the upstream Adwaita fonts project.
4
+
5
+ Part of the [gjsify](https://github.com/gjsify/gjsify) project — Node.js and Web APIs for GJS (GNOME JavaScript).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ gjsify install @gjsify/adwaita-fonts
11
+
12
+ # npm or yarn also work (e.g. adding it to an existing project):
13
+ npm install @gjsify/adwaita-fonts
14
+ yarn add @gjsify/adwaita-fonts
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```css
20
+ /* Import the full @font-face declaration (weight 400, normal) */
21
+ @import '@gjsify/adwaita-fonts';
22
+
23
+ /* Or import a specific weight variant directly */
24
+ @import '@gjsify/adwaita-fonts/400.css';
25
+ @import '@gjsify/adwaita-fonts/400-italic.css';
26
+ ```
27
+
28
+ ```typescript
29
+ // When used with a bundler that handles CSS imports
30
+ import '@gjsify/adwaita-fonts';
31
+
32
+ // Then use the font family in CSS
33
+ // font-family: 'Adwaita Sans', sans-serif;
34
+ ```
35
+
36
+ ## License
37
+
38
+ OFL-1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/adwaita-fonts",
3
- "version": "0.4.43",
3
+ "version": "0.4.44",
4
4
  "description": "Adwaita Sans font package for browser targets (fontsource-style)",
5
5
  "type": "module",
6
6
  "main": "index.css",