% -- COLORFUL HIGHLIGHTING OF CONTENT -- % \NewExpandableDocumentCommand{\tutodoc@build@title@color}{m}{% white% } \NewExpandableDocumentCommand{\tutodoc@build@upper@color}{m}{% \tdocdarkcolor{#1}% } \NewExpandableDocumentCommand{\tutodoc@build@lower@color}{m}{% \tdocdarkcolor{#1}% } \NewExpandableDocumentCommand{\tutodoc@build@back@color}{m}{% \tdoclightcolor{#1}% } \NewExpandableDocumentCommand{\tutodoc@build@frame@color}{m}{% #1!75!black!45% } \colorlet{tutodoc@admonition@shadow@color}{black!30} \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 = cyan, tip = ForestGreen, imp = orange, caut = violet, warn = red, } \prop_set_from_keyval:Nn \g__tutodoc_focus_icon_prop { note = \faInfoCircle, tip = \faLightbulb, imp = \faHighlighter, caut = \faBiohazard, warn = \faSkullCrossbones, } \ExplSyntaxOff % :: LEXER USED :: % \newcommand{\tutodoc@latex@lexer}{latex} % :: INLINE LATEX MACRO :: % \newcommand{\tutodoc@latex@style}{pastie} \colorlet{tutodoc@latex@back@color}{yellow!4} \colorlet{tutodoc@latex@text@color}{black} % :: THE TCOLORBOX LISTING STYLE :: % \colorlet{tutodoc@latex@frame@color}{darkgray} \newcommand{\tutodoc@latex@left@len}{1mm} \newcommand{\tutodoc@latex@right@len}{1mm} \newcommand{\tutodoc@latex@top@len}{1mm} \newcommand{\tutodoc@latex@bottom@len}{1mm} \newcommand{\tutodoc@latex@arc@len}{.75mm} \newcommand{\tutodoc@latex@left@rule@len}{1pt} \newcommand{\tutodoc@latex@right@rule@len}{1pt} \newcommand{\tutodoc@latex@top@rule@len}{1pt} \newcommand{\tutodoc@latex@bottom@rule@len}{1pt} \colorlet{tutodoc@latex@shadow@color}{black!30} \newcommand{\tutodoc@latex@shadow@xshift@len}{.75mm} \newcommand{\tutodoc@latex@shadow@yshift@len}{-.75mm} \newcommand{\tutodoc@latex@shadow@offset@len}{0mm} \colorlet{tutodoc@latex@segment@color}{gray} % -- TEXT AND PAGE COLORS -- % \colorlet{tutodoc@page@color}{white} \colorlet{tutodoc@text@color}{black} % -- LINKS COLOR -- % \colorlet{tutodoc@link@color}{NavyBlue!85!white} % -- SHOWCASE -- % \NewExpandableDocumentCommand{\tutodoc@showcase@rule@color}{}{% black% } \NewExpandableDocumentCommand{\tutodoc@showcase@stripe@color}{}{% cyan% } \NewExpandableDocumentCommand{\tutodoc@showcase@text@color}{}{% black% } \NewExpandableDocumentCommand{\tutodoc@showcase@build@rule@color}{m}{% \tdocdarkcolor{#1}% } \NewExpandableDocumentCommand{\tutodoc@showcase@build@back@color}{m}{% \tdoclightcolor{#1}% } % -- VERSION & CHANGES -- % \NewExpandableDocumentCommand{\tutodoc@changes@when@color}{}{% \tdoclightcolor[60]{DarkBlue}% } % -- ICONS -- % \newcommand{\tutodoc@changes@start@project@icon}{\faAnchor} \ExplSyntaxOn \prop_new:N \g__tutodoc_topic_change_prop \prop_set_from_keyval:Nn \g__tutodoc_topic_change_prop { break = \faCodeBranch, fix = \faWrench, new = \faGem, prob = \faFire*, tech = \faFlask, update = \reflectbox{\faHistory}, todo = \faCompass[regular], } \ExplSyntaxOff