Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Nov 21, 2024
1 parent 7f7b385 commit 00945dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ import "./styles/index.ts";
import "@components/index.css";
import "@hopper-ui/tokens/fonts.css";

if (!isChromatic) {
// Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts.
import("@css/fonts.css");
} else {
if (isChromatic) {
import("./styles/chromatic.css");
}

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/Installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pnpm install @workleap/orbiter-ui

## Import styles

Orbiter styles include the ShareGate font, a [CSS bootstrap](https://github.com/gsoft-inc/wl-orbiter/tree/master/packages/css/src) and of course the component's styles.
Orbiter styles include the ShareGate font, a CSS bootstrap and of course the component's styles.

To import Orbiter styles, add the following import declaration to your root stylesheet:

Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"baseUrl": ".",
"paths": {
"@test-utils": ["../../tooling/test-utils/index.ts"],
"@css/*": ["packages/css/src/*"],
"@components": ["packages/components/src/index.ts"],
"@components/*": ["packages/components/src/*"],
"@stories/components": [".storybook/components/index.ts"],
Expand Down

0 comments on commit 00945dc

Please sign in to comment.