1.0.2 • Published 1 year ago

@truehome-assets/loft-website-icons v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Instalation

On your project directory run the command yarn add @truehome-assets/loft-website-icons

Usage

You already have all icons of loft website.

Basic usage

import React from 'react'
import { IconName } from '@truehome-assets/loft-website-icons'

export const App = () => (
  <div>
    <IconName />
  </div>
)

Customize icon

import React from 'react'
import { IconName } from '@truehome-assets/loft-website-icons'

export const App = () => (
  <div>
    <IconName fontSize={28} color="#de3023" />
  </div>
)

Add new Icons

Setup

To set up the proyect run yarn install in order to get all the dependencies required for the project.

Add new icons

To add new icons first move the new svg files into resources/icons, the fill property of the path element should be #191F23.

Run the command line yarn run build

Publish the new version with command line npm publish

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago