
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
element-theme
Advanced tools
Theme generator cli tool for Element.

The current version is compatible with element-ui@2.x. For element-ui@1.x, please check out the legacy branch.
install local or global
npm i element-theme -D
install theme-chalk
npm i element-theme-chalk -D
# or from github
npm i https://github.com/ElementUI/theme-chalk -D
# init variables file
et --init [file path]
# watch then build
et --watch [--config variable file path] [--out theme path]
# build
et [--config variable file path] [--out theme path] [--minimize]
var et = require('element-theme')
// watch mode
et.watch({
config: 'variables/path',
out: 'output/path'
})
// build
et.run({
config: 'variables/path',
out: 'output/path',
minimize: true
})
Variable file path, default ./element-variables.css.
Theme output path, default ./theme.
Compressed file.
set browsers, default ['ie > 9', 'last 2 versions'].
watch variable file changes then build.
A lists of components that you want to generate themes for. All by default.
You can configure some options in element-theme by putting it in package.json:
{
"element-theme": {
"browsers": ["ie > 9", "last 2 versions"],
"out": "./theme",
"config": "./element-variables.css",
"theme": "element-theme-chalk",
"minimize": false,
"components": ["button", "input"]
}
}
MIT
FAQs
Theme generator cli tool for Element
We found that element-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.