diff --git a/lib/src/interfaces/fill.ts b/lib/src/interfaces/fill.ts index 46a8ec8..379af5d 100644 --- a/lib/src/interfaces/fill.ts +++ b/lib/src/interfaces/fill.ts @@ -1,4 +1,4 @@ -import { IColor } from "./color"; +import { IRgbColor } from "./color"; export type FillType = "solid" | "texture"; export type GradientType = "liner" | "radial" | "conic"; @@ -9,7 +9,7 @@ export interface IBaseFill { export interface ISolidFill extends IBaseFill { type: "solid"; - color: IColor; + color: IRgbColor; } export interface ITextureFill extends IBaseFill { diff --git a/lib/src/interfaces/stroke.ts b/lib/src/interfaces/stroke.ts index 324fb9e..7b4d818 100644 --- a/lib/src/interfaces/stroke.ts +++ b/lib/src/interfaces/stroke.ts @@ -1,7 +1,7 @@ -import { IColor } from "./color"; +import { IRgbColor } from "./color"; export interface IStroke { width: number; - color: IColor; + color: IRgbColor; dash: number[]; } diff --git a/lib/src/package.json b/lib/src/package.json index 8fc3248..fed4822 100644 --- a/lib/src/package.json +++ b/lib/src/package.json @@ -1,6 +1,6 @@ { "name": "@gxc-solutions/model-base", - "version": "0.0.3", + "version": "0.0.4", "main": "index.js", "author": "GXC Solutions", "publishConfig": {