Skip to content

Commit

Permalink
fix: Moved logos so they show in production build (#1713)
Browse files Browse the repository at this point in the history
Moved logos so they show in production build

fixes #1712

**Test Plan**
`npm run build`
`npm run preview`

Open DH, logo should show up for both dark and light themes
  • Loading branch information
bmingles authored Jan 9, 2024
1 parent 9ddc973 commit a3bea73
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"files": [
"dist",
"scss",
"css"
"css",
"logos"
],
"sideEffects": [
"*.css"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/theme/Logo.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--dh-logo-dark-img: url('./logos/community-wordmark-dark.svg');
--dh-logo-light-img: url('./logos/community-wordmark-light.svg');
--dh-logo-dark-img: url('../../logos/community-wordmark-dark.svg');
--dh-logo-light-img: url('../../logos/community-wordmark-light.svg');
}

.dh-logo {
Expand Down

0 comments on commit a3bea73

Please sign in to comment.