
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.