Refactor theme onto bread-theme; add bakery.toml and release workflow

- breadpad-shared/Cargo.toml: depend on bread-theme (no gtk feature needed
  in the shared crate)
- breadpad-shared/src/theme.rs: re-export Palette and load_palette from
  bread-theme; retain all breadpad-specific CSS in build_css()
- bakery.toml: describes breadpad for bakery install
- release.yml: builds on hestia self-hosted runner, publishes binaries to
  dl.breadway.dev and GitHub Releases on v* tags

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Breadway 2026-06-06 22:31:38 +08:00
parent 347508828f
commit a2281607bb
5 changed files with 92 additions and 214 deletions

14
bakery.toml Normal file
View file

@ -0,0 +1,14 @@
name = "breadpad"
description = "Quick-capture scratchpad and note viewer with AI classification"
binaries = ["breadpad", "breadman"]
system_deps = ["gtk4", "gtk4-layer-shell"]
bread_deps = []
[config]
dir = "~/.config/breadpad"
example = "breadpad.example.toml"
[install]
post_install = [
"mkdir -p ~/.local/share/breadpad/model",
]