Update icon color

This commit is contained in:
Aurelsicoko 2018-03-05 15:25:13 +01:00
parent 7dfc184a2e
commit 06181c3f09
4 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"archive": ["rar", "zip"],
"code": ["js", "json", "rb", "erb", "txt", "css", "scss", "html", "jsx"],
"code": ["js", "json", "rb", "erb", "txt", "css", "scss", "html", "jsx", "svg"],
"img": ["jpg", "jpeg", "png", "gif", "ico"],
"pdf": ["pdf"],
"powerpoint": ["ppt", "key", "xls"],

View File

@ -40,7 +40,7 @@ function FileIcon({ fileType }) {
className={(cn(
styles.fileIconContainer,
iconType === 'file-pdf-o' && styles.pdf,
iconType === 'file-zip-o' && styles.zip,
iconType === 'file-archive-o' && styles.zip,
iconType === 'file-image-o' && styles.image,
iconType === 'file-video-o' && styles.video,
iconType === 'file-code-o' && styles.code,

View File

@ -1,9 +1,10 @@
.fileIconContainer {
font-size: 20px;
color: #BDBFC2;
}
.image {
color: #FFA35C;
color: #97C153;
}
.pdf {
@ -15,9 +16,9 @@
}
.zip {
color: #C29357;
color: #715A31;
}
.code {
color: #BDBFC2;
color: #515A6D;
}

View File

@ -48,4 +48,4 @@
"npm": ">= 3.0.0"
},
"license": "MIT"
}
}