@bestyled/system
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Bestyled System

Bestyled system provides commonly-used groupings from styled-system

  • border
  • common
  • flex and flex_item
  • grid
  • position
  • svg
  • touchable
  • typography

It includes both the individual attribute and sx shorthands.

System UI

Usage

import { BorderProps, borderProps, CommonProps, commonProps, compose } from '@bestyled/system'

// compose multiple together for performance
const systemStyles = compose(borderProps, commonProps)

export const SHConversationBackground =
  styled <
  React.FC <
  BorderProps & CommonProps >>
    Position`
  background-color: ${props => props.theme.colors.SHOffWhite};
  background-image: url(img/background600.png);
  background-position: bottom left;
  background-repeat: repeat;
  flex-direction: column;
  ${systemStyles}
`

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    3
  • 1.0.2
    0
  • 1.0.1
    0
  • 0.1.3
    0

Package Sidebar

Install

npm i @bestyled/system

Weekly Downloads

3

Version

1.0.3

License

Apache-2.0

Unpacked Size

129 kB

Total Files

61

Last publish

Collaborators

  • tinialabs1
  • guycreate