better-tmux
Advanced tools
Comparing version 0.0.10 to 0.0.11
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime"; | ||
import { useTheme } from '../hooks/use-theme.js'; | ||
const Window = ({ type, number, name }) => { | ||
let style = type === "active" ? { bg: "#fafafa", fg: "#000000" } : {}; | ||
const theme = useTheme(); | ||
let style = type === "active" ? { bg: theme.primary, fg: theme.foreground } : {}; | ||
return (_jsxs("box", { padding: 1, ...style, children: [number, ": ", name] })); | ||
@@ -5,0 +7,0 @@ }; |
{ | ||
"name": "better-tmux", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"exports": { | ||
@@ -5,0 +5,0 @@ ".": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
19007
43
648