Commit 6b18839
fix(ui): standardize sidebar menu styling with global CSS classes (#471)
* feat(ui): complete migration from neumorphic to corporate theme
## Summary
- Migrate entire frontend from neumorphic (soft UI) to minimal corporate theme
- Update SCSS variables, mixins, and component styles
- Update Tailwind CSS custom properties
- Clean up unused migration wrapper components
## Changes
### Core Style Files
- `_variables.scss`: Complete rewrite with corporate colors (#ffffff, #f8f9fa),
borders (#e5e7eb), and subtle shadows
- `_mixins.scss`: Update mixins to corporate styling with legacy aliases
- `_neumorphic-components.scss`: Update component classes (dual naming for compatibility)
- `style.scss`: Update all Bootstrap overrides (cards, buttons, forms, tables, modals)
- `tailwind.css`: Update CSS custom properties with corporate values
### Component Updates
- `dropdown-menu.jsx`: Remove inline neumorphic styles
- `neumorphic-pagination.jsx`: Update to corporate theme
- `social-login-buttons.jsx`: Replace shadow classes with borders
- `step-wizard.jsx`: Update step circles and connectors
### Screen Updates
- Chart of accounts, contacts, employees, products, currency screens
- Dashboard sections (bank_account, cash_flow)
- Theme reference page with updated examples
### Cleanup
- Remove unused Neu* wrapper components (NeuButton, NeuCard, etc.)
- Simplify migration/index.js to re-export reactstrap components
## Theme Changes
| Element | Old | New |
|---------|-----|-----|
| Background | #e8eef5 | #ffffff / #f8f9fa |
| Borders | None (shadows) | 1px solid #e5e7eb |
| Shadows | Multi-directional | Subtle bottom shadows |
| Text Primary | #1e3a5f | #111827 |
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: restore migration neu components
The migration folder contains custom shadcn/ui-based components that provide
reactstrap-compatible APIs. These were incorrectly removed - reactstrap is not
installed in this project.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(ui): add dual theme support (light/dark mode)
- Add comprehensive dark mode CSS variables to tailwind.css
- Add dark mode SCSS variables to _variables.scss
- Add dark mode component overrides to global.scss and _neumorphic-components.scss
- Update react-select styles to use CSS variables for theme switching
- Fix Company/Business Type dropdown visibility in dark mode
- Update selectStyles in utils/index.js, register, profile, and currency screens
- Enhance theme-toggle component with next-themes integration
- Enable system theme detection in ThemeProvider
- Add THEME-GUIDELINES.md with comprehensive dark mode documentation
- Add screenshot test for register page in light/dark modes
- Update dashboard bank_account with Tailwind dark mode classes
Dark mode color palette:
- Backgrounds: Slate family (#0f172a, #1e293b, #334155)
- Text: Light colors (#f8fafc, #e2e8f0, #cbd5e1)
- Primary: Blue 500 (#3b82f6) for better contrast
- Semantic colors adjusted for dark backgrounds
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(ui): unify sidebar menu styling with global css classes
- Add global CSS classes for consistent menu styling (.corp-menu-item, .corp-submenu-item)
- Standardize border-radius to rounded-md (0.375rem) across all menu items
- Remove inline styles and use CSS variables for colors
- Add text-decoration: none to prevent underlines on all menu states
- Ensure consistent highlight colors and hover states
- Move theme-level styling to index.css for better maintainability
All menu items now follow corporate design system with uniform appearance.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* test(ui): update sidebar test to match new css class structure
* chore: add visual regression snapshots and update package-lock
- Add baseline snapshots for visual regression tests (e2e)
- Update package-lock.json (remove typescript peer dependency)
- Snapshots cover dashboard, invoices, reports, and login screens
- Includes light/dark mode and responsive variants
* fix(ui): remove unused variables from theme toggle components
---------
Co-authored-by: Developer <developer@simpleaccounts.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>1 parent 9195401 commit 6b18839
34 files changed
Lines changed: 1771 additions & 149 deletions
File tree
- apps/frontend
- e2e
- visual-regression.spec.ts-snapshots
- src
- __tests__/layouts
- assets/css
- components/ui
- layouts/components
- screens
- contact
- employee
- product_category
- product
- profile
- register
- theme_reference
- utils
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | | - | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
3 | 20 | | |
4 | 21 | | |
5 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
0 commit comments