Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzsyyy committed Nov 13, 2021
1 parent 66c0a0e commit dc086ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const app = http.createServer((req,res)=>{
svg:true
},data => {
if(theme === 'dark'){
data.svg = data.svg.replace(/fill="currentColor"/g,'fill="#c0c0b7"');
data.svg = data.svg.replace(/fill="currentColor"/g,'fill="#c0c0c0"');
}else{
data.svg = data.svg.replace(/fill="currentColor"/g,'fill="#878787"');
data.svg = data.svg.replace(/fill="currentColor"/g,'fill="#515151"');
};
successFn(data.svg);
})
Expand Down

0 comments on commit dc086ea

Please sign in to comment.