Skip to content

Commit 880779c

Browse files
distantnativebastianallgeier
authored andcommitted
Fix some more icons
1 parent e900e3b commit 880779c

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

assets/css/site/filesystem.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@
8282
}
8383

8484
.filesystem [data-type="javascript"],
85+
.filesystem [data-type="vue"],
8586
.filesystem [data-type="html"],
86-
.filesystem [data-type="yaml"] {
87+
.filesystem [data-type="database"] {
8788
--icon: var(--icon-orange);
8889
}
8990

assets/css/site/icons.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
fill: currentColor;
33
}
44

5-
:where(svg[viewBox="0 0 24 24"]) {
5+
:where(svg[viewBox="0 0 24 24"]),
6+
:where(svg[viewBox="0 0 16 16"]) {
67
width: 18px;
78
height: 18px;
89
}

assets/icons/php.svg

+1-1
Loading

site/plugins/site/src/Marsdown/FileSystem.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ class FileSystem
1414
'readme' => '/^(readme|license)\.?/i',
1515
'javascript' => ['js'],
1616
'css' => ['css'],
17+
'database' => ['yml', 'yaml'],
1718
'html' => ['html', 'htm', 'xhtml'],
1819
'font' => ['woff', 'woff2', 'ttf', 'otf', 'eot'],
1920
'code' => ['json'],
20-
'yaml' => ['yaml'],
2121
'markdown' => ['md', 'mdown', 'markdown'],
2222
'git' => ['git', 'gitattributes', 'gitignore', 'gitmodules'],
2323
'php' => ['php'],
24-
'yaml' => ['yml'],
2524
'text' => ['txt'],
25+
'vue' => ['vue'],
2626
];
2727

2828
protected static function getIconByFilename(string $filename): string|null

0 commit comments

Comments
 (0)