Options
All
  • Public
  • Public/Protected
  • All
Menu

roka

Roka

High-level styling library for styled-components.

Install

$ yarn add azer/roka

Usage Examples

Hello World

import roka from "roka"

const HelloWorld = roka()
  .absolute()
  .stretch()
  .center()
  .sans({ size: "3rem" })
  .color({ fg: "yellow", bg: "#FF6A86" })
  .element()

export default (props: IProps) => {
  return (
    <HelloWorld>
      Hello World
    </HelloWorld>
  )
}

Generated using TypeDoc