diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-28 19:20:02 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-28 19:20:02 -0600 |
commit | 607203134e886f436f41d3e559042b70fec82a38 (patch) | |
tree | 759772a9d1a3adfe5942ac424bec943b4135bdb5 /src/view/lib/ThemeContext.tsx | |
parent | 8f55e3149ec17dcbb39286670ff20729af1e9205 (diff) | |
download | voidsky-607203134e886f436f41d3e559042b70fec82a38.tar.zst |
Update posts in feed to use the theming system
Diffstat (limited to 'src/view/lib/ThemeContext.tsx')
-rw-r--r-- | src/view/lib/ThemeContext.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/view/lib/ThemeContext.tsx b/src/view/lib/ThemeContext.tsx index 57f758c53..f51983cb5 100644 --- a/src/view/lib/ThemeContext.tsx +++ b/src/view/lib/ThemeContext.tsx @@ -11,7 +11,6 @@ export type PaletteColorName = | 'inverted' | 'error' export type PaletteColor = { - isLowContrast: boolean background: string backgroundLight: string text: string @@ -20,6 +19,7 @@ export type PaletteColor = { link: string border: string icon: string + [k: string]: string } export type Palette = Record<PaletteColorName, PaletteColor> @@ -31,13 +31,16 @@ export type TypographyVariant = | 'h2' | 'h3' | 'h4' + | 'h5' + | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'button' | 'caption' - | 'overline' + | 'overline1' + | 'overline2' export type Typography = Record<TypographyVariant, TextStyle> export interface Theme { |