From a1bab9bbddb9f1058fcaa93ad8ecb557bcf5f43a Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 24 Jan 2022 21:47:50 +0100 Subject: [PATCH] Added styling for code blocks in CSS Signed-off-by: Louis Vallat --- src/assets/css/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 25855af..f9bfffc 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -167,6 +167,31 @@ code { font-family: 'IBM Plex Mono', monospace; } +/* Code blocks colors */ +.token.keyword, .token.macro { + color: #D55FDE; +} + +.token.function { + color: #52ADF2; +} + +.token.class-name { + color: #E5C07B; +} + +.token.punctuation, .token.operator { + color: #AAB1C0; +} + +.token.string { + color: #89CA78; +} + +.token.number { + color: #D8985F; +} + @media screen and (max-width: 992px) { body { margin-right: 10vw;