pub fn global() -> GlobalExpand description
The rules every page with these components needs: a reset, the font, and the page colors.
color-scheme follows the theme, so a scrollbar or a native picker is
drawn dark beside the dark tokens.
use hypersig::{Page, Signals};
use serde::{Deserialize, Serialize};
#[derive(Signals, Serialize, Deserialize)]
struct App {}
let html = Page::new("App", App {})
.global(hypersig_ui::global())
.theme(hypersig_ui::theme())
.render();
assert!(html.contains("--background:#09090b"));