From 30a2f04b23ed5397c113796ac1976039575d67e9 Mon Sep 17 00:00:00 2001 From: Valerii Maslenykov Date: Thu, 15 Feb 2024 16:00:05 +0100 Subject: [PATCH] feat: Default imports for CSS --- packages/core/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 3ca6ed7..4b211ae 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -31,10 +31,16 @@ "import": "./dist/styles/*.css" }, "./dist/styles/styles.css": { - "import": "./dist/styles/styles.css" + "import": "./dist/styles/styles.css", + "default": "./dist/styles/styles.css" }, "./dist/styles/light.css": { - "import": "./dist/styles/light.css" + "import": "./dist/styles/light.css", + "default": "./dist/styles/light.css" + }, + "./dist/styles/dark.css": { + "import": "./dist/styles/dark.css", + "default": "./dist/styles/dark.css" }, "./vanilla": { "types": "./vanilla.d.ts",