优化:

搜索插件和评论插件的字体跟随主题配置;
升级内置remixicon至4.2.0版本
This commit is contained in:
mjsoftware 2024-03-08 12:58:04 +08:00
parent 054a807ac5
commit 90ddd65da3
11 changed files with 1483 additions and 549 deletions

View File

@ -49,7 +49,7 @@ html {
--light-b: #414243; --light-b: #414243;
--light-c: #303030; --light-c: #303030;
--light-d: #666; --light-d: #666;
--light-y: #d0d0d0; --light-y: #fafafa;
--light-z: #c2c2c2; --light-z: #c2c2c2;
--dark-a: #888; --dark-a: #888;
--dark-b: #777; --dark-b: #777;
@ -83,7 +83,7 @@ html {
} }
} }
.waifu, iframe, img, video, svg, .thumbnail-image, .cover-image, .small-image, .aplayer-pic, .brightness { .waifu, iframe, img, video, svg, .thumbnail-image, .cover-image, .small-image, .aplayer-pic, .brightness, comment-widget {
filter: brightness(.8); filter: brightness(.8);
} }
@ -115,11 +115,11 @@ html {
&.plugin-unified-plan { &.plugin-unified-plan {
/*todo 搜索組件*/ /*todo 搜索組件*/
//基础字体大小 //基础字体大小
//--halo-search-widget-base-font-size: 1rem !important; --halo-search-widget-base-font-size: 1rem !important;
//基础元素的圆角 //基础元素的圆角
//--halo-search-widget-base-border-radius: !important; //--halo-search-widget-base-border-radius: !important;
//基础字体族 //基础字体族
//--halo-search-widget-base-font-family: !important; --halo-search-widget-base-font-family: "Dream Font" !important;
//模态层颜色 //模态层颜色
//--halo-search-widget-color-modal-layer: var(--theme) !important; //--halo-search-widget-color-modal-layer: var(--theme) !important;
//模态内容背景颜色 //模态内容背景颜色
@ -153,7 +153,7 @@ html {
//基础元素的圆角 //基础元素的圆角
//--halo-comment-widget-base-border-radius: !important; //--halo-comment-widget-base-border-radius: !important;
////基础字体大小 ////基础字体大小
//--halo-comment-widget-base-font-size: !important; --halo-comment-widget-base-font-size: 1rem !important;
////基础行高 ////基础行高
//--halo-comment-widget-base-line-height: !important; //--halo-comment-widget-base-line-height: !important;
////基础字体族 ////基础字体族
@ -181,7 +181,7 @@ html {
////提交按钮背景颜色 ////提交按钮背景颜色
--halo-comment-widget-component-form-button-submit-bg-color: var(--theme) !important; --halo-comment-widget-component-form-button-submit-bg-color: var(--theme) !important;
////提交按钮文字颜色 ////提交按钮文字颜色
--halo-comment-widget-component-form-button-submit-color: #f8f8f8 !important; //--halo-comment-widget-component-form-button-submit-color: #f8f8f8 !important;
////提交按钮边框颜色 ////提交按钮边框颜色
--halo-comment-widget-component-form-button-submit-border-color: var(--theme) !important; --halo-comment-widget-component-form-button-submit-border-color: var(--theme) !important;
////提交按钮悬停边框颜色 ////提交按钮悬停边框颜色

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Binary file not shown.

View File

@ -23,7 +23,8 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage
<link rel="canonical" th:href="${canonical}"/> <link rel="canonical" th:href="${canonical}"/>
<link rel="preload stylesheet" as="style" th:href="@{/assets/css/theme.min.css(mew=${theme.spec.version})}"> <link rel="preload stylesheet" as="style" th:href="@{/assets/css/theme.min.css(mew=${theme.spec.version})}">
<link rel="preload stylesheet" as="style" th:href="@{/assets/lib/remixicon@3.5.0/remixicon.min.css}"> <!-- <link rel="preload stylesheet" as="style" th:href="@{/assets/lib/remixicon@3.5.0/remixicon.min.css}">-->
<link rel="preload stylesheet" as="style" th:href="@{/assets/lib/remixicon@4.2.0/remixicon.min.css}">
<link rel="preload stylesheet" as="style" th:href="@{/assets/css/style.min.css(mew=${theme.spec.version})}"> <link rel="preload stylesheet" as="style" th:href="@{/assets/css/style.min.css(mew=${theme.spec.version})}">
<link th:if="${theme.config.basic_style.theme_style == 'celebration'}" rel="preload stylesheet" as="style" th:href="@{/assets/css/celebration.min.css(mew=${theme.spec.version})}"> <link th:if="${theme.config.basic_style.theme_style == 'celebration'}" rel="preload stylesheet" as="style" th:href="@{/assets/css/celebration.min.css(mew=${theme.spec.version})}">