Skip to content

Commit db8bd51

Browse files
committed
Fix : [#2488] Edited svg & related files to resolve the issue.
1 parent ca74574 commit db8bd51

File tree

2 files changed

+17
-27
lines changed

2 files changed

+17
-27
lines changed

client/images/p5js-logo-small.svg

Lines changed: 2 additions & 16 deletions
Loading

client/styles/components/_nav.scss

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,22 @@
162162
position: absolute;
163163
}
164164
}
165-
.svg__logo g > path {
166-
@include themify() {
167-
fill: getThemifyVariable('logo-color');
168-
}
169-
}
170-
.svg__logo g g:first-of-type path {
171-
fill: none;
172-
}
173165

174-
.svg__logo g g:first-of-type use {
175-
@include themify() {
176-
fill: getThemifyVariable('logo-background-color');
166+
.svg__logo g {
167+
> path {
168+
&:first-child {
169+
@include themify() {
170+
// Set background color of the logo
171+
fill: getThemifyVariable('logo-color');
172+
}
173+
}
174+
175+
&:nth-child(2) {
176+
@include themify() {
177+
// Set internal color of the logo;
178+
fill: getThemifyVariable('logo-background-color');
179+
}
180+
}
177181
}
178182
}
179183

0 commit comments

Comments
 (0)