@import '~@cainiaofe/cn-ui-m-theme/token.px.scss';

/*
  @component list
  @display List
  @chinese 列表
  @family data-display
*/

:root {
  /*
    @desc padding(t,b)
    @semantic 上下内边距
    @namespace size/bounding
  */
  --cn-list-item-padding-tb: #{$m-s-13};
  /*
    @desc padding(l,r)
    @semantic 左右内边距
    @namespace size/bounding
  */
  --cn-list-item-padding-lr: #{$m-s-12};
  /*
    @desc background
    @semantic 背景色
    @namespace style/common
  */
  --cn-list-bg-color: #{$m-color-bg-white};
  /**
    @desc border-width
    @semantic 分割线粗细
    @namespace statement/normal
  */
  --cn-list-border-width: #{$m-s-1};
  /*
    @desc active-bg-color
    @semantic 激活背景色
    @namespace style/common
  */
  --cn-list-active-bg-color: #{$m-color-bg-disabled};
  /*
    @desc height
    @semantic 列表项最小高度
    @namespace size/bounding
  */
  --cn-list-item-min-height: #{$m-s-48};
  /*
  @desc title-color
  @semantic 标题颜色
  @namespace style/common
  */
  --cn-list-title-color: #{$m-color-text};
  /*
    @desc divider-color
    @semantic 分割线颜色
    @namespace style/common
  */
  --cn-list-divider-border-bottom-color: #{$m-color-bg-disabled};
  /**
    @desc media-spacing
    @semantic 头像间隙
    @namespace size/common
  */
  --cn-list-item-spacing: #{$m-s-8};
  /*
    @desc title-font-size
    @semantic 标题字体大小
    @namespace size/title
  */
  --cn-list-title-font-size: #{$m-font-size-body-1};
  /*
    @desc title-gap
    @semantic 标题与副标题间隙
    @namespace size/title
  */
  --cn-list-title-padding-bottom: #{$m-s-10};
  /*
    @desc caption-font-size
    @semantic 副标题字体大小
    @namespace size/title
  */
  --cn-list-caption-font-size: #{$m-font-size-caption};
  /*
    @desc caption-color
    @semantic 副标题颜色
    @namespace style/common
  */
  --cn-list-caption-color: #{$m-color-text-tip};
  /*
    @desc extra-font-size
    @semantic 右侧文字大小
    @namespace style/common
  */
  --cn-list-extra-font-size: #{$m-font-size-body-1};
  /*
    @desc extra-color
    @semantic 右侧文字颜色
    @namespace style/common
  */
  --cn-list-extra-color: #{$m-color-text-disabled};
  /*
    @desc size
    @semantic 右侧图标大小
    @namespace size/common
  */
  --cn-list-icon-font-size: #{$m-s-16};
  /*
    @desc icon color
    @semantic 右侧图标颜色
    @namespace style/common
  */
  --cn-list-icon-color: #{$m-color-bg-darker1};
}
