-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: GitHub logo for dark theme + brand light GitLab logo (fix #299)
Also removed link to external assets, and let us versioned them within docs versions.
- Loading branch information
Showing
50 changed files
with
297 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useColorMode } from '@docusaurus/theme-common'; | ||
import GitHubDark from '../../img/common/github/github-dark.svg'; | ||
import GitHubLight from '../../img/common/github/github-light.svg'; | ||
|
||
export const GitHubLogo = () => { | ||
if (useColorMode().colorMode === 'dark') { | ||
return ( | ||
<GitHubDark width="80px" alt="GitHub logo" /> | ||
) | ||
} else { | ||
return ( | ||
<GitHubLight width="80px" alt="GitHub logo" /> | ||
) | ||
} | ||
} | ||
|
||
export default GitHubLogo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useColorMode } from '@docusaurus/theme-common'; | ||
import GitLabDark from '../../img/common/gitlab/gitlab-dark.svg'; | ||
import GitLabLight from '../../img/common/gitlab/gitlab-light.svg'; | ||
|
||
export const GitLabLogo = () => { | ||
if (useColorMode().colorMode === 'dark') { | ||
return ( | ||
<GitLabDark width="80px" alt="GitLab logo" /> | ||
) | ||
} else { | ||
return ( | ||
<GitLabLight width="80px" alt="GitLab logo" /> | ||
) | ||
} | ||
} | ||
|
||
export default GitLabLogo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.