mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix weird bold font in some places
This commit is contained in:
parent
9cbbaff170
commit
96282c4390
5 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue