0.0.3 • Published 3 years ago

@rosebox/colors v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

@rosebox/colors

A package to manipulate colors from @rosebox/core. Built on top of the color package

Example

import { rgb, RBStyle } from '@rosebox/core'
import { lighten, darken } from '@rosebox/colors'

const baseBgColor = rgb(255, 255, 255)

const StyleObject: RBStyle = {
  backgroundColor: lighten(baseBgColor, 0.5)
}

const StyleObject2: RBStyle = {
  backgroundColor: darken(baseBgColor, 0.5)
}
0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago