diff options
author | 2021-09-14 19:58:52 +0200 | |
---|---|---|
committer | 2021-09-14 19:58:52 +0200 | |
commit | 95df3522a15631abc51a4295cae0ea401a8d4e1e (patch) | |
tree | e5eb0f368c947683f01458e912f21756fb0d99cb /packages/theme/src/themes | |
parent | docs: add sad270 as a contributor for bug, userTesting [skip ci] (#1941) (diff) | |
download | ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.gz ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.zst ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.zip |
feat: add eslint-plugin-unicorn (#1936)
Diffstat (limited to 'packages/theme/src/themes')
-rw-r--r-- | packages/theme/src/themes/dark/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts index 87a68cb5d..aa132c743 100644 --- a/packages/theme/src/themes/dark/index.ts +++ b/packages/theme/src/themes/dark/index.ts | |||
@@ -9,7 +9,7 @@ export default (brandPrimary: string) => { | |||
9 | let brandPrimaryColor = color(legacyStyles.themeBrandPrimary); | 9 | let brandPrimaryColor = color(legacyStyles.themeBrandPrimary); |
10 | try { | 10 | try { |
11 | brandPrimaryColor = color(defaultStyles.brandPrimary); | 11 | brandPrimaryColor = color(defaultStyles.brandPrimary); |
12 | } catch (e) { | 12 | } catch { |
13 | // Ignore invalid color and fall back to default. | 13 | // Ignore invalid color and fall back to default. |
14 | } | 14 | } |
15 | 15 | ||