Skip to content

Background color when setting the shortcut for auto-type #11757

@xboxones1

Description

@xboxones1

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

Image

Steps to Reproduce

In the dark theme, when setting up a shortcut for auto-type, if you enter an unsupported keyboard shortcut, the background color blends in with the text.

Expected Versus Actual Behavior

Replace static color, with colors from the palette.

develop:

m_generalUi->autoTypeShortcutWidget->setStyleSheet("background-color: #FF9696;");

release:

setStyleSheet("background-color: #FF9696;");

Palette
Light:

setColor(ColorRole::Error, QStringLiteral("#FF7D7D"));

Dark:
setColor(ColorRole::Error, QStringLiteral("#802D2D"));

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions