Quick-Turn-Studio / CLionSupportForQt

19 stars 0 forks source link

`palette` function is marked as error #9

Closed droidmonkey closed 4 years ago

droidmonkey commented 4 years ago
QPushButton:default {
    background: palette(highlight);
    color: palette(highlighted-text);
}

palette in the above is marked as an error, but is perfectly valid qss.

grabusr commented 4 years ago

Hello Jonathan, thank you for reporting this bug! We will fix it soon.

droidmonkey commented 4 years ago

Thanks, good work on these plug-ins BTW!

grabusr commented 4 years ago

Nice to hear that. We uploaded new 0.1.4 version with a fix for the palette role support. Now we just wait for approval on JetBrains Marketplace. Please let us know if it meets your needs.

droidmonkey commented 4 years ago

Tested and works well except for this case:

DatabaseOpenWidget #loginFrame {
    border: 2px groove palette(mid); /* <-- Error bars here */
    background: palette(light);
}
grabusr commented 4 years ago

Yeah, also rgb(0, 0, 0) do not work as 3rd argument in border property. Version 0.1.5 with fix for that is uploaded. Should be ready to download soon.