From f237beb6fa1230a9706e9c1a076336769e3eb76f Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 22 Aug 2024 11:22:34 +0200 Subject: [PATCH] deprecate theme (#48) --- base16/abb.yml | 20 -- base16/generator.py | 30 --- base16/requirements.txt | 1 - base16/template.tmTheme | 561 ---------------------------------------- 4 files changed, 612 deletions(-) delete mode 100644 base16/abb.yml delete mode 100644 base16/generator.py delete mode 100644 base16/requirements.txt delete mode 100644 base16/template.tmTheme diff --git a/base16/abb.yml b/base16/abb.yml deleted file mode 100644 index 5854d86..0000000 --- a/base16/abb.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Base16 ABB branded color scheme -scheme-author: "Sven Vogel" -scheme-slug: "abb-base16" -scheme-name: "ABB Base16" -base00: "ffffff" # Default Background -base01: "fafafa" # Lighter Background -base02: "f0f0f0" # Selection Background -base03: "6e6e6e" # Comments, Invisibles, Line Highlighting -base04: "000000" # Dark Foreground -base05: "000000" # Default Foreground, Caret, Delimiters, Operators -base06: "fafafa" # Light Foreground (Not often used) -base07: "fafafa" # Light Background (Not often used) -base08: "262626" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted -base09: "004c97" # Integers, Boolean, Constants, XML Attributes, Markup Link Url -base0A: "ff000f" # Classes, Markup Bold, Search Text Background -base0B: "004c97" # Strings, Inherited Class, Markup Code, Diff Inserted -base0C: "262626" # Support, Regular Expressions, Escape Characters, Markup Quotes -base0D: "007a33" # Functions, Methods, Attribute IDs, Headings -base0E: "ff000f" # Keywords, Storage, Selector, Markup Italic, Diff Changed -base0F: "6e6e6e" # Deprecated, Opening/Closing Embedded Language Tags \ No newline at end of file diff --git a/base16/generator.py b/base16/generator.py deleted file mode 100644 index 8494b72..0000000 --- a/base16/generator.py +++ /dev/null @@ -1,30 +0,0 @@ -import yaml -import logging -import sys -import re - -global data - -def replace_tag(match): - return data[match.group(1)] - -if __name__ == '__main__': - logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') - logger = logging.getLogger() - - with open(sys.argv[1], 'r') as file: - data = yaml.safe_load(file) - - content = "" - - with open(sys.argv[2], "r") as file: - logger.info(f"opened file: {sys.argv[2]}") - content = file.read() - logger.info(f"read file: {sys.argv[2]}") - - logger.info(f"converting...") - content = re.sub("\\{\\{([a-z0-9-]+)\\}\\}", replace_tag, content, 0, re.IGNORECASE) - - with open(sys.argv[3], "w") as file: - logger.info(f"writing changes...") - file.write(content) \ No newline at end of file diff --git a/base16/requirements.txt b/base16/requirements.txt deleted file mode 100644 index 4818cc5..0000000 --- a/base16/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -pyyaml \ No newline at end of file diff --git a/base16/template.tmTheme b/base16/template.tmTheme deleted file mode 100644 index bf7cb88..0000000 --- a/base16/template.tmTheme +++ /dev/null @@ -1,561 +0,0 @@ - - - - - author - Template: Chris Kempson, Scheme: {{scheme-author}} - name - Base16 {{scheme-name}} - semanticClass - theme.base16.{{scheme-slug}} - colorSpaceName - sRGB - gutterSettings - - background - #{{base01}} - divider - #{{base01}} - foreground - #{{base03}} - selectionBackground - #{{base02}} - selectionForeground - #{{base04}} - - settings - - - settings - - background - #{{base00}} - caret - #{{base05}} - foreground - #{{base05}} - invisibles - #{{base03}} - lineHighlight - #{{base03}}55 - selection - #{{base02}} - - - - name - Text - scope - variable.parameter.function - settings - - foreground - #{{base05}} - - - - name - Comments - scope - comment, punctuation.definition.comment - settings - - foreground - #{{base03}} - - - - name - Punctuation - scope - punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array - settings - - foreground - #{{base05}} - - - - name - Delimiters - scope - none - settings - - foreground - #{{base05}} - - - - name - Operators - scope - keyword.operator - settings - - foreground - #{{base05}} - - - - name - Keywords - scope - keyword - settings - - foreground - #{{base0E}} - - - - name - Variables - scope - variable - settings - - foreground - #{{base08}} - - - - name - Functions - scope - entity.name.function, meta.require, support.function.any-method, variable.function, variable.annotation, support.macro - settings - - foreground - #{{base0D}} - - - - name - Labels - scope - entity.name.label - settings - - foreground - #{{base0F}} - - - - name - Classes - scope - support.class, entity.name.class, entity.name.type.class - settings - - foreground - #{{base0A}} - - - - name - Classes - scope - meta.class - settings - - foreground - #{{base07}} - - - - name - Methods - scope - keyword.other.special-method - settings - - foreground - #{{base0D}} - - - - name - Storage - scope - storage - settings - - foreground - #{{base0E}} - - - - name - Support - scope - support.function - settings - - foreground - #{{base0C}} - - - - name - Strings, Inherited Class - scope - string, constant.other.symbol, entity.other.inherited-class - settings - - foreground - #{{base0B}} - - - - name - Integers - scope - constant.numeric - settings - - foreground - #{{base09}} - - - - name - Floats - scope - none - settings - - foreground - #{{base09}} - - - - name - Boolean - scope - none - settings - - foreground - #{{base09}} - - - - name - Constants - scope - constant - settings - - foreground - #{{base09}} - - - - name - Tags - scope - entity.name.tag - settings - - foreground - #{{base08}} - - - - name - Attributes - scope - entity.other.attribute-name - settings - - foreground - #{{base09}} - - - - name - Attribute IDs - scope - entity.other.attribute-name.id, punctuation.definition.entity - settings - - foreground - #{{base0D}} - - - - name - Selector - scope - meta.selector - settings - - foreground - #{{base0E}} - - - - name - Values - scope - none - settings - - foreground - #{{base09}} - - - - name - Headings - scope - markup.heading punctuation.definition.heading, entity.name.section - settings - - fontStyle - - foreground - #{{base0D}} - - - - name - Units - scope - keyword.other.unit - settings - - foreground - #{{base09}} - - - - name - Bold - scope - markup.bold, punctuation.definition.bold - settings - - fontStyle - bold - foreground - #{{base0A}} - - - - name - Italic - scope - markup.italic, punctuation.definition.italic - settings - - fontStyle - italic - foreground - #{{base0E}} - - - - name - Code - scope - markup.raw.inline - settings - - foreground - #{{base0B}} - - - - name - Link Text - scope - string.other.link, punctuation.definition.string.end.markdown, punctuation.definition.string.begin.markdown - settings - - foreground - #{{base08}} - - - - name - Link Url - scope - meta.link - settings - - foreground - #{{base09}} - - - - name - Lists - scope - markup.list - settings - - foreground - #{{base08}} - - - - name - Quotes - scope - markup.quote - settings - - foreground - #{{base09}} - - - - name - Separator - scope - meta.separator - settings - - background - #{{base02}} - foreground - #{{base05}} - - - - name - Inserted - scope - markup.inserted - settings - - foreground - #{{base0B}} - - - - name - Deleted - scope - markup.deleted - settings - - foreground - #{{base08}} - - - - name - Changed - scope - markup.changed - settings - - foreground - #{{base0E}} - - - - name - Colors - scope - constant.other.color - settings - - foreground - #{{base0C}} - - - - name - Regular Expressions - scope - string.regexp - settings - - foreground - #{{base0C}} - - - - name - Escape Characters - scope - constant.character.escape - settings - - foreground - #{{base0C}} - - - - name - Embedded - scope - punctuation.section.embedded, variable.interpolation - settings - - foreground - #{{base0E}} - - - - name - Illegal - scope - invalid.illegal - settings - - background - #{{base08}} - foreground - #{{base07}} - - - - name - Broken - scope - invalid.broken - settings - - background - #{{base09}} - foreground - #{{base00}} - - - - name - Deprecated - scope - invalid.deprecated - settings - - background - #{{base0F}} - foreground - #{{base07}} - - - - name - Unimplemented - scope - invalid.unimplemented - settings - - background - #{{base03}} - foreground - #{{base07}} - - - - uuid - uuid - - -