Skip to content

Instantly share code, notes, and snippets.

@sharmaeklavya2
Created May 18, 2022 00:51
Show Gist options
  • Save sharmaeklavya2/b43d7e1f481e1012b40d99fe8d76cd02 to your computer and use it in GitHub Desktop.
Save sharmaeklavya2/b43d7e1f481e1012b40d99fe8d76cd02 to your computer and use it in GitHub Desktop.
latex dark mode
\usepackage{xcolor}
\usepackage{hyperref}
\definecolor{textColorDark}{HTML}{bdc1c6}
\definecolor{bgColorDark}{HTML}{202124}
\definecolor{blueDark}{HTML}{8ab4f8}
\definecolor{redDark}{HTML}{f9968b}
\pagecolor{bgColorDark}
\color{textColorDark}
\hypersetup{colorlinks,linkcolor=redDark,citecolor=redDark,urlcolor=blueDark}
@sharmaeklavya2
Copy link
Author

Include these commands in your LaTeX document preamble to generate a dark-mode PDF.

@sharmaeklavya2
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment