forked from Shinonome/dots-hyprland
add border to panels
This commit is contained in:
@@ -64,6 +64,8 @@ Scope { // Scope
|
|||||||
id: cheatsheetBackground
|
id: cheatsheetBackground
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
radius: Appearance.rounding.windowRounding
|
radius: Appearance.rounding.windowRounding
|
||||||
property real padding: 30
|
property real padding: 30
|
||||||
implicitWidth: cheatsheetColumnLayout.implicitWidth + padding * 2
|
implicitWidth: cheatsheetColumnLayout.implicitWidth + padding * 2
|
||||||
|
|||||||
@@ -94,6 +94,8 @@ Scope { // Scope
|
|||||||
anchors.topMargin: Appearance.sizes.elevationMargin
|
anchors.topMargin: Appearance.sizes.elevationMargin
|
||||||
anchors.bottomMargin: Appearance.sizes.hyprlandGapsOut
|
anchors.bottomMargin: Appearance.sizes.hyprlandGapsOut
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
radius: Appearance.rounding.large
|
radius: Appearance.rounding.large
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ Item {
|
|||||||
implicitHeight: workspaceColumnLayout.implicitHeight + padding * 2
|
implicitHeight: workspaceColumnLayout.implicitHeight + padding * 2
|
||||||
radius: Appearance.rounding.screenRounding * root.scale + padding
|
radius: Appearance.rounding.screenRounding * root.scale + padding
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
|
|
||||||
ColumnLayout { // Workspaces
|
ColumnLayout { // Workspaces
|
||||||
id: workspaceColumnLayout
|
id: workspaceColumnLayout
|
||||||
|
|||||||
@@ -179,6 +179,8 @@ Item { // Wrapper
|
|||||||
implicitHeight: columnLayout.implicitHeight
|
implicitHeight: columnLayout.implicitHeight
|
||||||
radius: Appearance.rounding.large
|
radius: Appearance.rounding.large
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: columnLayout
|
id: columnLayout
|
||||||
|
|||||||
@@ -100,6 +100,8 @@ Scope { // Scope
|
|||||||
width: sidebarRoot.sidebarWidth - Appearance.sizes.hyprlandGapsOut - Appearance.sizes.elevationMargin
|
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
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
||||||
|
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
|
|||||||
@@ -89,6 +89,8 @@ Scope {
|
|||||||
implicitHeight: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
implicitHeight: parent.height - Appearance.sizes.hyprlandGapsOut * 2
|
||||||
implicitWidth: sidebarWidth - Appearance.sizes.hyprlandGapsOut * 2
|
implicitWidth: sidebarWidth - Appearance.sizes.hyprlandGapsOut * 2
|
||||||
color: Appearance.colors.colLayer0
|
color: Appearance.colors.colLayer0
|
||||||
|
border.width: 1
|
||||||
|
border.color: Appearance.m3colors.m3outlineVariant
|
||||||
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
radius: Appearance.rounding.screenRounding - Appearance.sizes.hyprlandGapsOut + 1
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|||||||
Reference in New Issue
Block a user