From 7ee3b0b10ea34cc9eec0b698f8df58a0e86443b7 Mon Sep 17 00:00:00 2001 From: sylhare Date: Mon, 7 Mar 2022 14:57:58 -0500 Subject: [PATCH] Update punctuation colour highlighting --- _sass/base/_highlight.scss | 6 +++++- _sass/base/_variables.scss | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/_sass/base/_highlight.scss b/_sass/base/_highlight.scss index 02738f12d4..79b924c328 100644 --- a/_sass/base/_highlight.scss +++ b/_sass/base/_highlight.scss @@ -195,11 +195,15 @@ table.rouge-table { .ow{ /* Operator.Word */ color: var(--base0d) } .p{ /* Punctuation */ - color: var(--base08) } + color: var(--base05) } + .pi{ /* Name.Property */ + color: var(--base07) } .py{ /* Name.Property */ color: var(--base0d) } .s{ /* Literal.String */ color: var(--base0a) } + .sa{ /* Literal.String.raw */ + color: var(--base0a) } .sb{ /* Literal.String.Backtick */ color: var(--base0a) } .sc{ /* Literal.String.Char */ diff --git a/_sass/base/_variables.scss b/_sass/base/_variables.scss index 46fa3c0d99..71fca9b871 100644 --- a/_sass/base/_variables.scss +++ b/_sass/base/_variables.scss @@ -82,10 +82,10 @@ html, html[data-theme="light"] { --base02: #314549; // Selection Background --base03: #546e7a; // Comments, Invisible, Line Highlighting --base04: #b2ccd6; // Dark Foreground (Used for status bars) - --base05: #eeffff; // Light Foreground (Not often used) - NOT USED - --base06: #eeffff; // Highlight, Light Background (Not often used) + --base05: #eeffff; // Punctuation + --base06: #eeffff; // Highlight, Light Background --base07: #ffffff; // Default Foreground, Default text color - --base08: #f07178; // Parenthesis, Caret, Delimiters, Operators + --base08: #f07178; // Operators (and Parenthesis, Caret, Delimiters) --base09: #f78c6c; // Classes, Markup Bold, Search Text Background --base0a: #ffcb6b; // Strings, Inherited Class, Markup Code, Diff Inserted --base0b: #98c379; // Functions, Methods, Attribute IDs, Headings