92 lines
3.2 KiB
QML
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: "#74c7ec"
|
|
property color secondary: "#cba6f7"
|
|
property color tertiary: "#a6e3a1"
|
|
property color accent: "#74c7ec"
|
|
|
|
property color primaryContainer: "#2474c7ec"
|
|
property color secondaryContainer: "#24cba6f7"
|
|
property color tertiaryContainer: "#24a6e3a1"
|
|
|
|
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: "#1a74c7ec"
|
|
}
|
|
// 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"
|
|
}
|
|
}
|