2017 © Pedro PelĂĄez
 

library sharkicons

Font containing WebSharks logos/icons & more.

image

websharks/sharkicons

Font containing WebSharks logos/icons & more.

  • CSS
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

WebSharksℱ Icon Font (Sharkicons)

Font containing WebSharks logos/icons + many others; including FontAwesome! See: DEMO, (*1)

Contains over 750 icons. Total file size: 212kb (compare to stand-alone FontAwesome @ 136kb)., (*2)

, (*3)


, (*4)


Using Icons in HTML Markup

<link rel="stylesheet" type="text/css" href="/path/to/sharkicons/src/long-classes.min.css" />
<i class="sharkicon sharkicon-broom"></i>

Short Classes (si- instead of sharkicon-)

<link rel="stylesheet" type="text/css" href="/path/to/sharkicons/src/short-classes.min.css" />
<i class="si si-broom"></i>

Including Classes via SCSS

Note: Bourbon is a required dependency. See: http://bourbon.io/ for details., (*5)

@import '/path/to/bourbon';
@import '/path/to/sharkicons/src/sharkicons';
@include sharkicons-font('/path/to/sharkicons/src');
@include sharkicon-short-classes;

Custom Classes via SCSS (prefix instead of si)

@import '/path/to/bourbon';
@import '/path/to/sharkicons/src/sharkicons';
@include sharkicons-font('/path/to/sharkicons/src');
@include sharkicon-custom-classes(prefix);

Scoping Classes via SCSS

@import '/path/to/bourbon';
@import '/path/to/sharkicons/src/sharkicons';
@include sharkicons-font('/path/to/sharkicons/src');

.my-product {
  @include sharkicon-short-classes;
}

Creating an Icon via SCSS

Note: you can do this without including the sharkicon-[long|short]-classes if you like., (*6)

@import '/path/to/bourbon';
@import '/path/to/sharkicons/src/sharkicons';
@include sharkicons-font('/path/to/sharkicons/src');
// @include sharkicon-short-classes;

.my-product .my-icon {
  @include sharkicon(broom);
}

Equivalent to:, (*7)

.my-product .my-icon::before {
  content:                    '\e000';
  font:                       normal normal normal 14px/1 sharkicons;
  text-rendering:             optimizeLegibility;
  -webkit-font-smoothing:     antialiased;
  font-smoothing:             antialiased;
  display:                    inline-block;
  font-size:                  inherit;
  text-decoration:            inherit;
  text-transform:             none;
}

Alternatively, you can pass a second argument to sharkicon() to set the before/after specification. The default value is before. You might want to change it to after in some special case., (*8)

@import '/path/to/bourbon';
@import '/path/to/sharkicons/src/sharkicons';
@include sharkicons-font('/path/to/sharkicons/src');
// @include sharkicon-short-classes;

.my-product .my-icon {
  @include sharkicon(broom, after);
}

Equivalent to:, (*9)

.my-product .my-icon::after {
  content:                    '\e000';
  font:                       normal normal normal 14px/1 sharkicons;
  text-rendering:             optimizeLegibility;
  -webkit-font-smoothing:     antialiased;
  font-smoothing:             antialiased;
  display:                    inline-block;
  font-size:                  inherit;
  text-decoration:            inherit;
  text-transform:             none;
}

Mapping An Icon Char via SCSS

.my-product .my-icon:hover::after {
  content:                    map-get($sharkicons, broom);
}

The Versions

20/06 2016

dev-dev

dev-dev https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons & more.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

icons websharks

20/06 2016

dev-master

9999999-dev https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons & more.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

icons websharks

20/06 2016

160620

160620 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons & more.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

icons websharks

21/02 2016

160221

160221 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

wordpress php websharks

09/02 2016

160209

160209 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

wordpress php websharks

15/08 2015

150820

150820 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

wordpress php websharks

14/08 2015

150814

150814 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons.

  Sources   Download

GPL-3.0+

The Development Requires

  • package/bourbon 4.2.3

wordpress php websharks

23/04 2015

150422

150422 https://github.com/websharks/sharkicons

Font containing WebSharks logos/icons.

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2

 

wordpress php websharks