@invisionag/iris-generic

4.6.2 • Public • Published

JS Version

import generic from '@invisionag/iris-generic';

generic is a styled-components wrapper around a couple of shared stylings:

  • box-sizing
  • typography
  • normalization

Usage: Somewhere in your code, you want to inject the exported styling like so:

import * as React from 'react';
import GlobalStyles from '@invisionag/iris-generic';
import App from './my-root-component';

render(
  <>
    <GlobalStyles />
    <App />
  </>
)

SCSS Version

Import the generic file in your sass bundle:

@import '~@invisionag/iris-generic/generic.scss';

/@invisionag/iris-generic/

    Package Sidebar

    Install

    npm i @invisionag/iris-generic

    Weekly Downloads

    187

    Version

    4.6.2

    License

    MIT

    Unpacked Size

    13.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • jj-ivx
    • ivx-github
    • jana_hehr
    • roberter26
    • birgithorn
    • alexj-ivx
    • amft
    • aitortomas
    • yashabfaryal0322
    • nleinich
    • johannesluedke
    • pgotthardt-ivx
    • hrabe
    • plore_ivx
    • patricialieske
    • plaudel
    • mblumtritt
    • sruehlemann
    • brerx
    • mohamedmmahfouz
    • mbrendler
    • jens.zobel
    • cwaider
    • kattelans
    • ftrautmann
    • lutz.peukert
    • fruetel
    • schmitze333
    • csprle
    • beckerei
    • stefan.schiffer
    • ahx
    • cloudwaechter
    • tobias
    • alexmarold
    • t_klepzig
    • susahope
    • mwannewitz
    • ivx-circle-ci
    • yichang
    • ivx-jenkins