
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@jimengio/jimo-antd-theme
Advanced tools
Antd theme for jimengio
Preview: https://jimengio.github.io/jimo-antd-theme/
lib
├── platform.min.css
├── platform_v3.min.css
├── platform_hc.min.css
├── platform_hc_v3.min.css
├── q806_hc_v3.min.css
├── q806_v3.min.css
lib
├── platform.theme.less
├── platform_v3.theme.less
├── platform_hc.theme.less
├── platform_hc_v3.theme.less
├── q806_v3.theme.less
├── q806_hc_v3.theme.less
yarn add -D @jimengio/jimo-antd-theme
import "antd/dist/antd.less";
import "@jimengio/jimo-antd-theme/lib/platform.theme.less";
// Entry file
// import "antd/dist/antd.css";
import "antd/dist/antd.less";
const jimoTheme = require("@jimengio/jimo-antd-theme");
// add rule
exports.matchLessRule = {
test: /\.less$/,
use: [
{
loader: "style-loader",
},
{
loader: "css-loader",
},
{
loader: "less-loader",
options: {
modifyVars: {
...jimoTheme.platform,
},
javascriptEnabled: true,
},
},
],
};
不是很推荐,根据具体 antd
版本打包,会有兼容性问题
// import "antd/dist/antd.min.css";
import "@jimengio/jimo-antd-theme/lib/platform.min.css";
# install dependencies
yarn
# example
yarn example
# build package
yarn build
# sync less type (src)
yarn gen-type
# generated from local files
yarn gen-type local
# generate less files (lib)
yarn gen-less
# generate css files (example/lib)
yarn gen-css [compress, type, build]
# generate css file (for example)
yarn gen-css
# generate compressed css file (for example)
yarn gen-css compress
# generate typescript css string file (for example)
yarn gen-css type
# generate compressed css file (for lib)
yarn gen-css build
FAQs
Antd theme for jimengio
We found that @jimengio/jimo-antd-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.