KiteDesktopLogoScope

Desktop's logo details, inside kiteConfig { desktop { logo { ... } } }.

Everything in KiteLogoScope applies here too, plus the macOS shape.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val background: Property<LogoBackground>

What sits behind foreground: color("#102A43") or image(file("bg.png")).

Link copied to clipboard
abstract val enabled: Property<Boolean>

Deliver the icon to this platform. Default: on once foreground is set.

Link copied to clipboard
abstract val foreground: RegularFileProperty

PNG holding the artwork that sits on top: your mark, your glyph.

Link copied to clipboard
abstract val foregroundScale: Property<Double>

How much of the icon canvas the foreground may fill, as a ratio in 0 < s <= 1.

Link copied to clipboard
abstract val roundMac: Property<Boolean>

Round the generated macOS icon. Default: true, the macOS style.

Functions

Link copied to clipboard

A solid plate behind the mark.

Link copied to clipboard

A PNG behind the mark.

fun image(file: RegularFile): LogoBackground

A PNG behind the mark, from a Gradle file provider.