Let the sidebar breathe: fourteen categories deserve legible names
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -225,7 +225,7 @@ Rectangle {
|
|||||||
// System stays highlighted while you sit on Storage.
|
// System stays highlighted while you sit on Storage.
|
||||||
readonly property bool active: SettingsRoutes.categoryOf(root.selectedPage).page === modelData.page
|
readonly property bool active: SettingsRoutes.categoryOf(root.selectedPage).page === modelData.page
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 40
|
height: 46
|
||||||
radius: 10
|
radius: 10
|
||||||
color: navItem.active
|
color: navItem.active
|
||||||
? Theme.alpha(Theme.accent, 0.17)
|
? Theme.alpha(Theme.accent, 0.17)
|
||||||
@@ -235,7 +235,7 @@ Rectangle {
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 2
|
width: 2
|
||||||
height: 18
|
height: 22
|
||||||
radius: 1
|
radius: 1
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
@@ -250,23 +250,23 @@ Rectangle {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 13
|
anchors.leftMargin: 13
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: 25
|
width: 30
|
||||||
text: navItem.modelData.icon
|
text: navItem.modelData.icon
|
||||||
color: navItem.active ? Theme.accent : Theme.fgDim
|
color: navItem.active ? Theme.accent : Theme.fgDim
|
||||||
font.family: Theme.fontMono
|
font.family: Theme.fontMono
|
||||||
font.pixelSize: 15
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 47
|
anchors.leftMargin: 52
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 9
|
anchors.rightMargin: 9
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: navItem.modelData.label
|
text: navItem.modelData.label
|
||||||
color: navItem.active ? Theme.fg : Theme.fgDim
|
color: navItem.active ? Theme.fg : Theme.fgDim
|
||||||
font.family: Theme.fontFamily
|
font.family: Theme.fontFamily
|
||||||
font.pixelSize: Theme.fontSize
|
font.pixelSize: 15
|
||||||
font.weight: navItem.active ? Font.Medium : Font.Normal
|
font.weight: navItem.active ? Font.Medium : Font.Normal
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user