
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.
vision-ui
Advanced tools
npm install vision-ui --save
# es6 & webpack
// import vision.css first
import visioncss from 'vision-ui/lib/vision.css'
// import components using es6
import { Button, Icon, Label, Loading } from 'vision-ui'
vision.scss under your scss fold as followings@import
'vision-ui/components/variables',
'my-theme.scss',
'vision-ui/components/normalize',
'vision-ui/components/components';
scss foldscp -rf node_modules/vision-ui/components/imgs scss
my-theme.scss/* override variables definition in variables */
$main-color: '#343536';
$green: '#3d3d3d';
// in your js file
import custom_vision_ui from 'scss/vision'
import { Button, Icon, Label, Loading } from 'vision-ui'
npm start # open page http://localhost:8000
components/COMPONENT/index.jscomponents/COMPONENT/style.scsscomponents/COMPONENT/demo/basic.mdnpm version patch # update npm version
npm run pub # build and npm publish
update icon set
components/fonts/icomoon.svg 上传至 Icomoon.co, 按照需求更新后,打包下载新的字体文件,替换 vision-ui 中的原始字体文件npm run webpack 指令, 将在 lib/fonts 目录下生成带内容 HASH 的新的字体文件,将它们更新到 静态资源库中, fonts 目录, 之后就会同步到线上去(etc. ://res.wxmovie.com/fonts/icomoon-xxxxxxx.ttf)components/icon/style.scss 中的字体引用地址@font-face {
font-family: 'ico-webfont-N';
src: url('//res.wxmovie.com/fonts/icomoon-xxxxxxxx.woff') format('woff'),
url('//res.wxmovie.com/fonts/icomoon-xxxxxxxx.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
FAQs
UI design guideline of Wepiao
We found that vision-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.