From 153798aeb938a3fa80c4009efbd07aca63d650d0 Mon Sep 17 00:00:00 2001 From: tangly Date: Wed, 19 Oct 2022 14:36:25 +0800 Subject: [PATCH 1/4] =?UTF-8?q?tangly1024.com=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blog.config.js b/blog.config.js index a63eda89..da6196e2 100644 --- a/blog.config.js +++ b/blog.config.js @@ -26,9 +26,9 @@ const BLOG = { APPEARANCE: 'light', // ['light', 'dark', 'auto'], // light 日间模式 , dark夜间模式, auto根据时间和主题自动夜间模式 // 字体相关 - // FONT: 'font-sans', // 预设三种文章字体 ['font-sans', 'font-serif', 'font-mono'] @see /lib/font.js https://www.tailwindcss.cn/docs/font-family - // FONT_URL: 'https://fonts.font.im/css2?family=Noto+Serif+SC&display=swap', // 谷歌字体中国站镜像;对应的国际站地址:https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap - // FONT_CUSTOM: ['-apple-system', 'BlinkMacSystemFont', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Segoe UI"', '"PingFang SC"', 'HarmonyOS_Regular', '"Hiragino Sans GB"', '"Microsoft YaHei"', '"Helvetica Neue"', 'Helvetica', '"Source Han Sans SC"', '"Noto Sans CJK SC"', '"WenQuanYi Micro Hei"', 'Arial', 'sans-serif'], + // FONT: 'font-sans', // 预设三种文章字体 ['font-sans', 'font-serif', 'font-mono'] @see /lib/font.js https://www.tailwindcss.cn/docs/font-family + // FONT_URL: 'https://fonts.font.im/css2?family=Noto+Serif+SC&display=swap', // 谷歌字体中国站镜像;对应的国际站地址:https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap + // FONT_CUSTOM: ['-apple-system', 'BlinkMacSystemFont', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Segoe UI"', '"PingFang SC"', 'HarmonyOS_Regular', '"Hiragino Sans GB"', '"Microsoft YaHei"', '"Helvetica Neue"', 'Helvetica', '"Source Han Sans SC"', '"Noto Sans CJK SC"', '"WenQuanYi Micro Hei"', 'Arial', 'sans-serif'], // 自定义google字体示例: 请先将FONT 改为 'font-custom', 并将FONT_URL改为你的字体地址,同时在FONT_CUSTOM中指定你的 fontfamily // 以下是示例: From 77b619152e56d117363a312d390248efc1910ba6 Mon Sep 17 00:00:00 2001 From: tangly Date: Wed, 19 Oct 2022 15:30:14 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=B0=B7=E6=AD=8C?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/globals.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styles/globals.css b/styles/globals.css index 7899bd3d..44141e22 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -24,6 +24,10 @@ body::-webkit-scrollbar-thumb { background: rgba(45, 170, 219, 0.3); } +.font-custom { + font-family: theme(fontFamily.custom) +} + .wrapper { min-height: 100vh; display: flex; From 3193fec25cffbebe773a5967efd86a6b725fb83a Mon Sep 17 00:00:00 2001 From: tangly Date: Fri, 21 Oct 2022 17:10:59 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/globals.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index 477f408b..4382cd6c 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -24,10 +24,6 @@ body::-webkit-scrollbar-thumb { background: rgba(45, 170, 219, 0.3); } -.font-custom { - font-family: theme(fontFamily.custom) -} - .wrapper { min-height: 100vh; display: flex; From aac5457c1b7ba0614e9008a03fbab7c33e337dda Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Mon, 14 Nov 2022 12:14:55 +0800 Subject: [PATCH 4/4] Update blog.config.js --- blog.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog.config.js b/blog.config.js index 136e8e7b..653afdcd 100644 --- a/blog.config.js +++ b/blog.config.js @@ -56,7 +56,7 @@ const BLOG = { CONTACT_WEIBO: '', CONTACT_TWITTER: '', CONTACT_GITHUB: 'https://github.com/tangly1024', - CONTACT_TELEGRAM: '', + CONTACT_TELEGRAM: 'https://t.me/tangly_1024', // 鼠标点击烟花特效 FIREWORKS: process.env.NEXT_PUBLIC_FIREWORKS || false, // 鼠标点击烟花特效