Skip to content

fix: replace PlasmaCore.Theme with Kirigami.Theme in getBackgroundCol…#69

Open
muhammedby wants to merge 1 commit intoDenysMb:mainfrom
muhammedby:fix/plasma-theme-background-color
Open

fix: replace PlasmaCore.Theme with Kirigami.Theme in getBackgroundCol…#69
muhammedby wants to merge 1 commit intoDenysMb:mainfrom
muhammedby:fix/plasma-theme-background-color

Conversation

@muhammedby
Copy link
Copy Markdown

PlasmaCore.Theme.backgroundColor throws TypeError on newer KDE versions.
Kirigami.Theme.backgroundColor is the correct API to use.
Added try/catch as fallback to prevent icon rendering failures."

…orContrast()

PlasmaCore.Theme.backgroundColor throws TypeError on newer KDE versions.
Kirigami.Theme.backgroundColor is the correct API to use.
Added try/catch as fallback to prevent icon rendering failures.
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