Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/relative css imports #432

Merged
merged 3 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- run: npm ci
- run: BASE_PATH=/quantum npm run build-storybook
- run: npm run build-storybook
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down
2 changes: 0 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ const config: StorybookConfig = {
}
}

config.base = process.env.BASE_PATH || config.base

return config
}
}
Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet" />
<link href="/manager.css" rel="stylesheet" />
<link href="./manager.css" rel="stylesheet" />
<style>
iframe#storybook-preview-iframe {
background-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet" />
<link href="/preview.css" rel="stylesheet" />
<link href="./preview.css" rel="stylesheet" />
8 changes: 4 additions & 4 deletions .storybook/theme.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { create } from '@storybook/theming/create';
import colors from '../src/colors';
import { create } from '@storybook/theming/create'
import colors from '../src/colors'

export default create({
base: 'light',
brandTitle: 'Quantum',
brandImage: '/quantum-logo-light.png',
brandImage: './quantum-logo-light.png',

fontBase: 'Inter',

Expand Down Expand Up @@ -34,4 +34,4 @@ export default create({
inputBorder: '#97A1B8',
inputTextColor: '#111928',
inputBorderRadius: 2
});
})
Loading