Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(theme): update velvet theme to display Python environment correctly #6105

Conversation

prathishpratt
Copy link

Updated the velvet theme configuration to use a Powerline style and fetch the virtual environment details accurately. Changed colors and adjusted the template for better readability and consistency.

Prerequisites

  • I have read and understood the contributing guide.
  • The commit message follows the conventional commits guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added/updated (for bug fixes / features).

Description

The velvet theme in oh-my-posh has been updated to:

  1. Use a Powerline style for better visual alignment.
  2. Fetch and display the Python virtual environment (Venv) accurately.
  3. Enhance readability by modifying colors and adjusting the template.

This change improves user experience by clearly displaying the active Python environment in the terminal.

Before the change:
image
The right component for environment doesn't work properly.

Updated change looks like this:
image

Updated the velvet theme configuration to use a Powerline style and fetch the virtual environment details accurately. Changed colors and adjusted the template for better readability and consistency.
@JanDeDobbeleer
Copy link
Owner

@prathishpratt we're not accepting changes to themes anymore, they merely act as examples which can be used, but tweaks need to done on your end.

@prathishpratt prathishpratt deleted the fix/velvet-theme-environment branch January 18, 2025 19:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants