diff options
author | WANG Chucheng <me@wangchucheng.com> | 2022-03-24 04:50:15 +0300 |
---|---|---|
committer | WANG Chucheng <me@wangchucheng.com> | 2022-03-24 04:50:15 +0300 |
commit | 54009e0f91ea38f8d566636fc7b7488dd762a1e9 (patch) | |
tree | a86dff51203400a0f0b1aed86c1a994bd7c13d30 /assets/css/tailwind.config.js | |
parent | 839ba2d294fff92d30f71911b2fe9899f83ba205 (diff) |
feat: add configurable colors and fonts
Diffstat (limited to 'assets/css/tailwind.config.js')
-rw-r--r-- | assets/css/tailwind.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
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: { |