Releases: septagon-oss/pk-design
Release list
v0.4.0
Full Changelog: v0.3.0...v0.4.0
v0.3.0
v0.2.2
v0.2.1
pk-design v0.2.0
Design tokens, themes, and component contracts.
Install
go get github.com/septagon-oss/pk-design@v0.2.0Changes
Added — themes.Default(), the canonical PlatformKit theme
Until now this package shipped layering machinery with no values: the palette the binary actually renders lived inside pk-modules' admin shell, where no other consumer could reach it and nothing documented it as canonical. The org's own brand assets were once drawn from a test fixture because the real values were unfindable — that is the failure mode this closes.
Default() is the single source of truth. The admin consumes it, utility CSS emission renders from it, and documentation generates its palette table from it, so none of them can drift. It carries:
- the warm-editorial palette — cream canvas
#f2efe7, ink#15221f, deep green accent#0f5d4e, lime signal#d8f35d, dark panel#12201d, plus status and sidebar roles; - the spacing scale and radii;
- for the first time as tokens, the three type stacks (
font.display,font.body,font.mono).
Values are rebuilt and normalized per call, so callers receive defensive copies — a mutation test proves it. Overriding is ordinary theme layering:
theme, err := themes.Layer(themes.Default(), brandOverlay)Compatibility
- Go 1.26 or newer.
- Pre-1.0 — pin this version. A minor release may change public API deliberately.
Links
| 📖 Documentation | https://septagon-oss.github.io/pk-docs/ |
| 🔀 Full diff | v0.1.0...v0.2.0 |
| 💬 Discussions | https://github.com/septagon-oss/platformkit/discussions |
| 🔒 Security policy | https://github.com/septagon-oss/pk-design/blob/main/SECURITY.md |
| ⚖️ License | https://github.com/septagon-oss/pk-design/blob/main/LICENSE |
pk-design v0.1.0
Design tokens, themes, and component contracts.
Install
go get github.com/septagon-oss/pk-design@v0.1.0Changes
No release notes were written for this version at the time. The full diff below is the authoritative record of what changed.
Compatibility
- Go 1.26 or newer.
- Pre-1.0 — pin this version. A minor release may change public API deliberately.
Links
| 📖 Documentation | https://septagon-oss.github.io/pk-docs/ |
| 🔀 Full diff | v0.0.0...v0.1.0 |
| 💬 Discussions | https://github.com/septagon-oss/platformkit/discussions |
| 🔒 Security policy | https://github.com/septagon-oss/pk-design/blob/main/SECURITY.md |
| ⚖️ License | https://github.com/septagon-oss/pk-design/blob/main/LICENSE |
pk-design v0.0.0
Design tokens, themes, and component contracts.
Install
go get github.com/septagon-oss/pk-design@v0.0.0Changes
No release notes were written for this version at the time. The full diff below is the authoritative record of what changed.
Compatibility
- Go 1.26 or newer.
- Pre-1.0 — pin this version. A minor release may change public API deliberately.
Links
| 📖 Documentation | https://septagon-oss.github.io/pk-docs/ |
| 💬 Discussions | https://github.com/septagon-oss/platformkit/discussions |
| 🔒 Security policy | https://github.com/septagon-oss/pk-design/blob/main/SECURITY.md |
| ⚖️ License | https://github.com/septagon-oss/pk-design/blob/main/LICENSE |