diff --git a/themes/Ying/hugo.toml b/themes/Ying/hugo.toml index c2aaf36d..303f336d 100644 --- a/themes/Ying/hugo.toml +++ b/themes/Ying/hugo.toml @@ -12,6 +12,7 @@ title = '优世界' # 自定义作者头像的 URL authorImage = "/image/ql.jpg" + # 自定义描述 description = "风吹云散,云卷云舒" diff --git a/themes/Ying/layouts/partials/artalk.html b/themes/Ying/layouts/partials/artalk.html index b5a1990b..e25c2bd9 100644 --- a/themes/Ying/layouts/partials/artalk.html +++ b/themes/Ying/layouts/partials/artalk.html @@ -1,5 +1,10 @@ +
@@ -10,7 +15,9 @@ el: '#Comments', // 绑定元素的 Selector server: 'https://artalk.5b2.cn', // 后端地址 site: '优世界', // 你的站点名 - flatMode: true + flatMode: true, + theme: 'light', + darkMode: false }) } \ No newline at end of file diff --git a/themes/Ying/layouts/shortcodes/heatmap.html b/themes/Ying/layouts/shortcodes/heatmap.html index a23111b6..d97dab68 100644 --- a/themes/Ying/layouts/shortcodes/heatmap.html +++ b/themes/Ying/layouts/shortcodes/heatmap.html @@ -50,14 +50,21 @@ // 定义暗黑模式下的颜色方案 var darkTheme = { - backgroundColor: '#1A1718', - fangkuaicolor:'#282325', - gaoliangcolor: ['#b25f2f'], - riqiColor: '#666', - textbrcolor: '#332D2F', + backgroundColor: '#FFFFFF', + fangkuaicolor:'#F4F4F4', + gaoliangcolor: ['#333'], + riqiColor: '#999', + textbrcolor: '#FFF', xiankuangcolor:'rgba(0, 0, 0, 0.0)', }; + // 备份暗黑模式 + // backgroundColor: '#1A1718', + // fangkuaicolor:'#282325', + // gaoliangcolor: ['#b25f2f'], + // riqiColor: '#666', + // textbrcolor: '#332D2F', + // 根据浏览器主题模式选择当前主题 var currentTheme = prefersDarkMode ? darkTheme : lightTheme; diff --git a/themes/Ying/static/css/main.css b/themes/Ying/static/css/main.css index 4d2eec05..8fc0391a 100644 --- a/themes/Ying/static/css/main.css +++ b/themes/Ying/static/css/main.css @@ -2017,7 +2017,8 @@ img[atk-emoticon] { .atk-main-editor { background: 0 0!important; - border: 1px solid var(--frame-dark-color)!important + /*border: 1px solid var(--frame-dark-color)!important*/ + border: 1px solid var(--frame-color)!important } .atk-textarea {