Skip to content

Commit

Permalink
provide light color logo
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Nov 21, 2024
1 parent b48fc12 commit 9200f9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/livecodes/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3590,7 +3590,12 @@ const handleAbout = () => {
div.innerHTML = aboutScreen
.replace(/{{COMMIT_URL}}/g, `${repoUrl}/commit/${versions.commitSHA}`)
.replace(/{{APP_URL}}/g, versions.appUrl)
.replace(/{{SDK_URL}}/g, versions.sdkUrl);
.replace(/{{SDK_URL}}/g, versions.sdkUrl)
.replace('livecodes-text-logo-nowrap.svg', () =>
getConfig().theme === 'dark'
? 'livecodes-text-logo-nowrap-light.svg'
: 'livecodes-text-logo-nowrap.svg',
);
const aboutContainer = div.firstChild as HTMLElement;
modal.show(aboutContainer);
};
Expand Down

0 comments on commit 9200f9a

Please sign in to comment.