Add the Muli Regular and Bold fonts

This commit is contained in:
gregoirenovel 2017-04-04 14:37:50 +02:00
parent 8f2ef4e254
commit 40d49aee1f
4 changed files with 15 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View 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;
}

View file

@ -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/"