diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-08-12 06:30:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-11 14:30:18 -0700 |
commit | 88f879ffe91fb7bff668c81b5a82fb4cfbd7889b (patch) | |
tree | 9717e7cb757ad566b1ea4d1023911ed301c476ef /src/lib | |
parent | 6f450b4982405535ebccba24f2e32940b161d57f (diff) | |
download | voidsky-88f879ffe91fb7bff668c81b5a82fb4cfbd7889b.tar.zst |
Improve styles (#4916)
Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/styles.ts | 3 | ||||
-rw-r--r-- | src/lib/themes.ts | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/styles.ts b/src/lib/styles.ts index 263127440..d0ea4cdc1 100644 --- a/src/lib/styles.ts +++ b/src/lib/styles.ts @@ -1,6 +1,7 @@ import {Dimensions, StyleProp, StyleSheet, TextStyle} from 'react-native' -import {Theme, TypographyVariant} from './ThemeContext' + import {isWeb} from 'platform/detection' +import {Theme, TypographyVariant} from './ThemeContext' // 1 is lightest, 2 is light, 3 is mid, 4 is dark, 5 is darkest export const colors = { diff --git a/src/lib/themes.ts b/src/lib/themes.ts index f3382fc43..9590f1659 100644 --- a/src/lib/themes.ts +++ b/src/lib/themes.ts @@ -295,9 +295,9 @@ export const darkTheme: Theme = { ...defaultTheme.palette, default: { background: darkPalette.black, - backgroundLight: darkPalette.contrast_50, + backgroundLight: darkPalette.contrast_25, text: darkPalette.white, - textLight: darkPalette.contrast_700, + textLight: darkPalette.contrast_600, textInverted: darkPalette.black, link: darkPalette.primary_500, border: darkPalette.contrast_100, @@ -344,7 +344,7 @@ export const dimTheme: Theme = { default: { ...darkTheme.palette.default, background: dimPalette.black, - backgroundLight: dimPalette.contrast_50, + backgroundLight: dimPalette.contrast_25, text: dimPalette.white, textLight: dimPalette.contrast_700, textInverted: dimPalette.black, |