From 71c0a222cbad6cb4b4b13a34de2fcf3c519d0dd6 Mon Sep 17 00:00:00 2001 From: Stefan Wrobel Date: Mon, 25 Jun 2018 18:20:42 -0700 Subject: [PATCH 1/2] Apply database icon to .sql --- styles/file-type-icons.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/styles/file-type-icons.less b/styles/file-type-icons.less index 8219d21..ff5ac3a 100644 --- a/styles/file-type-icons.less +++ b/styles/file-type-icons.less @@ -164,7 +164,8 @@ [data-name$='.sqlite']:before, [data-name$='.csv']:before, [data-name$='.sqlite3']:before, - [data-name$='.dump']:before { + [data-name$='.dump']:before, + [data-name$='.sql']:before { .database-icon; } From 0c8d062e489c86e71c422d8873239c45f5defeef Mon Sep 17 00:00:00 2001 From: Stefan Wrobel Date: Mon, 25 Jun 2018 18:21:48 -0700 Subject: [PATCH 2/2] Use database icon for .sql in Nuclide as well --- styles/nuclide-file-type-icons.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/styles/nuclide-file-type-icons.less b/styles/nuclide-file-type-icons.less index 6d9f6dc..81ebdcb 100644 --- a/styles/nuclide-file-type-icons.less +++ b/styles/nuclide-file-type-icons.less @@ -153,7 +153,8 @@ span.icon[data-name$='.sqlite']:before, span.icon[data-name$='.csv']:before, span.icon[data-name$='.sqlite3']:before, - span.icon[data-name$='.dump']:before { + span.icon[data-name$='.dump']:before, + span.icon[data-name$='.sql']:before { .database-icon; }