-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extract more CSS variables (#25)
为了更好的适配主题样式,新增以下CSS变量: ```css --halo-search-widget-font-size-search-form-input:; /*输入框字体大小*/ --halo-search-widget-line-height-search-form-input:; /*输入框行高*/ --halo-search-widget-font-size-search-form-result-item-title:; /*搜索结果项标题字体大小*/ --halo-search-widget-line-height-search-form-result-item-title:; /*搜索结果项标题行高*/ --halo-search-widget-font-size-search-form-result-item-content:; /*搜索结果项内容字体大小*/ --halo-search-widget-line-height-search-form-result-item-content:; /*搜索结果项内容行高*/ --halo-search-widget-font-size-search-form-empty:; /*搜索结果为空时的字体大小*/ --halo-search-widget-line-height-search-form-empty:; /*搜索结果为空时的行高*/ --halo-search-widget-font-size-search-form-commands-item:; /*搜索框底部快捷键提示字体大小*/ --halo-search-widget-line-height-search-commands-item:; /*搜索框底部快捷键提示行高*/ --halo-search-widget-font-size-search-form-commands-item-kbd:; /*搜索框底部快捷键提示图标大小*/ --halo-search-widget-min-width-search-commands-item-kbd:; /*搜索框底部快捷键提示图标 min-wight*/ --halo-search-widget-font-family-search-form:; /*搜索框字体*/ ``` ```release-note 新增 CSS 变量以更好地适配主题样式 ```
- Loading branch information
1 parent
7390bfa
commit 5b90f5d
Showing
3 changed files
with
245 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.