refact: extract typography constants

This commit is contained in:
Jean-Philippe Sirois
2019-07-29 14:12:08 -04:00
parent 17728684ea
commit 7e324bff3b
3 changed files with 28 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
const FONT_OXYGEN = "Oxygen, sans-serif"
const FONT_MONTSERRAT = "Montserrat, sans-serif"
export const BASE_FONT_SIZE = 18
export const BASE_LINE_HEIGHT = 25
export const MODULAR_SCALE = 1.1487
export const fontFamily = {
header: FONT_MONTSERRAT,
body: FONT_OXYGEN,
}
export default fontFamily