feat(theme): add hero_theme crate — shared Hero CSS #5
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_web_template!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_timur"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the new
hero_themecrate attheme/— the single source of truth for shared Hero CSS across all web frontends. Implements hero_web_template#4; approach locked in comment 34224.What ships
Dark mode uses Bootstrap 5.3's native
data-bs-themeattribute. Hero tokens are namespaced--hero-*so they never collide with--bs-*. Bootstrap itself is not shipped — consumers bring their own.Companion PR
hero_website_framework#6 (TBD link) wires
hero_admin_libandhero_website_libup to consumehero_themeand drops the 805-line inline<style>block fromadmin/base.html. Merge order: this one first, then the framework PR (which currently pins tobranch = "development_timur"; switches todevelopmentonce this lands).Test plan
cargo checkinsidetheme/(no workspace context required) — already verified locally🤖 Generated with Claude Code
Single source of truth for Hero brand tokens, admin shell (navbar / tabs / stat-boxes / cards), Bootstrap form polish, and content styling (code, log highlights, theme toggle, scrollbar). Dark mode uses Bootstrap 5.3's native data-bs-theme attribute. All Hero tokens namespaced --hero-* so they never collide with --bs-*. Ships rust-embed + an axum router helper at hero_theme::router("..."). Refs: #4 Parent: hero_skills#262hero_website_lib#4hero_website_lib#4