css: extract terminal pane styles to hive-fr0nt::TERMINAL_CSS

This commit is contained in:
müde 2026-05-17 11:50:39 +02:00
parent e283e39949
commit 0b9e7cbcf6
5 changed files with 191 additions and 179 deletions

View file

@ -118,8 +118,9 @@ async fn serve_css() -> impl IntoResponse {
// to declare what's actually page-specific. One HTTP request, no
// per-asset cache to invalidate.
let body = format!(
"{}\n{}",
"{}\n{}\n{}",
hive_fr0nt::BASE_CSS,
hive_fr0nt::TERMINAL_CSS,
include_str!("../assets/dashboard.css"),
);
([("content-type", "text/css")], body)