RosePine: improve dark theme
This commit is contained in:
parent
004d92a85d
commit
77f8b3937c
3 changed files with 8 additions and 8 deletions
|
|
@ -4,8 +4,8 @@
|
||||||
"mOnPrimary": "#191724",
|
"mOnPrimary": "#191724",
|
||||||
"mSecondary": "#9ccfd8",
|
"mSecondary": "#9ccfd8",
|
||||||
"mOnSecondary": "#191724",
|
"mOnSecondary": "#191724",
|
||||||
"mTertiary": "#f6c177",
|
"mTertiary": "#524f67",
|
||||||
"mOnTertiary": "#191724",
|
"mOnTertiary": "#e0def4",
|
||||||
"mError": "#eb6f92",
|
"mError": "#eb6f92",
|
||||||
"mOnError": "#191724",
|
"mOnError": "#191724",
|
||||||
"mSurface": "#191724",
|
"mSurface": "#191724",
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ NIconButton {
|
||||||
property real scaling: 1.0
|
property real scaling: 1.0
|
||||||
|
|
||||||
sizeRatio: 0.8
|
sizeRatio: 0.8
|
||||||
colorBg: Settings.data.nightLight.enabled ? (Settings.data.nightLight.forced ? Color.mTertiary : Color.mPrimary) : Color.mSurfaceVariant
|
colorBg: Settings.data.nightLight.forced ? Color.mPrimary : Color.mSurfaceVariant
|
||||||
colorFg: Settings.data.nightLight.enabled ? Color.mOnPrimary : Color.mOnSurface
|
colorFg: Settings.data.nightLight.forced ? Color.mOnPrimary : Color.mOnSurface
|
||||||
colorBorder: Color.transparent
|
colorBorder: Color.transparent
|
||||||
colorBorderHover: Color.transparent
|
colorBorderHover: Color.transparent
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ NPanel {
|
||||||
width: notificationList.width
|
width: notificationList.width
|
||||||
height: notificationLayout.implicitHeight + (Style.marginM * scaling * 2)
|
height: notificationLayout.implicitHeight + (Style.marginM * scaling * 2)
|
||||||
radius: Style.radiusM * scaling
|
radius: Style.radiusM * scaling
|
||||||
color: notificationMouseArea.containsMouse ? Color.mSecondary : Color.mSurfaceVariant
|
color: notificationMouseArea.containsMouse ? Color.mTertiary : Color.mSurfaceVariant
|
||||||
border.color: Qt.alpha(Color.mOutline, Style.opacityMedium)
|
border.color: Qt.alpha(Color.mOutline, Style.opacityMedium)
|
||||||
border.width: Math.max(1, Style.borderS * scaling)
|
border.width: Math.max(1, Style.borderS * scaling)
|
||||||
|
|
||||||
|
|
@ -168,7 +168,7 @@ NPanel {
|
||||||
text: (summary || "No summary").substring(0, 100)
|
text: (summary || "No summary").substring(0, 100)
|
||||||
font.pointSize: Style.fontSizeM * scaling
|
font.pointSize: Style.fontSizeM * scaling
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: notificationMouseArea.containsMouse ? Color.mSurface : Color.mPrimary
|
color: notificationMouseArea.containsMouse ? Color.mOnTertiary : Color.mPrimary
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
maximumLineCount: 2
|
maximumLineCount: 2
|
||||||
|
|
@ -178,7 +178,7 @@ NPanel {
|
||||||
NText {
|
NText {
|
||||||
text: (body || "").substring(0, 150)
|
text: (body || "").substring(0, 150)
|
||||||
font.pointSize: Style.fontSizeXS * scaling
|
font.pointSize: Style.fontSizeXS * scaling
|
||||||
color: notificationMouseArea.containsMouse ? Color.mSurface : Color.mOnSurface
|
color: notificationMouseArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
maximumLineCount: 3
|
maximumLineCount: 3
|
||||||
|
|
@ -189,7 +189,7 @@ NPanel {
|
||||||
NText {
|
NText {
|
||||||
text: NotificationService.formatTimestamp(timestamp)
|
text: NotificationService.formatTimestamp(timestamp)
|
||||||
font.pointSize: Style.fontSizeXS * scaling
|
font.pointSize: Style.fontSizeXS * scaling
|
||||||
color: notificationMouseArea.containsMouse ? Color.mSurface : Color.mOnSurface
|
color: notificationMouseArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue