0.0.6 • Published 5 years ago

gatsby-ui v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Gatsby UI

Gatsby UI provides the basic building blocks for creating powerful and expressive websites built with React and Gatsby. It uses styled-system and styled-components to handle theming and styling.

It's inspired by atomic CSS approaches like Tachyons and Basscss, but instead uses CSS-in-JS to improve the authoring experience. Styles like spacing, typography, and colors are based on scales, but allow for an opt-out for one off styles.

The following would define the backgroundColor as theme.colors.primary:

<Button bg="primary" />

If you'd like, you can specify any value, like tomato. If no theme value exists for a property, it falls back to the provided value:

<Button bg="tomato" />

Installation

yarn add gatsby-ui

Usage

import {
  Box,
  Flex,
  Heading,
  Text,
  Provider
} from 'gatsby-ui'
0.0.6

5 years ago

0.0.6-ci.4

5 years ago

0.0.6-ci.2

5 years ago

0.0.6-ci.1

5 years ago

0.0.6-ci.0

5 years ago

0.0.5

5 years ago

0.0.5-ci.10

5 years ago

0.0.5-ci.9

5 years ago

0.0.5-ci.8

5 years ago

0.0.5-ci.7

5 years ago

0.0.5-ci.6

5 years ago

0.0.5-ci.5

5 years ago

0.0.5-ci.3

5 years ago

0.0.5-ci.2

5 years ago

0.0.5-ci.0

5 years ago

0.0.4-ci.15

5 years ago

0.0.4-ci.14

5 years ago

0.0.4-ci.12

5 years ago

0.0.4-ci.11

5 years ago

0.0.4-ci.10

5 years ago

0.0.4-ci.9

5 years ago

0.0.4-ci.8

5 years ago

0.0.4-ci.7

5 years ago

0.0.4-ci.6

5 years ago

0.0.4-ci.3

5 years ago

0.0.4-ci.2

5 years ago

0.0.3

5 years ago

0.0.2-ci.3

5 years ago

0.0.2-ci.1

5 years ago

0.0.1

5 years ago