@fcxlabs/grid

1.0.3 • Public • Published

fcx-grid

Plataforma de espaçamentos e grids para uso em projetos de interface do FCx Labs.

Installation

yarn add @fcxlabs/grid

or

npm i @fcxlabs/grid

Usage

Example:

import { fcxSpacing, toScale } from "@fcxlabs/grid";

const styles = StyleSheet.create({
  container: {
    padding: fcxSpacing.capital,
    fontSize: toScale(12),
  },
});

Methods

toScale(value: number) => return value * scale

Properties

fcxSpacing:

  • unit
  • tiny
  • xSmall
  • small
  • regular
  • large
  • xLarge
  • xxLarge
  • capital

Readme

Keywords

Package Sidebar

Install

npm i @fcxlabs/grid

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

6.87 kB

Total Files

11

Last publish

Collaborators

  • jemerson.barros
  • fernando.fc
  • fernanda.fc