Skip to content

Commit

Permalink
fix(docs-website): fix dark theme behaviour - I39 (#41)
Browse files Browse the repository at this point in the history
Signed-off-by: apoorvsxna <[email protected]>
  • Loading branch information
apoorvsxna authored Mar 26, 2024
1 parent 00ee112 commit 6aef91f
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ const config = {
title: 'Concerto',
logo: {
alt: 'Concerto Logo',
src: 'img/logo.png',
src: 'img/logo_light.png', // Default logo for light mode
srcDark: 'img/logo_dark.png', // Logo for dark mode
},
items: [
{
Expand Down
9 changes: 9 additions & 0 deletions src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@
/*adjust the size for the new svgs*/
height: 100px;
width: 100px;
stroke-width: 0.08px;
fill: #f5f6f7;
stroke: #f5f6f7;
}

/*Light mode */
[data-theme='light'] .featureSvg {
fill: #1C1E21;
stroke: #1C1E21; /*Change color in light mode*/
}
Binary file removed static/img/accord_logo.png
Binary file not shown.
Binary file removed static/img/accord_logo_white.png
Binary file not shown.
16 changes: 15 additions & 1 deletion static/img/easy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/logo_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 6aef91f

Please sign in to comment.