mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 07:03:38 +00:00
Update icon color
This commit is contained in:
parent
7dfc184a2e
commit
06181c3f09
@ -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"],
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -48,4 +48,4 @@
|
||||
"npm": ">= 3.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user