Comments (1)
你好,首先欢迎给出相关的建议。
看了antd-style
相关介绍,的确是一个不错的思路,也做了一些语法以及性能优化。如果迁移为antd-style方案的话,我大致看了下可以达到以下几个效果:
- antd-style 内置 antd token,可以无缝对接,不用每次引入
antd.them.useToken
- antd-style 支持自定义 token,可以实现覆盖现有业务逻辑
- 可以拥有更快的网页性能CSS-in-JS 性能对比
但有个疑惑,查看目前 antd 官网样式,会发现有两个重复的样式作用,这一块具体的原因是啥
感觉一个像是 @emotion/css ,一个像是 @emotion/style
最后,肯定欢迎 PR~
from dumi-theme-antd.
Related Issues (19)
- dumi 2x+antd 4x版本能使用这个主题包么 HOT 1
- loading 转圈bug HOT 4
- 不支持toc HOT 4
- body污染的 全局样式 HOT 4
- themeConfig 的 title 配置目前无效 HOT 4
- 控制台报错 colorItemBg 废弃 HOT 4
- 首页按钮和导航不支持跳转外链 HOT 2
- SSR 服务端渲染的问题 HOT 12
- dumi-theme-antd 项目征集 HOT 1
- nginx 部署问题
- 安装依赖警告问题 HOT 1
- 重定向问题
- 请问一下sidebarGroupModePath效果是和menu组件type:group一样么?
- 首页支持配置背景图片 HOT 3
- markdown代码块显示行号 HOT 3
- cmd + k快速搜索定位失效 HOT 1
- 背景图在缩放屏幕的时候会拉伸变形 HOT 2
- 0.2.5版本,新增的bannerConfig属性失效,导致mainContent dom丢失 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dumi-theme-antd.