Skip to content

Commit

Permalink
docs: modify guide/strategy (#144)
Browse files Browse the repository at this point in the history
* Update strategy.en-US.md

* Update strategy.zh-CN.md
  • Loading branch information
xiaotiandada authored Mar 17, 2024
1 parent e8521e5 commit eb426b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/strategy.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The goal of the style engine is to provide developers with various powerful capa

## Positioning and Goals of antd-style

Therefore, when we cleanly separate the above two, it becomes very clear: the positioning of `antd-style` is a `style practice` library, providing a set of deterministic style writing solutions for antd's developer users, and providing best practice solutions for the vast majority of style writing scenarios, including but not limited to: 1) application styles, 2) component styles, 3) less migration, 4) responsive design, 4) dynamic themes, 5) custom themes, 6) token extension, 7) design collaboration, and so on.
Therefore, when we cleanly separate the above two, it becomes very clear: the positioning of `antd-style` is a `style practice` library, providing a set of deterministic style writing solutions for antd's developer users, and providing best practice solutions for the vast majority of style writing scenarios, including but not limited to: 1) application styles, 2) component styles, 3) less migration, 4) responsive design, 5) dynamic themes, 6) custom themes, 7) token extension, 8) design collaboration, and so on.

Therefore, antd-style will encapsulate a set of APIs on top of excellent CSSinJS style engines in the community, providing application developers and component developers with a more user-friendly syntax and better performance.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/strategy.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ antd-style 在构建之初,我们有两个基本假设:

## antd-style 的定位与目标

因此,将上述两者切割干净后会就会非常清晰: `antd-style` 的定位就是一个 `样式实践` 库,为 antd 的开发者用户提供一套具有确定性的样式书写方案,并在绝大部分样式书写场景都提供了最佳实践的方案:包括但不限:1)应用样式、2)组件样式、3)less 迁移、4)响应式、4)动态主题、5)自定义主题、6)token 扩展、7)设计协同等等。
因此,将上述两者切割干净后会就会非常清晰: `antd-style` 的定位就是一个 `样式实践` 库,为 antd 的开发者用户提供一套具有确定性的样式书写方案,并在绝大部分样式书写场景都提供了最佳实践的方案:包括但不限:1)应用样式、2)组件样式、3)less 迁移、4)响应式、5)动态主题、6)自定义主题、7)token 扩展、8)设计协同等等。

所以,antd-style 会在社区优秀的 cssinjs 样式引擎上层封装出一套 api,为应用开发者、组件开发者提供更加易写的语法,且能获得更优的性能。

Expand Down

0 comments on commit eb426b3

Please sign in to comment.