aboutsummaryrefslogtreecommitdiff
path: root/sass/_syntax.scss
diff options
context:
space:
mode:
authorJieiku2023-05-22 23:12:14 -0700
committerJieiku2023-05-22 23:12:14 -0700
commitf81a42045e29cc396af78b5d87ead874ba26fa18 (patch)
tree6d73c8fcad4da03d2e8d5d7485079a38adc83a8e /sass/_syntax.scss
parent9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (diff)
downloadabridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.gz
abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.bz2
abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.zip
All Variables Easy Override
Diffstat (limited to 'sass/_syntax.scss')
-rw-r--r--sass/_syntax.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/sass/_syntax.scss b/sass/_syntax.scss
new file mode 100644
index 0000000..0f822d7
--- /dev/null
+++ b/sass/_syntax.scss
@@ -0,0 +1,39 @@
+// Syntax Highlighting
+@mixin dark(
+ $bg: #191919,
+ $h1: #e65,
+ $h2: #f91,
+ $h3: #eb6,
+ $h4: #ac3,
+ $h5: #8db,
+ $h6: #6ae,
+ $h7: #d6e
+) {
+ #{--bg}: $bg;// background color
+ #{--h1}: $h1;// red, support function
+ #{--h2}: $h2;// orange, punctuation, constant, variable, json-key
+ #{--h3}: $h3;// tan, entity/function name
+ #{--h4}: $h4;// green, string
+ #{--h5}: $h5;// teal, escape character
+ #{--h6}: $h6;// blue, declaration, tag, property
+ #{--h7}: $h7;// purple, operators
+}
+@mixin light(
+ $bg: #f7f7f7,
+ $h1: #a21,
+ $h2: #930,
+ $h3: #a50,
+ $h4: #350,
+ $h5: #286,
+ $h6: #059,
+ $h7: #a3c
+) {
+ #{--bg}: $bg;// background color
+ #{--h1}: $h1;// red, support function
+ #{--h2}: $h2;// orange, punctuation, constant, variable, json-key
+ #{--h3}: $h3;// tan, entity/function name
+ #{--h4}: $h4;// green, string
+ #{--h5}: $h5;// teal, escape character
+ #{--h6}: $h6;// blue, declaration, tag, property
+ #{--h7}: $h7;// purple, operators
+}