mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
添加对 ChartJS 双模式的支持
1. 增加了 ChartJS 图表官方语法; 2. 新增了 ChartJS 的双模式(浅色/深色模式)显示功能; 3. 扩展了 ChartJS 的 config 语法,支持双模式配置。 4. 修复了 ChartJS 在双模式下默认样式的问题,简化用户配置图表过程。
This commit is contained in:
1 parent
2ca779a6ad
commit
975134fb14
7 files changed
+167
-1
No files matched your search
@@ -75,6 +75,10 @@ if hexo-config('mermaid.enable')
|
||||
pre > code.mermaid
|
||||
display: none
|
||||
|
||||
.chartjs-wrap
|
||||
margin: 0 0 20px
|
||||
text-align: center
|
||||
|
||||
.utterances,
|
||||
.fb-comments iframe
|
||||
width: 100% !important
|
||||
|
||||
Reference in new issue
Block a user