From 496f2a69d2c4bfb26980b913737eff03782bc7d0 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sat, 31 Aug 2024 04:29:47 -0700 Subject: [PATCH] rose-pine --- assets/themes/base16-rose-pine.tmTheme | 560 +++++++++++++++++++++++++ lua/codesnap/config.lua | 2 +- 2 files changed, 561 insertions(+), 1 deletion(-) create mode 100644 assets/themes/base16-rose-pine.tmTheme diff --git a/assets/themes/base16-rose-pine.tmTheme b/assets/themes/base16-rose-pine.tmTheme new file mode 100644 index 0000000..ded2b5d --- /dev/null +++ b/assets/themes/base16-rose-pine.tmTheme @@ -0,0 +1,560 @@ + + + + + author + Template: Chris Kempson, Scheme: Emilia Dunfelt <edun@dunfelt.se> + name + Base16 Rosé Pine + semanticClass + theme.base16.rosé-pine + colorSpaceName + sRGB + gutterSettings + + background + #1f1d2e + divider + #1f1d2e + foreground + #6e6a86 + selectionBackground + #26233a + selectionForeground + #908caa + + settings + + + settings + + background + #191724 + caret + #e0def4 + foreground + #e0def4 + invisibles + #6e6a86 + lineHighlight + #6e6a8655 + selection + #26233a + + + + name + Text + scope + variable.parameter.function + settings + + foreground + #e0def4 + + + + name + Comments + scope + comment, punctuation.definition.comment + settings + + foreground + #6e6a86 + + + + name + Punctuation + scope + punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array + settings + + foreground + #e0def4 + + + + name + Delimiters + scope + none + settings + + foreground + #e0def4 + + + + name + Operators + scope + keyword.operator + settings + + foreground + #e0def4 + + + + name + Keywords + scope + keyword + settings + + foreground + #f6c177 + + + + name + Variables + scope + variable + settings + + foreground + #eb6f92 + + + + name + Functions + scope + entity.name.function, meta.require, support.function.any-method, variable.function, variable.annotation, support.macro + settings + + foreground + #c4a7e7 + + + + name + Labels + scope + entity.name.label + settings + + foreground + #524f67 + + + + name + Classes + scope + support.class, entity.name.class, entity.name.type.class + settings + + foreground + #ebbcba + + + + name + Classes + scope + meta.class + settings + + foreground + #524f67 + + + + name + Methods + scope + keyword.other.special-method + settings + + foreground + #c4a7e7 + + + + name + Storage + scope + storage + settings + + foreground + #f6c177 + + + + name + Support + scope + support.function + settings + + foreground + #9ccfd8 + + + + name + Strings, Inherited Class + scope + string, constant.other.symbol, entity.other.inherited-class + settings + + foreground + #31748f + + + + name + Integers + scope + constant.numeric + settings + + foreground + #f6c177 + + + + name + Floats + scope + none + settings + + foreground + #f6c177 + + + + name + Boolean + scope + none + settings + + foreground + #f6c177 + + + + name + Constants + scope + constant + settings + + foreground + #f6c177 + + + + name + Tags + scope + entity.name.tag + settings + + foreground + #eb6f92 + + + + name + Attributes + scope + entity.other.attribute-name + settings + + foreground + #f6c177 + + + + name + Attribute IDs + scope + entity.other.attribute-name.id, punctuation.definition.entity + settings + + foreground + #c4a7e7 + + + + name + Selector + scope + meta.selector + settings + + foreground + #f6c177 + + + + name + Values + scope + none + settings + + foreground + #f6c177 + + + + name + Headings + scope + markup.heading punctuation.definition.heading, entity.name.section + settings + + fontStyle + + foreground + #c4a7e7 + + + + name + Units + scope + keyword.other.unit + settings + + foreground + #f6c177 + + + + name + Bold + scope + markup.bold, punctuation.definition.bold + settings + + fontStyle + bold + foreground + #ebbcba + + + + name + Italic + scope + markup.italic, punctuation.definition.italic + settings + + fontStyle + italic + foreground + #f6c177 + + + + name + Code + scope + markup.raw.inline + settings + + foreground + #31748f + + + + name + Link Text + scope + string.other.link, punctuation.definition.string.end.markdown, punctuation.definition.string.begin.markdown + settings + + foreground + #eb6f92 + + + + name + Link Url + scope + meta.link + settings + + foreground + #f6c177 + + + + name + Lists + scope + markup.list + settings + + foreground + #eb6f92 + + + + name + Quotes + scope + markup.quote + settings + + foreground + #f6c177 + + + + name + Separator + scope + meta.separator + settings + + background + #26233a + foreground + #e0def4 + + + + name + Inserted + scope + markup.inserted + settings + + foreground + #31748f + + + + name + Deleted + scope + markup.deleted + settings + + foreground + #eb6f92 + + + + name + Changed + scope + markup.changed + settings + + foreground + #f6c177 + + + + name + Colors + scope + constant.other.color + settings + + foreground + #9ccfd8 + + + + name + Regular Expressions + scope + string.regexp + settings + + foreground + #9ccfd8 + + + + name + Escape Characters + scope + constant.character.escape + settings + + foreground + #9ccfd8 + + + + name + Embedded + scope + punctuation.section.embedded, variable.interpolation + settings + + foreground + #f6c177 + + + + name + Illegal + scope + invalid.illegal + settings + + background + #eb6f92 + foreground + #524f67 + + + + name + Broken + scope + invalid.broken + settings + + background + #f6c177 + foreground + #191724 + + + + name + Deprecated + scope + invalid.deprecated + settings + + background + #524f67 + foreground + #524f67 + + + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #6e6a86 + foreground + #524f67 + + + + uuid + uuid + + diff --git a/lua/codesnap/config.lua b/lua/codesnap/config.lua index a91121b..70f36e5 100644 --- a/lua/codesnap/config.lua +++ b/lua/codesnap/config.lua @@ -46,7 +46,7 @@ function config_module.get_config(extension) code_file_path = vim.fn.expand("%:p"), fonts_folder = assets_folder .. "/fonts", themes_folder = assets_folder .. "/themes", - theme = "base16-onedark", + theme = "base16-rose-pine", file_path = static.config.has_breadcrumbs and get_file_path(static.config.show_workspace) or "", start_line_number = static.config.has_line_number and start_line_number or nil, }, static.config)