Update documentation theme

This commit is contained in:
elkowar 2020-10-25 17:34:26 +01:00
parent 26f667b792
commit 5116334978
3 changed files with 10 additions and 13 deletions

View file

@ -13,7 +13,8 @@ build_search_index = true
theme = "book"
highlight_theme = "base16-ocean-dark"
#highlight_theme = "base16-ocean-dark"
highlight_theme = "cheerfully-light"
[extra]
book_numbered_chapters = false

View file

@ -1,17 +1,17 @@
:root {
--bg: hsl(210, 25%, 8%);
--bg-code: #2b303b;
--fg: #c5c5c5;
--sidebar-bg: #14191f;
--sidebar-fg: #c8c9db;
--bg: #fff;
--bg-code: #f5f5f5;
--fg: #444;
--sidebar-bg: #242529;
--sidebar-fg: #8b8f92;
--sidebar-active: #fafafa;
--sidebar-non-existant: #5c6773;
--sidebar-active: #ffb454;
--sidebar-spacer: #2d334f;
--scrollbar: var(--sidebar-fg);
--icons: #737480;
--icons-hover: #b7b9cc;
--links: #0096cf;
--inline-code-color: #ffb454;
--inline-code-color: #1f1f1f;
--theme-popup-bg: #14191f;
--theme-popup-border: #5c6773;
--theme-hover: #191f26;
@ -48,8 +48,4 @@
color: var(--inline-code-color);
background-color: var(--bg-code);
}
.menu-icon > span {
background-color: rgba(255, 255, 255, 0.5);
}
}

View file

@ -415,7 +415,7 @@ fn parse_orientation(o: &str) -> Result<gtk::Orientation> {
})
}
/// @var align - "fill", "baseline", "center", "start", "end"
/// @var alignment - "fill", "baseline", "center", "start", "end"
fn parse_align(o: &str) -> Result<gtk::Align> {
Ok(match o {
"fill" => gtk::Align::Fill,