Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tabs): 新增 CSS 变量 #1835

Merged
merged 4 commits into from
Jan 3, 2024
Merged

feat(tabs): 新增 CSS 变量 #1835

merged 4 commits into from
Jan 3, 2024

Conversation

onlyling
Copy link
Contributor

@onlyling onlyling commented Jan 3, 2024

🤔 这个变动的性质是?

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

🔗 相关 Issue

💡 需求背景和解决方案

自定义 Tabs 组件样式。

新增以下 CSS 变量:

  • --nutui-tabs-titles-padding 自定义内边距
  • --nutui-tabs-titles-item-color 自定义文字颜色

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • fork仓库代码是否为最新避免文件冲突
  • Files changed 没有 package.json lock 等无关文件

- --nutui-tabs-titles-padding 自定义内边距
- --nutui-tabs-titles-item-color 自定义文字颜色
新增 --nutui-tabs-titles-padding、--nutui-tabs-titles-item-color
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (880fdd5) 75.83% compared to head (440962d) 75.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #1835   +/-   ##
=======================================
  Coverage   75.83%   75.83%           
=======================================
  Files         215      215           
  Lines        8650     8650           
  Branches     2474     2474           
=======================================
  Hits         6560     6560           
  Misses       1893     1893           
  Partials      197      197           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oasis-cloud oasis-cloud merged commit feadd3f into jdf2e:next Jan 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants