
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A classified icons set that consists of a part of Material Design icons and some original icons by TB-UI team.
A classified icons set that consists of a part of Material Design icons and some original icons by TB-UI team. Available in Icon Fonts and SVG Symbols.
You can check out all Iconfonts or all SVG symbols
Now the package has updated to version 0.2.0, if you are looking for the old version, checkout v1 branch or open gh-pages/v1.
npm install tb-icons
Webpack
Make sure install url-loader
, file-loader
to resolve iconfonts files or svg files, and install target *-loader
to import icon stylesheets, like stylus-loader
, less-loader
, etc.
LESS
@import (css) "path/to/tb-icons/lib/tb-icons.css";
Stylus
@import 'path/to/tb-icons/lib/tb-icons.styl'
Gulp
Move the fonts with Gulp
gulp.task('move-fonts', function () {
gulp.src('node_modules/tb-icons/lib/fonts/**/*')
.pipe(gulp.dest('path/to/fonts/'))
})
Class Name
Ensure you've import relative stylesheets, and use it within existed icons
<span class="icon icon-{Icon Name}"></span>
SVG Symbols
Inline combined SVG reference into body, then drop a <use>
element snippet
<svg role="img">
<use xlink:href="#{Icon Name}></use>
</svg>
Or directly link the external svg-symbols
file:
<svg role="img">
<use xlink:href="{Url}/svg-symbols.svg#{Icon Name}"></use>
</svg>
New version of TB-Icons required a valid Sketch
file to generate all resources, please make sure you have rights to create more assets, or you can ask designers to distribute that.
All build process can be found in gulpfile.babel.js
and local development is required for webpack
.
Please note the path to the sketchtool
. Usually the binary is distributed with the Sketch package. So you need to add following line to your shell rc file (like .bashrc, .zshrc, etc.) or execute it manually before run this project.
export PATH="/Applications/Sketch.app/Contents/Resources/sketchtool/bin/:$PATH"
FAQs
A classified icons set that consists of a part of Material Design icons and some original icons by TB-UI team.
The npm package tb-icons receives a total of 5 weekly downloads. As such, tb-icons popularity was classified as not popular.
We found that tb-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.