Use theme store to pass color_scheme directly to components

This commit is contained in:
Nate Butler
2023-07-04 00:13:04 -04:00
parent f8316dd127
commit d5acfe8fc1
36 changed files with 280 additions and 136 deletions
@@ -1,9 +1,9 @@
import { ColorScheme } from "../theme/color_scheme"
import { useTheme } from "../theme"
import { background, border, text } from "./components"
export default function project_shared_notification(
theme: ColorScheme
): unknown {
export default function project_shared_notification(): unknown {
const theme = useTheme()
const avatar_size = 48
return {
window_height: 74,