Logo: the mark for BIMI (lannadesk-bimi.svg)
SVG Tiny PS as the BIMI profile asks: a square navy ground (mail apps crop it round), the drawing at 84 percent so its tips stay clear of the circle, title and description, 96 px. lannadesk.com serves it at /brand/lannadesk-bimi.svg for the record default._bimi.lannadesk.com.
This commit is contained in:
1 parent
72a4faf71a
commit
35fc888498
2 files changed
+20
No files matched your search
@@ -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 (
|
||||
'<svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" '
|
||||
'viewBox="0 0 64 64" width="96" height="96">'
|
||||
"<title>Lanna Desk</title>"
|
||||
"<desc>The mark of Lanna Desk, Chiang Mai: a Lanna gable over a desk.</desc>"
|
||||
f'<rect width="64" height="64" fill="{NAVY}"/>'
|
||||
'<g transform="translate(32 33) scale(0.84) translate(-32 -32)">'
|
||||
+ mark(ground=None)
|
||||
+ "</g></svg>\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),
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="96" height="96"><title>Lanna Desk</title><desc>The mark of Lanna Desk, Chiang Mai: a Lanna gable over a desk.</desc><rect width="64" height="64" fill="#071323"/><g transform="translate(32 33) scale(0.84) translate(-32 -32)"><g fill="none" stroke="#f5c000" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 39 L32 20 C35 17.7 37 15.2 38.6 11.4 C39.1 10.2 40.2 9.6 41.6 9.8"/><path d="M56.5 39 L32 20 C29 17.7 27 15.2 25.4 11.4 C24.9 10.2 23.8 9.6 22.4 9.8"/></g><g fill="none" stroke="#ffffff" stroke-width="4.6" stroke-linecap="round"><path d="M17 47 H47"/><path d="M22.5 47 V54.5 M41.5 47 V54.5"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 746 B |
Reference in new issue
Block a user