- 在 scss 文件中添加了 $home_bg_image 变量用于背景图片配置 - 将 settings.yml 中的列表默认值格式从数组改为多行字符串格式 - 更新 extra_glass_morphism_selectors 和 extra_card_item_selectors 的默认值格式 - 保持所有选择器功能不变,仅调整配置文件的可读性 - 为首页背景功能提供了默认空值配置选项
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@use "lib/viewport";
|
||||
|
||||
$home_bg_image: "" !default;
|
||||
|
||||
#main-outlet {
|
||||
@if $home_bg_image != "" {
|
||||
background-image: url($home_bg_image);
|
||||
|
||||
Reference in New Issue
Block a user