mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
调整联系表单插件颜色
This commit is contained in:
parent
d015b71c1c
commit
3f8908242a
@ -115,10 +115,8 @@ html {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//todo 插件统一方案,使用此须在主题配置中设定变量,用来应对高亮和黑暗配色切换
|
/*插件配置*/
|
||||||
&.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-border-radius: !important;
|
||||||
@ -151,7 +149,7 @@ html {
|
|||||||
//命令键盘边框颜色
|
//命令键盘边框颜色
|
||||||
//--halo-search-widget-color-command-kbd-border: !important;
|
//--halo-search-widget-color-command-kbd-border: !important;
|
||||||
|
|
||||||
/*todo 评论组件*/
|
/*评论组件:https://github.com/halo-dev/plugin-comment-widget*/
|
||||||
//基础文字颜色
|
//基础文字颜色
|
||||||
--halo-comment-widget-base-color: var(--light-y) !important;
|
--halo-comment-widget-base-color: var(--light-y) !important;
|
||||||
//基础元素的圆角
|
//基础元素的圆角
|
||||||
@ -217,8 +215,7 @@ html {
|
|||||||
////表情选择器悬停边框颜色
|
////表情选择器悬停边框颜色
|
||||||
//--halo-comment-widget-component-emoji-picker-color-border-over: !important;
|
//--halo-comment-widget-component-emoji-picker-color-border-over: !important;
|
||||||
|
|
||||||
|
/*联系表单:https://app-docs.halo.run/docs/plugin-contact-form/development/custom-styles*/
|
||||||
/*todo 联系表单*/
|
|
||||||
//定义表单字体系列。
|
//定义表单字体系列。
|
||||||
--halo-contact-form-font-family: "Dream Font" !important;
|
--halo-contact-form-font-family: "Dream Font" !important;
|
||||||
//定义表单字体大小。
|
//定义表单字体大小。
|
||||||
@ -259,13 +256,5 @@ html {
|
|||||||
//--halo-contact-form-bg-decorator
|
//--halo-contact-form-bg-decorator
|
||||||
//自动模式下的模态框背景色。
|
//自动模式下的模态框背景色。
|
||||||
//--halo-contact-form-auto-color-modal-bg
|
//--halo-contact-form-auto-color-modal-bg
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////組件高亮,todo 使用此方案时复制统一配色方案的相关内容后修改对应值
|
|
||||||
//.color-scheme-light {
|
|
||||||
//}
|
|
||||||
////組件暗黑,todo 使用此方案时复制统一配色方案的相关内容后修改对应值
|
|
||||||
//.color-scheme-dark {
|
|
||||||
//}
|
|
2
templates/assets/css/theme.min.css
vendored
2
templates/assets/css/theme.min.css
vendored
@ -1 +1 @@
|
|||||||
@charset "utf-8";html{--theme:#50bfff;--main:#505050;--title:#444;--background:rgba(255, 255, 255, 0.94);--background-hover:#fff;--style-a:#fff;--light-a:#ffffff;--light-b:#ebeef5;--light-c:#dcdcdc;--light-d:#c0c4cc;--light-x:#d6d6d6;--light-y:#1f1f1f;--light-z:#ffffff;--dark-a:#4a4a4a;--dark-b:#909399;--dark-c:#333;--dark-d:#9a9a9a;--dark-e:#7a7a7a;--color-a:#409eff;--bg-a:rgba(242, 246, 252, 0.8);--bg-b:#f2f6fc;--bg-c:#f5f5f5;--bg-d:rgba(255, 255, 255, 0.8);--bg-e:var(--theme);--bg-f:#f7f7f7;--bg-g:#e8f3ff;--bg-h:rgba(237, 244, 253, 0.75);--bg-i:#50bfff;--bg-j:rgba(243, 244, 245, 0.25);--bg-k:rgba(250, 250, 250, 0.8);--bg-l:rgba(243, 243, 243, 0.8);--bg-z:rgba(230, 240, 250, 0.75);--radius-wrap:8px;--radius-inner:4px;--radius-img:5px;--box-shadow:0 0px 10px -5px #949494}html.night{--theme:#5d93db;--main:#b0b0b0;--title:#c4c4c4;--background:rgba(40, 44, 52, 0.6);--background-hover:rgba(40, 44, 52, 0.8);--style-a:#080c28;--light-a:#232323;--light-b:#414243;--light-c:#303030;--light-d:#666;--light-x:#6e6e6e;--light-y:#fafafa;--light-z:#c2c2c2;--dark-a:#888;--dark-b:#777;--dark-c:silver;--dark-d:#aaa;--dark-e:#c0c0c0;--color-a:#cbba7d;--bg-a:rgba(65, 66, 67, 0.8);--bg-b:#303030;--bg-c:#373d48;--bg-d:rgba(40, 44, 52, 0.8);--bg-e:#434a56;--bg-f:#080c28;--bg-g:rgba(210, 210, 210, 0.2);--bg-h:rgba(65, 68, 74, 0.6);--bg-i:#276b92;--bg-j:rgba(36, 36, 36, 0.15);--bg-k:rgba(30, 33, 41, 0.8);--bg-l:rgba(63, 65, 75, 0.8);--bg-z:rgba(65, 68, 74, 0.6);--box-shadow:1px 1px 3px 1px #1b1b1b}html.night body::before{-webkit-filter:brightness(.3);filter:brightness(.3)}html.night .logo-img{display:none}html.night .logo-img-dark{display:inline-block}html.night .aplayer-pic,html.night .brightness,html.night .cover-image,html.night .small-image,html.night .thumbnail-image,html.night .waifu,html.night comment-widget,html.night iframe,html.night img,html.night svg,html.night video{-webkit-filter:brightness(.8);filter:brightness(.8)}html.night .canvas_effects.night{display:block}html.night .canvas_effects.day{display:none}html.night .main-content figure{color:var(--main);background:var(--bg-k)}html.night .main-content figure pre code{color:var(--color-a);background:0 0}html.plugin-unified-plan{--halo-search-widget-base-font-size:1rem!important;--halo-search-widget-base-font-family:"Dream Font"!important;--halo-comment-widget-base-color:var(--light-y)!important;--halo-comment-widget-base-font-size:1rem!important;--halo-comment-widget-base-font-family:"Dream Font"!important;--halo-comment-widget-component-form-input-border-color-focus:var(--theme)!important;--halo-comment-widget-component-form-button-login-border-color:var(--light-c)!important;--halo-comment-widget-component-form-button-submit-bg-color:var(--theme)!important;--halo-comment-widget-component-form-button-submit-border-color:var(--theme)!important;--halo-comment-widget-component-form-button-submit-border-color-hover:var(--theme)!important;--halo-contact-form-font-family:"Dream Font"!important;--halo-contact-form-font-size:1rem!important;--halo-contact-form-width-submit:100%!important;--halo-contact-form-color-primary:var(--theme)!important;--halo-contact-form-color-label:var(--light-y)!important;--halo-contact-form-color-input:var(--light-y)!important;--halo-contact-form-color-danger:#ff5656!important}
|
@charset "utf-8";html{--theme:#50bfff;--main:#505050;--title:#444;--background:rgba(255, 255, 255, 0.94);--background-hover:#fff;--style-a:#fff;--light-a:#ffffff;--light-b:#ebeef5;--light-c:#dcdcdc;--light-d:#c0c4cc;--light-x:#d6d6d6;--light-y:#1f1f1f;--light-z:#ffffff;--dark-a:#4a4a4a;--dark-b:#909399;--dark-c:#333;--dark-d:#9a9a9a;--dark-e:#7a7a7a;--color-a:#409eff;--bg-a:rgba(242, 246, 252, 0.8);--bg-b:#f2f6fc;--bg-c:#f5f5f5;--bg-d:rgba(255, 255, 255, 0.8);--bg-e:var(--theme);--bg-f:#f7f7f7;--bg-g:#e8f3ff;--bg-h:rgba(237, 244, 253, 0.75);--bg-i:#50bfff;--bg-j:rgba(243, 244, 245, 0.25);--bg-k:rgba(250, 250, 250, 0.8);--bg-l:rgba(243, 243, 243, 0.8);--bg-z:rgba(230, 240, 250, 0.75);--radius-wrap:8px;--radius-inner:4px;--radius-img:5px;--box-shadow:0 0px 10px -5px #949494;--halo-search-widget-base-font-size:1rem!important;--halo-search-widget-base-font-family:"Dream Font"!important;--halo-comment-widget-base-color:var(--light-y)!important;--halo-comment-widget-base-font-size:1rem!important;--halo-comment-widget-base-font-family:"Dream Font"!important;--halo-comment-widget-component-form-input-border-color-focus:var(--theme)!important;--halo-comment-widget-component-form-button-login-border-color:var(--light-c)!important;--halo-comment-widget-component-form-button-submit-bg-color:var(--theme)!important;--halo-comment-widget-component-form-button-submit-border-color:var(--theme)!important;--halo-comment-widget-component-form-button-submit-border-color-hover:var(--theme)!important;--halo-contact-form-font-family:"Dream Font"!important;--halo-contact-form-font-size:1rem!important;--halo-contact-form-width-submit:100%!important;--halo-contact-form-color-primary:var(--theme)!important;--halo-contact-form-color-label:var(--light-y)!important;--halo-contact-form-color-input:var(--light-y)!important;--halo-contact-form-color-danger:#ff5656!important}html.night{--theme:#5d93db;--main:#b0b0b0;--title:#c4c4c4;--background:rgba(40, 44, 52, 0.6);--background-hover:rgba(40, 44, 52, 0.8);--style-a:#080c28;--light-a:#232323;--light-b:#414243;--light-c:#303030;--light-d:#666;--light-x:#6e6e6e;--light-y:#fafafa;--light-z:#c2c2c2;--dark-a:#888;--dark-b:#777;--dark-c:silver;--dark-d:#aaa;--dark-e:#c0c0c0;--color-a:#cbba7d;--bg-a:rgba(65, 66, 67, 0.8);--bg-b:#303030;--bg-c:#373d48;--bg-d:rgba(40, 44, 52, 0.8);--bg-e:#434a56;--bg-f:#080c28;--bg-g:rgba(210, 210, 210, 0.2);--bg-h:rgba(65, 68, 74, 0.6);--bg-i:#276b92;--bg-j:rgba(36, 36, 36, 0.15);--bg-k:rgba(30, 33, 41, 0.8);--bg-l:rgba(63, 65, 75, 0.8);--bg-z:rgba(65, 68, 74, 0.6);--box-shadow:1px 1px 3px 1px #1b1b1b}html.night body::before{-webkit-filter:brightness(.3);filter:brightness(.3)}html.night .logo-img{display:none}html.night .logo-img-dark{display:inline-block}html.night .aplayer-pic,html.night .brightness,html.night .cover-image,html.night .small-image,html.night .thumbnail-image,html.night .waifu,html.night comment-widget,html.night iframe,html.night img,html.night svg,html.night video{-webkit-filter:brightness(.8);filter:brightness(.8)}html.night .canvas_effects.night{display:block}html.night .canvas_effects.day{display:none}html.night .main-content figure{color:var(--main);background:var(--bg-k)}html.night .main-content figure pre code{color:var(--color-a);background:0 0}
|
@ -1,5 +1,5 @@
|
|||||||
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
||||||
th:class="${theme.config.basic_style.theme_style + ' plugin-unified-plan'}"
|
th:class="${theme.config.basic_style.theme_style}"
|
||||||
th:fragment="layout (title, canonical, content, isPost)">
|
th:fragment="layout (title, canonical, content, isPost)">
|
||||||
<th:block th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)},
|
<th:block th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)},
|
||||||
enableComment = ${baseEnableComment == true && site.comment.enable && pluginFinder.available('PluginCommentWidget')}">
|
enableComment = ${baseEnableComment == true && site.comment.enable && pluginFinder.available('PluginCommentWidget')}">
|
||||||
|
@ -22,6 +22,6 @@ spec:
|
|||||||
settingName: theme-dream-setting
|
settingName: theme-dream-setting
|
||||||
configMapName: theme-dream-configMap
|
configMapName: theme-dream-configMap
|
||||||
# 版本号
|
# 版本号
|
||||||
version: 1.0.0.10
|
version: 1.0.0.13
|
||||||
# 最低支持的 Halo 版本
|
# 最低支持的 Halo 版本
|
||||||
require: ">=2.6.0"
|
require: ">=2.6.0"
|
Loading…
x
Reference in New Issue
Block a user