An UI library on top of Ant Design 5.x and linaria for building better UX in a more efficient way.
Ant Design has provided an mature theme editor https://ant.design/theme-editor to help us customize our own theme freely.
- vben1
- vben2
- vben3
- orange
- soybean1
- other primary color of soybean
Besides light and dark modes, an out-of-box gray mode is supported by attaching class name below to html tag.
.html-gray {
filter: grayscale(100%);
}-
Since
linariais a compile time CSS-in-JS library, which is not allowed for dynamic class name, while that is supported by runtime CSS-in-JS library such as antd-styles shown below:const useStyles = createStyles(({css, prefixCls}) => ({ root: css/*css*/` &.${prefixCls}-menu-root { border-inline-end: 0 none !important; } ` }))
If you really need to rename the prefix of antd class names, there're two ways to achieve that:
- Put the
@meta-ultra/antd-pluscomponents within aConfigProviderwhoseprefixClsisant; - Bundle your own
@meta-ultra/antd-pluswith a customizedprefixCls.
- Put the
Good to know
we can access the
prefixClsset at ancestorConfigProviderviaConfigProvider.ConfigContext._currentValue.getPrefixCls()orConfigProvider.ConfigContext._currentValue2.getPrefixCls().
- vben: https://vben.vvbin.cn/
- soybean: https://soybean.pro/#/dashboard/analysis
- Pure Admin: https://yiming_chang.gitee.io/vue-pure-admin/#/login
- Ant Design Pro: https://preview.pro.ant.design/