v0.9.23 bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jama-frontend",
|
||||
"version": "0.9.22",
|
||||
"version": "0.9.23",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user