font settings

This commit is contained in:
Jade (Rose) Rowland 2025-02-21 11:06:21 -05:00
parent 1ded398468
commit 4959bff060
10 changed files with 31 additions and 30 deletions

View file

@ -149,9 +149,8 @@ function PanelTab({ label, isSelected, onClick }) {
);
}
function Tabs({ setTab, tab, className }) {
const {fontFamily, fontSize} = useSettings()
return (
<div className={cx('flex select-none max-w-full overflow-auto pb-2', className)} style={{fontFamily}}>
<div className={cx('flex select-none max-w-full overflow-auto pb-2', className)}>
{Object.keys(tabNames).map((key) => {
const val = tabNames[key];
return <PanelTab key={key} isSelected={tab === val} label={key} onClick={() => setTab(val)} />;