fix: syntax colors and colorized brackets - #31
Open
alihakankurt wants to merge 1 commit into
Open
Conversation
- Fix some syntax token colors to match the Rosé Pine palette specification - Introduce new syntax tokens for LSP semantic highlights - Add accents array to use colorized brackets with Rosé Pine colors - Use $highlightHigh for `border.variant` to visually separate elevated surfaces (e.g. command palette, context menu)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
border.variantto visually separate elevated surfaces (e.g. command palette, context menu)Details
constant/number→$rose,enum→$foam,preproc→$pine,property→$iris,string.escape/string.special→$iris,string.special.symbol→$gold.constant.builtin,constant.macrofunction.builtin,function.call,function.decorator,function.macro,function.method,function.method.callkeyword.modifier,keyword.preprocmodule,namespacetag.doctype,tag.attribute,tag.delimitertype.builtin,type.class,type.enum,type.interface,type.struct,type.parameter,type.definition, …variable.builtin,variable.parametertextaccentsarray ($love,$gold,$rose,$pine,$foam,$iris) so matching brackets are tinted with palette colors.border.variantnow uses$highlightHighinstead of$surfaceto delineate popovers/menus.Notes
propertychange, JSON keys now use$irisinstead of$foam. If we'd prefer to keep$foamfor JSON keys, we can addproperty.json_keyto override it.Screenshots
semantic_tokensset tocombined)Issues
Fixes #26
Fixes #30