forked from Shinonome/dots-hyprland
adjust shadows
This commit is contained in:
@@ -64,10 +64,10 @@ decoration {
|
|||||||
shadow {
|
shadow {
|
||||||
enabled = true
|
enabled = true
|
||||||
ignore_window = true
|
ignore_window = true
|
||||||
range = 70
|
range = 30
|
||||||
offset = 0 4
|
offset = 0 2
|
||||||
render_power = 2
|
render_power = 4
|
||||||
color = rgba(00000020)
|
color = rgba(00000010)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Dim
|
# Dim
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ Singleton {
|
|||||||
property color colTooltip: "#3C4043" // m3colors.m3inverseSurface in the specs, but the m3 website actually uses this color
|
property color colTooltip: "#3C4043" // m3colors.m3inverseSurface in the specs, but the m3 website actually uses this color
|
||||||
property color colOnTooltip: "#F8F9FA" // m3colors.m3inverseOnSurface in the specs, but the m3 website actually uses this color
|
property color colOnTooltip: "#F8F9FA" // m3colors.m3inverseOnSurface in the specs, but the m3 website actually uses this color
|
||||||
property color colScrim: ColorUtils.transparentize(m3colors.m3scrim, 0.5)
|
property color colScrim: ColorUtils.transparentize(m3colors.m3scrim, 0.5)
|
||||||
property color colShadow: ColorUtils.transparentize(m3colors.m3shadow, 0.85)
|
property color colShadow: ColorUtils.transparentize(m3colors.m3shadow, 0.7)
|
||||||
}
|
}
|
||||||
|
|
||||||
rounding: QtObject {
|
rounding: QtObject {
|
||||||
@@ -288,7 +288,7 @@ Singleton {
|
|||||||
property real searchWidthCollapsed: 260
|
property real searchWidthCollapsed: 260
|
||||||
property real searchWidth: 450
|
property real searchWidth: 450
|
||||||
property real hyprlandGapsOut: 5
|
property real hyprlandGapsOut: 5
|
||||||
property real elevationMargin: 8
|
property real elevationMargin: 10
|
||||||
property real fabShadowRadius: 5
|
property real fabShadowRadius: 5
|
||||||
property real fabHoveredShadowRadius: 7
|
property real fabHoveredShadowRadius: 7
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ Scope { // Scope
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.topMargin: Appearance.sizes.hyprlandGapsOut
|
anchors.topMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
anchors.leftMargin: Appearance.sizes.hyprlandGapsOut
|
anchors.leftMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
width: sidebarRoot.sidebarWidth - Appearance.sizes.hyprlandGapsOut * 2
|
width: sidebarRoot.sidebarWidth - Appearance.sizes.hyprlandGapsOut - Appearance.sizes.elevationMargin
|
||||||
height: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
height: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
||||||
|
|||||||
@@ -52,8 +52,17 @@ Scope {
|
|||||||
Loader {
|
Loader {
|
||||||
id: sidebarContentLoader
|
id: sidebarContentLoader
|
||||||
active: GlobalStates.sidebarRightOpen
|
active: GlobalStates.sidebarRightOpen
|
||||||
anchors.centerIn: parent
|
anchors {
|
||||||
width: sidebarWidth - Appearance.sizes.hyprlandGapsOut * 2
|
top: parent.top
|
||||||
|
bottom: parent.bottom
|
||||||
|
right: parent.right
|
||||||
|
left: parent.left
|
||||||
|
topMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
|
rightMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
|
bottomMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
|
leftMargin: Appearance.sizes.elevationMargin
|
||||||
|
}
|
||||||
|
width: sidebarWidth - Appearance.sizes.hyprlandGapsOut - Appearance.sizes.elevationMargin
|
||||||
height: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
height: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
||||||
|
|
||||||
sourceComponent: Item {
|
sourceComponent: Item {
|
||||||
|
|||||||
Reference in New Issue
Block a user