Tweak dark mode and font size to appear closer to Adwaita-dark in GNOME
The colors are now closer to the Adwaita-dark mode which I'm using as my primary theme. The header has been redesigned slightly to appear more consistent with other default apps too.
This commit is contained in:
parent
cb649951ae
commit
ea85197874
4 changed files with 27 additions and 24 deletions
|
@ -33,7 +33,7 @@ Item {
|
|||
}
|
||||
|
||||
id: item
|
||||
height: d.height + t.height + e.height + 20
|
||||
height: d.height + t.height + e.height + 2
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
|
@ -81,7 +81,7 @@ Item {
|
|||
Label {
|
||||
id: t
|
||||
text: title
|
||||
color: nightmode ? (read ? "#555" : "#aaa") : (read ? "gray" : "black")
|
||||
color: nightmode ? (read ? "#888" : "#ddd") : (read ? "gray" : "black")
|
||||
font.pointSize: textFontSize
|
||||
textFormat: Text.PlainText
|
||||
wrapMode: Text.WrapAnywhere
|
||||
|
|
|
@ -55,6 +55,14 @@ ScrollView {
|
|||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
width: 1
|
||||
color: app.nightmode ? "#111" : "lightgray"
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
ListView {
|
||||
id: listView
|
||||
|
||||
|
@ -74,12 +82,12 @@ ScrollView {
|
|||
highlightFollowsCurrentItem: false
|
||||
highlight: Component {
|
||||
Rectangle {
|
||||
width: listView.currentItem.width
|
||||
width: listView.currentItem.width -1
|
||||
height: listView.currentItem.height
|
||||
color: nightmode ? "#444" : "lightblue"
|
||||
opacity: 0.5
|
||||
color: nightmode ? "#15539e" : "lightblue"
|
||||
y: listView.currentItem.y
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
onCurrentItemChanged: {
|
||||
|
|
|
@ -29,7 +29,7 @@ ApplicationWindow {
|
|||
id: app
|
||||
title: "FeedTheMonkey"
|
||||
visible: true
|
||||
color: nightmode ? "#111" : "#eee"
|
||||
color: nightmode ? "#2d2d2d" : "#eee"
|
||||
|
||||
minimumWidth: 480
|
||||
minimumHeight: 320
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue