@@ -236,9 +236,6 @@ export function App(): React.ReactElement {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (activePanel === 'git') document.querySelector('.git-row.kbd')?.scrollIntoView({ block: 'nearest' })
|
if (activePanel === 'git') document.querySelector('.git-row.kbd')?.scrollIntoView({ block: 'nearest' })
|
||||||
}, [gitSel, activePanel])
|
}, [gitSel, activePanel])
|
||||||
useEffect(() => {
|
|
||||||
if (activePanel === 'tree') document.querySelector('.tree-row.kbd')?.scrollIntoView({ block: 'nearest' })
|
|
||||||
}, [treeSel, activePanel])
|
|
||||||
|
|
||||||
// Flash the branch · repository banner for ~2s each time the window *regains*
|
// Flash the branch · repository banner for ~2s each time the window *regains*
|
||||||
// focus. We gate on a prior blur so the banner never shows on startup (or on
|
// focus. We gate on a prior blur so the banner never shows on startup (or on
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ const THEME = {
|
|||||||
foreground: '#e6e8ea',
|
foreground: '#e6e8ea',
|
||||||
cursor: '#4d8dff',
|
cursor: '#4d8dff',
|
||||||
cursorAccent: '#1a1c1f',
|
cursorAccent: '#1a1c1f',
|
||||||
selectionBackground: 'rgba(77,141,255,0.32)',
|
selectionBackground: 'rgba(77,141,255,0.55)',
|
||||||
|
selectionInactiveBackground: 'rgba(77,141,255,0.40)',
|
||||||
black: '#16171a', red: '#e0696a', green: '#5cbd6b', yellow: '#d8a85c',
|
black: '#16171a', red: '#e0696a', green: '#5cbd6b', yellow: '#d8a85c',
|
||||||
blue: '#4d8dff', magenta: '#c98bdb', cyan: '#6ec0c0', white: '#b4bac2',
|
blue: '#4d8dff', magenta: '#c98bdb', cyan: '#6ec0c0', white: '#b4bac2',
|
||||||
brightBlack: '#5d636c', brightRed: '#e0696a', brightGreen: '#5cbd6b', brightYellow: '#d8a85c',
|
brightBlack: '#5d636c', brightRed: '#e0696a', brightGreen: '#5cbd6b', brightYellow: '#d8a85c',
|
||||||
|
|||||||
Reference in New Issue
Block a user