Skip to content

Commit

Permalink
Merge pull request #147 from swiss/bugfix/favicon
Browse files Browse the repository at this point in the history
fix(favicon): add updated favicon and fix storybook favicon
  • Loading branch information
satefan authored Jan 28, 2025
2 parents 750f088 + 61de2aa commit 1f1fc55
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/.storybook/BundTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import logo from '../assets/logos/BundLogo.svg?inline'

export default create({
base: 'light',
brandTitle: 'My custom storybook',
brandTitle: 'Bund Design System',
brandImage: logo,
})
3 changes: 2 additions & 1 deletion app/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import remarkGfm from 'remark-gfm'
import type { StorybookConfig } from '@storybook/vue3-vite'
import remarkGfm from 'remark-gfm'

const config: StorybookConfig = {
stories: ['../components/**/*.mdx', '../components/**/*.stories.@(js|ts)'],
Expand All @@ -25,6 +25,7 @@ const config: StorybookConfig = {
options: {},
},
staticDirs: [
{ from: '../public', to: '/' },
{ from: '../../dist/', to: '/dist' },
{ from: '../../css/foundations/fonts/', to: '/dist/fonts' },
],
Expand Down
1 change: 1 addition & 0 deletions app/.storybook/manager.head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="shortcut icon" href="/favicon.ico">
3 changes: 1 addition & 2 deletions app/components/stories/foundations/favicon/Favicon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ import { Meta, Story, Canvas } from '@storybook/blocks'

```html
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="128x128" href="/favicon-128x128.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#ffffff" />
```
Expand Down
Binary file added app/public/favicon_package_bds.zip
Binary file not shown.

0 comments on commit 1f1fc55

Please sign in to comment.