discourse-fonts 0.0.2 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19aa54985bbc3af6f7c2bdf2ce87c926fd92d7558407e98939f290d3b0dce781
4
- data.tar.gz: e8bea12200df760119cae62bf4b3ecd10d7a0f7ace4bd0c5f34b2f1c769287b3
3
+ metadata.gz: '098489169f5f45ff8628ba0c509bed95d6ffbd2d0f7a4e0e16d46fa3e1e97e40'
4
+ data.tar.gz: 8b1d439ff4386c173603ba9c7bf0665ce50f8ced580d7780fd3634fa72e378f3
5
5
  SHA512:
6
- metadata.gz: 692ab01d1c7dd731f014425aab8544cca5165e9cefd9f50431efbec55eda71fc956d2ae24c130bcf4d5dc13a8425f90992bf7a00cbcc49d249130e25f6e5210e
7
- data.tar.gz: 687be33f341a6387e3610d32fabdc4a5592f9c2febbaf4acceeaa430f2e2cec7eaa7d11d9368c9589f99865f2390fad1ba180b7bd1d7611a49dcd4cda0443631
6
+ metadata.gz: 0a37590ee6e8d5dce3a3427bbb17bfec4641d350593bc08540da827ae5a1160a83044341fa3b19cc1fa8e8631f135aec31323997eb47b9890dce9916d9cea5a0
7
+ data.tar.gz: 54be43d59504d200f8ec39a2b07a41426065535f41bca75973e9d1efc7b5931c2a8062a841264915b064807bd7bedb05e3ac614e701e1c56976ca0bdaacb67b5
@@ -1,6 +1,8 @@
1
- require 'ember/version'
1
+ # frozen_string_literal: true
2
2
 
3
3
  module DiscourseFonts
4
+ VERSION = "0.0.7"
5
+
4
6
  def self.path_for_fonts
5
7
  File.expand_path("../../vendor/assets/fonts", __FILE__)
6
8
  end
@@ -8,12 +10,16 @@ module DiscourseFonts
8
10
  def self.fonts
9
11
  @fonts ||= [
10
12
  {
11
- name: "Helvetica",
12
- stack: "Helvetica, Arial, sans-serif",
13
+ name: "Arial",
14
+ stack: "Arial, sans-serif",
15
+ },
16
+ {
17
+ name: "System",
18
+ stack: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif",
13
19
  },
14
20
  {
15
21
  name: "Open Sans",
16
- stack: "Open Sans, Helvetica, Arial, sans-serif",
22
+ stack: "Open Sans, Arial, sans-serif",
17
23
  variants: [
18
24
  { filename: "OpenSans-Regular.ttf", format: "truetype", weight: 400 },
19
25
  { filename: "OpenSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -21,7 +27,7 @@ module DiscourseFonts
21
27
  },
22
28
  {
23
29
  name: "Oxanium",
24
- stack: "Oxanium, Helvetica, Arial, sans-serif",
30
+ stack: "Oxanium, Arial, sans-serif",
25
31
  variants: [
26
32
  { filename: "oxanium-regular.woff2", format: "woff2", weight: 400 },
27
33
  { filename: "oxanium-bold.woff2", format: "woff2", weight: 700 }
@@ -29,7 +35,7 @@ module DiscourseFonts
29
35
  },
30
36
  {
31
37
  name: "Roboto",
32
- stack: "Roboto, Helvetica, Arial, sans-serif",
38
+ stack: "Roboto, Arial, sans-serif",
33
39
  variants: [
34
40
  { filename: "Roboto-Regular.ttf", format: "truetype", weight: 400 },
35
41
  { filename: "Roboto-Bold.ttf", format: "truetype", weight: 700 }
@@ -37,7 +43,7 @@ module DiscourseFonts
37
43
  },
38
44
  {
39
45
  name: "Lato",
40
- stack: "Lato, Helvetica, Arial, sans-serif",
46
+ stack: "Lato, Arial, sans-serif",
41
47
  variants: [
42
48
  { filename: "Lato-Regular.ttf", format: "truetype", weight: 400 },
43
49
  { filename: "Lato-Bold.ttf", format: "truetype", weight: 700 }
@@ -45,7 +51,7 @@ module DiscourseFonts
45
51
  },
46
52
  {
47
53
  name: "NotoSansJP",
48
- stack: "NotoSansJP, Helvetica, Arial, sans-serif",
54
+ stack: "NotoSansJP, Arial, sans-serif",
49
55
  variants: [
50
56
  { filename: "NotoSansJP-Regular.otf", weight: 400 },
51
57
  { filename: "NotoSansJP-Bold.otf", weight: 700 }
@@ -53,7 +59,7 @@ module DiscourseFonts
53
59
  },
54
60
  {
55
61
  name: "Montserrat",
56
- stack: "Montserrat, Helvetica, Arial, sans-serif",
62
+ stack: "Montserrat, Arial, sans-serif",
57
63
  variants: [
58
64
  { filename: "Montserrat-Regular.ttf", format: "truetype", weight: 400 },
59
65
  { filename: "Montserrat-Bold.ttf", format: "truetype", weight: 700 }
@@ -61,7 +67,7 @@ module DiscourseFonts
61
67
  },
62
68
  {
63
69
  name: "RobotoCondensed",
64
- stack: "RobotoCondensed, Helvetica, Arial, sans-serif",
70
+ stack: "RobotoCondensed, Arial, sans-serif",
65
71
  variants: [
66
72
  { filename: "RobotoCondensed-Regular.ttf", format: "truetype", weight: 400 },
67
73
  { filename: "RobotoCondensed-Bold.ttf", format: "truetype", weight: 700 }
@@ -69,7 +75,7 @@ module DiscourseFonts
69
75
  },
70
76
  {
71
77
  name: "SourceSansPro",
72
- stack: "SourceSansPro, Helvetica, Arial, sans-serif",
78
+ stack: "SourceSansPro, Arial, sans-serif",
73
79
  variants: [
74
80
  { filename: "SourceSansPro-Regular.ttf", format: "truetype", weight: 400 },
75
81
  { filename: "SourceSansPro-Bold.ttf", format: "truetype", weight: 700 }
@@ -77,7 +83,7 @@ module DiscourseFonts
77
83
  },
78
84
  {
79
85
  name: "Oswald",
80
- stack: "Oswald, Helvetica, Arial, sans-serif",
86
+ stack: "Oswald, Arial, sans-serif",
81
87
  variants: [
82
88
  { filename: "Oswald-Regular.ttf", format: "truetype", weight: 400 },
83
89
  { filename: "Oswald-Bold.ttf", format: "truetype", weight: 700 }
@@ -85,7 +91,7 @@ module DiscourseFonts
85
91
  },
86
92
  {
87
93
  name: "Raleway",
88
- stack: "Raleway, Helvetica, Arial, sans-serif",
94
+ stack: "Raleway, Arial, sans-serif",
89
95
  variants: [
90
96
  { filename: "Raleway-Regular.ttf", format: "truetype", weight: 400 },
91
97
  { filename: "Raleway-Bold.ttf", format: "truetype", weight: 700 }
@@ -93,7 +99,7 @@ module DiscourseFonts
93
99
  },
94
100
  {
95
101
  name: "RobotoMono",
96
- stack: "RobotoMono, Helvetica, Arial, sans-serif",
102
+ stack: "RobotoMono, Arial, sans-serif",
97
103
  variants: [
98
104
  { filename: "RobotoMono-Regular.ttf", format: "truetype", weight: 400 },
99
105
  { filename: "RobotoMono-Bold.ttf", format: "truetype", weight: 700 }
@@ -101,7 +107,7 @@ module DiscourseFonts
101
107
  },
102
108
  {
103
109
  name: "Poppins",
104
- stack: "Poppins, Helvetica, Arial, sans-serif",
110
+ stack: "Poppins, Arial, sans-serif",
105
111
  variants: [
106
112
  { filename: "Poppins-Regular.ttf", format: "truetype", weight: 400 },
107
113
  { filename: "Poppins-Bold.ttf", format: "truetype", weight: 700 }
@@ -109,7 +115,7 @@ module DiscourseFonts
109
115
  },
110
116
  {
111
117
  name: "NotoSans",
112
- stack: "NotoSans, Helvetica, Arial, sans-serif",
118
+ stack: "NotoSans, Arial, sans-serif",
113
119
  variants: [
114
120
  { filename: "NotoSans-Regular.ttf", format: "truetype", weight: 400 },
115
121
  { filename: "NotoSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -117,7 +123,7 @@ module DiscourseFonts
117
123
  },
118
124
  {
119
125
  name: "RobotoSlab",
120
- stack: "RobotoSlab, Helvetica, Arial, sans-serif",
126
+ stack: "RobotoSlab, Arial, sans-serif",
121
127
  variants: [
122
128
  { filename: "RobotoSlab-Regular.ttf", format: "truetype", weight: 400 },
123
129
  { filename: "RobotoSlab-Bold.ttf", format: "truetype", weight: 700 }
@@ -125,7 +131,7 @@ module DiscourseFonts
125
131
  },
126
132
  {
127
133
  name: "Merriweather",
128
- stack: "Merriweather, Helvetica, Arial, sans-serif",
134
+ stack: "Merriweather, Arial, sans-serif",
129
135
  variants: [
130
136
  { filename: "Merriweather-Regular.ttf", format: "truetype", weight: 400 },
131
137
  { filename: "Merriweather-Bold.ttf", format: "truetype", weight: 700 }
@@ -133,7 +139,7 @@ module DiscourseFonts
133
139
  },
134
140
  {
135
141
  name: "Ubuntu",
136
- stack: "Ubuntu, Helvetica, Arial, sans-serif",
142
+ stack: "Ubuntu, Arial, sans-serif",
137
143
  variants: [
138
144
  { filename: "Ubuntu-Regular.ttf", format: "truetype", weight: 400 },
139
145
  { filename: "Ubuntu-Bold.ttf", format: "truetype", weight: 700 }
@@ -141,7 +147,7 @@ module DiscourseFonts
141
147
  },
142
148
  {
143
149
  name: "PTSans",
144
- stack: "PTSans, Helvetica, Arial, sans-serif",
150
+ stack: "PTSans, Arial, sans-serif",
145
151
  variants: [
146
152
  { filename: "PTSans-Regular.ttf", format: "truetype", weight: 400 },
147
153
  { filename: "PTSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -149,7 +155,7 @@ module DiscourseFonts
149
155
  },
150
156
  {
151
157
  name: "PlayfairDisplay",
152
- stack: "PlayfairDisplay, Helvetica, Arial, sans-serif",
158
+ stack: "PlayfairDisplay, Arial, sans-serif",
153
159
  variants: [
154
160
  { filename: "PlayfairDisplay-Regular.ttf", format: "truetype", weight: 400 },
155
161
  { filename: "PlayfairDisplay-Bold.ttf", format: "truetype", weight: 700 }
@@ -157,7 +163,7 @@ module DiscourseFonts
157
163
  },
158
164
  {
159
165
  name: "Nunito",
160
- stack: "Nunito, Helvetica, Arial, sans-serif",
166
+ stack: "Nunito, Arial, sans-serif",
161
167
  variants: [
162
168
  { filename: "Nunito-Regular.ttf", format: "truetype", weight: 400 },
163
169
  { filename: "Nunito-Bold.ttf", format: "truetype", weight: 700 }
@@ -165,7 +171,7 @@ module DiscourseFonts
165
171
  },
166
172
  {
167
173
  name: "Lora",
168
- stack: "Lora, Helvetica, Arial, sans-serif",
174
+ stack: "Lora, Arial, sans-serif",
169
175
  variants: [
170
176
  { filename: "Lora-Regular.ttf", format: "truetype", weight: 400 },
171
177
  { filename: "Lora-Bold.ttf", format: "truetype", weight: 700 }
@@ -173,15 +179,19 @@ module DiscourseFonts
173
179
  },
174
180
  {
175
181
  name: "Mukta",
176
- stack: "Mukta, Helvetica, Arial, sans-serif",
182
+ stack: "Mukta, Arial, sans-serif",
177
183
  variants: [
178
184
  { filename: "Mukta-Regular.ttf", format: "truetype", weight: 400 },
179
185
  { filename: "Mukta-Bold.ttf", format: "truetype", weight: 700 }
180
186
  ]
187
+ },
188
+ {
189
+ name: "Helvetica",
190
+ stack: "Helvetica, Arial, sans-serif"
181
191
  }
182
192
  ].map do |font|
183
193
  font[:key] = font[:name].underscore.tr(" ", "_")
184
194
  font
185
195
  end
186
196
  end
187
- end
197
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse-fonts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bianca Nenciu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2021-02-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Bundle of fonts which can be used to customize the look of Discourse
14
14
  email: bianca.nenciu@discourse.org
@@ -29,6 +29,8 @@ files:
29
29
  - vendor/assets/fonts/Mukta-Regular.ttf
30
30
  - vendor/assets/fonts/NotoSans-Bold.ttf
31
31
  - vendor/assets/fonts/NotoSans-Regular.ttf
32
+ - vendor/assets/fonts/NotoSansJP-Bold.otf
33
+ - vendor/assets/fonts/NotoSansJP-Regular.otf
32
34
  - vendor/assets/fonts/Nunito-Bold.ttf
33
35
  - vendor/assets/fonts/Nunito-Regular.ttf
34
36
  - vendor/assets/fonts/OpenSans-Bold.ttf
@@ -61,7 +63,7 @@ homepage: https://github.com/discourse/discourse-fonts
61
63
  licenses:
62
64
  - MIT
63
65
  metadata: {}
64
- post_install_message:
66
+ post_install_message:
65
67
  rdoc_options: []
66
68
  require_paths:
67
69
  - lib
@@ -76,8 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
78
  - !ruby/object:Gem::Version
77
79
  version: '0'
78
80
  requirements: []
79
- rubygems_version: 3.2.0.rc.1
80
- signing_key:
81
+ rubygems_version: 3.0.3
82
+ signing_key:
81
83
  specification_version: 4
82
84
  summary: Bundle of customizable Discourse fonts
83
85
  test_files: []