Skip to content

fix(v2): fix missing logo in dark theme when darkSrc was not set#3784

Merged
slorber merged 1 commit intofacebook:masterfrom
Simek:fix-logo-issue
Nov 19, 2020
Merged

fix(v2): fix missing logo in dark theme when darkSrc was not set#3784
slorber merged 1 commit intofacebook:masterfrom
Simek:fix-logo-issue

Conversation

@Simek
Copy link
Contributor

@Simek Simek commented Nov 19, 2020

Motivation

During the work on the Logo component the fallback for darkSrc was removed (f49c56c).

This do not affect the Docusaurus V2 website, but have caused an issue for sites using only src field in logo config.

Examples

unknown

Screenshot_2020-11-18_213106

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

Changes has been tested locally using Docusaurus V2 website with darkSrc removed from the config 😉

Related PRs

@Simek Simek requested review from lex111 and slorber as code owners November 19, 2020 12:45
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 19, 2020
@netlify
Copy link

netlify bot commented Nov 19, 2020

Deploy preview for docusaurus-2 ready!

Built without sensitive environment variables with commit f0da9da

https://deploy-preview-3784--docusaurus-2.netlify.app

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Nov 19, 2020
@slorber
Copy link
Collaborator

slorber commented Nov 19, 2020

thanks

we'll release this very soon as it breaks the docusaurus init template on dark mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants