From 39a7925f148cfff750526c44c8c6820babfb9eb7 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sat, 31 Aug 2024 05:23:11 -0700 Subject: [PATCH] rose-pine-offical --- assets/themes/rose-pine-official-tm.tmTheme | 299 ++++++++++++++++++++ lua/codesnap/config.lua | 2 +- 2 files changed, 300 insertions(+), 1 deletion(-) create mode 100644 assets/themes/rose-pine-official-tm.tmTheme diff --git a/assets/themes/rose-pine-official-tm.tmTheme b/assets/themes/rose-pine-official-tm.tmTheme new file mode 100644 index 0000000..7dea0f1 --- /dev/null +++ b/assets/themes/rose-pine-official-tm.tmTheme @@ -0,0 +1,299 @@ + + + + + name + Rosé Pine + settings + + + settings + + background + #191724 + caret + #524f67 + foreground + #e0def4 + invisibles + #1f1d2e + lineHighlight + #21202e + selection + #403d52 + + + + name + Comment + scope + comment + settings + + foreground + #908caa + + + + name + String + scope + string + settings + + foreground + #f6c177 + + + + name + Number + scope + constant.numeric + settings + + foreground + #c4a7e7 + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #c4a7e7 + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #c4a7e7 + + + + name + Variable + scope + variable + settings + + fontStyle + + foreground + #ebbcba + + + + name + Keyword + scope + keyword + settings + + foreground + #eb6f92 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #eb6f92 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + italic + foreground + #9ccfd8 + + + + name + Class name + scope + entity.name.class + settings + + fontStyle + bold + foreground + #31748f + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #31748f + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + + foreground + #31748f + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + italic + foreground + #f6c177 + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #eb6f92 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #31748f + + + + name + Library function + scope + support.function + settings + + fontStyle + + foreground + #9ccfd8 + + + + name + Library constant + scope + support.constant + settings + + fontStyle + + foreground + #9ccfd8 + + + + name + Library class/type + scope + support.type, support.class + settings + + fontStyle + italic + foreground + #9ccfd8 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + + + + + name + Invalid + scope + invalid + settings + + background + #eb6f92 + fontStyle + + foreground + #e0def4 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + background + #c4a7e7 + foreground + #e0def4 + + + + uuid + c3af112c-80e3-45fe-8890-43ca225fda21 + colorSpaceName + sRGB + semanticClass + theme.dark.rosé_pine + author + oplik0 + comment + soho vibes - modified from the sublime text theme by ThatOneCalculator + + diff --git a/lua/codesnap/config.lua b/lua/codesnap/config.lua index 70f36e5..9d06058 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-rose-pine", + theme = "rose-pine-official-tm", 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)