forked from Shinonome/dots-hyprland
cheatsheet: periodic table: adjust colors
This commit is contained in:
@@ -22,7 +22,7 @@ RippleButton {
|
||||
topMargin: 4
|
||||
leftMargin: 4
|
||||
}
|
||||
color: Appearance.colors.colSecondaryContainer
|
||||
color: Appearance.colors.colLayer2
|
||||
radius: Appearance.rounding.full
|
||||
implicitWidth: Math.max(20, elementNumber.implicitWidth)
|
||||
implicitHeight: Math.max(20, elementNumber.implicitHeight)
|
||||
@@ -31,16 +31,16 @@ RippleButton {
|
||||
StyledText {
|
||||
id: elementNumber
|
||||
anchors.centerIn: parent
|
||||
color: Appearance.colors.colOnSecondaryContainer
|
||||
color: Appearance.colors.colOnLayer2
|
||||
text: root.element.number
|
||||
font.pixelSize: Appearance.font.pixelSize.smaller
|
||||
font.pixelSize: Appearance.font.pixelSize.smallest
|
||||
}
|
||||
}
|
||||
|
||||
StyledText {
|
||||
id: elementSymbol
|
||||
anchors.centerIn: parent
|
||||
color: Appearance.colors.colOnLayer2
|
||||
color: Appearance.colors.colSecondary
|
||||
font.pixelSize: Appearance.font.pixelSize.huge
|
||||
text: root.element.symbol
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user