diff options
author | 2021-07-30 10:54:54 +0200 | |
---|---|---|
committer | 2021-07-30 14:24:54 +0530 | |
commit | f4b4416ea52d564bc2dbe543a82084ed98843ccc (patch) | |
tree | 7ca6b23571c86458a6b799746c91a7191de02715 /packages/theme/src/themes/default/index.ts | |
parent | 5.6.1-nightly.8 [skip ci] (diff) | |
download | ferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.tar.gz ferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.tar.zst ferdium-app-f4b4416ea52d564bc2dbe543a82084ed98843ccc.zip |
chore: migrate from tslint to @typescript-eslint (#1706)
- update .eslintrc to work for .js and .ts
- update devDependencies
- lint properly both root /src and nested /packages
- update webhint recommended setting for tsconfig.json to shrink output
- Manage all eslint rules from the repo root
- escape single quotes in scripts to please windows build
Co-authored-by: Vijay A <avijayr@protonmail.com>
Diffstat (limited to 'packages/theme/src/themes/default/index.ts')
-rw-r--r-- | packages/theme/src/themes/default/index.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts index b8f3e3201..21017bbe0 100644 --- a/packages/theme/src/themes/default/index.ts +++ b/packages/theme/src/themes/default/index.ts | |||
@@ -82,7 +82,10 @@ export default (brandPrimary: string) => { | |||
82 | 82 | ||
83 | colorText, | 83 | colorText, |
84 | 84 | ||
85 | defaultContentBorder: color(legacyStyles.themeGrayLighter).darken(0.1).rgb().string(), | 85 | defaultContentBorder: color(legacyStyles.themeGrayLighter) |
86 | .darken(0.1) | ||
87 | .rgb() | ||
88 | .string(), | ||
86 | 89 | ||
87 | // Subscription Container Component | 90 | // Subscription Container Component |
88 | colorSubscriptionContainerBackground: 'none', | 91 | colorSubscriptionContainerBackground: 'none', |
@@ -94,7 +97,10 @@ export default (brandPrimary: string) => { | |||
94 | // Loader | 97 | // Loader |
95 | colorAppLoaderSpinner: '#FFF', | 98 | colorAppLoaderSpinner: '#FFF', |
96 | colorFullscreenLoaderSpinner: legacyStyles.themeGrayDark, | 99 | colorFullscreenLoaderSpinner: legacyStyles.themeGrayDark, |
97 | colorWebviewLoaderBackground: color(legacyStyles.themeGrayLighter).alpha(0.8).rgb().string(), | 100 | colorWebviewLoaderBackground: color(legacyStyles.themeGrayLighter) |
101 | .alpha(0.8) | ||
102 | .rgb() | ||
103 | .string(), | ||
98 | 104 | ||
99 | // Input | 105 | // Input |
100 | labelColor: legacyStyles.themeGrayLight, | 106 | labelColor: legacyStyles.themeGrayLight, |
@@ -103,7 +109,9 @@ export default (brandPrimary: string) => { | |||
103 | inputBackground, | 109 | inputBackground, |
104 | inputBorder, | 110 | inputBorder, |
105 | inputModifierColor: legacyStyles.themeGrayLight, | 111 | inputModifierColor: legacyStyles.themeGrayLight, |
106 | inputPlaceholderColor: color(legacyStyles.themeGrayLight).lighten(0.3).hex(), | 112 | inputPlaceholderColor: color(legacyStyles.themeGrayLight) |
113 | .lighten(0.3) | ||
114 | .hex(), | ||
107 | inputPrefixColor, | 115 | inputPrefixColor, |
108 | inputPrefixBackground: legacyStyles.themeGrayLighter, | 116 | inputPrefixBackground: legacyStyles.themeGrayLighter, |
109 | inputDisabledOpacity, | 117 | inputDisabledOpacity, |