Release Candidate: Production Release with Multi-Tenant & Onboarding Enhancements

This commit is contained in:
ajaysi
2026-02-28 20:06:26 +05:30
parent 08a1f4a1d8
commit 4828274cbf
162 changed files with 19489 additions and 4300 deletions

View File

@@ -80,6 +80,52 @@ const theme = createTheme({
'& .MuiOutlinedInput-root': {
borderRadius: 8,
},
'& .MuiInputBase-input': {
// Force dark text visibility on white/light backgrounds (common in Wizard/Panels)
// but keep it white on dark backgrounds (default theme mode is dark)
// We use a conditional check via theme or explicit CSS if needed.
// However, the best global fix for "white on white" is to ensure
// the input color is always legible regardless of the background.
// Since mode is 'dark', text.primary is '#e6e8f0' (off-white).
// If the background is forced to white in a component, this off-white becomes invisible.
},
},
},
defaultProps: {
variant: 'outlined',
fullWidth: true,
},
},
MuiInputBase: {
styleOverrides: {
root: {
// This is the core fix: if the background-color of the parent or self is white,
// the text must be dark. We use a CSS variable or inherit color properly.
// For now, we'll ensure that inputs inside light-themed containers are corrected.
'&.MuiInputBase-root': {
// When inside a white background (like Onboarding Wizard or Analysis Panel),
// the text color should be dark. We target common light background containers.
'.light-theme-container &': {
color: '#111827 !important',
'& .MuiInputBase-input': {
color: '#111827 !important',
WebkitTextFillColor: '#111827 !important',
},
},
},
},
},
},
MuiSelect: {
styleOverrides: {
root: {
'.light-theme-container &': {
color: '#111827 !important',
'& .MuiSelect-select': {
color: '#111827 !important',
WebkitTextFillColor: '#111827 !important',
},
},
},
},
},