Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,20 @@ function App() {
)}

{/* Two-panel layout */}
<Flex flex={1} overflow="hidden">
<Flex flex={1} overflow="hidden" position="relative">
{/* Mobile backdrop overlay */}
{sidebarOpen && !isLargeScreen && (
<Box
position="absolute"
top={0}
left={0}
w="100%"
h="100%"
bg="blackAlpha.600"
zIndex={15}
onClick={() => handleToggleSidebar(false)}
/>
)}
{/* Left: Prompt Library Sidebar */}
{sidebarOpen && (
<PromptLibrarySidebar
Expand Down Expand Up @@ -625,7 +638,7 @@ function App() {
<Box
position="fixed"
bottom={0}
left={sidebarOpen ? '280px' : 0}
left={sidebarOpen && isLargeScreen ? '280px' : 0}
right={0}
bg="rgba(60, 28, 28, 0.7)"
backdropFilter="blur(8px)"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/NewSongView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ export default function NewSongView({
border="none"
_focus={{ boxShadow: 'none' }}
p={0}
fontSize="sm"
fontSize="md"
mb={3}
/>

Expand Down Expand Up @@ -1235,7 +1235,7 @@ export default function NewSongView({
border="none"
_focus={{ boxShadow: 'none' }}
p={0}
fontSize="sm"
fontSize="md"
/>

{/* Debug panel for lyrics topic (dev only) */}
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/components/PromptLibrarySidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,9 @@ export default function PromptLibrarySidebar({

return (
<Box
w="280px"
minW="280px"
w={{ base: '100%', md: '280px' }}
minW={{ base: '100%', md: '280px' }}
maxW={{ base: '100%', md: '280px' }}
flexShrink={0}
h="100%"
maxH="100%"
Expand All @@ -831,6 +832,10 @@ export default function PromptLibrarySidebar({
display="flex"
flexDirection="column"
overflow="hidden"
position={{ base: 'absolute', md: 'relative' }}
top={0}
left={0}
zIndex={20}
>
{/* Top: Logo + Close button */}
<HStack py={2} px={2} justify="space-between">
Expand Down
20 changes: 12 additions & 8 deletions frontend/src/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ const theme = extendTheme({
800: '#0d7633',
900: '#085f28',
},
// Lifted gray scale — slightly brighter across the board
// Lifted gray scale — brighter for better readability
gray: {
50: '#f7fafc',
100: '#edf2f7',
200: '#e2e8f0',
300: '#cbd5e0',
400: '#a0aec0',
500: '#718096',
600: '#4a5568',
700: '#323b4a',
800: '#222a38',
900: '#191f2b',
300: '#d0d7e2',
400: '#a8b2c1',
500: '#7f8da0',
600: '#556070',
700: '#3a4556',
800: '#283242',
900: '#1e2533',
},
spotify: {
green: '#1DB954',
Expand All @@ -53,6 +53,10 @@ const theme = extendTheme({
color: 'white',
letterSpacing: '0.01em',
},
// Prevent iOS Safari auto-zoom on input focus (requires >= 16px)
'input, textarea, select': {
fontSize: '16px !important',
},
// Subtle glow on focus for all interactive elements
'*:focus-visible': {
boxShadow: '0 0 0 2px rgba(255, 255, 255, 0.25) !important',
Expand Down