Use theme store to pass color_scheme directly to components
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { ColorScheme } from "../theme/color_scheme"
|
||||
import { useTheme } from "../theme"
|
||||
|
||||
export default function terminal() {
|
||||
const theme = useTheme()
|
||||
|
||||
export default function terminal(theme: ColorScheme) {
|
||||
/**
|
||||
* Colors are controlled per-cell in the terminal grid.
|
||||
* Cells can be set to any of these more 'theme-capable' colors
|
||||
|
||||
Reference in New Issue
Block a user