Skip to content

Commit 9262007

Browse files
authored
Merge pull request #34 from HaoZeke/feat/2026-08-16-binding-logos
docs: framed ice-cage mark for pydseams
2 parents 10b51c3 + e3baa50 commit 9262007

13 files changed

Lines changed: 104 additions & 10 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
The docs mark is the hexagonal ice cage inside a `Frame`, as SVG.
6+
37
## 2.2.5
48

59
`subprojects/seams-core.wrap` is `v2.2.5` (linkcell v0.2.4).

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PydSEAMSlib
22

3+
<p align="center">
4+
<img src="docs/source/_static/logo/pydseams-icon.png" alt="pydseams" width="96">
5+
</p>
6+
37
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
48

59
Python bindings for the [d-SEAMS](https://dseams.info) C++ engine

docs/orgmode/index.org

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,22 @@
77
pydseams
88
========
99

10-
.. image:: _static/logo/pydseamslib_logo_light.png
11-
:alt: pydseams logo
12-
:width: 280px
13-
:align: center
10+
.. raw:: html
11+
12+
<p class="dseams-hero">
13+
<img class="dseams-hero-logo dseams-hero-logo--light"
14+
src="_static/logo/pydseams-logo-light.png"
15+
alt="pydseams"
16+
width="320"
17+
height="320"
18+
loading="eager" />
19+
<img class="dseams-hero-logo dseams-hero-logo--dark"
20+
src="_static/logo/pydseams-logo-dark.png"
21+
alt="pydseams"
22+
width="320"
23+
height="320"
24+
loading="eager" />
25+
</p>
1426

1527
.. grid:: 1 2 3 3
1628
:gutter: 2

docs/source/_static/custom.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/* Homepage hero: framed cage; swap light/dark via Shibuya color-mode. */
2+
3+
.dseams-hero {
4+
text-align: center;
5+
margin: 0.5rem 0 1.25rem;
6+
}
7+
8+
.dseams-hero-logo {
9+
display: none;
10+
margin: 0 auto;
11+
max-width: min(320px, 70vw);
12+
height: auto;
13+
}
14+
15+
html.light .dseams-hero-logo--light,
16+
html:not(.dark) .dseams-hero-logo--light {
17+
display: block;
18+
}
19+
20+
html.dark .dseams-hero-logo--light {
21+
display: none;
22+
}
23+
24+
html.dark .dseams-hero-logo--dark {
25+
display: block;
26+
}
27+
28+
html.light .dseams-hero-logo--dark,
29+
html:not(.dark) .dseams-hero-logo--dark {
30+
display: none;
31+
}
32+
33+
@media (prefers-color-scheme: dark) {
34+
html:not(.light):not(.dark) .dseams-hero-logo--light {
35+
display: none;
36+
}
37+
html:not(.light):not(.dark) .dseams-hero-logo--dark {
38+
display: block;
39+
}
40+
}
41+
42+
.sy-head-brand img.light-logo,
43+
.sy-head-brand img.dark-logo {
44+
height: 40px;
45+
width: auto;
46+
}

docs/source/_static/logo/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# pydseams branding
2+
3+
Mark for **pydseams** (Python Frame API on the d-SEAMS engine). The
4+
d-SEAMS hexagonal ice cage sits inside a gold picture frame: the
5+
public type is `Frame`.
6+
7+
## Files
8+
9+
| File | Use |
10+
| --- | --- |
11+
| `pydseams-logo-light.png` | Docs header and homepage (light) |
12+
| `pydseams-logo-dark.png` | Docs header and homepage (dark) |
13+
| `pydseams-icon.png` | README avatar |
14+
| `pydseams-icon.ico` | Favicon |
13.1 KB
Binary file not shown.
24.4 KB
Loading
96.7 KB
Loading
163 KB
Loading
-219 KB
Binary file not shown.

0 commit comments

Comments
 (0)