diff --git a/.gitignore b/.gitignore index f1876b9..84ed325 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ public/* static/syntax-theme-light.css static/syntax-theme-dark.css simple.css +static/giallo-dark.css +static/giallo-light.css +static/processed_images \ No newline at end of file diff --git a/config.toml b/config.toml index a8c3b77..6be5a73 100644 --- a/config.toml +++ b/config.toml @@ -7,17 +7,15 @@ title = "Ungol" generate_feeds = true [markdown] -highlight_code = true -highlight_theme = "css" -highlight_themes_css = [ - { theme = "Catppuccin-macchiato", filename = "syntax-theme-dark.css" }, - { theme = "Catppuccin-latte", filename = "syntax-theme-light.css" }, -] -extra_syntaxes_and_themes = ["highlight_themes"] bottom_footnotes = true insert_anchor_links = "right" render_emoji = true +[markdown.highlighting] +light_theme = "catppuccin-latte" +dark_theme = "catppuccin-macchiato" +style = "class" + [slugify] paths = "safe" anchor = "safe" diff --git a/highlight_themes/Catppuccin-frappe.tmTheme b/highlight_themes/Catppuccin-frappe.tmTheme deleted file mode 100644 index 439606f..0000000 --- a/highlight_themes/Catppuccin-frappe.tmTheme +++ /dev/null @@ -1,959 +0,0 @@ - - - - - name - Catppuccin-frappe - settings - - - settings - - foreground - #c6d0f5 - background - #292c3c - caret - #b5bfe2 - invisibles - #a5adce - gutterForeground - #949cbb - gutterForegroundHighlight - #a6d189 - lineHighlight - #626880 - selection - #737994 - selectionBorder - #303446 - activeGuide - #ef9f76 - findHighlightForeground - #292c3c - findHighlight - #e5c890 - bracketsForeground - #949cbb - bracketContentsForeground - #949cbb - - - - name - Comment - scope - comment - settings - - foreground - #737994 - fontStyle - italic - - - - name - String - scope - string - settings - - foreground - #a6d189 - fontStyle - - - - - name - String regex - scope - string.regexp - settings - - foreground - #ef9f76 - fontStyle - - - - - name - Number - scope - constant.numeric - settings - - foreground - #ef9f76 - fontStyle - - - - - name - Boolean - scope - constant.language.boolean - settings - - foreground - #ef9f76 - fontStyle - bold italic - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #babbf1 - fontStyle - italic - - - - name - Built-in function - scope - support.function.builtin - settings - - foreground - #ef9f76 - fontStyle - italic - - - - name - User-defined constant - scope - variable.other.constant - settings - - foreground - #ef9f76 - fontStyle - - - - - name - Variable - scope - variable - settings - - - - name - Keyword - scope - keyword - settings - - foreground - #e78284 - fontStyle - italic - - - - name - Conditional/loop - scope - keyword.control.loop, keyword.control.conditional, keyword.control.c++ - settings - - foreground - #ca9ee6 - fontStyle - bold - - - - name - Return - scope - keyword.control.return, keyword.control.flow.return - settings - - foreground - #f4b8e4 - fontStyle - bold - - - - name - Exception - scope - support.type.exception - settings - - foreground - #ef9f76 - fontStyle - italic - - - - name - Operator - scope - keyword.operator, punctuation.accessor - settings - - foreground - #99d1db - fontStyle - bold - - - - name - Punctuation separator - scope - punctuation.separator - settings - - foreground - #81c8be - fontStyle - - - - - name - Punctuation terminator - scope - punctuation.terminator - settings - - foreground - #81c8be - fontStyle - - - - - name - Punctuation bracket - scope - punctuation.section - settings - - foreground - #949cbb - fontStyle - - - - - name - Include - scope - keyword.control.import.include - settings - - foreground - #81c8be - fontStyle - italic - - - - name - Storage - scope - storage - settings - - foreground - #e78284 - fontStyle - - - - - name - Storage type - scope - storage.type - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Storage modifier - scope - storage.modifier - settings - - foreground - #e78284 - fontStyle - - - - - name - Storage type namespace - scope - entity.name.namespace, meta.path - settings - - foreground - #f2d5cf - fontStyle - italic - - - - name - Storage type class - scope - storage.type.class - settings - - foreground - #f2d5cf - fontStyle - italic - - - - name - Label - scope - entity.name.label - settings - - foreground - #8caaee - fontStyle - - - - - name - Keyword class - scope - keyword.declaration.class - settings - - foreground - #e78284 - fontStyle - italic - - - - name - Class name - scope - entity.name.class, meta.toc-list.full-identifier - settings - - foreground - #99d1db - fontStyle - - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #99d1db - fontStyle - italic - - - - name - Function name - scope - entity.name.function, variable.function - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Function macro - scope - entity.name.function.preprocessor - settings - - foreground - #e78284 - fontStyle - - - - - name - Macro directive - ifdef - scope - keyword.control.import - settings - - foreground - #e78284 - fontStyle - - - - - name - Constructor - scope - entity.name.function.constructor, entity.name.function.destructor - settings - - foreground - #babbf1 - fontStyle - - - - - name - Function argument - scope - variable.parameter.function - settings - - foreground - #f2d5cf - fontStyle - italic - - - - name - Function declaration - scope - keyword.declaration.function - settings - - foreground - #ea999c - fontStyle - italic - - - - name - Library function - scope - support.function - settings - - foreground - #99d1db - fontStyle - - - - - name - Library constant - scope - support.constant - settings - - foreground - #8caaee - fontStyle - - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Variable function - scope - variable.function - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Variable parameter - scope - variable.parameter - settings - - foreground - #f2d5cf - fontStyle - italic - - - - name - Variable other - scope - variable.other - settings - - foreground - #c6d0f5 - fontStyle - italic - - - - name - Variable field - scope - variable.other.member - settings - - foreground - #f2d5cf - fontStyle - - - - - name - Variable language - scope - variable.language - settings - - foreground - #81c8be - fontStyle - - - - - name - Tag name - scope - entity.name.tag - settings - - foreground - #ef9f76 - fontStyle - - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - foreground - #ca9ee6 - fontStyle - italic - - - - name - Tag delimiter - scope - punctuation.definition.tag - settings - - foreground - #ea999c - fontStyle - - - - - name - Markdown URL - scope - markup.underline.link.markdown - settings - - foreground - #f2d5cf - fontStyle - italic underline - - - - name - Markdown reference - scope - meta.link.inline.description - settings - - foreground - #babbf1 - fontStyle - bold - - - - name - Markdown literal - scope - comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline - settings - - foreground - #81c8be - fontStyle - italic - - - - name - Markdown title - scope - punctuation.definition.heading, entity.name.section - settings - - foreground - #8caaee - fontStyle - bold - - - - name - Markdown emphasis - scope - markup.italic - settings - - foreground - #ea999c - fontStyle - italic - - - - name - Markdown strong - scope - markup.bold - settings - - foreground - #ea999c - fontStyle - bold - - - - name - Escape - scope - constant.character.escape - settings - - foreground - #f4b8e4 - fontStyle - - - - - name - Bash built-in function - scope - source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell - settings - - foreground - #f4b8e4 - fontStyle - - - - - name - Bash parameter - scope - variable.language.shell - settings - - foreground - #e78284 - fontStyle - italic - - - - name - Lua field - scope - source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #babbf1 - fontStyle - italic - - - - name - Lua constructor - scope - source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #eebebe - fontStyle - - - - - name - Java constant - scope - entity.name.constant.java - settings - - foreground - #81c8be - fontStyle - - - - - name - CSS property - scope - support.type.property-name.css - settings - - foreground - #eebebe - fontStyle - italic - - - - name - CSS constant - scope - support.constant.property-value.css - settings - - foreground - #c6d0f5 - fontStyle - - - - - name - CSS suffix - scope - constant.numeric.suffix.css, keyword.other.unit.css - settings - - foreground - #81c8be - fontStyle - italic - - - - name - CSS variable property - scope - variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css - settings - - foreground - #81c8be - fontStyle - - - - - name - SCSS tag - scope - entity.name.tag.css - settings - - foreground - #babbf1 - fontStyle - - - - - name - SASS variable - scope - variable.other.sass - settings - - foreground - #81c8be - fontStyle - - - - - name - Invalid - scope - invalid - settings - - foreground - #c6d0f5 - background - #e78284 - fontStyle - - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #c6d0f5 - background - #ca9ee6 - fontStyle - - - - - name - Diff header - scope - meta.diff, meta.diff.header - settings - - foreground - #737994 - fontStyle - - - - - name - Diff deleted - scope - markup.deleted - settings - - foreground - #e78284 - fontStyle - - - - - name - Diff inserted - scope - markup.inserted - settings - - foreground - #a6d189 - fontStyle - - - - - name - Diff changed - scope - markup.changed - settings - - foreground - #e5c890 - fontStyle - - - - - name - Message error - scope - message.error - settings - - foreground - #e78284 - fontStyle - - - - - uuid - 4d0379b5-ef82-467b-b8b8-365889420646 - colorSpaceName - sRGB - semanticClass - theme.dark.Catppuccin - author - BrunDerSchwarzmagier - - diff --git a/highlight_themes/Catppuccin-latte.tmTheme b/highlight_themes/Catppuccin-latte.tmTheme deleted file mode 100644 index 8471796..0000000 --- a/highlight_themes/Catppuccin-latte.tmTheme +++ /dev/null @@ -1,959 +0,0 @@ - - - - - name - Catppuccin-latte - settings - - - settings - - foreground - #4c4f69 - background - #e6e9ef - caret - #5c5f77 - invisibles - #6c6f85 - gutterForeground - #7c7f93 - gutterForegroundHighlight - #40a02b - lineHighlight - #acb0be - selection - #9ca0b0 - selectionBorder - #eff1f5 - activeGuide - #fe640b - findHighlightForeground - #e6e9ef - findHighlight - #df8e1d - bracketsForeground - #7c7f93 - bracketContentsForeground - #7c7f93 - - - - name - Comment - scope - comment - settings - - foreground - #9ca0b0 - fontStyle - italic - - - - name - String - scope - string - settings - - foreground - #40a02b - fontStyle - - - - - name - String regex - scope - string.regexp - settings - - foreground - #fe640b - fontStyle - - - - - name - Number - scope - constant.numeric - settings - - foreground - #fe640b - fontStyle - - - - - name - Boolean - scope - constant.language.boolean - settings - - foreground - #fe640b - fontStyle - bold italic - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #7287fd - fontStyle - italic - - - - name - Built-in function - scope - support.function.builtin - settings - - foreground - #fe640b - fontStyle - italic - - - - name - User-defined constant - scope - variable.other.constant - settings - - foreground - #fe640b - fontStyle - - - - - name - Variable - scope - variable - settings - - - - name - Keyword - scope - keyword - settings - - foreground - #d20f39 - fontStyle - italic - - - - name - Conditional/loop - scope - keyword.control.loop, keyword.control.conditional, keyword.control.c++ - settings - - foreground - #8839ef - fontStyle - bold - - - - name - Return - scope - keyword.control.return, keyword.control.flow.return - settings - - foreground - #ea76cb - fontStyle - bold - - - - name - Exception - scope - support.type.exception - settings - - foreground - #fe640b - fontStyle - italic - - - - name - Operator - scope - keyword.operator, punctuation.accessor - settings - - foreground - #04a5e5 - fontStyle - bold - - - - name - Punctuation separator - scope - punctuation.separator - settings - - foreground - #179299 - fontStyle - - - - - name - Punctuation terminator - scope - punctuation.terminator - settings - - foreground - #179299 - fontStyle - - - - - name - Punctuation bracket - scope - punctuation.section - settings - - foreground - #7c7f93 - fontStyle - - - - - name - Include - scope - keyword.control.import.include - settings - - foreground - #179299 - fontStyle - italic - - - - name - Storage - scope - storage - settings - - foreground - #d20f39 - fontStyle - - - - - name - Storage type - scope - storage.type - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Storage modifier - scope - storage.modifier - settings - - foreground - #d20f39 - fontStyle - - - - - name - Storage type namespace - scope - entity.name.namespace, meta.path - settings - - foreground - #dc8a78 - fontStyle - italic - - - - name - Storage type class - scope - storage.type.class - settings - - foreground - #dc8a78 - fontStyle - italic - - - - name - Label - scope - entity.name.label - settings - - foreground - #1e66f5 - fontStyle - - - - - name - Keyword class - scope - keyword.declaration.class - settings - - foreground - #d20f39 - fontStyle - italic - - - - name - Class name - scope - entity.name.class, meta.toc-list.full-identifier - settings - - foreground - #04a5e5 - fontStyle - - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #04a5e5 - fontStyle - italic - - - - name - Function name - scope - entity.name.function, variable.function - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Function macro - scope - entity.name.function.preprocessor - settings - - foreground - #d20f39 - fontStyle - - - - - name - Macro directive - ifdef - scope - keyword.control.import - settings - - foreground - #d20f39 - fontStyle - - - - - name - Constructor - scope - entity.name.function.constructor, entity.name.function.destructor - settings - - foreground - #7287fd - fontStyle - - - - - name - Function argument - scope - variable.parameter.function - settings - - foreground - #dc8a78 - fontStyle - italic - - - - name - Function declaration - scope - keyword.declaration.function - settings - - foreground - #e64553 - fontStyle - italic - - - - name - Library function - scope - support.function - settings - - foreground - #04a5e5 - fontStyle - - - - - name - Library constant - scope - support.constant - settings - - foreground - #1e66f5 - fontStyle - - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Variable function - scope - variable.function - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Variable parameter - scope - variable.parameter - settings - - foreground - #dc8a78 - fontStyle - italic - - - - name - Variable other - scope - variable.other - settings - - foreground - #4c4f69 - fontStyle - italic - - - - name - Variable field - scope - variable.other.member - settings - - foreground - #dc8a78 - fontStyle - - - - - name - Variable language - scope - variable.language - settings - - foreground - #179299 - fontStyle - - - - - name - Tag name - scope - entity.name.tag - settings - - foreground - #fe640b - fontStyle - - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - foreground - #8839ef - fontStyle - italic - - - - name - Tag delimiter - scope - punctuation.definition.tag - settings - - foreground - #e64553 - fontStyle - - - - - name - Markdown URL - scope - markup.underline.link.markdown - settings - - foreground - #dc8a78 - fontStyle - italic underline - - - - name - Markdown reference - scope - meta.link.inline.description - settings - - foreground - #7287fd - fontStyle - bold - - - - name - Markdown literal - scope - comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline - settings - - foreground - #179299 - fontStyle - italic - - - - name - Markdown title - scope - punctuation.definition.heading, entity.name.section - settings - - foreground - #1e66f5 - fontStyle - bold - - - - name - Markdown emphasis - scope - markup.italic - settings - - foreground - #e64553 - fontStyle - italic - - - - name - Markdown strong - scope - markup.bold - settings - - foreground - #e64553 - fontStyle - bold - - - - name - Escape - scope - constant.character.escape - settings - - foreground - #ea76cb - fontStyle - - - - - name - Bash built-in function - scope - source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell - settings - - foreground - #ea76cb - fontStyle - - - - - name - Bash parameter - scope - variable.language.shell - settings - - foreground - #d20f39 - fontStyle - italic - - - - name - Lua field - scope - source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #7287fd - fontStyle - italic - - - - name - Lua constructor - scope - source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #dd7878 - fontStyle - - - - - name - Java constant - scope - entity.name.constant.java - settings - - foreground - #179299 - fontStyle - - - - - name - CSS property - scope - support.type.property-name.css - settings - - foreground - #dd7878 - fontStyle - italic - - - - name - CSS constant - scope - support.constant.property-value.css - settings - - foreground - #4c4f69 - fontStyle - - - - - name - CSS suffix - scope - constant.numeric.suffix.css, keyword.other.unit.css - settings - - foreground - #179299 - fontStyle - italic - - - - name - CSS variable property - scope - variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css - settings - - foreground - #179299 - fontStyle - - - - - name - SCSS tag - scope - entity.name.tag.css - settings - - foreground - #7287fd - fontStyle - - - - - name - SASS variable - scope - variable.other.sass - settings - - foreground - #179299 - fontStyle - - - - - name - Invalid - scope - invalid - settings - - foreground - #4c4f69 - background - #d20f39 - fontStyle - - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #4c4f69 - background - #8839ef - fontStyle - - - - - name - Diff header - scope - meta.diff, meta.diff.header - settings - - foreground - #9ca0b0 - fontStyle - - - - - name - Diff deleted - scope - markup.deleted - settings - - foreground - #d20f39 - fontStyle - - - - - name - Diff inserted - scope - markup.inserted - settings - - foreground - #40a02b - fontStyle - - - - - name - Diff changed - scope - markup.changed - settings - - foreground - #df8e1d - fontStyle - - - - - name - Message error - scope - message.error - settings - - foreground - #d20f39 - fontStyle - - - - - uuid - 4d0379b5-ef82-467b-b8b8-365889420646 - colorSpaceName - sRGB - semanticClass - theme.dark.Catppuccin - author - BrunDerSchwarzmagier - - diff --git a/highlight_themes/Catppuccin-macchiato.tmTheme b/highlight_themes/Catppuccin-macchiato.tmTheme deleted file mode 100644 index 5ad9335..0000000 --- a/highlight_themes/Catppuccin-macchiato.tmTheme +++ /dev/null @@ -1,959 +0,0 @@ - - - - - name - Catppuccin-macchiato - settings - - - settings - - foreground - #cad3f5 - background - #1e2030 - caret - #b8c0e0 - invisibles - #a5adcb - gutterForeground - #939ab7 - gutterForegroundHighlight - #a6da95 - lineHighlight - #5b6078 - selection - #6e738d - selectionBorder - #24273a - activeGuide - #f5a97f - findHighlightForeground - #1e2030 - findHighlight - #eed49f - bracketsForeground - #939ab7 - bracketContentsForeground - #939ab7 - - - - name - Comment - scope - comment - settings - - foreground - #6e738d - fontStyle - italic - - - - name - String - scope - string - settings - - foreground - #a6da95 - fontStyle - - - - - name - String regex - scope - string.regexp - settings - - foreground - #f5a97f - fontStyle - - - - - name - Number - scope - constant.numeric - settings - - foreground - #f5a97f - fontStyle - - - - - name - Boolean - scope - constant.language.boolean - settings - - foreground - #f5a97f - fontStyle - bold italic - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #b7bdf8 - fontStyle - italic - - - - name - Built-in function - scope - support.function.builtin - settings - - foreground - #f5a97f - fontStyle - italic - - - - name - User-defined constant - scope - variable.other.constant - settings - - foreground - #f5a97f - fontStyle - - - - - name - Variable - scope - variable - settings - - - - name - Keyword - scope - keyword - settings - - foreground - #ed8796 - fontStyle - italic - - - - name - Conditional/loop - scope - keyword.control.loop, keyword.control.conditional, keyword.control.c++ - settings - - foreground - #c6a0f6 - fontStyle - bold - - - - name - Return - scope - keyword.control.return, keyword.control.flow.return - settings - - foreground - #f5bde6 - fontStyle - bold - - - - name - Exception - scope - support.type.exception - settings - - foreground - #f5a97f - fontStyle - italic - - - - name - Operator - scope - keyword.operator, punctuation.accessor - settings - - foreground - #91d7e3 - fontStyle - bold - - - - name - Punctuation separator - scope - punctuation.separator - settings - - foreground - #8bd5ca - fontStyle - - - - - name - Punctuation terminator - scope - punctuation.terminator - settings - - foreground - #8bd5ca - fontStyle - - - - - name - Punctuation bracket - scope - punctuation.section - settings - - foreground - #939ab7 - fontStyle - - - - - name - Include - scope - keyword.control.import.include - settings - - foreground - #8bd5ca - fontStyle - italic - - - - name - Storage - scope - storage - settings - - foreground - #ed8796 - fontStyle - - - - - name - Storage type - scope - storage.type - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Storage modifier - scope - storage.modifier - settings - - foreground - #ed8796 - fontStyle - - - - - name - Storage type namespace - scope - entity.name.namespace, meta.path - settings - - foreground - #f4dbd6 - fontStyle - italic - - - - name - Storage type class - scope - storage.type.class - settings - - foreground - #f4dbd6 - fontStyle - italic - - - - name - Label - scope - entity.name.label - settings - - foreground - #8aadf4 - fontStyle - - - - - name - Keyword class - scope - keyword.declaration.class - settings - - foreground - #ed8796 - fontStyle - italic - - - - name - Class name - scope - entity.name.class, meta.toc-list.full-identifier - settings - - foreground - #91d7e3 - fontStyle - - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #91d7e3 - fontStyle - italic - - - - name - Function name - scope - entity.name.function, variable.function - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Function macro - scope - entity.name.function.preprocessor - settings - - foreground - #ed8796 - fontStyle - - - - - name - Macro directive - ifdef - scope - keyword.control.import - settings - - foreground - #ed8796 - fontStyle - - - - - name - Constructor - scope - entity.name.function.constructor, entity.name.function.destructor - settings - - foreground - #b7bdf8 - fontStyle - - - - - name - Function argument - scope - variable.parameter.function - settings - - foreground - #f4dbd6 - fontStyle - italic - - - - name - Function declaration - scope - keyword.declaration.function - settings - - foreground - #ee99a0 - fontStyle - italic - - - - name - Library function - scope - support.function - settings - - foreground - #91d7e3 - fontStyle - - - - - name - Library constant - scope - support.constant - settings - - foreground - #8aadf4 - fontStyle - - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Variable function - scope - variable.function - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Variable parameter - scope - variable.parameter - settings - - foreground - #f4dbd6 - fontStyle - italic - - - - name - Variable other - scope - variable.other - settings - - foreground - #cad3f5 - fontStyle - italic - - - - name - Variable field - scope - variable.other.member - settings - - foreground - #f4dbd6 - fontStyle - - - - - name - Variable language - scope - variable.language - settings - - foreground - #8bd5ca - fontStyle - - - - - name - Tag name - scope - entity.name.tag - settings - - foreground - #f5a97f - fontStyle - - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - foreground - #c6a0f6 - fontStyle - italic - - - - name - Tag delimiter - scope - punctuation.definition.tag - settings - - foreground - #ee99a0 - fontStyle - - - - - name - Markdown URL - scope - markup.underline.link.markdown - settings - - foreground - #f4dbd6 - fontStyle - italic underline - - - - name - Markdown reference - scope - meta.link.inline.description - settings - - foreground - #b7bdf8 - fontStyle - bold - - - - name - Markdown literal - scope - comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline - settings - - foreground - #8bd5ca - fontStyle - italic - - - - name - Markdown title - scope - punctuation.definition.heading, entity.name.section - settings - - foreground - #8aadf4 - fontStyle - bold - - - - name - Markdown emphasis - scope - markup.italic - settings - - foreground - #ee99a0 - fontStyle - italic - - - - name - Markdown strong - scope - markup.bold - settings - - foreground - #ee99a0 - fontStyle - bold - - - - name - Escape - scope - constant.character.escape - settings - - foreground - #f5bde6 - fontStyle - - - - - name - Bash built-in function - scope - source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell - settings - - foreground - #f5bde6 - fontStyle - - - - - name - Bash parameter - scope - variable.language.shell - settings - - foreground - #ed8796 - fontStyle - italic - - - - name - Lua field - scope - source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #b7bdf8 - fontStyle - italic - - - - name - Lua constructor - scope - source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #f0c6c6 - fontStyle - - - - - name - Java constant - scope - entity.name.constant.java - settings - - foreground - #8bd5ca - fontStyle - - - - - name - CSS property - scope - support.type.property-name.css - settings - - foreground - #f0c6c6 - fontStyle - italic - - - - name - CSS constant - scope - support.constant.property-value.css - settings - - foreground - #cad3f5 - fontStyle - - - - - name - CSS suffix - scope - constant.numeric.suffix.css, keyword.other.unit.css - settings - - foreground - #8bd5ca - fontStyle - italic - - - - name - CSS variable property - scope - variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css - settings - - foreground - #8bd5ca - fontStyle - - - - - name - SCSS tag - scope - entity.name.tag.css - settings - - foreground - #b7bdf8 - fontStyle - - - - - name - SASS variable - scope - variable.other.sass - settings - - foreground - #8bd5ca - fontStyle - - - - - name - Invalid - scope - invalid - settings - - foreground - #cad3f5 - background - #ed8796 - fontStyle - - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #cad3f5 - background - #c6a0f6 - fontStyle - - - - - name - Diff header - scope - meta.diff, meta.diff.header - settings - - foreground - #6e738d - fontStyle - - - - - name - Diff deleted - scope - markup.deleted - settings - - foreground - #ed8796 - fontStyle - - - - - name - Diff inserted - scope - markup.inserted - settings - - foreground - #a6da95 - fontStyle - - - - - name - Diff changed - scope - markup.changed - settings - - foreground - #eed49f - fontStyle - - - - - name - Message error - scope - message.error - settings - - foreground - #ed8796 - fontStyle - - - - - uuid - 4d0379b5-ef82-467b-b8b8-365889420646 - colorSpaceName - sRGB - semanticClass - theme.dark.Catppuccin - author - BrunDerSchwarzmagier - - diff --git a/highlight_themes/Catppuccin-mocha.tmTheme b/highlight_themes/Catppuccin-mocha.tmTheme deleted file mode 100644 index 628256f..0000000 --- a/highlight_themes/Catppuccin-mocha.tmTheme +++ /dev/null @@ -1,959 +0,0 @@ - - - - - name - Catppuccin-mocha - settings - - - settings - - foreground - #cdd6f4 - background - #181825 - caret - #bac2de - invisibles - #a6adc8 - gutterForeground - #9399b2 - gutterForegroundHighlight - #a6e3a1 - lineHighlight - #585b70 - selection - #6c7086 - selectionBorder - #1e1e2e - activeGuide - #fab387 - findHighlightForeground - #181825 - findHighlight - #f9e2af - bracketsForeground - #9399b2 - bracketContentsForeground - #9399b2 - - - - name - Comment - scope - comment - settings - - foreground - #6c7086 - fontStyle - italic - - - - name - String - scope - string - settings - - foreground - #a6e3a1 - fontStyle - - - - - name - String regex - scope - string.regexp - settings - - foreground - #fab387 - fontStyle - - - - - name - Number - scope - constant.numeric - settings - - foreground - #fab387 - fontStyle - - - - - name - Boolean - scope - constant.language.boolean - settings - - foreground - #fab387 - fontStyle - bold italic - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #b4befe - fontStyle - italic - - - - name - Built-in function - scope - support.function.builtin - settings - - foreground - #fab387 - fontStyle - italic - - - - name - User-defined constant - scope - variable.other.constant - settings - - foreground - #fab387 - fontStyle - - - - - name - Variable - scope - variable - settings - - - - name - Keyword - scope - keyword - settings - - foreground - #f38ba8 - fontStyle - italic - - - - name - Conditional/loop - scope - keyword.control.loop, keyword.control.conditional, keyword.control.c++ - settings - - foreground - #cba6f7 - fontStyle - bold - - - - name - Return - scope - keyword.control.return, keyword.control.flow.return - settings - - foreground - #f5c2e7 - fontStyle - bold - - - - name - Exception - scope - support.type.exception - settings - - foreground - #fab387 - fontStyle - italic - - - - name - Operator - scope - keyword.operator, punctuation.accessor - settings - - foreground - #89dceb - fontStyle - bold - - - - name - Punctuation separator - scope - punctuation.separator - settings - - foreground - #94e2d5 - fontStyle - - - - - name - Punctuation terminator - scope - punctuation.terminator - settings - - foreground - #94e2d5 - fontStyle - - - - - name - Punctuation bracket - scope - punctuation.section - settings - - foreground - #9399b2 - fontStyle - - - - - name - Include - scope - keyword.control.import.include - settings - - foreground - #94e2d5 - fontStyle - italic - - - - name - Storage - scope - storage - settings - - foreground - #f38ba8 - fontStyle - - - - - name - Storage type - scope - storage.type - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Storage modifier - scope - storage.modifier - settings - - foreground - #f38ba8 - fontStyle - - - - - name - Storage type namespace - scope - entity.name.namespace, meta.path - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Storage type class - scope - storage.type.class - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Label - scope - entity.name.label - settings - - foreground - #89b4fa - fontStyle - - - - - name - Keyword class - scope - keyword.declaration.class - settings - - foreground - #f38ba8 - fontStyle - italic - - - - name - Class name - scope - entity.name.class, meta.toc-list.full-identifier - settings - - foreground - #89dceb - fontStyle - - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #89dceb - fontStyle - italic - - - - name - Function name - scope - entity.name.function, variable.function - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Function macro - scope - entity.name.function.preprocessor - settings - - foreground - #f38ba8 - fontStyle - - - - - name - Macro directive - ifdef - scope - keyword.control.import - settings - - foreground - #f38ba8 - fontStyle - - - - - name - Constructor - scope - entity.name.function.constructor, entity.name.function.destructor - settings - - foreground - #b4befe - fontStyle - - - - - name - Function argument - scope - variable.parameter.function - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Function declaration - scope - keyword.declaration.function - settings - - foreground - #eba0ac - fontStyle - italic - - - - name - Library function - scope - support.function - settings - - foreground - #89dceb - fontStyle - - - - - name - Library constant - scope - support.constant - settings - - foreground - #89b4fa - fontStyle - - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Variable function - scope - variable.function - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Variable parameter - scope - variable.parameter - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Variable other - scope - variable.other - settings - - foreground - #cdd6f4 - fontStyle - italic - - - - name - Variable field - scope - variable.other.member - settings - - foreground - #f5e0dc - fontStyle - - - - - name - Variable language - scope - variable.language - settings - - foreground - #94e2d5 - fontStyle - - - - - name - Tag name - scope - entity.name.tag - settings - - foreground - #fab387 - fontStyle - - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - foreground - #cba6f7 - fontStyle - italic - - - - name - Tag delimiter - scope - punctuation.definition.tag - settings - - foreground - #eba0ac - fontStyle - - - - - name - Markdown URL - scope - markup.underline.link.markdown - settings - - foreground - #f5e0dc - fontStyle - italic underline - - - - name - Markdown reference - scope - meta.link.inline.description - settings - - foreground - #b4befe - fontStyle - bold - - - - name - Markdown literal - scope - comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline - settings - - foreground - #94e2d5 - fontStyle - italic - - - - name - Markdown title - scope - punctuation.definition.heading, entity.name.section - settings - - foreground - #89b4fa - fontStyle - bold - - - - name - Markdown emphasis - scope - markup.italic - settings - - foreground - #eba0ac - fontStyle - italic - - - - name - Markdown strong - scope - markup.bold - settings - - foreground - #eba0ac - fontStyle - bold - - - - name - Escape - scope - constant.character.escape - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - Bash built-in function - scope - source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - Bash parameter - scope - variable.language.shell - settings - - foreground - #f38ba8 - fontStyle - italic - - - - name - Lua field - scope - source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #b4befe - fontStyle - italic - - - - name - Lua constructor - scope - source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #f2cdcd - fontStyle - - - - - name - Java constant - scope - entity.name.constant.java - settings - - foreground - #94e2d5 - fontStyle - - - - - name - CSS property - scope - support.type.property-name.css - settings - - foreground - #f2cdcd - fontStyle - italic - - - - name - CSS constant - scope - support.constant.property-value.css - settings - - foreground - #cdd6f4 - fontStyle - - - - - name - CSS suffix - scope - constant.numeric.suffix.css, keyword.other.unit.css - settings - - foreground - #94e2d5 - fontStyle - italic - - - - name - CSS variable property - scope - variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css - settings - - foreground - #94e2d5 - fontStyle - - - - - name - SCSS tag - scope - entity.name.tag.css - settings - - foreground - #b4befe - fontStyle - - - - - name - SASS variable - scope - variable.other.sass - settings - - foreground - #94e2d5 - fontStyle - - - - - name - Invalid - scope - invalid - settings - - foreground - #cdd6f4 - background - #f38ba8 - fontStyle - - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #cdd6f4 - background - #cba6f7 - fontStyle - - - - - name - Diff header - scope - meta.diff, meta.diff.header - settings - - foreground - #6c7086 - fontStyle - - - - - name - Diff deleted - scope - markup.deleted - settings - - foreground - #f38ba8 - fontStyle - - - - - name - Diff inserted - scope - markup.inserted - settings - - foreground - #a6e3a1 - fontStyle - - - - - name - Diff changed - scope - markup.changed - settings - - foreground - #f9e2af - fontStyle - - - - - name - Message error - scope - message.error - settings - - foreground - #f38ba8 - fontStyle - - - - - uuid - 4d0379b5-ef82-467b-b8b8-365889420646 - colorSpaceName - sRGB - semanticClass - theme.dark.Catppuccin - author - BrunDerSchwarzmagier - - diff --git a/sass/parts/_code.scss b/sass/parts/_code.scss index a965df2..f281fca 100644 --- a/sass/parts/_code.scss +++ b/sass/parts/_code.scss @@ -1,3 +1,6 @@ +@import url("giallo-dark.css") (prefers-color-scheme: dark); +@import url("giallo-light.css") (prefers-color-scheme: light); + pre { position: relative; font-family: var(--mono-font); @@ -57,4 +60,8 @@ code { border-style: dashed; border-width: .1rem; border-color: var(--surface0); +} + +.giallo-ln { + padding-right: 1rem; } \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index ef212a8..544e3af 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,8 +5,6 @@ - - {% block rss %}