Icons: 99% done
This commit is contained in:
parent
1f8c55d581
commit
bacd65b274
19 changed files with 51 additions and 90 deletions
|
|
@ -31,7 +31,7 @@ NBox {
|
|||
}
|
||||
|
||||
NIcon {
|
||||
text: "album"
|
||||
icon: "disc"
|
||||
font.pointSize: Style.fontSizeXXXL * 2.5 * scaling
|
||||
color: Color.mPrimary
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
@ -162,14 +162,14 @@ NBox {
|
|||
anchors.fill: parent
|
||||
anchors.margins: Style.marginXS * scaling
|
||||
imagePath: MediaService.trackArtUrl
|
||||
fallbackIcon: "album"
|
||||
fallbackIcon: "disc"
|
||||
borderColor: Color.mOutline
|
||||
borderWidth: Math.max(1, Style.borderS * scaling)
|
||||
}
|
||||
|
||||
// Fallback icon when no album art available
|
||||
NIcon {
|
||||
icon: "album"
|
||||
icon: "disc"
|
||||
color: Color.mPrimary
|
||||
font.pointSize: Style.fontSizeL * 12 * scaling
|
||||
visible: !trackArt.visible
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ NBox {
|
|||
|
||||
// Idle Inhibitor
|
||||
NIconButton {
|
||||
icon: "cup-hot"
|
||||
icon: "cup"
|
||||
tooltipText: IdleInhibitorService.isInhibited ? "Disable keep awake." : "Enable keep awake."
|
||||
colorBg: IdleInhibitorService.isInhibited ? Color.mPrimary : Color.mSurfaceVariant
|
||||
colorFg: IdleInhibitorService.isInhibited ? Color.mOnPrimary : Color.mPrimary
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ NBox {
|
|||
RowLayout {
|
||||
spacing: Style.marginS * scaling
|
||||
NIcon {
|
||||
text: weatherReady ? LocationService.weatherSymbolFromCode(
|
||||
icon: weatherReady ? LocationService.weatherSymbolFromCode(
|
||||
LocationService.data.weather.current_weather.weathercode) : ""
|
||||
font.pointSize: Style.fontSizeXXXL * 1.75 * scaling
|
||||
color: Color.mPrimary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue