forked from Shinonome/dots-hyprland
adjust quote style
This commit is contained in:
@@ -3,7 +3,6 @@ import qs.services
|
|||||||
import qs.modules.common
|
import qs.modules.common
|
||||||
import qs.modules.common.widgets
|
import qs.modules.common.widgets
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
|
||||||
import Qt5Compat.GraphicalEffects
|
import Qt5Compat.GraphicalEffects
|
||||||
|
|
||||||
|
|
||||||
@@ -36,25 +35,25 @@ Item {
|
|||||||
implicitHeight: quoteStyledText.height + 8
|
implicitHeight: quoteStyledText.height + 8
|
||||||
radius: Appearance.rounding.small
|
radius: Appearance.rounding.small
|
||||||
color: Appearance.colors.colSecondaryContainer
|
color: Appearance.colors.colSecondaryContainer
|
||||||
RowLayout {
|
|
||||||
|
Row {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: 4
|
spacing: 4
|
||||||
MaterialSymbol {
|
MaterialSymbol {
|
||||||
id: quoteIcon
|
id: quoteIcon
|
||||||
|
anchors.top: parent.top
|
||||||
iconSize: Appearance.font.pixelSize.huge
|
iconSize: Appearance.font.pixelSize.huge
|
||||||
text: "comic_bubble"
|
text: "format_quote"
|
||||||
color: Appearance.colors.colOnSecondaryContainer
|
color: Appearance.colors.colOnSecondaryContainer
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: quoteStyledText
|
id: quoteStyledText
|
||||||
Layout.fillWidth: true
|
horizontalAlignment: Text.AlignLeft
|
||||||
horizontalAlignment: Text.AlignHCenter
|
|
||||||
text: Config.options.background.quote
|
text: Config.options.background.quote
|
||||||
font {
|
font {
|
||||||
family: Appearance.font.family.main
|
family: Appearance.font.family.reading
|
||||||
pixelSize: Appearance.font.pixelSize.large
|
pixelSize: Appearance.font.pixelSize.large
|
||||||
weight: Font.Normal
|
weight: Font.Normal
|
||||||
italic: true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user