import QtQuick
import QtQuick.Controls
import ISC

// Single seam for tooltip chrome — every hover tip in the app instantiates
// this instead of styling QtQuick.Controls ToolTip.background/contentItem
// inline at each call site.
ToolTip {
    id: root
    delay: 400
    font.pixelSize: Theme.fontXs
    font.family: Theme.uiFontFamily

    contentItem: Text {
        text: root.text
        color: Theme.headingColor
        font: root.font
    }
    background: Rectangle {
        color: Theme.cardBackground
        border.color: Theme.sideBorder
        border.width: 1
        radius: Theme.radiusXs
    }
}
