pragma Singleton

import QtCore
import QtQuick

Item {
    readonly property font body: ({
            family: robotoCondensed.font,
            pointSize: 16,
            weight: Font.Medium,
            letterSpacing: 0,
            kerning: true
        })

    readonly property font small: ({
            family: body.family,
            pointSize: 14,
            weight: Font.Medium,
            letterSpacing: body.letterSpacing,
            kerning: body.kerning
    })


    readonly property font smallBold: ({
            family: small.family,
            pointSize: small.pointSize,
            weight: Font.Bold,
            letterSpacing: small.letterSpacing,
            kerning: small.kerning
    })

    readonly property font smaller: ({
            family: body.family,
            pointSize: 11,
            weight: Font.DemiBold,
            letterSpacing: body.letterSpacing,
            kerning: body.kerning
        })
    readonly property font h1: ({
            family: body.family,
            pointSize: 38,
            weight: body.weight,
            letterSpacing: body.letterSpacing,
            kerning: body.kerning
        })
    readonly property font h2: ({
        family: body.family,
        pointSize: 28,
        weight: body.weight,
        letterSpacing: body.letterSpacing,
        kerning: body.kerning,
    })
    readonly property FontLoader robotoCondensed: FontLoader {
        source: "qrc:/fonts/RobotoCondensed.otf"
    }
}
