From ba188773c3ee1b258e4f3b7f6dd06c91a46ed821 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Mon, 24 Apr 2017 18:23:19 +0200 Subject: [PATCH] feat: Add graphql file icon Ref #6 --- icons/graphql.svg | 1 + src/icons/partials/fileExtensions.js | 3 ++- src/icons/svgs/graphql.svg | 11 +++++++++++ test/source.gql | 0 test/source.graphql | 0 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 icons/graphql.svg create mode 100644 src/icons/svgs/graphql.svg create mode 100644 test/source.gql create mode 100644 test/source.graphql diff --git a/icons/graphql.svg b/icons/graphql.svg new file mode 100644 index 0000000..c9c2964 --- /dev/null +++ b/icons/graphql.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/partials/fileExtensions.js b/src/icons/partials/fileExtensions.js index 38eb62f..c851c63 100644 --- a/src/icons/partials/fileExtensions.js +++ b/src/icons/partials/fileExtensions.js @@ -217,7 +217,8 @@ "coffee": "_file_coffee", "txt": "_file_document", "sqlite": "_file_database", - "graphql": "_file_json", + "graphql": "_file_graphql", + "gql": "_file_graphql", "props": "_file_settings", "toml": "_file_settings", "rs": "_file_rust", diff --git a/src/icons/svgs/graphql.svg b/src/icons/svgs/graphql.svg new file mode 100644 index 0000000..8df1b04 --- /dev/null +++ b/src/icons/svgs/graphql.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/test/source.gql b/test/source.gql new file mode 100644 index 0000000..e69de29 diff --git a/test/source.graphql b/test/source.graphql new file mode 100644 index 0000000..e69de29