返回 CodeWhale
brand.rs
根目录 / crates / tui / src / integrations / dsh / brand.rs
1 //! Whale Brothers / Codewhale identity lockup for the DSH bundle skin.
2 //!
3 //! The palette and ocean scene can be mistaken for an ordinary theme. This
4 //! small, plugin-owned React surface uses DSH's additive `shell.overlay` Slot
5 //! to make the relationship explicit without replacing or modifying DSH's own
6 //! product identity.
7
8 use super::identity::sha256_hex;
9
10 /// Plain client script fragment spliced into the generated bundle client.
11 pub(crate) fn bundle_brand_js() -> &'static str {
12 include_str!("brand.js")
13 }
14
15 pub(crate) fn brand_sha256() -> String {
16 sha256_hex(bundle_brand_js().as_bytes())
17 }
18
18 lines RUST