diff options
author | Eric Bailey <git@esb.lol> | 2024-07-11 16:59:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 16:59:12 -0500 |
commit | 74186950b2d7f3f5829e3d5bb8919c4a43293ba8 (patch) | |
tree | 9b6f15a5dd21789d02fa165651911f1854295821 /src/lib/ThemeContext.tsx | |
parent | ea0586cd67427ce68f867ee25e03bb92169f23c3 (diff) | |
download | voidsky-74186950b2d7f3f5829e3d5bb8919c4a43293ba8.tar.zst |
[ALF] Theme & palette cleanup (#4769)
* Invert primary scale * Invert negative palette * Replace theme specific styles in Toggle * Remove theme specific colors from Button, improves secondary solid on dark mode * TextField * Remove from MessageItem * Threadgate editor * IconCircle * Muted words * Generate themes from hues * Cleanup * Deprecate more values, fix circular import * Invert positive too, hardly use * Button tweaks, some theme diffs * Match disabled state for negative button * Fix unread noty bg
Diffstat (limited to 'src/lib/ThemeContext.tsx')
-rw-r--r-- | src/lib/ThemeContext.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ThemeContext.tsx b/src/lib/ThemeContext.tsx index 63e2beeb1..e4cebfcb2 100644 --- a/src/lib/ThemeContext.tsx +++ b/src/lib/ThemeContext.tsx @@ -1,7 +1,8 @@ -import React, {ReactNode, createContext, useContext} from 'react' +import React, {createContext, ReactNode, useContext} from 'react' import {TextStyle, ViewStyle} from 'react-native' + +import {ThemeName} from '#/alf/types' import {darkTheme, defaultTheme, dimTheme} from './themes' -import {ThemeName} from '#/alf/themes' export type ColorScheme = 'light' | 'dark' |