diff options
author | kytwb <kytwb@pm.me> | 2021-12-15 19:02:21 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-15 19:02:21 +0100 |
commit | 5f12b9688ec382318e0838194e903b225e6a4172 (patch) | |
tree | acdef606ab3740ca6d01681271dc30bf9cc602e3 /src/themes/dark | |
parent | Restore sidebarWidth in generateVerticalStyle (diff) | |
download | ferdium-app-5f12b9688ec382318e0838194e903b225e6a4172.tar.gz ferdium-app-5f12b9688ec382318e0838194e903b225e6a4172.tar.zst ferdium-app-5f12b9688ec382318e0838194e903b225e6a4172.zip |
Comment out brandPrimaryColor in dark theme file
Diffstat (limited to 'src/themes/dark')
-rw-r--r-- | src/themes/dark/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/themes/dark/index.ts b/src/themes/dark/index.ts index dcdeef683..6bb890192 100644 --- a/src/themes/dark/index.ts +++ b/src/themes/dark/index.ts | |||
@@ -6,12 +6,14 @@ import * as legacyStyles from '../legacy'; | |||
6 | 6 | ||
7 | export default (brandPrimary: string) => { | 7 | export default (brandPrimary: string) => { |
8 | const defaultStyles = makeDefaultThemeConfig(brandPrimary); | 8 | const defaultStyles = makeDefaultThemeConfig(brandPrimary); |
9 | /* | ||
9 | let brandPrimaryColor = color(legacyStyles.themeBrandPrimary); | 10 | let brandPrimaryColor = color(legacyStyles.themeBrandPrimary); |
10 | try { | 11 | try { |
11 | brandPrimaryColor = color(defaultStyles.brandPrimary); | 12 | brandPrimaryColor = color(defaultStyles.brandPrimary); |
12 | } catch { | 13 | } catch { |
13 | // Ignore invalid color and fall back to default. | 14 | // Ignore invalid color and fall back to default. |
14 | } | 15 | } |
16 | */ | ||
15 | 17 | ||
16 | const colorBackground = legacyStyles.darkThemeGrayDarkest; | 18 | const colorBackground = legacyStyles.darkThemeGrayDarkest; |
17 | const colorText = legacyStyles.darkThemeTextColor; | 19 | const colorText = legacyStyles.darkThemeTextColor; |