v0.9.23 bug fixes

This commit is contained in:
2026-03-15 11:41:51 -04:00
parent 8fcadf7f0d
commit 5c1dd94efb
5 changed files with 7 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "jama-frontend",
"version": "0.9.22",
"version": "0.9.23",
"private": true,
"scripts": {
"dev": "vite",

View File

@@ -13,7 +13,7 @@ const COLOUR_SUGGESTIONS = [
// ── Title Colour Row — one row per mode ──────────────────────────────────────
function TitleColourRow({ bgColor, bgLabel, textColor, appName, onChange }) {
function TitleColourRow({ bgColor, bgLabel, textColor, onChange }) {
const [mode, setMode] = useState('idle'); // 'idle' | 'custom'
return (
@@ -25,8 +25,8 @@ function TitleColourRow({ bgColor, bgLabel, textColor, appName, onChange }) {
border: '1px solid var(--border)', minWidth: 110, flexShrink: 0,
boxShadow: '0 1px 4px rgba(0,0,0,0.1)',
}}>
<span style={{ color: textColor, fontWeight: 700, fontSize: 16, whiteSpace: 'nowrap' }}>
{appName || 'ATC'}
<span style={{ color: textColor, fontWeight: 700, fontSize: 16 }}>
Title
</span>
</div>
@@ -505,14 +505,12 @@ export default function BrandingModal({ onClose }) {
bgColor="#f1f3f4"
bgLabel="Light mode"
textColor={colourTitle}
appName={appName}
onChange={setColourTitle}
/>
<TitleColourRow
bgColor="#13131f"
bgLabel="Dark mode"
textColor={colourTitleDark}
appName={appName}
onChange={setColourTitleDark}
/>
</div>