From 015c048dbd68cdb2a96107b5f10635b281adbdcd Mon Sep 17 00:00:00 2001 From: CJSatnarine Date: Sat, 4 Oct 2025 01:56:17 -0400 Subject: [PATCH] added custom theme to code snippets --- config.toml | 7 + highlight_themes/theme.tmTheme | 913 +++++++++++++++++++++++++++++++++ 2 files changed, 920 insertions(+) create mode 100644 highlight_themes/theme.tmTheme diff --git a/config.toml b/config.toml index 406a353..3cd6956 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,9 @@ # The URL the site will be built for base_url = "https://cjsatnarine.space/" +# The default language; used in feeds. +default_language = "en" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true @@ -12,6 +15,10 @@ build_search_index = false # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +# The theme to use for code highlighting +extra_syntaxes_and_themes = ["highlight_themes"] +highlight_theme = "theme" + render_emoji = true [link_checker] diff --git a/highlight_themes/theme.tmTheme b/highlight_themes/theme.tmTheme new file mode 100644 index 0000000..2ed6c56 --- /dev/null +++ b/highlight_themes/theme.tmTheme @@ -0,0 +1,913 @@ + + + + + + author + CJ Satnarine (http://cjsatnarine.space) + name + Material Theme + semanticClass + theme.material_theme + colorSpaceName + sRGB + settings + + + settings + + background + #161515 + caret + #FFCC00 + foreground + #161515 + invisibles + #65737e + lineHighlight + #00000030 + selection + #80CBC420 + guide + #37474F80 + activeGuide + #80CBC470 + stackGuide + #37474Fff + gutterForeground + #37474F + findHighlight + #F8E71C + tagsOptions + underline + shadow + #00000010 + + + + name + Text + scope + variable.parameter.function + settings + + foreground + #30a9ff + + + + name + Comments + scope + comment, punctuation.definition.comment + settings + + foreground + #FFA0E3 + + + + name + Text and Source Base Colors + scope + text, source + settings + + foreground + #EBD7FF + + + + name + Punctuation + scope + punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array + settings + + foreground + #EBD7FF + + + + name + Delimiters + scope + none + settings + + foreground + #99b89dff + + + + name + Operators + scope + keyword.operator + settings + + foreground + #30A9FF + + + + name + Keywords + scope + keyword + settings + + foreground + #c792eaff + + + + name + Variables + scope + variable + settings + + foreground + #ff5370ff + + + + name + Functions + scope + entity.name.function, meta.require, support.function.any-method, meta.function-call, support.function, keyword.other.special-method, meta.block-level, meta.function-call.method.with-arguments variable.function + settings + + foreground + #962FFE + + + + name + Classes + scope + support.class, entity.name.class, entity.name.type.class, variable.language.this.js + settings + + foreground + #962FFE + + + + name + Classes + scope + meta.class + settings + + foreground + #EBD7FF + + + + name + Methods + scope + keyword.other.special-method + settings + + foreground + #EBD7FF + + + + name + Storage + scope + storage + settings + + foreground + #c792eaff + + + + name + Support + scope + support.function, +keyword.operator, constant.other.color, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.function-call meta.function-call.arguments variable.parameter.function, text.html.markdown meta.paragraph meta.link.inline, text.html.markdown meta.paragraph meta.link.inline punctuation.definition.string.begin.markdown, text.html.markdown meta.paragraph meta.link.inline punctuation.definition.string.end.markdown, source.js, source.gulpfile.js variable.other.object.js, source.js + settings + + foreground + #962FFE + + + + name + Strings, Inherited Class + scope + string, constant.other.symbol, entity.other.inherited-class + settings + + foreground + #EBD7FF + + + + name + Integers + scope + constant.numeric + settings + + foreground + #EBD7FF + + + + name + Floats + scope + none + settings + + foreground + #F77669 + + + + name + Arguments + scope + meta.function-call meta.function-call.arguments + settings + + foreground + #C3E88D + + + + name + Boolean + scope + none + settings + + foreground + #F77669 + + + + name + Constants + scope + constant + settings + + foreground + #F77669 + + + + name + Tags + scope + entity.name.tag + settings + + foreground + #ff5370ff + + + + name + Attributes + scope + entity.other.attribute-name + settings + + foreground + #FFCB6B + + + + name + Attribute IDs + scope + entity.other.attribute-name.id + settings + + foreground + #FAD430 + + + + name + Selector + scope + meta.selector + settings + + foreground + #c792eaff + + + + name + Values + scope + none + settings + + foreground + #F77669 + + + + name + Headings + scope + markup.heading punctuation.definition.heading, entity.name.section + settings + + fontStyle + + foreground + #78ccf0ff + + + + name + Units + scope + keyword.other.unit + settings + + foreground + #F77669 + + + + name + Bold + scope + markup.bold, punctuation.definition.bold + settings + + fontStyle + bold + foreground + #ffcb6b + + + + name + Italic + scope + markup.italic, punctuation.definition.italic + settings + + fontStyle + italic + foreground + #c792eaff + + + + name + Code + scope + markup.raw.inline + settings + + foreground + #f1e655 + + + + name + Link Text + scope + string.other.link, punctuation.definition.string.end.markdown + settings + + foreground + #ff5370 + + + + name + Link Url + scope + meta.link + settings + + foreground + #F77669 + + + + name + Lists + scope + markup.list + settings + + foreground + #ff5370ff + + + + name + Quotes + scope + markup.quote + settings + + foreground + #F77669 + + + + name + Separator + scope + meta.separator + settings + + background + #1e3445ff + foreground + #d9f5ddff + + + + name + Inserted + scope + markup.inserted + settings + + foreground + #F1E655 + + + + name + Deleted + scope + markup.deleted + settings + + foreground + #ff5370ff + + + + name + Changed + scope + markup.changed + settings + + foreground + #c792eaff + + + + name + Colors + scope + constant.other.color, +meta.property-value support.constant.named-color.css + settings + + foreground + #FFEB95 + + + + name + Regular Expressions + scope + string.regexp + settings + + foreground + #80CBC4 + + + + name + Escape Characters + scope + constant.character.escape + settings + + foreground + #F77669 + + + + name + Embedded + scope + punctuation.section.embedded, variable.interpolation + settings + + foreground + #d3423eff + + + + name + Illegal + scope + invalid.illegal + settings + + background + #EC5F67 + foreground + #ffffffff + + + + name + Broken + scope + invalid.broken + settings + + background + #F77669 + foreground + #020e14ff + + + + name + Deprecated + scope + invalid.deprecated + settings + + background + #d3423eff + foreground + #ffffffff + + + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #8BD649 + foreground + #ffffffff + + + + name + SublimeLinter Annotations + scope + sublimelinter.annotations + settings + + background + #fffff7ff + foreground + #7b5157ff + + + + name + SublimeLinter Error Outline + scope + sublimelinter.outline.illegal + settings + + background + #ff9599ff + foreground + #ffffffff + + + + name + SublimeLinter Error Underline + scope + sublimelinter.underline.illegal + settings + + background + #ff4941ff + + + + name + SublimeLinter Warning Outline + scope + sublimelinter.outline.warning + settings + + background + #FFCF1B + foreground + #ffffffff + + + + name + SublimeLinter Warning Underline + scope + sublimelinter.underline.warning + settings + + background + #ff4941ff + + + + name + SublimeLinter Violation Outline + scope + sublimelinter.outline.violation + settings + + background + #ffffff33 + foreground + #ffffffff + + + + name + SublimeLinter Violation Underline + scope + sublimelinter.underline.violation + settings + + background + #ff4941ff + + + + name + SublimeLinter Error + scope + sublimelinter.mark.error + settings + + foreground + #ff572dff + + + + name + SublimeLinter Warning + scope + sublimelinter.mark.warning + settings + + foreground + #ffcf1bff + + + + name + SublimeLinter Gutter Mark + scope + sublimelinter.gutter-mark + settings + + foreground + #ffffffff + + + + name + GitGutter deleted + scope + markup.deleted.git_gutter + settings + + foreground + #EC5F67 + + + + name + GitGutter changed + scope + markup.changed.git_gutter + settings + + foreground + #FFCF1B + + + + name + GitGutter inserted + scope + markup.inserted.git_gutter + settings + + foreground + #C3E88D + + + + name + GitGutter Ignored + scope + markup.ignored.git_gutter + settings + + foreground + #546E7A + + + + name + Comment line // + scope + comment.line.double-slash punctuation.definition.comment, meta.structure.array comment.block.json punctuation.definition.comment + settings + + foreground + #FFAOE3 + + + + name + Result file path + scope + text.find-in-files entity.name.filename.find-in-files + settings + + foreground + #FFEB95 + + + + name + CSS: Property-name + scope + support.type.property-name + settings + + foreground + #80CBC4 + + + + name + CSS: Prefix + scope + meta.property-list meta.property-name + settings + + foreground + #80CBC4 + + + + name + Styles Units + scope + source.css keyword.other.unit, source.less keyword.other.unit, source.scss keyword.other.unit, source.sass keyword.other.unit + settings + + foreground + #FFEB95 + + + + name + LESS: mixins + scope + entity.other.less.mixin + settings + + foreground + #7986CB + + + + name + LESS: misc variables + scope + source.less parameter.less variable.parameter.misc.css + settings + + foreground + #7986CB + + + + name + LESS: property string + scope + source.less meta.property-value.css string.quoted.double.css comment markup.raw + settings + + foreground + #C3E88D + + + + name + CSS: # + scope + constant.other.color.rgb-value punctuation.definition.constant + settings + + foreground + #F77669 + + + + name + CSS: Attribute selector value + scope + meta.attribute-selector string.unquoted.attribute-value + settings + + foreground + #C3E88D + + + + name + CSS: Attribute selector name + scope + meta.attribute-selector entity.other.attribute-name.attribute + settings + + foreground + #F77669 + + + + name + Gulpfile: Functions variables + scope + source.gulpfile.js meta.group.braces.round meta.group.braces.curly meta.group.braces.round meta.function-call.with-arguments.js variable.function.js, source.gulpfile.js meta.group.braces.round meta.group.braces.curly variable.function.js + settings + + foreground + #7986CB + + + + name + Support functions + scope + meta.function-call support.type + settings + + foreground + #962FFE + + + + name + Python: Argument variable + scope + source.python meta.function-call.arguments.python + settings + + foreground + #7986CB + + + + name + PHP: html tags + scope + embedding.php entity.name.tag + settings + + foreground + #DDDDDD + + + + name + GO: function call + scope + source.go meta.function-call.go + settings + + foreground + #DDDDDD + + + + uuid + 133d1250-19c6-4565-bc93-b37fd36f7fc9 + +