Skip to content

Commit

Permalink
Merge pull request #4 from AtomicJon/master
Browse files Browse the repository at this point in the history
Export Hsv and Rgb types for external use
  • Loading branch information
AtomicJon authored Feb 14, 2021
2 parents 0bea881 + 4eaef95 commit da10095
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@super-effective/colorutils",
"version": "2.0.0",
"version": "2.0.1",
"description": "A color utility to help with converting between formats and getting color details",
"keywords": [
"color",
Expand Down
4 changes: 2 additions & 2 deletions src/colorutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @property {number} green - The green component of the color (0 - 255)
* @property {number} blue - The blue component of the color (0 - 255)
*/
type Rgb = {
export type Rgb = {
red: number;
green: number;
blue: number;
Expand All @@ -18,7 +18,7 @@ type Rgb = {
* @property {number} saturation - The saturation the color (0.0 - 1.0)
* @property {number} value - The value of the color (0.0 - 1.0)
*/
type Hsv = {
export type Hsv = {
hue: number;
saturation: number;
value: number;
Expand Down

0 comments on commit da10095

Please sign in to comment.