Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: halo-dev/plugin-search-widget
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.1
Choose a base ref
...
head repository: halo-dev/plugin-search-widget
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.0
Choose a head ref
  • 3 commits
  • 12 files changed
  • 2 contributors

Commits on Feb 20, 2024

  1. 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 变量以更好地适配主题样式
    ```
    jiewenhuang authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    5b90f5d View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. refactor: refine css var (#27)

    移除在 #25 中提供的字体和行高变量,改为和 halo-dev/plugin-comment-widget#80 中一致的字体设置方案。
    
    添加了三个 CSS 变量:
    
    ```
    --halo-search-widget-base-font-size: ;			全局字体大小
    --halo-search-widget-base-border-radius: ;	边框圆角
    --halo-search-widget-base-font-family: ;			字体
    ```
    
    /kind feature
    
    ```release-note
    添加和字体相关的 CSS 变量
    ```
    ruibaby authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    a15b258 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. fix: pnpm lock file (#28)

    Signed-off-by: Ryan Wang <i@ryanc.cc>
    ruibaby authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    014713a View commit details
    Browse the repository at this point in the history
Loading