Skip to content

Commit

Permalink
fix(docs): use separate files for logo based on theme
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Dec 2, 2024
1 parent f1fdbb8 commit 0ceb3ee
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ export default withMermaid(
provider: 'local',
},
editLink: {
pattern: 'https://github.com/sign/translate/tree/main/docs/:path',
pattern: 'https://github.com/sign/translate/tree/master/docs/:path',
},
logo: {
light: '/public/logo-light.svg',
dark: '/public/logo-dark.svg',
alt: 'sign.mt Logo',
},
logo: '../assets/brand/logo.svg',

sidebar: [
{
text: 'Fact Sheets',
Expand Down
28 changes: 28 additions & 0 deletions docs/public/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions docs/public/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ceb3ee

Please sign in to comment.