From d98b13aa2b70dfb018635842b1aa677371d021b0 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 1 Aug 2023 15:08:27 +0300 Subject: [PATCH] style : use darcula style for code. --- tex/style.tex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tex/style.tex b/tex/style.tex index ddd62fb..483d67f 100644 --- a/tex/style.tex +++ b/tex/style.tex @@ -6,12 +6,13 @@ \definecolor{gray} {RGB}{209,213,219} % gray. \definecolor{ref} {RGB}{53,82,105} % reference color. -\definecolor{code_background}{RGB}{238,238,238} % code background. -\definecolor{code_string} {RGB}{18,118,34} % code string colors like "hello world". -\definecolor{code_literal} {RGB}{211,134,155} % code literal colors like "8L". -\definecolor{code_property} {RGB}{152,118,170} % code properties like variables and methods. -\definecolor{code_keyword} {RGB}{184,92,0} % code keywords like "val", "fun" etc. -\definecolor{code_comment} {RGB}{146,131,116} % code comment colors like // todo. +\definecolor{code_background}{RGB}{40,42,54} % code background. +\definecolor{code_text} {RGB}{248,248,242} % code default text. +\definecolor{code_string} {RGB}{80,250,123} % code string colors like "hello world". +\definecolor{code_literal} {RGB}{139,233,253} % code literal colors like "8L". +\definecolor{code_property} {RGB}{139,233,253} % code properties like variables and methods. +\definecolor{code_keyword} {RGB}{255,184,108} % code keywords like "val", "fun" etc. +\definecolor{code_comment} {RGB}{98,114,164} % code comment colors like // todo. % code block box. \newtcolorbox{scodebox}[1][]{