Skip to content

Commit 5d39d49

Browse files
authored
Merge pull request #2494 from Ri-Sharma/develop
Fix : [#2488] Edit svg file to resolve the issue.
2 parents 5db905e + 1b81f72 commit 5d39d49

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

client/images/p5js-logo-small.svg

Lines changed: 2 additions & 17 deletions
Loading

client/styles/components/_nav.scss

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,21 +162,26 @@
162162
position: absolute;
163163
}
164164
}
165-
.svg__logo g > path {
165+
166+
.svg__logo {
167+
166168
@include themify() {
167-
fill: getThemifyVariable('logo-color');
169+
// Set background color of the logo
170+
background-color: getThemifyVariable('logo-color');
168171
}
169-
}
170-
.svg__logo g g:first-of-type path {
171-
fill: none;
172+
172173
}
173174

174-
.svg__logo g g:first-of-type use {
175+
.svg__logo g path{
176+
175177
@include themify() {
178+
// Set internal color of the logo;
176179
fill: getThemifyVariable('logo-background-color');
177180
}
181+
178182
}
179183

184+
180185
.nav__keyboard-shortcut {
181186
font-size: #{12 / $base-font-size}rem;
182187
font-family: Inconsololata, monospace;

0 commit comments

Comments
 (0)