From 54009e0f91ea38f8d566636fc7b7488dd762a1e9 Mon Sep 17 00:00:00 2001 From: WANG Chucheng Date: Wed, 23 Mar 2022 21:50:15 -0400 Subject: feat: add configurable colors and fonts --- assets/css/tailwind.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/css/tailwind.config.js') diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js index e831185..bc282a1 100644 --- a/assets/css/tailwind.config.js +++ b/assets/css/tailwind.config.js @@ -1,4 +1,5 @@ const themeDir = __dirname + "/../../"; +const defaultTheme = require("tailwindcss/defaultTheme"); module.exports = { important: true, @@ -11,8 +12,7 @@ module.exports = { ], theme: { fontFamily: { - serif: ["Lora", "Noto Serif SC", "serif"], - mono: ["SFMono-Regular", "Menlo", "monospace"], + eureka: ["var(--fonts-eureka)", ...defaultTheme.fontFamily.serif], }, extend: { height: { -- cgit v1.2.3