-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,698 additions
and
1,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @artifak/hextorgb | ||
|
||
## 1.0.1 | ||
|
||
### Patch Changes | ||
|
||
- 6f08e4c: New hexToRGB utilities | ||
|
||
## 1.0.0 | ||
|
||
- Added new hexToRGB utility function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
# `@artifak/hextorgb` | ||
|
||
A utility function to convert hexadecimal colour values to RGB string. | ||
|
||
## Installation | ||
|
||
### Yarn | ||
|
||
```sh | ||
yarn add @artifak/hextorgb | ||
``` | ||
|
||
### NPM | ||
|
||
```sh | ||
npm install @artifak/hextorgb | ||
``` | ||
|
||
## Usage | ||
|
||
```ts | ||
import { hexToRGB } from 'artifak'; | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
margin: 0 auto; | ||
width: 100%; | ||
background: #000; | ||
color: ${hexToRGB('#FFF')}; | ||
`; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { hexToRGB, getRGBvalues } from './hextorgb'; | ||
export { hexToRGB, getHexColorRGBvalues } from './hextorgb'; | ||
export { RGBColor } from './typings'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# @artifak/hextorgba | ||
|
||
## 1.0.1 | ||
|
||
### Patch Changes | ||
|
||
- 6f08e4c: New hexToRGBA utilities | ||
- Updated dependencies [6f08e4c] | ||
- @artifak/hextorgb@1.0.1 | ||
|
||
## 1.0.0 | ||
|
||
- Added new hexToRGBA utility function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
# `@artifak/hextorgba` | ||
|
||
A utility function to convert hexadecimal colour values to RGBA string. | ||
|
||
## Installation | ||
|
||
### Yarn | ||
|
||
```sh | ||
yarn add @artifak/hextorgb | ||
``` | ||
|
||
### NPM | ||
|
||
```sh | ||
npm install @artifak/hextorgb | ||
``` | ||
|
||
## Usage | ||
|
||
```ts | ||
import { hexToRGBA } from 'artifak'; | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
margin: 0 auto; | ||
width: 100%; | ||
background: #000; | ||
color: ${hexToRGBA('#FFF', 0.75)}; | ||
`; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { hexToRGBA } from './hextorgba'; | ||
export { getRGBvalues } from '@artifak/hextorgb'; | ||
export { getHexColorRGBvalues } from '@artifak/hextorgb'; |
Oops, something went wrong.