@edenhealth/eve

[![CircleCI][circleci-badge]][circleci-link] [![NpmVersion][npm-version-badge]][npm-link] [![semantic-release][semantic-release-badge]][semantic-release-link] <!-- [![bundlesize][bundlephobia-badge]][bundlephobia] -->

Stats

StarsIssuesVersionUpdatedCreatedSize
@edenhealth/eve
2.2.72 years ago3 years agoMinified + gzip package size for @edenhealth/eve in KB

Readme

@edenhealth/eve

CircleCI NpmVersion semantic-release

And [EdenHealth] called [the package] Eve, for she was the mother of [other front-end projects].

ā€” God, probably


eve contains reusable code that can be shared between @edenhealth's front-end projects as an NPM package. This may include:

  • CSS variables for shared colors in the Eden palette
  • Shared utilities for e.g., logging

Usage

To use in another project, simply install the NPM package:

$ yarn add -D @edenhealth/eve
# Or:
$ npm i --save-dev @edenhealth/eve

Then import the dependency -- preferably at a root level view component, if using the styles. This will make any of eve's CSS variables accessible in child components; e.g., to color a button "eden green" you could write:

const EdenButton = styled.a`
  background: var(--eden-green);
  color: white;
`
render(<EdenButton>Yay Colors!</EdenButton>)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.