diff --git a/scripts/gen_logo.py b/scripts/gen_logo.py index 41c91d9..b9d5874 100644 --- a/scripts/gen_logo.py +++ b/scripts/gen_logo.py @@ -70,6 +70,23 @@ def svg(w, h, body, title): ) +def bimi(): + """The mark for BIMI (the sender's picture in mail apps): SVG Tiny PS as + the BIMI profile asks, a square solid ground (the apps crop it round), + the drawing a little smaller so its tips stay clear of the circle, a + title and a description, no rounded tile, at least 96 px.""" + return ( + '' + "Lanna Desk" + "The mark of Lanna Desk, Chiang Mai: a Lanna gable over a desk." + f'' + '' + + mark(ground=None) + + "\n" + ) + + def lockup(name_fill, tag_fill, roof, desk, ground): """The mark, then "Lanna Desk" and the line under it.""" bold = FONTS / "Sarabun-Bold.ttf" @@ -94,6 +111,8 @@ def main(): "lannadesk-logo.svg": lockup(NAVY, GOLD_ON_LIGHT, GOLD, WHITE, NAVY), # on navy or dark: no tile, white name, gold line "lannadesk-logo-dark.svg": lockup(WHITE, GOLD, GOLD, WHITE, None), + # the sender's picture in mail apps (BIMI), served by lannadesk.com + "lannadesk-bimi.svg": bimi(), # one colour, for stamps, fax and engraving "lannadesk-logo-mono.svg": lockup(NAVY, NAVY, NAVY, NAVY, None), } diff --git a/static/brand/lannadesk-bimi.svg b/static/brand/lannadesk-bimi.svg new file mode 100644 index 0000000..6092956 --- /dev/null +++ b/static/brand/lannadesk-bimi.svg @@ -0,0 +1 @@ +Lanna DeskThe mark of Lanna Desk, Chiang Mai: a Lanna gable over a desk.