Update posts in feed to use the theming system

This commit is contained in:
Paul Frazee 2022-12-28 19:20:02 -06:00
parent 8f55e3149e
commit 607203134e
9 changed files with 133 additions and 82 deletions

View file

@ -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 {