太字のテキストの色が変わらない

太字のテキストの色が変わらない
\usepackage{color}
\usepackage{fontawesome}
\definecolor{DARKBLUE}{RGB}{8, 94, 179} 
\begin{tightemize}
\item Designed and developed a \textbf{\color{DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

テキスト Python の色が濃い青に変更されません...

答え1

primary使用しているこのテンプレートは、メイン フォントに特定の色 ( ) を割り当てます。 はこれを上書きできません\color。その色を使用せずにメイン フォントを再定義する必要があります。この方法では、不足している太字フォントの修正も含めることができます。

\documentclass{deedy-resume-openfont}

\setmainfont[
  Path = fonts/lato/,
  UprightFont = *-Lig,
  BoldFont = *-Bol,
  %Color=primary,
]{Lato}

\definecolor{DARKBLUE}{RGB}{8, 94, 179} 

\begin{document}

\begin{tightemize}
\item Designed and developed a \textbf{\color{DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

\end{document}

Overleafのデモ

あるいは、デフォルトの色を維持する場合は、 を介して色を追加できます\addfontfeatures

\documentclass{deedy-resume-openfont}

\setmainfont[
  Path = fonts/lato/,
  UprightFont = *-Lig,
  BoldFont = *-Bol,
  Color=primary,
]{Lato}

\definecolor{DARKBLUE}{RGB}{8, 94, 179} 

\begin{document}

\begin{tightemize}
\item Designed and developed a \textbf{\addfontfeatures{Color=DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

\end{document}

Overleafのデモ

関連情報