mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 20:09:41 +08:00
优化:
搜索插件和评论插件的字体跟随主题配置; 升级内置remixicon至4.2.0版本
This commit is contained in:
parent
054a807ac5
commit
90ddd65da3
@ -49,7 +49,7 @@ html {
|
||||
--light-b: #414243;
|
||||
--light-c: #303030;
|
||||
--light-d: #666;
|
||||
--light-y: #d0d0d0;
|
||||
--light-y: #fafafa;
|
||||
--light-z: #c2c2c2;
|
||||
--dark-a: #888;
|
||||
--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);
|
||||
}
|
||||
|
||||
@ -115,11 +115,11 @@ html {
|
||||
&.plugin-unified-plan {
|
||||
/*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-font-family: !important;
|
||||
--halo-search-widget-base-font-family: "Dream Font" !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-font-size: !important;
|
||||
--halo-comment-widget-base-font-size: 1rem !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-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;
|
||||
////提交按钮悬停边框颜色
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
templates/assets/lib/remixicon@4.2.0/remixicon.min.css
vendored
Normal file
1
templates/assets/lib/remixicon@4.2.0/remixicon.min.css
vendored
Normal file
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.
BIN
templates/assets/lib/remixicon@4.2.0/remixicon.woff
Normal file
BIN
templates/assets/lib/remixicon@4.2.0/remixicon.woff
Normal file
Binary file not shown.
BIN
templates/assets/lib/remixicon@4.2.0/remixicon.woff2
Normal file
BIN
templates/assets/lib/remixicon@4.2.0/remixicon.woff2
Normal file
Binary file not shown.
@ -23,7 +23,8 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage
|
||||
<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/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 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})}">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user