Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update voice dialog bubble color possibility #20554

Closed
wants to merge 5 commits into from

Conversation

dhoeben
Copy link
Contributor

@dhoeben dhoeben commented Apr 19, 2024

Added two css variables, with the posibility to let users change the conversation message bubble. This is a fix in case a black/white theme is used. If the variables are not in line with Home Assistant variable names, feel free to change.

First time using GitHubt, I'm sorry if I did something wrong.

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

  theme:
    primary-color: rgb(220, 221, 221)
    primary-background-color: rgb(22, 22, 22)
    secondary-background-color: rgb(22, 22, 22)
    divider-color: rgb(22, 23, 24)
    
    primary-text-color: rgb(220, 221, 221)
    secondary-text-color: rgb(100,100,100)

    # Newly added to theme.yaml:
    primary-conversation-color: red
    secondary-conversation-color: blue

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

dhoeben added 2 commits April 18, 2024 14:23
Added two css variables, with the posibility to let users change the conversation message bubble. This is a fix in case a black/white theme  is used.
Update ha-voice-command-dialog.ts
@dhoeben dhoeben closed this Apr 19, 2024
Copy link
Contributor Author

@dhoeben dhoeben left a comment

Choose a reason for hiding this comment

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

ok

@dhoeben dhoeben reopened this Apr 19, 2024
@dhoeben dhoeben closed this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant