0.1.62 • Published 4 years ago

homestars-icons v0.1.62

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

HomeStars Componentized Icons

A set of React components containing SVG icons. View all currently available icons

Installation

Using npm:

$ npm i --save homestars-icons

Usage

  1. Import an icon into your app.
import { Project } from "homestars-icons";
  1. Most colour options can be specified via the stroke prop:
render = () => {
  return <Project stroke="#000000" />;
}

Some icons can accept a fill value as well; some have even more robust colouring options.

<Lock 
  stroke="LightSteelBlue"
  fill="Goldenrod"
  keyholeFill="DarkSlateGrey"
/>

The default in most cases is #000000; notable exceptions include logo icons.

  1. The default size is 22px x 22px, but can be adjusted via the size prop.

Contributing

  1. Clone this project
$ git clone git@github.com:homestars/icons.git
  1. Install dependencies
$ npm install
  1. Start the dev environment
$ npm start

Publishing

  1. To publish one must have an npm account and be added to the to the https://www.npmjs.com/org/homestarsdotcom team.

  2. Additionaly, one has to login into npm from the command line

npm login
  1. Finally, after committing changes to master, run following command to publish to npm:
$ npm run patch

This will increment the version, build a distribution, and publish to NPM.

  1. Finally, update the npm version of the homestars-icon package in the package.json of your project.
npm upgrade homestars-icons
0.1.62

4 years ago

0.1.60

4 years ago

0.1.58

4 years ago

0.1.53

4 years ago

0.1.54

4 years ago

0.1.52

4 years ago

0.1.51

4 years ago

0.1.49

4 years ago

0.1.48

4 years ago

0.1.47

4 years ago

0.1.46

4 years ago

0.1.45

4 years ago

0.1.44

4 years ago

0.1.43

4 years ago

0.1.42

4 years ago

0.1.41

4 years ago

0.1.40

4 years ago

0.1.39

4 years ago

0.1.38

4 years ago

0.1.36

4 years ago

0.1.37

4 years ago

0.1.35

4 years ago

0.1.34

4 years ago

0.1.33

5 years ago

0.1.30

5 years ago

0.1.29

6 years ago

0.1.27

6 years ago

0.1.28

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.32

6 years ago

0.1.21

6 years ago

0.1.31

6 years ago

0.1.22

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago