8000 GitHub - teambition/TB-Icons at v1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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.

License

Notifications You must be signed in to change notification settings

teambition/TB-Icons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TB-ICONS: Find & Copy Playing

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.

TB-Icons Logo

Installation

npm i tb-icons --save

Font Icons Usage

Move the fonts with Gulp:

gulp.task('move-fonts', function () {
  gulp.src('node_modules/tb-icons/dist/fonts/**/*')
    .pipe(gulp.dest('static/fonts/'))
})

Include the style in Stylus:

@import 'tb-icons'

Get an icon in Jade:

span.icon.icon-t

Check out the font icons page to see all font icons.

SVG Symbols Usage

Inline combined SVG reference into body, then drop a <use> element snippet like this:

<svg role="img" class="ss-t">
  <use xlink:href="#t"></use>
</svg>

Or directly link the external svg-symbols file:

<svg role="img" class="ss-t">
  <use xlink:href="#{svg-path}/svg-symbols.svg#t"></use>
</svg>

All SVG symbols available on the SVG symbols page.

Development

The source files can be found in the src directory.

While developing, you should use the command gulp && gulp serve to create a watcher and run a docs server with livereload.

Then, to update the icon fonts, SVG font, and the icon name-unicode pairs store, preview immediately on localhost:8001.

Lastly, commit your great works, release a new version, use gulp deploy to publish docs to GitHub Pages.

License

This work is licensed under the MIT license.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0