Skip to content
light-curvePublic

About

Logo and brand assets for the light-curve project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light-curve branding

Logo and brand assets for the light-curve project.

The mascot is a dog named Licu, after the conventional import alias (import light_curve as licu).

Designed by Anastasiia Voloshina (https://github.com/mayamolodec).

Assets

Most assets come in a light-bg and a dark-bg variant, differing only in the purple — lightened on dark so the tail stays visible. Pick by background.

mark/ — Licu, no lettering

File Shape viewBox
mark-for-{light,dark}-bg.svg curled up, square 0 0 500 500
mark-wide-for-{light,dark}-bg.svg stretched out, ~2.2:1 165.1 86.2 675.7 305.6
mark-adaptive.svg square, switches itself 0 0 500 500

Use a mark where the project name is already present as text, and wordmark/ where the name has to come from the artwork.

mark-adaptive.svg picks its purple with an internal prefers-color-scheme block, which follows the reader's OS rather than the page. Use it only where nothing on the page can style the SVG — a favicon. Elsewhere use the explicit pair.

Both shapes are also committed as PNG beside the SVG, for slides and anything else that handles SVG badly: mark-for-light-bg.png and so on, 2048 px on the long side, transparent background. Scale them down where you paste them; don't scale them up.

wordmark/ — Licu + light-curve

0 0 1000 600, lettering outlined so no font is needed.

lockup-pip-install/ — promo lockup

pip install light-curve in Cascadia Mono, beside either mark. Same two shapes as mark/:

File Shape viewBox
mark-for-{light,dark}-bg.svg curled up, square 0 0 800 300
mark-wide-for-{light,dark}-bg.svg stretched out, ~2.2:1 0 0 1040 300

The lettering is live <text>, not outlined, which is what makes the wording easy to change — but it also means Cascadia Mono has to be available wherever the file is used, or it falls back to a default sans.

Warning

Never reference these through <img> or background-image. An SVG loaded that way is an isolated document that cannot see the page's @font-face, so the lettering falls back even when the page itself loads Cascadia Mono. Inline the SVG, embed the font in it, or outline the text.

sources/ — Adobe Illustrator originals

Editable .ai files. Not for direct use.

scripts/ — asset generation

Output is committed; re-run only after editing the artwork it derives from. All need uv.

./scripts/make-adaptive-mark.py   # mark-adaptive.svg, from the square marks
./scripts/make-wide-mark.py       # mark-wide-*.svg, from the wordmarks
./scripts/make-pngs.py            # mark/*.png, from the marks

Each refuses to run if what it depends on stops holding — that the square marks differ only by their purple, that clear space remains between Licu and the lettering, and that a render came out at the size asked for with the artwork actually in it.

make-pngs.py rasterises with cairosvg, which loads the system libcairo (brew install cairo, apt install libcairo2). The others are pure Python.

Colours

Role Light bg Dark bg
Purple #532969 #653280
Magenta (gradient midpoint) #a3195b #a3195b
Orange #f25613 #f25613
Amber #ffa324 #ffa324

Typeface

Cascadia Mono (SIL OFL 1.1).

License

CC BY 4.0 — see LICENSE. Share and adapt freely, including commercially, with credit to the designer. Attribution does not imply endorsement by the project.

About

Logo and brand assets for the light-curve project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages