From c20fe05f7ae03eec6973b1a52525e501157e645d Mon Sep 17 00:00:00 2001 From: Noah Hummel Date: Wed, 2 Mar 2022 12:51:30 +0100 Subject: [PATCH 1/2] feat: add index --- lib/index.ts | 75 +++++++++++++++++++++++++++++++++++++++++ lib/quantities/index.ts | 73 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 lib/index.ts create mode 100644 lib/quantities/index.ts diff --git a/lib/index.ts b/lib/index.ts new file mode 100644 index 0000000..a17e2c3 --- /dev/null +++ b/lib/index.ts @@ -0,0 +1,75 @@ +import { + CssBuilder +} from './CssBuilder'; +import { + Ch, + ch, + Cm, + cm, + Color, + ColorHex, + ColorRgb, + ColorRgba, + Em, + em, + Ex, + ex, + In, + inch, + Length, + Mm, + mm, + Pc, + pc, + Pt, + pt, + Px, + px, + Rem, + rem, + Vh, + vh, + Vmax, + vmax, + Vmin, + vmin, + Vw, + vw +} from './quantities'; + +export { + Ch, + ch, + Cm, + cm, + Color, + ColorHex, + ColorRgb, + ColorRgba, + CssBuilder, + Em, + em, + Ex, + ex, + In, + inch, + Length, + Mm, + mm, + Pc, + pc, + Pt, + pt, + Px, + px, + Rem, + rem, + Vh, + vh, + Vmax, + vmax, + Vmin, + vmin, + Vw, + vw +}; \ No newline at end of file diff --git a/lib/quantities/index.ts b/lib/quantities/index.ts new file mode 100644 index 0000000..d5b5833 --- /dev/null +++ b/lib/quantities/index.ts @@ -0,0 +1,73 @@ +import { + Ch, + ch, + Cm, + cm, + Em, + em, + Ex, + ex, + In, + inch, + Length, + Mm, + mm, + Pc, + pc, + Pt, + pt, + Px, + px, + Rem, + rem, + Vh, + vh, + Vmax, + vmax, + Vmin, + vmin, + Vw, + vw +} from './Length'; +import { + Color, + ColorHex, + ColorRgb, + ColorRgba +} from './Color'; + +export { + Ch, + ch, + Cm, + cm, + Color, + ColorHex, + ColorRgb, + ColorRgba, + Em, + em, + Ex, + ex, + In, + inch, + Length, + Mm, + mm, + Pc, + pc, + Pt, + pt, + Px, + px, + Rem, + rem, + Vh, + vh, + Vmax, + vmax, + Vmin, + vmin, + Vw, + vw +}; From c4a80655b9fd8c8183f78bb6dcdbc5ca0bfb813f Mon Sep 17 00:00:00 2001 From: Noah Hummel Date: Wed, 2 Mar 2022 12:54:30 +0100 Subject: [PATCH 2/2] chore: add newline --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index a17e2c3..820ab41 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -72,4 +72,4 @@ export { vmin, Vw, vw -}; \ No newline at end of file +};