diff options
-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; |