Skip to content

Commit

Permalink
Better icons for night theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfett committed Jan 11, 2012
1 parent 5e4d1ff commit 17f8838
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions files/advancedcaching/qml/MapPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ Page {
anchors.rightMargin: 16
spacing: 16
Button {
iconSource: "image://theme/icon-m-common-add"
iconSource: theme.inverted ? "image://theme/icon-m-input-add" : "image://theme/icon-m-common-add"
onClicked: {pinchmap.zoomIn() }
width: parent.parent.buttonSize
height: parent.parent.buttonSize
}
Button {
iconSource: "image://theme/icon-m-common-remove"
iconSource: theme.inverted ? "image://theme/icon-m-input-remove" : "image://theme/icon-m-common-remove"
onClicked: {pinchmap.zoomOut() }
width: parent.parent.buttonSize
height: parent.parent.buttonSize
Expand All @@ -155,7 +155,7 @@ Page {
spacing: 16
Button {
id: followPositionButton
iconSource: "image://theme/icon-m-common-location"
iconSource: "image://theme/icon-m-common-location" + (theme.inverted ? "-inverse" : "")
width: parent.parent.buttonSize
height: parent.parent.buttonSize
checkable: true
Expand All @@ -168,7 +168,7 @@ Page {
}
Button {
id: refreshGeocachesButton
iconSource: "image://theme/icon-m-toolbar-refresh"
iconSource: theme.inverted? "image://theme/icon-m-common-refresh" : "image://theme/icon-m-toolbar-refresh"
width: parent.parent.buttonSize
height: parent.parent.buttonSize
onClicked: {
Expand Down
4 changes: 2 additions & 2 deletions files/advancedcaching/qml/UpDownSelect.qml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Column {
property int max: 9
property int value: 0
Button {
iconSource: "image://theme/icon-s-common-add"
iconSource: theme.inverted ? "image://theme/icon-m-input-add" : "image://theme/icon-m-common-add"
width: UI.WIDTH_SELECTOR
onClicked: { value = (value + 1) % (max + 1) }
}
Expand All @@ -18,7 +18,7 @@ Column {
color: "white"
}
Button {
iconSource: "image://theme/icon-s-common-remove"
iconSource: theme.inverted ? "image://theme/icon-m-input-remove" : "image://theme/icon-m-common-remove"
width: UI.WIDTH_SELECTOR
onClicked: { value = (value > 0) ? (value - 1) : max }
}
Expand Down

0 comments on commit 17f8838

Please sign in to comment.