Use theme store to pass color_scheme
directly to components
This commit is contained in:
parent
f8316dd127
commit
d5acfe8fc1
36 changed files with 280 additions and 136 deletions
|
@ -1,7 +1,9 @@
|
|||
import { ColorScheme } from "../theme/color_scheme"
|
||||
import { background, border, foreground, text } from "./components"
|
||||
import { interactive, toggleable } from "../element"
|
||||
export default function status_bar(theme: ColorScheme): any {
|
||||
import { useTheme } from "../common"
|
||||
export default function status_bar(): any {
|
||||
const theme = useTheme()
|
||||
|
||||
const layer = theme.lowest
|
||||
|
||||
const status_container = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue