import QtQuick 2.12
import QtQuick.Controls 2.12 as Controls

import Palette 1.0

Controls.Label {
    id: control

    font.family: "Roboto"
    font.pixelSize: 14
    font.weight: Font.Normal
    color: Palette.labelTextColor

    leftPadding: 12
    rightPadding: 12
    topPadding: 8
    bottomPadding: 8

    property color backgroundColor: Palette.backgroundColor
    property int backgroundRadius: 15

    background: Rectangle {
        color: control.backgroundColor
        radius: control.backgroundRadius
    }
}
