Borders should never used mSurfaceS colors
This commit is contained in:
parent
9bbb3ac3bb
commit
7e7b7b0192
4 changed files with 6 additions and 6 deletions
|
|
@ -87,7 +87,7 @@ NLoader {
|
||||||
id: wifiMenuRect
|
id: wifiMenuRect
|
||||||
color: Colors.mSurface
|
color: Colors.mSurface
|
||||||
radius: Style.radiusMedium * scaling
|
radius: Style.radiusMedium * scaling
|
||||||
border.color: Colors.mSurfaceVariant
|
border.color: Colors.mOutline
|
||||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||||
width: 340 * scaling
|
width: 340 * scaling
|
||||||
height: 320 * scaling
|
height: 320 * scaling
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ NLoader {
|
||||||
id: calendarRect
|
id: calendarRect
|
||||||
color: Colors.mSurface
|
color: Colors.mSurface
|
||||||
radius: Style.radiusMedium * scaling
|
radius: Style.radiusMedium * scaling
|
||||||
border.color: Colors.mSurfaceVariant
|
border.color: Colors.mOutline
|
||||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||||
width: 340 * scaling
|
width: 340 * scaling
|
||||||
height: 320 * scaling // Reduced height to eliminate bottom space
|
height: 320 * scaling // Reduced height to eliminate bottom space
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,9 @@ NLoader {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: notificationRect
|
id: notificationRect
|
||||||
color: Colors.mSurface
|
color: Colors.mSurfaceVariant
|
||||||
radius: Style.radiusMedium * scaling
|
radius: Style.radiusMedium * scaling
|
||||||
border.color: Colors.mSurfaceVariant
|
border.color: Colors.mOutlineVariant
|
||||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||||
width: 400 * scaling
|
width: 400 * scaling
|
||||||
height: 500 * scaling
|
height: 500 * scaling
|
||||||
|
|
@ -159,7 +159,7 @@ NLoader {
|
||||||
width: notificationList ? (notificationList.width - 20) : 380 * scaling
|
width: notificationList ? (notificationList.width - 20) : 380 * scaling
|
||||||
height: Math.max(80, notificationContent.height + 30)
|
height: Math.max(80, notificationContent.height + 30)
|
||||||
radius: Style.radiusMedium * scaling
|
radius: Style.radiusMedium * scaling
|
||||||
color: notificationMouseArea.containsMouse ? Colors.mPrimary : "transparent"
|
color: notificationMouseArea.containsMouse ? Colors.mPrimary : Colors.mSurface
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors {
|
anchors {
|
||||||
|
|
|
||||||
|
|
@ -265,7 +265,7 @@ NBox {
|
||||||
height: 16 * scaling
|
height: 16 * scaling
|
||||||
radius: width * 0.5
|
radius: width * 0.5
|
||||||
color: Colors.mPrimary
|
color: Colors.mPrimary
|
||||||
border.color: Colors.mSurface
|
border.color: Colors.mOutline
|
||||||
border.width: Math.max(1 * Style.borderMedium * scaling)
|
border.width: Math.max(1 * Style.borderMedium * scaling)
|
||||||
x: Math.max(0, Math.min(parent.width - width, progressFill.width - width / 2))
|
x: Math.max(0, Math.min(parent.width - width, progressFill.width - width / 2))
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue