alibaba / alibaba/ChatUI

期望组件库对外提供统一的样式前缀,能搭配unocss进行使用

Open
#176 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4.4k
Forks
425
PR merge metrics
No merged PRs in 30d

Description

**What problem does this feature solve? (这个功能解决了什么问题)**
当前组件库的font-size是16px,但是unocss和设计稿配合时是设置了font-size: 4px,所以再进行样式转换时出现问题。但是chatui组件库的样式没有统一的前缀进行区分处理,导致使用postcss插件处理时无法处理

**Describe the solution you'd like (描述您想要的解决方案)**
期望当前组件库可以设置统一的样式前缀,便于和其他插件/组件库搭配使用

**What does the proposed API look like? (你期望的 API 是怎样的)**

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by tracing how ChatUI’s TypeScript/React component styles are generated and how PostCSS and UnoCSS would consume them, then define the public prefix API and its scope. Done means the prefix is consistently available for component styles and works with the described style-processing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.