mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-07 11:09:26 -05:00
ac6d3adeb9
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
35 lines
882 B
QML
35 lines
882 B
QML
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
RippleButton {
|
|
id: button
|
|
property string day
|
|
property int isToday
|
|
property bool bold
|
|
|
|
Layout.fillWidth: false
|
|
Layout.fillHeight: false
|
|
implicitWidth: 38;
|
|
implicitHeight: 38;
|
|
|
|
toggled: (isToday == 1)
|
|
buttonRadius: Appearance.rounding.small
|
|
|
|
contentItem: StyledText {
|
|
anchors.fill: parent
|
|
text: day
|
|
horizontalAlignment: Text.AlignHCenter
|
|
font.weight: bold ? Font.DemiBold : Font.Normal
|
|
color: (isToday == 1) ? Appearance.m3colors.m3onPrimary :
|
|
(isToday == 0) ? Appearance.colors.colOnLayer1 :
|
|
Appearance.colors.colOutlineVariant
|
|
|
|
Behavior on color {
|
|
animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)
|
|
}
|
|
}
|
|
}
|
|
|