New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opensumi/antd-theme

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opensumi/antd-theme

OpenSumi theme for antd4

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

OpenSumi Ant Design Theme

Theme

Usage

css external

import '@opensumi/antd-theme/lib/index.css';
import { ConfigProvider } from 'antd';

// ...

return (
  <ConfigProvider prefixCls="sumi_antd">
    <App />
  </ConfigProvider>
);

Developement

  • 找到你要覆盖的 antd 组件
  • src 下新建一个 ${组件名}.less
  • src/index.less import 这个文件
  • npm run start 即可开始开发对应组件

Tips

  • antd.less 基本涵盖 antd 中所有的变量和值,可供快速参考查阅
  • 更完整的 antd 的 less 变量请参见 antd repo 源码
  • Open Sumi Tokens 表

Thank You

Keywords

FAQs

Package last updated on 23 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc