diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-15 23:09:51 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-15 23:09:51 +1000 |
| commit | debf99a5d947f6641e74770d7b72bad0988e706c (patch) | |
| tree | 4b9076136c07e73c0f3e819330970e0d3385c34a /components/controls/IconButton.qml | |
| parent | utilities/toggles: add gamemode (diff) | |
| download | caelestia-shell-debf99a5d947f6641e74770d7b72bad0988e706c.tar.gz caelestia-shell-debf99a5d947f6641e74770d7b72bad0988e706c.tar.bz2 caelestia-shell-debf99a5d947f6641e74770d7b72bad0988e706c.zip | |
utilities: fix colours
Fix transparency + some button colours
Diffstat (limited to 'components/controls/IconButton.qml')
| -rw-r--r-- | components/controls/IconButton.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/controls/IconButton.qml b/components/controls/IconButton.qml index 36f8e38..590cd7d 100644 --- a/components/controls/IconButton.qml +++ b/components/controls/IconButton.qml @@ -28,13 +28,13 @@ StyledRect { property color inactiveColour: { if (!toggle && type === IconButton.Filled) return Colours.palette.m3primary; - return type === IconButton.Filled ? Colours.palette.m3surfaceContainer : Colours.palette.m3secondaryContainer; + return type === IconButton.Filled ? Colours.tPalette.m3surfaceContainer : Colours.palette.m3secondaryContainer; } - property color activeOnColour: type === IconButton.Filled ? Colours.palette.m3onPrimary : Colours.palette.m3onSecondary + property color activeOnColour: type === IconButton.Filled ? Colours.palette.m3onPrimary : type === IconButton.Tonal ? Colours.palette.m3onSecondary : Colours.palette.m3primary property color inactiveOnColour: { if (!toggle && type === IconButton.Filled) return Colours.palette.m3onPrimary; - return type === IconButton.Filled ? Colours.palette.m3onSurfaceVariant : Colours.palette.m3onSecondaryContainer; + return type === IconButton.Tonal ? Colours.palette.m3onSecondaryContainer : Colours.palette.m3onSurfaceVariant; } signal clicked |