Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/import global styles in Storybook (#4302)

Ken Tandrian72d5c713c582
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1fc15b9c15..62a8ace58f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Added
+
+- Added global styles to the _Storybook_ setup
+
## 2.138.0 - 2025-02-08
### Added
diff --git a/libs/ui/.storybook/preview.js b/libs/ui/.storybook/preview.js
index 37eb3a59da..e69de29bb2 100644
--- a/libs/ui/.storybook/preview.js
+++ b/libs/ui/.storybook/preview.js
@@ -1 +0,0 @@
-// import '!style-loader!css-loader!sass-loader!../../../apps/client/src/styles.scss';
diff --git a/libs/ui/project.json b/libs/ui/project.json
index 58e9593448..1b3f0e4e71 100644
--- a/libs/ui/project.json
+++ b/libs/ui/project.json
@@ -44,7 +44,12 @@
"outputDir": "dist/storybook/ui",
"configDir": "libs/ui/.storybook",
"browserTarget": "ui:build-storybook",
- "compodoc": false
+ "compodoc": false,
+ "styles": [
+ "apps/client/src/assets/fonts/inter.css",
+ "apps/client/src/styles/theme.scss",
+ "apps/client/src/styles.scss"
+ ]
},
"configurations": {
"ci": {