forked from Shinonome/dots-hyprland
fix weird bold font in some places
This commit is contained in:
@@ -487,7 +487,6 @@ int main(int argc, char* argv[]) {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: providerName
|
id: providerName
|
||||||
font.pixelSize: Appearance.font.pixelSize.small
|
font.pixelSize: Appearance.font.pixelSize.small
|
||||||
font.weight: Font.DemiBold
|
|
||||||
color: Appearance.m3colors.m3onSurface
|
color: Appearance.m3colors.m3onSurface
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: Ai.getModel().name
|
text: Ai.getModel().name
|
||||||
|
|||||||
@@ -547,7 +547,6 @@ Item {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: providerName
|
id: providerName
|
||||||
font.pixelSize: Appearance.font.pixelSize.small
|
font.pixelSize: Appearance.font.pixelSize.small
|
||||||
font.weight: Font.DemiBold
|
|
||||||
color: Appearance.m3colors.m3onSurface
|
color: Appearance.m3colors.m3onSurface
|
||||||
text: Booru.providers[Booru.currentProvider].name
|
text: Booru.providers[Booru.currentProvider].name
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,7 +146,6 @@ Rectangle {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.pixelSize: Appearance.font.pixelSize.normal
|
font.pixelSize: Appearance.font.pixelSize.normal
|
||||||
font.weight: Font.DemiBold
|
|
||||||
color: Appearance.m3colors.m3onSecondaryContainer
|
color: Appearance.m3colors.m3onSecondaryContainer
|
||||||
text: messageData?.role == 'assistant' ? Ai.models[messageData?.model].name :
|
text: messageData?.role == 'assistant' ? Ai.models[messageData?.model].name :
|
||||||
(messageData?.role == 'user' && SystemInfo.username) ? SystemInfo.username :
|
(messageData?.role == 'user' && SystemInfo.username) ? SystemInfo.username :
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ Rectangle {
|
|||||||
id: providerName
|
id: providerName
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
font.pixelSize: Appearance.font.pixelSize.large
|
font.pixelSize: Appearance.font.pixelSize.large
|
||||||
font.weight: Font.DemiBold
|
|
||||||
color: Appearance.m3colors.m3onSecondaryContainer
|
color: Appearance.m3colors.m3onSecondaryContainer
|
||||||
text: Booru.providers[root.responseData.provider].name
|
text: Booru.providers[root.responseData.provider].name
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ RippleButton {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
text: day
|
text: day
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font.weight: bold ? Font.Bold : isToday == -1 ? Font.Normal : Font.DemiBold
|
font.weight: bold ? Font.DemiBold : Font.Normal
|
||||||
color: (isToday == 1) ? Appearance.m3colors.m3onPrimary :
|
color: (isToday == 1) ? Appearance.m3colors.m3onPrimary :
|
||||||
(isToday == 0) ? Appearance.colors.colOnLayer1 :
|
(isToday == 0) ? Appearance.colors.colOnLayer1 :
|
||||||
Appearance.m3colors.m3outlineVariant
|
Appearance.m3colors.m3outlineVariant
|
||||||
|
|||||||
Reference in New Issue
Block a user