mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 20:21:12 -06:00
Align to hardcover book (#166)
* Align sans-serif font to printed book - We now use Open Sans - Also have units in text mode, looks nicer in Sans serif mode at least See: https://github.com/hendricius/the-sourdough-framework/pull/158#event-9914405309 * Add colours definition from the printed book New colors taken from https://github.com/hendricius/the-sourdough-framework/pull/158#event-9914405309
This commit is contained in:
@@ -14,9 +14,16 @@
|
||||
\renewcommand\theadfont{\bfseries}
|
||||
|
||||
\definecolor{codeblue}{RGB}{69, 161, 248}
|
||||
\definecolor{codegray}{RGB}{40, 40, 40}
|
||||
\definecolor{codeblack}{RGB}{40, 40, 40}
|
||||
|
||||
\definecolor{maingray}{HTML}{F8F8F8}
|
||||
|
||||
\definecolor{hlocre}{HTML}{E5B874}
|
||||
\definecolor{hlorange}{HTML}{EC7850}
|
||||
\definecolor{hlyellow}{HTML}{FAE69E}
|
||||
|
||||
\usetikzlibrary{shapes,arrows}
|
||||
\tikzstyle{decision} = [diamond, draw, fill=codegray, text=white,
|
||||
\tikzstyle{decision} = [diamond, draw, fill=codeblack, text=white,
|
||||
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
|
||||
\tikzstyle{block} = [rectangle, draw, fill=codeblue, text=white,
|
||||
text width=5em, text centered, rounded corners, minimum height=4em]
|
||||
@@ -24,7 +31,8 @@
|
||||
|
||||
% Fonts for accessibility
|
||||
\ifdefined\isaccessible
|
||||
\setmainfont{TeX Gyre Heros} % Helvetica clone
|
||||
\setmainfont{Open Sans}
|
||||
\AtBeginDocument{\sisetup{mode =text}}
|
||||
\fi
|
||||
|
||||
% Kerning in footnotes
|
||||
|
||||
Reference in New Issue
Block a user