Add the Muli Regular and Bold fonts
This commit is contained in:
parent
8f2ef4e254
commit
40d49aee1f
4 changed files with 15 additions and 0 deletions
BIN
app/assets/fonts/Muli-Bold.woff
Normal file
BIN
app/assets/fonts/Muli-Bold.woff
Normal file
Binary file not shown.
BIN
app/assets/fonts/Muli-Regular.woff
Normal file
BIN
app/assets/fonts/Muli-Regular.woff
Normal file
Binary file not shown.
13
app/assets/stylesheets/fonts.scss
Normal file
13
app/assets/stylesheets/fonts.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
@font-face {
|
||||
font-family: "Muli";
|
||||
src: asset-url("Muli-Regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Muli";
|
||||
src: asset-url("Muli-Bold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
|
@ -23,6 +23,8 @@ module TPS
|
|||
|
||||
config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/validators #{config.root}/app/facades)
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'javascript')
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||
config.assets.precompile += %w(.woff)
|
||||
|
||||
if Rails.env.production?
|
||||
URL = "https://tps.apientreprise.fr/"
|
||||
|
|
Loading…
Reference in a new issue