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: storybook ui font #1842

Merged
merged 4 commits into from
Feb 6, 2025
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
5 changes: 5 additions & 0 deletions .changeset/curvy-walls-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solid-design-system/docs': patch
---

Fix storybooks' font in alignment with brand.
2 changes: 1 addition & 1 deletion packages/docs/.storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
document.documentElement.setAttribute('lang', 'en');
</script>
<style>
body *:not(pre .token) {
body *:not(pre *, code) {
font-family:
'Frutiger Neue',
ui-sans-serif,
Expand Down
3 changes: 3 additions & 0 deletions packages/docs/.storybook/solid-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { create } from '@storybook/theming';

export default create({
base: 'light',

fontBase: `'Frutiger Neue', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,

paulovareiro29 marked this conversation as resolved.
Show resolved Hide resolved
brandTitle: 'Solid Components by Union Investment',
brandUrl: 'https://union-investment.de',
brandImage: './images/sds-signet.png',
Expand Down
Loading