discourse-fonts 0.0.18 → 0.0.19
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f08ba175e0be7f532767b5bb4d389da1c3e0455f7e1180e842062a322ccfd73c
|
4
|
+
data.tar.gz: caab22fbc96c3f4df1eceae561b61a042a2cbf4f9af0941a7791650cb0a1ec4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8814a3490778c0ebf76895f93eb98dc5f3f969c859838f6e789e6f0db7cd0571346d8762ef9ca524c09bd97a6844bb68aeffda446960e7bbf1238c4ea9621c0e
|
7
|
+
data.tar.gz: 4519d36cc850c208f61cc5c58ee68daf3b450194588afbc1c46cc735417ecd84c97ac6636c71ad4f8ffa11f6e4e0b0466585420550fed5c9024e6df682b5c37e
|
data/lib/discourse_fonts.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module DiscourseFonts
|
4
|
-
VERSION = "0.0.
|
4
|
+
VERSION = "0.0.19"
|
5
5
|
|
6
6
|
def self.path_for_fonts
|
7
7
|
File.expand_path("../../vendor/assets/fonts", __FILE__)
|
@@ -11,11 +11,7 @@ module DiscourseFonts
|
|
11
11
|
@fonts ||=
|
12
12
|
[
|
13
13
|
{ name: "Arial", stack: "Arial, sans-serif" },
|
14
|
-
{
|
15
|
-
name: "System",
|
16
|
-
stack:
|
17
|
-
"-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif"
|
18
|
-
},
|
14
|
+
{ name: "System", stack: "system-ui, Arial, sans-serif" },
|
19
15
|
{
|
20
16
|
name: "Open Sans",
|
21
17
|
stack: "Open Sans, Arial, sans-serif",
|
@@ -255,7 +251,26 @@ module DiscourseFonts
|
|
255
251
|
{ filename: "Mukta-Bold.woff2", format: "woff2", weight: 700 }
|
256
252
|
]
|
257
253
|
},
|
258
|
-
{ name: "Helvetica", stack: "Helvetica, Arial, sans-serif" }
|
254
|
+
{ name: "Helvetica", stack: "Helvetica, Arial, sans-serif" },
|
255
|
+
{
|
256
|
+
name: "JetBrains Mono",
|
257
|
+
stack: "JetBrains Mono, Consolas, Monaco, monospace",
|
258
|
+
monospace: true,
|
259
|
+
# ligatures can conflict with markdown typographer
|
260
|
+
font_variant_ligatures: "none",
|
261
|
+
variants: [
|
262
|
+
{
|
263
|
+
filename: "JetBrainsMono-Regular.woff2",
|
264
|
+
format: "woff2",
|
265
|
+
weight: 400
|
266
|
+
},
|
267
|
+
{
|
268
|
+
filename: "JetBrainsMono-Bold.woff2",
|
269
|
+
format: "woff2",
|
270
|
+
weight: 700
|
271
|
+
}
|
272
|
+
]
|
273
|
+
}
|
259
274
|
].map do |font|
|
260
275
|
font[:key] = font[:name].underscore.tr(" ", "_")
|
261
276
|
font
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse-fonts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bianca Nenciu
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|
@@ -45,6 +45,8 @@ extra_rdoc_files: []
|
|
45
45
|
files:
|
46
46
|
- lib/discourse_fonts.rb
|
47
47
|
- vendor/assets/fonts/InterVariable.woff2
|
48
|
+
- vendor/assets/fonts/JetBrainsMono-Bold.woff2
|
49
|
+
- vendor/assets/fonts/JetBrainsMono-Regular.woff2
|
48
50
|
- vendor/assets/fonts/Lato-Bold.woff2
|
49
51
|
- vendor/assets/fonts/Lato-Regular.woff2
|
50
52
|
- vendor/assets/fonts/Lora-Bold.woff2
|