Skip to content

Fix new session dialog dark mode styling - #433

Merged
steipete merged 1 commit into
mainfrom
dark-mode-fixes
Jul 20, 2025
Merged

steipete merged 1 commit into
mainfrom
dark-mode-fixes

Conversation

@steipete

Copy link
Copy Markdown
Collaborator

Summary

  • Fixed the new session dialog to have consistent dark mode styling
  • Softened hard borders throughout the dialog using 50% opacity
  • Fixed the terminal title mode picker that was showing in light mode colors

Changes

  • Updated all borders to use border-border/50 for softer appearance
  • Fixed terminal title mode select dropdown to use dark theme colors (bg-bg-tertiary, text-text)
  • Updated all text labels to use proper text-text-muted color tokens
  • Made spawn window toggle and repository dropdown consistent with dark theme
  • Updated quick start buttons to use softer borders and proper dark colors
  • Fixed hover states to use appropriate dark theme colors

Test plan

  • Open new session dialog in dark mode
  • Verify all borders are softer (50% opacity)
  • Check that terminal title mode picker uses dark theme colors
  • Verify all form elements match the dark theme
  • Test hover states on all interactive elements
  • Ensure text is readable with proper contrast

- Soften border styles using border/50 opacity throughout
- Fix terminal title mode picker to use proper dark theme colors
- Update all form elements to use consistent dark-themed colors
- Replace hard borders with softer 50% opacity borders
- Ensure all text uses proper text-muted color tokens
- Fix spawn window toggle to match dark theme styling
@claude

claude Bot commented Jul 20, 2025

Copy link
Copy Markdown

Claude finished @steipete's task —— View job


📋 Summary

This PR successfully improves the dark mode styling consistency in the new session dialog by softening borders with 50% opacity and standardizing color tokens throughout the component.

Tasks:

  • Read the changed file session-create-form.ts
  • Analyze the changes for code quality and consistency
  • Check alignment with PR description
  • Provide comprehensive review feedback

✅ Positive Aspects

  • Consistent opacity usage: All borders now use /50 opacity for a cohesive, softer appearance
  • Standardized color tokens: Text colors properly use text-text-muted and text-text instead of mixed variations
  • Dark theme dropdown fix: The terminal title mode select now correctly uses bg-bg-tertiary and text-text for proper dark mode rendering
  • Improved hover states: Better contrast and visual feedback with appropriate dark theme colors
  • Comprehensive coverage: All UI elements in the dialog have been updated for consistency

🔍 Areas for Improvement

Code Quality

  • The code changes maintain good quality and readability
  • Follows existing patterns and naming conventions
  • No DRY violations or code duplication issues

Potential Issues

  • No bugs or logic errors detected
  • All edge cases appear to be handled appropriately
  • Error handling remains unchanged and adequate

Performance

  • These are purely CSS class changes with no performance impact
  • No risk of unnecessary re-renders or memory issues

Security

  • No security concerns - changes are limited to UI styling

Testing

  • The PR includes a comprehensive test plan that covers all changed elements
  • Consider adding automated visual regression tests for dark mode styling to catch future regressions

💡 Suggestions

  1. CSS Variable Consideration: While the current approach works well, consider if these opacity values (/50, /30) should be defined as CSS variables for easier theme customization:

    --border-opacity-soft: 0.5;
    --border-opacity-subtle: 0.3;
  2. Accessibility: Ensure the 50% opacity borders maintain sufficient contrast ratios for accessibility standards, especially for users with visual impairments.

  3. Documentation: Consider documenting the dark mode color token conventions in a style guide to ensure consistency across future components.

🎯 Priority Items

No critical issues found. This PR is ready to merge as-is. The suggestions above are optional enhancements for future consideration.

The changes perfectly align with the PR description and successfully achieve the goal of improving dark mode consistency in the new session dialog.


Reviewed commit: 06b341a
Files changed: 1

@github-actions

github-actions Bot commented Jul 20, 2025

Copy link
Copy Markdown

🔍 Code Quality Report

This comment is automatically updated with linting results from CI.

Node.js Biome Formatting ✅ Status: Passed

Node.js Biome Linting ✅ Status: Passed

Node.js Test Coverage ✅ Status: Passed

Client Coverage:
• Lines: 43.58%
• Functions: 52.14%
• Branches: 72.05%
• Statements: 43.58%

Server Coverage:
• Lines: 13.2%
• Functions: 35.83%
• Branches: 74.58%
• Statements: 13.2%

Mac Formatting (SwiftFormat) ❌ Status: Failed

Click to see details
Running SwiftFormat...
(lint mode - no files will be changed.)
Reading config file at /Users/administrator/amantos-ai/actions-runner/_work/vibetunnel/vibetunnel/mac/.swiftformat
/Users/administrator/amantos-ai/actions-runner/_work/vibetunnel/vibetunnel/mac/VibeTunnel/VibeTunnelApp.swift:129:1: error: (modifierOrder) Use consistent ordering for member modifiers.
SwiftFormat completed in 0.12s.
Source input did not pass lint check.
1/107 files require formatting, 1 file skipped.

Mac Linting (SwiftLint) ✅ Status: Passed

@steipete
steipete merged commit 31507f6 into main Jul 20, 2025
@steipete
steipete deleted the dark-mode-fixes branch July 20, 2025 15:28
v1truv1us pushed a commit to v1truv1us/tunnelforge that referenced this pull request Sep 23, 2025
v1truv1us pushed a commit to v1truv1us/tunnelforge that referenced this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant