Complete rewrite of the Calamares QML branding with a pure Material
Design 3 (Material You) dark theme. No longer KaOS-derived — all QML
written from scratch for Antergos NeXT.
calamares-sidebar.qml:
— M3 CenterAlignedTopAppBar at 64dp height with #20252B surface
— Left: 34dp product logo + "Antergos NeXT" wordmark (17dp Medium,
0.3 letter-spacing)
— Right: step indicator dots (7dp circles, active 10dp pill #4A9EFF)
— Bottom: 3dp animated linear progress bar (400ms OutCubic easing)
— Subtle level-1 drop shadow (4dp radius, rgba(0,0,0,0.4))
calamares-navigation.qml:
— M3 Navigation Bar at 68dp height
— Buttons at 42dp height, 21dp pill radius (per M3 Label Large)
— Sentence case text ("Back", "Next", "Cancel") in Roboto Medium 14px
— Back: text button with ← arrow, on-surface hover rgba(0.89,0.89,0.90,0.06)
— Cancel: text button in error #FFB4AB, error hover rgba(1.0,0.71,0.67,0.07)
— Next: filled pill 120x42dp in primary #4A9EFF, hover #3B8BDE
— 120ms ColorAnimation on all button backgrounds
— Inline Unicode arrows (← →) instead of missing SVG icon files
show.qml:
— Full-bleed background image with 55% dark overlay + vertical
gradient (top 15% → transparent → bottom 30%)
— M3 Elevated Card: 460x380dp, 12dp corner (M3 CornerMedium),
#2B2930 fill (M3 Surface Container High), 32dp content padding
— Card shadow: 40dp blur, 56 samples, rgba(0,0,0,0.5)
— Subtle 1px border at rgba(255,255,255,0.04) for edge definition
— Title: 26dp Roboto Medium #FFFFFF
— Body: 14dp Roboto Normal #C4C6D0, 1.55 line-height
— Footer: 12dp Roboto Medium #8E9099 (M3 Outline)
— 5 slides with auto-advance every 12s
— Crossfade transition: 100ms out + 160ms in with OutQuad/InQuad
— Bottom-left: 140dp wordmark logo at 45% opacity
— Center-bottom: animated dot indicators matching sidebar style
Slider.qml:
— Crossfade between Dia slides using SequentialAnimation
— Removed Animator types (Qt6 render-thread safe)
— Clean Column layout with centered content
Dia.qml:
— Unchanged data model (title, body, footer, image)
antergos-lsb-release:
— New package replacing lsb-release with Antergos NeXT branding
— /etc/lsb-release shows DISTRIB_ID="Antergos"
— Added to packages.yaml for CI builds
120 lines
3.5 KiB
QML
120 lines
3.5 KiB
QML
import io.calamares.ui 1.0
|
|
import io.calamares.core 1.0
|
|
|
|
import QtQuick 2.15
|
|
import QtQuick.Layouts 1.15
|
|
import QtQuick.Controls 2.15
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
Rectangle {
|
|
id: bottomBar
|
|
color: "#20252B"
|
|
height: 68
|
|
width: parent ? parent.width : 1024
|
|
|
|
layer.enabled: true
|
|
layer.effect: DropShadow {
|
|
transparentBorder: true
|
|
radius: 4
|
|
samples: 8
|
|
color: Qt.rgba(0, 0, 0, 0.4)
|
|
}
|
|
|
|
RowLayout {
|
|
anchors.fill: parent
|
|
anchors.leftMargin: 12
|
|
anchors.rightMargin: 20
|
|
spacing: 8
|
|
|
|
Button {
|
|
id: backButton
|
|
text: qsTr("Back")
|
|
flat: true
|
|
enabled: ViewManager.backEnabled
|
|
implicitHeight: 42
|
|
font {
|
|
family: "Roboto"
|
|
weight: Font.Medium
|
|
pixelSize: 14
|
|
}
|
|
contentItem: Text {
|
|
text: "← " + parent.text
|
|
font: parent.font
|
|
color: parent.enabled ? "#E3E2E6" : Qt.rgba(0.89, 0.89, 0.90, 0.35)
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
leftPadding: 16
|
|
rightPadding: 16
|
|
}
|
|
background: Rectangle {
|
|
color: parent.hovered && parent.enabled
|
|
? Qt.rgba(0.89, 0.89, 0.90, 0.06)
|
|
: "transparent"
|
|
radius: 21
|
|
Behavior on color { ColorAnimation { duration: 120 } }
|
|
}
|
|
onClicked: ViewManager.back()
|
|
}
|
|
|
|
Item { Layout.fillWidth: true }
|
|
|
|
Button {
|
|
id: cancelButton
|
|
text: qsTr("Cancel")
|
|
flat: true
|
|
enabled: ViewManager.quitEnabled
|
|
implicitHeight: 42
|
|
font {
|
|
family: "Roboto"
|
|
weight: Font.Medium
|
|
pixelSize: 14
|
|
}
|
|
contentItem: Text {
|
|
text: parent.text
|
|
font: parent.font
|
|
color: parent.enabled ? "#FFB4AB" : Qt.rgba(1.0, 0.71, 0.67, 0.35)
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
leftPadding: 14
|
|
rightPadding: 14
|
|
}
|
|
background: Rectangle {
|
|
color: parent.hovered && parent.enabled
|
|
? Qt.rgba(1.0, 0.71, 0.67, 0.07)
|
|
: "transparent"
|
|
radius: 21
|
|
Behavior on color { ColorAnimation { duration: 120 } }
|
|
}
|
|
onClicked: ViewManager.quit()
|
|
}
|
|
|
|
Button {
|
|
id: nextButton
|
|
text: qsTr("Next")
|
|
enabled: ViewManager.nextEnabled
|
|
implicitWidth: 120
|
|
implicitHeight: 42
|
|
font {
|
|
family: "Roboto"
|
|
weight: Font.Medium
|
|
pixelSize: 14
|
|
}
|
|
contentItem: Text {
|
|
text: parent.text + " →"
|
|
font: parent.font
|
|
color: "#FFFFFF"
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
}
|
|
background: Rectangle {
|
|
color: parent.enabled
|
|
? (parent.hovered ? "#3B8BDE" : "#4A9EFF")
|
|
: Qt.rgba(0.29, 0.62, 1.0, 0.35)
|
|
radius: 21
|
|
Behavior on color { ColorAnimation { duration: 120 } }
|
|
}
|
|
onClicked: ViewManager.next()
|
|
}
|
|
}
|
|
}
|