diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 11:04:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 11:04:03 +1000 |
| commit | 9071de0d601e588b6840b10d84edd6edc60c5a64 (patch) | |
| tree | 8f1c663d083fc72281df94c464ff54ab2074a83b /widgets | |
| parent | feat: border + colour changes (diff) | |
| download | caelestia-shell-9071de0d601e588b6840b10d84edd6edc60c5a64.tar.gz caelestia-shell-9071de0d601e588b6840b10d84edd6edc60c5a64.tar.bz2 caelestia-shell-9071de0d601e588b6840b10d84edd6edc60c5a64.zip | |
feat: shadow
Border exclusivity
Fix slider handle text colour
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/LayerShadow.qml | 9 | ||||
| -rw-r--r-- | widgets/VerticalSlider.qml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/widgets/LayerShadow.qml b/widgets/LayerShadow.qml new file mode 100644 index 0000000..1694a8e --- /dev/null +++ b/widgets/LayerShadow.qml @@ -0,0 +1,9 @@ +import "root:/config" +import Qt5Compat.GraphicalEffects + +DropShadow { + anchors.fill: source + color: Qt.alpha(Appearance.colours.m3shadow, 0.7) + radius: 10 + samples: 1 + radius * 2 +} diff --git a/widgets/VerticalSlider.qml b/widgets/VerticalSlider.qml index 68fa359..1dbe3f2 100644 --- a/widgets/VerticalSlider.qml +++ b/widgets/VerticalSlider.qml @@ -57,7 +57,7 @@ Slider { animate: true text: root.icon - color: Appearance.colours.m3onInverseSurface + color: Appearance.colours.m3inverseOnSurface anchors.centerIn: parent states: State { |