Added qml color template - #235
Conversation
|
sure, tho i wonder why not add some extra shades, dunno since pywal can generate them at template export time. |
|
sure, is 50 a reasonable default percentage? |
|
sure, if that looks good to ya, i'm massively ignorant when it comes to all qt stuff from qml to qss and quickshell, so idk if colors can be created and re-defined on the fly in configuration from a pre-defined set of colors, as admittedly i got too much lua brainrot from neovim and awesomewm so i tend to want stuff to work like lua and sometimes forget i'm writing python and start treating it like lua... tangent aside, ya tell me what works visually for ya, tho i'm surprised ya didn't go for the pywalfox style extra colors since pywal got a function for creating those the wiki doesn't yet have info on the foxify modifier functions as those aren't in a release yet. |
|
qml does support runtime color definition via Qt.lighter() and Qt.darker() built-in functions, so we could drop the lighten/darken variants from the template and just use the base 16 colors and let QML handle the shading at runtime. The file is exclusive to qml anyway. Should i do the qt option or is this fine as is because the generated colors right now looks fine to me. |
|
again, i'm ignorant about qml so what ya tell me looks good and works i'll merge |
|
The QT exclusive one looks good, you can merge afc838e. |
|
merged |
|
thanks! |
Adds a pywal template for QtQuick-based applications and shells.
The template generates
colors.qmlcontaining all 16 pywal colorsplus background, foreground and cursor as QML-compatible properties,
which can be imported into any QtQuick-based project such as Quickshell etc.