Giter Site home page Giter Site logo

Comments (1)

KuangPF avatar KuangPF commented on June 5, 2024

你好,首先欢迎给出相关的建议。
看了antd-style相关介绍,的确是一个不错的思路,也做了一些语法以及性能优化。如果迁移为antd-style方案的话,我大致看了下可以达到以下几个效果:

  • antd-style 内置 antd token,可以无缝对接,不用每次引入 antd.them.useToken
  • antd-style 支持自定义 token,可以实现覆盖现有业务逻辑
  • 可以拥有更快的网页性能CSS-in-JS 性能对比

但有个疑惑,查看目前 antd 官网样式,会发现有两个重复的样式作用,这一块具体的原因是啥
image
感觉一个像是 @emotion/css ,一个像是 @emotion/style

最后,肯定欢迎 PR~

from dumi-theme-antd.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.