mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
Borders should never used mSurfaceS colors
This commit is contained in:
@@ -87,7 +87,7 @@ NLoader {
|
||||
id: wifiMenuRect
|
||||
color: Colors.mSurface
|
||||
radius: Style.radiusMedium * scaling
|
||||
border.color: Colors.mSurfaceVariant
|
||||
border.color: Colors.mOutline
|
||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||
width: 340 * scaling
|
||||
height: 320 * scaling
|
||||
|
||||
@@ -63,7 +63,7 @@ NLoader {
|
||||
id: calendarRect
|
||||
color: Colors.mSurface
|
||||
radius: Style.radiusMedium * scaling
|
||||
border.color: Colors.mSurfaceVariant
|
||||
border.color: Colors.mOutline
|
||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||
width: 340 * scaling
|
||||
height: 320 * scaling // Reduced height to eliminate bottom space
|
||||
|
||||
@@ -65,9 +65,9 @@ NLoader {
|
||||
|
||||
Rectangle {
|
||||
id: notificationRect
|
||||
color: Colors.mSurface
|
||||
color: Colors.mSurfaceVariant
|
||||
radius: Style.radiusMedium * scaling
|
||||
border.color: Colors.mSurfaceVariant
|
||||
border.color: Colors.mOutlineVariant
|
||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||
width: 400 * scaling
|
||||
height: 500 * scaling
|
||||
@@ -159,7 +159,7 @@ NLoader {
|
||||
width: notificationList ? (notificationList.width - 20) : 380 * scaling
|
||||
height: Math.max(80, notificationContent.height + 30)
|
||||
radius: Style.radiusMedium * scaling
|
||||
color: notificationMouseArea.containsMouse ? Colors.mPrimary : "transparent"
|
||||
color: notificationMouseArea.containsMouse ? Colors.mPrimary : Colors.mSurface
|
||||
|
||||
RowLayout {
|
||||
anchors {
|
||||
|
||||
@@ -265,7 +265,7 @@ NBox {
|
||||
height: 16 * scaling
|
||||
radius: width * 0.5
|
||||
color: Colors.mPrimary
|
||||
border.color: Colors.mSurface
|
||||
border.color: Colors.mOutline
|
||||
border.width: Math.max(1 * Style.borderMedium * scaling)
|
||||
x: Math.max(0, Math.min(parent.width - width, progressFill.width - width / 2))
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Reference in New Issue
Block a user