Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8TNMgnEa7Kia5Wcz2kyDx
27 lines
653 B
QML
27 lines
653 B
QML
import QtQuick
|
|
import QtQuick.Effects
|
|
import "."
|
|
|
|
// Base panel/card chrome shared by menus, pickers, and dialogs: rounded
|
|
// background, border, optional colored glow.
|
|
Rectangle {
|
|
id: surface
|
|
|
|
property color tint: Theme.colors.border
|
|
property bool glow: false
|
|
|
|
radius: Theme.geometry.radiusMedium
|
|
color: Theme.colors.background
|
|
border.color: tint
|
|
border.width: 1
|
|
|
|
layer.enabled: glow
|
|
layer.effect: MultiEffect {
|
|
shadowEnabled: true
|
|
shadowColor: surface.tint
|
|
shadowOpacity: Theme.elevation.medium.opacity
|
|
shadowBlur: Theme.elevation.medium.blur
|
|
shadowVerticalOffset: 2
|
|
}
|
|
}
|