From 874ec7f38f91ced6f8b836db4d06c3eebcc9163f Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Tue, 15 Sep 2026 21:21:28 +0530 Subject: feat(colors/base16): using the new base16 colorscheme in all modules --- modules/terminal/bat/base16.mustache.tmTheme | 534 --------------------------- modules/terminal/bat/base16.tmTheme | 534 +++++++++++++++++++++++++++ modules/terminal/bat/default.nix | 2 +- 3 files changed, 535 insertions(+), 535 deletions(-) delete mode 100644 modules/terminal/bat/base16.mustache.tmTheme create mode 100644 modules/terminal/bat/base16.tmTheme (limited to 'modules/terminal') diff --git a/modules/terminal/bat/base16.mustache.tmTheme b/modules/terminal/bat/base16.mustache.tmTheme deleted file mode 100644 index 6b2cd5b..0000000 --- a/modules/terminal/bat/base16.mustache.tmTheme +++ /dev/null @@ -1,534 +0,0 @@ - - - - - name - OneDark Dark - author - olimorris (https://github.com/olimorris) - settings - - - - - settings - - background - #{{base00}} - foreground - #{{base05}} - caret - #{{base05}} - invisibles - #{{base03}} - lineHighlight - #{{base01}} - selection - #{{base02}} - selectionBorder - #{{base03}} - findHighlight - #{{base0A}} - findHighlightForeground - #{{base00}} - activeGuide - #{{base03}} - bracketsForeground - #{{base05}} - bracketsOptions - underline - bracketContentsForeground - #{{base05}} - bracketContentsOptions - underline - tagsOptions - stippled_underline - gutterForeground - #{{base03}} - gutter - #{{base01}} - - - - - - name - Comment - scope - comment, punctuation.definition.comment - settings - - foreground - #{{base03}} - fontStyle - italic - - - - - - name - Variable - scope - variable, variable.other - settings - - foreground - #{{base05}} - - - - - name - Variable - Language - scope - variable.language - settings - - foreground - #{{base0E}} - fontStyle - italic - - - - - - name - Keyword - scope - keyword, keyword.control - settings - - foreground - #{{base0E}} - - - - - name - Keyword - Operator - scope - keyword.operator - settings - - foreground - #{{base0C}} - - - - - - name - Storage - scope - storage, storage.type, storage.modifier - settings - - foreground - #{{base0E}} - - - - - - name - Constant - scope - constant, constant.other - settings - - foreground - #{{base09}} - - - - - name - Constant - Numeric - scope - constant.numeric - settings - - foreground - #{{base09}} - - - - - name - Constant - Language - scope - constant.language - settings - - foreground - #{{base09}} - - - - - name - Constant - Character Escape - scope - constant.character.escape - settings - - foreground - #{{base0C}} - - - - - - name - String - scope - string - settings - - foreground - #{{base0B}} - - - - - name - String - Punctuation - scope - punctuation.definition.string - settings - - foreground - #{{base0B}} - - - - - - name - Support - Function - scope - support.function - settings - - foreground - #{{base0D}} - - - - - name - Support - Class - scope - support.class - settings - - foreground - #{{base0A}} - - - - - name - Support - Type - scope - support.type - settings - - foreground - #{{base0C}} - - - - - name - Support - Constant - scope - support.constant - settings - - foreground - #{{base09}} - - - - - - name - Entity - Name - Function - scope - entity.name.function - settings - - foreground - #{{base0D}} - - - - - name - Entity - Name - Class / Type - scope - entity.name.class, entity.name.type, entity.name.type.class - settings - - foreground - #{{base0A}} - - - - - name - Entity - Name - Tag - scope - entity.name.tag - settings - - foreground - #{{base08}} - - - - - name - Entity - Other - Attribute Name - scope - entity.other.attribute-name - settings - - foreground - #{{base09}} - - - - - name - Entity - Other - Inherited Class - scope - entity.other.inherited-class - settings - - foreground - #{{base0A}} - fontStyle - italic - - - - - - name - Punctuation - scope - punctuation - settings - - foreground - #{{base05}} - - - - - name - Punctuation - Section - scope - punctuation.section, meta.brace - settings - - foreground - #{{base05}} - - - - - - name - Invalid - scope - invalid - settings - - foreground - #{{base07}} - background - #{{base08}} - - - - - name - Invalid - Deprecated - scope - invalid.deprecated - settings - - foreground - #{{base07}} - background - #{{base0F}} - - - - - - name - Diff - Inserted - scope - markup.inserted - settings - - foreground - #{{base0B}} - - - - - name - Diff - Deleted - scope - markup.deleted - settings - - foreground - #{{base08}} - - - - - name - Diff - Changed - scope - markup.changed - settings - - foreground - #{{base0E}} - - - - - - name - Markup - Heading - scope - markup.heading, entity.name.section - settings - - foreground - #{{base0D}} - fontStyle - bold - - - - - name - Markup - Bold - scope - markup.bold - settings - - foreground - #{{base09}} - fontStyle - bold - - - - - name - Markup - Italic - scope - markup.italic - settings - - foreground - #{{base0E}} - fontStyle - italic - - - - - name - Markup - Inline Code - scope - markup.inline.raw, markup.raw.inline - settings - - foreground - #{{base0C}} - - - - - name - Markup - Link - scope - markup.underline.link, string.other.link - settings - - foreground - #{{base0D}} - fontStyle - underline - - - - - name - Markup - Quote - scope - markup.quote - settings - - foreground - #{{base0B}} - fontStyle - italic - - - - - name - Markup - List - scope - markup.list, punctuation.definition.list - settings - - foreground - #{{base08}} - - - - - - name - Meta - Function Call - scope - meta.function-call - settings - - foreground - #{{base0D}} - - - - - name - Meta - Preprocessor - scope - meta.preprocessor - settings - - foreground - #{{base09}} - - - - - uuid - a6f0d8c2-3b1e-4f5a-9c7d-2e8b0f4a6d1c - - diff --git a/modules/terminal/bat/base16.tmTheme b/modules/terminal/bat/base16.tmTheme new file mode 100644 index 0000000..2e9b065 --- /dev/null +++ b/modules/terminal/bat/base16.tmTheme @@ -0,0 +1,534 @@ + + + + + name + OneDark Dark + author + olimorris (https://github.com/olimorris) + settings + + + + + settings + + background + #@@base00@@ + foreground + #@@base05@@ + caret + #@@base05@@ + invisibles + #@@base03@@ + lineHighlight + #@@base01@@ + selection + #@@base02@@ + selectionBorder + #@@base03@@ + findHighlight + #@@base0A@@ + findHighlightForeground + #@@base00@@ + activeGuide + #@@base03@@ + bracketsForeground + #@@base05@@ + bracketsOptions + underline + bracketContentsForeground + #@@base05@@ + bracketContentsOptions + underline + tagsOptions + stippled_underline + gutterForeground + #@@base03@@ + gutter + #@@base01@@ + + + + + + name + Comment + scope + comment, punctuation.definition.comment + settings + + foreground + #@@base03@@ + fontStyle + italic + + + + + + name + Variable + scope + variable, variable.other + settings + + foreground + #@@base05@@ + + + + + name + Variable - Language + scope + variable.language + settings + + foreground + #@@base0E@@ + fontStyle + italic + + + + + + name + Keyword + scope + keyword, keyword.control + settings + + foreground + #@@base0E@@ + + + + + name + Keyword - Operator + scope + keyword.operator + settings + + foreground + #@@base0C@@ + + + + + + name + Storage + scope + storage, storage.type, storage.modifier + settings + + foreground + #@@base0E@@ + + + + + + name + Constant + scope + constant, constant.other + settings + + foreground + #@@base09@@ + + + + + name + Constant - Numeric + scope + constant.numeric + settings + + foreground + #@@base09@@ + + + + + name + Constant - Language + scope + constant.language + settings + + foreground + #@@base09@@ + + + + + name + Constant - Character Escape + scope + constant.character.escape + settings + + foreground + #@@base0C@@ + + + + + + name + String + scope + string + settings + + foreground + #@@base0B@@ + + + + + name + String - Punctuation + scope + punctuation.definition.string + settings + + foreground + #@@base0B@@ + + + + + + name + Support - Function + scope + support.function + settings + + foreground + #@@base0D@@ + + + + + name + Support - Class + scope + support.class + settings + + foreground + #@@base0A@@ + + + + + name + Support - Type + scope + support.type + settings + + foreground + #@@base0C@@ + + + + + name + Support - Constant + scope + support.constant + settings + + foreground + #@@base09@@ + + + + + + name + Entity - Name - Function + scope + entity.name.function + settings + + foreground + #@@base0D@@ + + + + + name + Entity - Name - Class / Type + scope + entity.name.class, entity.name.type, entity.name.type.class + settings + + foreground + #@@base0A@@ + + + + + name + Entity - Name - Tag + scope + entity.name.tag + settings + + foreground + #@@base08@@ + + + + + name + Entity - Other - Attribute Name + scope + entity.other.attribute-name + settings + + foreground + #@@base09@@ + + + + + name + Entity - Other - Inherited Class + scope + entity.other.inherited-class + settings + + foreground + #@@base0A@@ + fontStyle + italic + + + + + + name + Punctuation + scope + punctuation + settings + + foreground + #@@base05@@ + + + + + name + Punctuation - Section + scope + punctuation.section, meta.brace + settings + + foreground + #@@base05@@ + + + + + + name + Invalid + scope + invalid + settings + + foreground + #@@base07@@ + background + #@@base08@@ + + + + + name + Invalid - Deprecated + scope + invalid.deprecated + settings + + foreground + #@@base07@@ + background + #@@base0F@@ + + + + + + name + Diff - Inserted + scope + markup.inserted + settings + + foreground + #@@base0B@@ + + + + + name + Diff - Deleted + scope + markup.deleted + settings + + foreground + #@@base08@@ + + + + + name + Diff - Changed + scope + markup.changed + settings + + foreground + #@@base0E@@ + + + + + + name + Markup - Heading + scope + markup.heading, entity.name.section + settings + + foreground + #@@base0D@@ + fontStyle + bold + + + + + name + Markup - Bold + scope + markup.bold + settings + + foreground + #@@base09@@ + fontStyle + bold + + + + + name + Markup - Italic + scope + markup.italic + settings + + foreground + #@@base0E@@ + fontStyle + italic + + + + + name + Markup - Inline Code + scope + markup.inline.raw, markup.raw.inline + settings + + foreground + #@@base0C@@ + + + + + name + Markup - Link + scope + markup.underline.link, string.other.link + settings + + foreground + #@@base0D@@ + fontStyle + underline + + + + + name + Markup - Quote + scope + markup.quote + settings + + foreground + #@@base0B@@ + fontStyle + italic + + + + + name + Markup - List + scope + markup.list, punctuation.definition.list + settings + + foreground + #@@base08@@ + + + + + + name + Meta - Function Call + scope + meta.function-call + settings + + foreground + #@@base0D@@ + + + + + name + Meta - Preprocessor + scope + meta.preprocessor + settings + + foreground + #@@base09@@ + + + + + uuid + a6f0d8c2-3b1e-4f5a-9c7d-2e8b0f4a6d1c + + diff --git a/modules/terminal/bat/default.nix b/modules/terminal/bat/default.nix index a35bcbe..8e089ce 100644 --- a/modules/terminal/bat/default.nix +++ b/modules/terminal/bat/default.nix @@ -26,7 +26,7 @@ base16 = { src = pkgs.runCommand "bat-base16-theme" { } '' mkdir -p $out - cp ${config.scheme { template = ./base16.mustache.tmTheme; }} $out/base16.tmTheme + cp ${config.scheme { template = ./base16.tmTheme; }} $out/base16.tmTheme ''; file = "base16.tmTheme"; }; -- cgit v1.2.3