Skip to content

Feature/themes#4

Merged
OlegZee merged 2 commits intodevfrom
feature/themes
Aug 24, 2025
Merged

Feature/themes#4
OlegZee merged 2 commits intodevfrom
feature/themes

Conversation

@OlegZee
Copy link
Copy Markdown
Owner

@OlegZee OlegZee commented Aug 24, 2025

This pull request introduces a theme system for the chat application, allowing users to select and persist different visual themes. It includes the implementation of six distinct themes, a theme selector UI, logic for saving and restoring the selected theme, and updates to use CSS variables for styling.

UI improvements:

  • Added a default user avatar icon for users without an avatar image.
  • Improved the theme selector UI in the navigation menu, including styling for the dropdown to match the selected theme.

Cleanup:

  • Removed obsolete IDE and VSCode configuration files. (.idea/.idea.fschat/.idea/vcs.xml, .vscode/settings.json) [1] [2]

oleg-zaimkin and others added 2 commits August 17, 2025 23:43
- Fix Cyberpunk theme: invisible chat messages due to missing --color-msg-text
- Fix selected channel: black-on-black text in navigation menu
- Fix user message contrast: poor readability in Cyberpunk and Sunset themes
- Add --color-msg-text variable to all themes for consistent message styling
- Add --color-menu-selected variable to fix selected channel visibility
- Fix CSS specificity issue preventing user message colors from applying
- Improve avatar display by adding default account icon

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@OlegZee OlegZee requested a review from Copilot August 24, 2025 14:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a comprehensive theme system for the chat application, enabling users to select from six distinct visual themes (Mass Effect, Cyberpunk, Forest, Ocean, Sunset, and Monochrome) with persistence across sessions. The implementation transitions from SASS variables to CSS custom properties for dynamic theming and includes UI improvements such as a default user avatar icon and enhanced theme selector styling.

Key changes include:

  • Implementation of a complete theme system with six predefined themes using CSS custom properties
  • Addition of theme persistence using browser localStorage with automatic loading/saving
  • UI enhancements including a theme selector dropdown in the navigation menu and default user avatar

Reviewed Changes

Copilot reviewed 17 out of 19 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/Client/sass/variables.scss Converts SASS variables to CSS custom properties for dynamic theming
src/Client/sass/themes/*.scss Defines six theme configurations with color schemes and styling variables
src/Client/sass/app.scss Imports theme system and removes hardcoded avatar background color
src/Client/sass/menu.scss Adds theme selector UI and updates styling to use CSS custom properties
src/Client/sass/chat.scss Updates message styling to use theme-aware color variables
src/Client/App/*.fs Implements theme state management, persistence, and theme switching logic
src/Client/NavMenu/View.fs Adds theme selector component to navigation menu
src/Client/UserAvatar/View.fs Adds default user avatar icon for users without profile images
Files not reviewed (1)
  • .idea/.idea.fschat/.idea/vcs.xml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@OlegZee OlegZee merged commit 54d67df into dev Aug 24, 2025
1 check failed
@OlegZee OlegZee deleted the feature/themes branch August 24, 2025 21:47
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.

3 participants