This repository has been archived on 2026-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dotfiles/mutable_config/quickshell/components/Shared/Theme.qml
T

92 lines
3.2 KiB
QML

pragma Singleton
import QtQuick
QtObject {
id: theme
// Regenerated by wallpaper-theme.nu on every wallpaper change - don't
// hand-edit between these markers, it gets overwritten.
// GENERATED:COLORS:BEGIN
property QtObject colors: QtObject {
property color background: "#e611111b"
property color surface: "#cc181825"
property color surfaceHover: "#f2313244"
property color overlay: "#6011111b"
property color primary: "#cba6f7"
property color secondary: "#f5c2e7"
property color tertiary: "#89b4fa"
property color accent: "#cba6f7"
property color primaryContainer: "#24cba6f7"
property color secondaryContainer: "#24f5c2e7"
property color tertiaryContainer: "#2489b4fa"
property color alert: "#f38ba8"
property color alertContainer: "#24f38ba8"
property color success: "#a6e3a1"
property color successContainer: "#24a6e3a1"
property color warning: "#f9e2af"
property color warningContainer: "#24f9e2af"
property color info: "#74c7ec"
property color infoContainer: "#2474c7ec"
property color text: "#cdd6f4"
property color textMuted: "#a6adc8"
property color textOnAccent: "#e611111b"
property color border: "#1acba6f7"
}
// GENERATED:COLORS:END
property QtObject geometry: QtObject {
property int radiusTiny: 6
property int radiusSmall: 8
property int radiusMedium: 10
property int pillRadius: 100
property int padding: 12
property int spacing: 8
}
property QtObject animation: QtObject {
property int durationFast: 150
property int durationNormal: 250
property int durationSlow: 400
}
// Named spring presets, so call sites stop hand-rolling
// `SpringAnimation { spring: 4; damping: 0.3 }` with slightly different
// numbers each time.
property QtObject motion: QtObject {
property QtObject springSnappy: QtObject { property real spring: 4; property real damping: 0.3 }
property QtObject springSoft: QtObject { property real spring: 3; property real damping: 0.2 }
}
// Type scale. Family stays fixed - this is only about size/weight steps.
property QtObject type: QtObject {
property int caption: 11
property int body: 13
property int label: 14
property int title: 18
property int display: 24
}
property QtObject iconSize: QtObject {
property int small: 14
property int medium: 18
property int large: 24
}
// Named shadow presets for MultiEffect glows, keyed by how prominent the
// glow should read (e.g. hover vs. focus vs. an always-on active state).
property QtObject elevation: QtObject {
property QtObject low: QtObject { property real blur: 0.4; property real opacity: 0.35 }
property QtObject medium: QtObject { property real blur: 0.6; property real opacity: 0.5 }
property QtObject high: QtObject { property real blur: 0.8; property real opacity: 0.65 }
}
property QtObject font: QtObject {
property string family: "JetBrainsMono Nerd Font"
}
}