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