From 754957ef790dd1eece4a076063dd6327d2f23844 Mon Sep 17 00:00:00 2001 From: Ivo Dolenc <51852491+ivodolenc@users.noreply.github.com> Date: Thu, 27 Apr 2023 21:25:28 +0200 Subject: [PATCH] feat: add `light` theme support (#1) --- src/public/icons/config_light.svg | 1 + src/public/icons/file_light.svg | 1 + src/public/icons/folder-open_light.svg | 1 + src/public/icons/folder_light.svg | 1 + src/public/icons/font_light.svg | 1 + src/public/icons/hidden_light.svg | 1 + src/public/icons/html_light.svg | 1 + src/public/icons/image_light.svg | 1 + src/public/icons/json_light.svg | 1 + src/public/icons/style_light.svg | 1 + src/theme/index.ts | 7 ++++++- 11 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/public/icons/config_light.svg create mode 100644 src/public/icons/file_light.svg create mode 100644 src/public/icons/folder-open_light.svg create mode 100644 src/public/icons/folder_light.svg create mode 100644 src/public/icons/font_light.svg create mode 100644 src/public/icons/hidden_light.svg create mode 100644 src/public/icons/html_light.svg create mode 100644 src/public/icons/image_light.svg create mode 100644 src/public/icons/json_light.svg create mode 100644 src/public/icons/style_light.svg diff --git a/src/public/icons/config_light.svg b/src/public/icons/config_light.svg new file mode 100644 index 0000000..e358222 --- /dev/null +++ b/src/public/icons/config_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/file_light.svg b/src/public/icons/file_light.svg new file mode 100644 index 0000000..275db97 --- /dev/null +++ b/src/public/icons/file_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/folder-open_light.svg b/src/public/icons/folder-open_light.svg new file mode 100644 index 0000000..0554f0e --- /dev/null +++ b/src/public/icons/folder-open_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/folder_light.svg b/src/public/icons/folder_light.svg new file mode 100644 index 0000000..7e64bcd --- /dev/null +++ b/src/public/icons/folder_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/font_light.svg b/src/public/icons/font_light.svg new file mode 100644 index 0000000..8503633 --- /dev/null +++ b/src/public/icons/font_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/hidden_light.svg b/src/public/icons/hidden_light.svg new file mode 100644 index 0000000..7560033 --- /dev/null +++ b/src/public/icons/hidden_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/html_light.svg b/src/public/icons/html_light.svg new file mode 100644 index 0000000..709a831 --- /dev/null +++ b/src/public/icons/html_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/image_light.svg b/src/public/icons/image_light.svg new file mode 100644 index 0000000..50b92f5 --- /dev/null +++ b/src/public/icons/image_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/json_light.svg b/src/public/icons/json_light.svg new file mode 100644 index 0000000..7699a46 --- /dev/null +++ b/src/public/icons/json_light.svg @@ -0,0 +1 @@ + diff --git a/src/public/icons/style_light.svg b/src/public/icons/style_light.svg new file mode 100644 index 0000000..eb992d6 --- /dev/null +++ b/src/public/icons/style_light.svg @@ -0,0 +1 @@ + diff --git a/src/theme/index.ts b/src/theme/index.ts index 0bc2831..ff92ca9 100644 --- a/src/theme/index.ts +++ b/src/theme/index.ts @@ -15,7 +15,12 @@ export const theme = JSON.stringify( iconDefinitions, ...transformData(defaultNames, 'dark'), fileExtensions: transformData(fileExtensions, 'dark'), - fileNames: transformData(fileNames, 'dark') + fileNames: transformData(fileNames, 'dark'), + light: { + ...transformData(defaultNames, 'light'), + fileExtensions: transformData(fileExtensions, 'light'), + fileNames: transformData(fileNames, 'light') + } }, null, 2