ant-design / ant-design/cssinjs

如何调用默认样式

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
287
Forks
80
PR merge metrics
No merged PRs in 30d

Description

我想调用antd 的默认样式比如主色,以前的话是var(--ant-primary-color)。现在怎么完成使用这个颜色

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. First clarify the antd and cssinjs versions and whether the request is for a documented usage example or a code change; then inspect the theme-token documentation or relevant source for the supported replacement for var(--ant-primary-color). Done means the supported way to use the primary color is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.