diff options
Diffstat (limited to 'macros/latex/contrib/tutodoc/code/tutodoc-bw-admonitions.css.cls.sty')
-rw-r--r-- | macros/latex/contrib/tutodoc/code/tutodoc-bw-admonitions.css.cls.sty | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/macros/latex/contrib/tutodoc/code/tutodoc-bw-admonitions.css.cls.sty b/macros/latex/contrib/tutodoc/code/tutodoc-bw-admonitions.css.cls.sty new file mode 100644 index 0000000000..ab94402799 --- /dev/null +++ b/macros/latex/contrib/tutodoc/code/tutodoc-bw-admonitions.css.cls.sty @@ -0,0 +1,46 @@ +% -- COLORFUL HIGHLIGHTING OF CONTENT -- % + +\NewExpandableDocumentCommand{\tutodoc@build@title@color}{m}{% + white% +} + +\NewExpandableDocumentCommand{\tutodoc@build@upper@color}{m}{% + \tdocdarkcolor[40]{Gray}% +} + +\NewExpandableDocumentCommand{\tutodoc@build@back@color}{m}{% + \tdoclightcolor[10]{Gray}% +} + +\NewExpandableDocumentCommand{\tutodoc@build@frame@color}{m}{% + Gray!75!black!45% +} + +\colorlet{tutodoc@admonition@shadow@color}{Gray!15} + + +\ExplSyntaxOn + +%%% +% We use two ''prop'' variables to factorize the code just after. +%%% +\prop_new:N \g__tutodoc_focus_color_prop +\prop_new:N \g__tutodoc_focus_icon_prop + +\prop_set_from_keyval:Nn \g__tutodoc_focus_color_prop { + note = DarkGray, + tip = DarkGray, + imp = DarkGray, + caut = DarkGray, + warn = DarkGray, +} + +\prop_set_from_keyval:Nn \g__tutodoc_focus_icon_prop { + note = \faInfoCircle, + tip = \faLightbulb, + imp = \faHighlighter, + caut = \faBiohazard, + warn = \faSkullCrossbones, +} + +\ExplSyntaxOff |