Font family

You can change the font family used in the application by setting the fontFamily parameter

Implementation



Available parameters

Parameter LibParameter WebDescription
theme.primaryColorprimaryColorUsed to change the primary color of the content. Color in hexadecimal representation, but using URL Encoding.
Color value : #003865
URL query string value: “%23003865”
theme.secondaryColorsecondaryColorUsed to change the secondary color of the content. Color in hexadecimal representation, but using URL Encoding.
Color value : #EF5B0C
URL query string value: “%23EF5B0C”
backgroundColorbackgroundColorUsed to change the background color of the main content. Color in hexadecimal representation, but using URL Encoding. Default : #F0F2F5
Color value : #EF5B0C
URL query string value: “%23EF5B0C”

Code

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        theme: {
            fontFamily: 'monospace',
        },
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&fontFamily=monospace

Demo


🤓

NOTE: Please do not modify the Demo, this is a visual aid.