Skip to content

Commit

Permalink
✨ Add global styles import for erd-core in frontend applications
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Jan 10, 2025
1 parent 0b8e679 commit 60687f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/apps/erd-web/app/globals.css
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@import '@/styles/fonts.css';
@import url('@liam-hq/erd-core/dist/style.css');
2 changes: 2 additions & 0 deletions frontend/packages/cli/src/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('@liam-hq/erd-core/dist/style.css');

#root {
display: flex;
flex-direction: column;
Expand Down
9 changes: 6 additions & 3 deletions frontend/packages/erd-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"./dist/style.css": "./dist/style.css"
},
"dependencies": {
"@liam-hq/ui": "workspace:*",
Expand Down

0 comments on commit 60687f1

Please sign in to comment.