Comments (7)
而且模糊玻璃的效果也如上所说,本地访问是正常的,线上就是没有效果
from hexo-theme-fluid.
但其他效果在线上都可以立刻展示出来,就这两个效果更新不出来,浏览器缓存什么的也都弄过了,就是不行
from hexo-theme-fluid.
贴一下你修改的内容 和线上地址
from hexo-theme-fluid.
修改的代码部分如下:(我仅仅换了颜色而已)
# 主题颜色配置,其他不生效的地方请使用自定义 css 解决,配色可以在下方链接中获得启发
# Theme color, please use custom CSS to solve other colors, color schema can be inspired by the links below
# See: https://www.webdesignrankings.com/resources/lolcolors/
color:
# body 背景色
# Color of body background
body_bg_color: "#FFFFFF" # 纯白
# 暗色模式下的 body 背景色,下同
# Color in dark mode, the same below
body_bg_color_dark: "#181c27"
# 顶部菜单背景色
# Color of navigation bar background
navbar_bg_color: "#E58A8A" # 偏红色
navbar_bg_color_dark: "#E58A8A" # 偏红色
from hexo-theme-fluid.
然后我也修改了themes/fluid/css/_variables/base.styl
修改的部分如下:
// body
$body-bg-color = theme-config("color.body_bg_color", "#FFFFFF")
// navbar
$navbar-bg-color = theme-config("color.navbar_bg_color", "#E58A8A")
$navbar-bg-color-dark = theme-config("color.navbar_bg_color_dark", "#E58A8A")
但依旧没有起效
from hexo-theme-fluid.
我似乎解决了,但不知道为什么,我是把public上传在github上,然后同时每次都是通过GitHub desktop把public中更改的文件上传上去,但我刚刚通过在GitHub网站上上传了所有的文件,线上便有效果了😂
from hexo-theme-fluid.
你修改的是hexo根目录下的_config.fluid.yml文件吗
如果你的主题是使用npm安装的,并且你把仓库放在了git上执行每次的编译静态工作,那么你在npm包修改的任何内容不会同步到git仓库中。
我修改主题色后生效了,请检查自己的项目
https://xiyu.pro/
我的配置 _config.fluid.yml
color:
# body 背景色
# Color of body background
body_bg_color: "#eee"
# 暗色模式下的 body 背景色,下同
# Color in dark mode, the same below
body_bg_color_dark: "#181c27"
# 顶部菜单背景色
# Color of navigation bar background
# navbar_bg_color: "#2f4154"
# navbar_bg_color_dark: "#1f3144"
navbar_bg_color: "#E58A8A"
navbar_bg_color_dark: "#E58A8A"
from hexo-theme-fluid.
Related Issues (20)
- markdown文件中公式编辑报错:missing or unrecognized delimiter for left HOT 1
- 点开图片后关闭,页面会滚动到最下方 HOT 9
- 使用waline评论后文章滑动问题,waline评论乱码问题 HOT 1
- 51.la 统计代码需要更新
- 自动摘要包含大量无意义的代码块行号 HOT 1
- "关于"页面图标大小不一致
- 插入的图片路径带有空格不会渲染图片 HOT 1
- 与 hexo-generator-sitemap 配合使用时,关于页面地址不规范:/about/index.html,影响 SEO HOT 15
- [SEO] 支持 Canonical URL
- Giscus评论插件错误的CSS样式 HOT 3
- 版本更新
- md
- 搜索功能 每次点击都要重新获取local-search.xml,网速慢的情况下要加载好久。 HOT 1
- 请问,为什么我配置了leancloud后不显示统计信息呢? HOT 3
- Twikoo Comment system update 1.6.29 更新twikoo评论系统前端 HOT 1
- 换行异常 HOT 1
- 代码块被加上了紫色背景 HOT 2
- 加密文章中解密之后图片一直加载中 HOT 1
- 建议添加“文章时效性”提示 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-fluid.