forked from Shinonome/dots-hyprland
refractor shadows
This commit is contained in:
@@ -60,12 +60,8 @@ Scope {
|
||||
implicitHeight: sidebarRightBackground.implicitHeight
|
||||
implicitWidth: sidebarRightBackground.implicitWidth
|
||||
|
||||
RectangularShadow { // Background shadow
|
||||
anchors.fill: sidebarRightBackground
|
||||
radius: sidebarRightBackground.radius
|
||||
blur: 1.2 * Appearance.sizes.elevationMargin
|
||||
spread: 1
|
||||
color: Appearance.colors.colShadow
|
||||
StyledRectangularShadow {
|
||||
target: sidebarRightBackground
|
||||
}
|
||||
Rectangle {
|
||||
id: sidebarRightBackground
|
||||
|
||||
@@ -152,12 +152,9 @@ Item {
|
||||
}
|
||||
|
||||
// + FAB
|
||||
RectangularShadow { // Background shadow
|
||||
anchors.fill: fabButton
|
||||
StyledRectangularShadow {
|
||||
target: fabButton
|
||||
radius: Appearance.rounding.normal
|
||||
blur: 1.2 * Appearance.sizes.elevationMargin
|
||||
spread: 1
|
||||
color: Appearance.colors.colShadow
|
||||
}
|
||||
Button {
|
||||
id: fabButton
|
||||
|
||||
Reference in New Issue
Block a user