% -- 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