diff --git a/color/is/mod.ts b/color/is/mod.ts new file mode 100644 index 0000000..71a9422 --- /dev/null +++ b/color/is/mod.ts @@ -0,0 +1,4 @@ +// Copyright 2023 mineejo. All rights reserved. MIT license. + +export { isRgb } from "./isRgb.ts"; +export { isRgba } from "./isRgba.ts"; diff --git a/color/mod.ts b/color/mod.ts index 770c6b6..03948b3 100644 --- a/color/mod.ts +++ b/color/mod.ts @@ -2,5 +2,7 @@ export { rgbColorWheel } from "./rgb_color_wheel.ts"; +export * from "./is/mod.ts"; + export type { Rgb } from "./rgb.ts"; export type { Rgba } from "./rgba.ts"; diff --git a/mod.ts b/mod.ts index 7ada4bf..c86db61 100644 --- a/mod.ts +++ b/mod.ts @@ -12,5 +12,6 @@ export { AdvancedColor } from "./advanced_color.ts"; export { ColorComponent } from "./color_component.ts"; export * from "./color_effects/mod.ts"; +export * from "./color/is/mod.ts"; -export type * from "./color/mod.ts"; +export type { Rgb, Rgba } from "./color/mod.ts";