Skip to content

Commit 984e737

Browse files
authored
Merge pull request #3 from tcosentino/fix-types
Fixes txt & pdf
2 parents 6418c44 + ea74daa commit 984e737

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

css/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*
2-
| File Icons
2+
| File Icons
33
| @link https://github.com/file-icons
44
| @author Daniel Brooker https://github.com/DanBrooker
55
*/
66

77
/* ----------------------------[ Colors ]---------------------------------- */
88

99
/*============================================================================*
10-
PALETTE
10+
PALETTE
1111
Base16 colours from https://github.com/chriskempson/base16
1212
/*============================================================================*/
1313
.light-red:before {
@@ -202,6 +202,7 @@
202202
.sun-icon:before { font-family: FontAwesome; font-size: 13px; content: "\f185"; font-size: 14px; -webkit-font-smoothing: subpixel-antialiased; }
203203
.toc-icon:before { font-family: FontAwesome; font-size: 13px; content: "\f03a"; font-size: 15px; top: 2px; }
204204
.twig-icon:before { font-family: FontAwesome; font-size: 13px; content: "\f1bb"; font-size: 14px; }
205+
.pdf-icon:before { font-family: FontAwesome; font-size: 13px; content: "\f1c1"; font-size: 14px; }
205206

206207

207208

index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
2-
* ╭─╮ ┬ ┬ ╭─╮ ┬ ╭─╮ ╭─╮ ╭╮╭ ╭─╮
3-
* ├┤ │ │ ├┤ │ │ │ │ │││ ╰─╮
4-
* ┴ ┴ ┴─╯ ╰─╯ ┴ ╰─╯ ╰─╯ ╯╰╯ ╰─╯
5-
* File specific icons for the browser
2+
* ╭─╮ ┬ ┬ ╭─╮ ┬ ╭─╮ ╭─╮ ╭╮╭ ╭─╮
3+
* ├┤ │ │ ├┤ │ │ │ │ │││ ╰─╮
4+
* ┴ ┴ ┴─╯ ╰─╯ ┴ ╰─╯ ╰─╯ ╯╰╯ ╰─╯
5+
* File specific icons for the browser
66
* from Atom File-icons, https://github.com/file-icons/atom
7-
*
7+
*
88
* @link https://github.com/file-icons/atom
99
* @author Daniel Brooker, <dan@nocturnalcode.com>
1010
* @author Adnan M.Sagar, <adnan@websemantics.ca>
@@ -1063,7 +1063,7 @@
10631063
["pascal-icon",["dark-purple","dark-purple"],/\.lpr$/i],
10641064
["patch-icon",["medium-green","medium-green"],/\.patch$/i],
10651065
["pawn-icon",["medium-orange","medium-orange"],/\.pwn$/i,,false,,/\.pwn$/i,/^PAWN$/i],
1066-
["icon-file-pdf",["medium-red","medium-red"],/\.pdf$/i,,false,,,,/^%PDF/],
1066+
["pdf-icon",["medium-red","medium-red"],/\.pdf$/i,,false,,,,/^%PDF/],
10671067
["perl-icon",["medium-blue","medium-blue"],/\.p(?:er)?l$|\.t$/i,,false,/^perl$/,/\.perl$/i,/^perl$/i],
10681068
["perl-icon",["dark-purple","dark-purple"],/\.ph$/i],
10691069
["perl-icon",["medium-purple","medium-purple"],/\.plx$/i],

0 commit comments

Comments
 (0)