Switch theme to norrsken instead of ayu.
This commit is contained in:
parent
a7c85f076d
commit
0c4bf88aea
21 changed files with 613 additions and 4890 deletions
|
|
@ -1 +1 @@
|
|||
--theme="ayu_mirage"
|
||||
--theme="norrsken"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
542
bat/themes/norrsken.tmTheme
Normal file
542
bat/themes/norrsken.tmTheme
Normal file
|
|
@ -0,0 +1,542 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Norrsken</string>
|
||||
<key>settings</key>
|
||||
<array>
|
||||
|
||||
<!-- Global editor settings -->
|
||||
<dict>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>background</key>
|
||||
<string>#020222</string>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
<key>caret</key>
|
||||
<string>#D4973E</string>
|
||||
<key>lineHighlight</key>
|
||||
<string>#161636</string>
|
||||
<key>selection</key>
|
||||
<string>#2a2a4a</string>
|
||||
<key>selectionBorder</key>
|
||||
<string>#202040</string>
|
||||
<key>findHighlight</key>
|
||||
<string>#FF761A</string>
|
||||
<key>findHighlightForeground</key>
|
||||
<string>#020222</string>
|
||||
<key>invisibles</key>
|
||||
<string>#393959</string>
|
||||
<key>guide</key>
|
||||
<string>#202040</string>
|
||||
<key>activeGuide</key>
|
||||
<string>#393959</string>
|
||||
<key>stackGuide</key>
|
||||
<string>#161636</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Comments -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Comment</string>
|
||||
<key>scope</key>
|
||||
<string>comment, punctuation.definition.comment</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#5c5c7c</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Strings -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>String</string>
|
||||
<key>scope</key>
|
||||
<string>string, string.quoted, string.template</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#CFC1B2</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- String escape sequences -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>String Escape</string>
|
||||
<key>scope</key>
|
||||
<string>constant.character.escape, string.regexp</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#9BCCBF</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Numbers -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Number</string>
|
||||
<key>scope</key>
|
||||
<string>constant.numeric</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#CFC1B2</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Boolean / built-in constants -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Built-in Constants</string>
|
||||
<key>scope</key>
|
||||
<string>constant.language, constant.other</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#CFC1B2</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Keywords -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Keyword</string>
|
||||
<key>scope</key>
|
||||
<string>keyword, keyword.control, keyword.operator.word, storage, storage.type, storage.modifier</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Control flow (return, if, for, while, etc.) -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Control Flow</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.return, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.exception</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Import / include -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Import / Include</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.import, keyword.control.include, keyword.control.from, keyword.other.using, keyword.control.export</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#9BCCBF</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Operators -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Operator</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.operator, punctuation.separator, punctuation.terminator</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#B4B4B9</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Punctuation -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Punctuation</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.definition, punctuation.accessor, punctuation.section, meta.brace, meta.bracket</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#B4B4B9</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Functions -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function Definition</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.function, support.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Function calls -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function Call</string>
|
||||
<key>scope</key>
|
||||
<string>meta.function-call entity.name.function, variable.function, meta.method-call entity.name.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Built-in functions -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Built-in Function</string>
|
||||
<key>scope</key>
|
||||
<string>support.function.builtin, keyword.other.special-method</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Macros / preprocessor -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Macro / Preprocessor</string>
|
||||
<key>scope</key>
|
||||
<string>meta.preprocessor, entity.name.function.preprocessor, keyword.control.directive, support.function.macro</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#9BCCBF</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Types -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Type</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.type, entity.name.class, entity.name.struct, entity.name.interface, entity.name.enum, support.type, support.class</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#7ab4f5</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Type parameters / generics -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Type Parameter</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.type.parameter, storage.type.generic</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#7ab4f5</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Namespaces / modules -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Namespace / Module</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.namespace, entity.name.module, support.other.namespace, entity.name.package</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#607a94</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Variables -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable</string>
|
||||
<key>scope</key>
|
||||
<string>variable, variable.other</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Built-in variables (self, this, etc.) -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Built-in Variable</string>
|
||||
<key>scope</key>
|
||||
<string>variable.language</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Parameters -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Parameter</string>
|
||||
<key>scope</key>
|
||||
<string>variable.parameter</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Object members / properties -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Member / Property</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other.member, variable.other.property, variable.other.object.property</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- HTML / XML Tags -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Tag</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.tag</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Tag attributes -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Tag Attribute</string>
|
||||
<key>scope</key>
|
||||
<string>entity.other.attribute-name</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- CSS / color values -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS Value / Color</string>
|
||||
<key>scope</key>
|
||||
<string>support.constant.color, constant.other.color, meta.property-value support.constant</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#FFB07B</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- CSS property names -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS Property</string>
|
||||
<key>scope</key>
|
||||
<string>support.type.property-name, meta.property-name</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Diff added -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff Added</string>
|
||||
<key>scope</key>
|
||||
<string>markup.inserted</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Diff deleted -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff Deleted</string>
|
||||
<key>scope</key>
|
||||
<string>markup.deleted</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#ff5555</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Diff changed -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff Changed</string>
|
||||
<key>scope</key>
|
||||
<string>markup.changed</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown headings -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Heading</string>
|
||||
<key>scope</key>
|
||||
<string>markup.heading, entity.name.section</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#D4973E</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown bold -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Bold</string>
|
||||
<key>scope</key>
|
||||
<string>markup.bold</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown italic -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Italic</string>
|
||||
<key>scope</key>
|
||||
<string>markup.italic</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eeeef5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown inline code -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Inline Code</string>
|
||||
<key>scope</key>
|
||||
<string>markup.inline.raw, markup.raw.inline</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#9BCCBF</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown links -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Link</string>
|
||||
<key>scope</key>
|
||||
<string>markup.underline.link, string.other.link</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#7ab4f5</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown list markers -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup List</string>
|
||||
<key>scope</key>
|
||||
<string>markup.list punctuation.definition.list, markup.list.bullet</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#34BFA4</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Markdown blockquote -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markup Quote</string>
|
||||
<key>scope</key>
|
||||
<string>markup.quote</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#5c5c7c</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Invalid / error -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Invalid</string>
|
||||
<key>scope</key>
|
||||
<string>invalid, invalid.illegal</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#ff5555</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<!-- Deprecated -->
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Deprecated</string>
|
||||
<key>scope</key>
|
||||
<string>invalid.deprecated</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#5c5c7c</string>
|
||||
<key>fontStyle</key>
|
||||
<string>strikethrough</string>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
</array>
|
||||
<key>uuid</key>
|
||||
<string>3f2e1d0c-9b8a-7f6e-5d4c-3b2a1f0e9d8c</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -1,3 +1 @@
|
|||
ayudark
|
||||
ayumirage
|
||||
ayulight
|
||||
norrsken
|
||||
|
|
|
|||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -394,11 +394,11 @@
|
|||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1771369470,
|
||||
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
|
||||
"lastModified": 1773282481,
|
||||
"narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0182a361324364ae3f436a63005877674cf45efb",
|
||||
"rev": "fe416aaedd397cacb33a610b33d60ff2b431b127",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -35,9 +35,6 @@ clipboard-paste-protection = false
|
|||
window-decoration = false
|
||||
shell-integration = zsh
|
||||
|
||||
# This is the default fallback theme. This is only used
|
||||
# if the colorsync handled theme file doesn't exist.
|
||||
theme = Ayu
|
||||
config-file = ?colorsync_ghostty_theme
|
||||
background-opacity = 1.0
|
||||
background-blur-radius = 7
|
||||
|
|
|
|||
|
|
@ -5,19 +5,13 @@ THEME=$(colorsync get)
|
|||
OUTPUT="$HOME/.config/ghostty/colorsync_ghostty_theme"
|
||||
|
||||
default() {
|
||||
printf "theme = Ayu" > "$OUTPUT"
|
||||
printf "theme = norrsken" > "$OUTPUT"
|
||||
}
|
||||
|
||||
case "$THEME" in
|
||||
ayudark)
|
||||
norrsken)
|
||||
default
|
||||
;;
|
||||
ayumirage)
|
||||
printf "theme = Ayu Mirage" > "$OUTPUT"
|
||||
;;
|
||||
ayulight)
|
||||
printf "theme = ayu_light" > "$OUTPUT"
|
||||
;;
|
||||
*)
|
||||
default
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ float ease(float x) {
|
|||
}
|
||||
|
||||
// Toned down colors with reduced alpha
|
||||
const vec4 TRAIL_COLOR = vec4(0.7, 0.495, 0.111, 0.5);
|
||||
const vec4 TRAIL_COLOR_ACCENT = vec4(0.8, 0., 0., 0.6);
|
||||
const vec4 TRAIL_COLOR = vec4(0.204, 0.749, 0.643, 0.5);
|
||||
const vec4 TRAIL_COLOR_ACCENT = vec4(1.0, 0.773, 0.322, 0.6);
|
||||
const float DURATION = 0.25;
|
||||
const float EXPANSION_FACTOR = 0.05;
|
||||
|
||||
|
|
|
|||
19
ghostty/themes/norrsken
Normal file
19
ghostty/themes/norrsken
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
background = #020222
|
||||
foreground = #eeeef5
|
||||
|
||||
palette = 0=#020222
|
||||
palette = 1=#ff5555
|
||||
palette = 2=#9BCCBF
|
||||
palette = 3=#D4973E
|
||||
palette = 4=#7ab4f5
|
||||
palette = 5=#99A4BC
|
||||
palette = 6=#34BFA4
|
||||
palette = 7=#B4B4B9
|
||||
palette = 8=#393959
|
||||
palette = 9=#ff5555
|
||||
palette = 10=#34BFA4
|
||||
palette = 11=#D4973E
|
||||
palette = 12=#BFDAFF
|
||||
palette = 13=#99A4BC
|
||||
palette = 14=#39c5cf
|
||||
palette = 15=#eeeef5
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
vim.api.nvim_create_augroup("ColorsyncEvents", { clear = true })
|
||||
|
||||
-- Load keymaps before loading any plugins
|
||||
require("keymaps")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +1,22 @@
|
|||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" },
|
||||
"arrow.nvim": { "branch": "master", "commit": "6e0f726f55f99332dd726a53effd6813786b6d49" },
|
||||
"blink.cmp": { "branch": "main", "commit": "4b18c32adef2898f95cdef6192cbd5796c1a332d" },
|
||||
"codecompanion-spinner.nvim": { "branch": "main", "commit": "7797a81141e5de62eecebf2af561698ed58900dc" },
|
||||
"codecompanion.nvim": { "branch": "main", "commit": "bade4034395d327f1fd3defd34cce4793e412a27" },
|
||||
"codediff.nvim": { "branch": "main", "commit": "3891eeb60a3e511c016f3aa9611442f27021dbb1" },
|
||||
"copilot.vim": { "branch": "release", "commit": "a12fd5672110c8aa7e3c8419e28c96943ca179be" },
|
||||
"fff.nvim": { "branch": "main", "commit": "ac8df4c9e4926d23f196f30be052518454dfe251" },
|
||||
"blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" },
|
||||
"codediff.nvim": { "branch": "main", "commit": "93cd80c56f71af4671388c568a37d4c84c3ddefa" },
|
||||
"colorful-menu.nvim": { "branch": "master", "commit": "b51a659459df8d078201aefc995db8175ed55e84" },
|
||||
"demicolon.nvim": { "branch": "main", "commit": "a9ca137474b3a02e1d6ac48bfdb1985172e2ec9a" },
|
||||
"fff.nvim": { "branch": "main", "commit": "dd56a3a8a8a5a85522badaf6485f28c8f7a7c840" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" },
|
||||
"goto-preview": { "branch": "main", "commit": "d2d6923c9b9e0e43f0b9b566f261a8b1ae016540" },
|
||||
"incline.nvim": { "branch": "main", "commit": "8b54c59bcb23366645ae10edca6edfb9d3a0853e" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
|
||||
"live-rename.nvim": { "branch": "main", "commit": "3a3cddf23b89a17992f9ca67afc5858077769462" },
|
||||
"logger.nvim": { "branch": "main", "commit": "63dd10c9b9a159fd6cfe08435d9606384ff103c5" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"markview.nvim": { "branch": "main", "commit": "fdc8bac74550f2ac847578cb74c7ad99b3421bc2" },
|
||||
"neogit": { "branch": "master", "commit": "8fd90675caf8b847280ca56f464b66030adad876" },
|
||||
"neovim-ayu": { "branch": "master", "commit": "e5a9f0fa2918d6b5f57c21b3ac014314ee5e41c8" },
|
||||
"lush.nvim": { "branch": "main", "commit": "9c60ec2279d62487d942ce095e49006af28eed6e" },
|
||||
"markview.nvim": { "branch": "main", "commit": "1861f959599ae03cfd59f56222a542035b0cd947" },
|
||||
"neogit": { "branch": "master", "commit": "d3890fc3cdf0859845a86b2be306bba01458df1a" },
|
||||
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
|
|
@ -29,16 +27,17 @@
|
|||
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
|
||||
"nvim-lightbulb": { "branch": "master", "commit": "aa3a8b0f4305b25cfe368f6c9be9923a7c9d0805" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-norrsken": { "branch": "master", "commit": "692c2a0f81905dc6fd3011361740d610dfa8052d" },
|
||||
"nvim-surround": { "branch": "main", "commit": "61319d4bd1c5e336e197defa15bd104c51f0fb29" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "529ee357b8c03d76ff71233afed68fd0f5fe10b1" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "9a8e39993e3b895601bf8227124a48ea8268149e" },
|
||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
||||
"persistent-breakpoints.nvim": { "branch": "main", "commit": "d1656221836207787b8a7969cc2dc72668c4742a" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "9912042fc8bca2209105526ac7534e9a0c2071b2" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "e6fd58c82f2f3fcddd3fe81703d47d6d48fc7b9f" },
|
||||
"tiny-glimmer.nvim": { "branch": "main", "commit": "932e6c2cc4a43ce578f007db1f8f61ad6798f938" },
|
||||
"tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "ba133b3e932416e4b9507095731a6d7276878fe8" },
|
||||
"visual-whitespace.nvim": { "branch": "main", "commit": "49ff2b1c572ed7033a584381fa23aad2bf3bb258" }
|
||||
|
|
|
|||
|
|
@ -1,38 +1,6 @@
|
|||
local utils = require("utils")
|
||||
|
||||
local function setup_colors()
|
||||
-- These are not apart of the Ayu color theme, however, I needed these
|
||||
-- colors while still fitting in with the rest
|
||||
local ayu_turquoise = "#5CCFE6"
|
||||
local ayu_dark_blue = "#3A7BD5"
|
||||
|
||||
local colors = {
|
||||
info = ayu_dark_blue,
|
||||
hint = ayu_turquoise,
|
||||
warning = utils.ayu_colors.warning,
|
||||
error = utils.ayu_colors.error,
|
||||
}
|
||||
|
||||
for _, highlight in ipairs({
|
||||
{ "DiagnosticUnderlineInfo", { undercurl = true, sp = colors.info } },
|
||||
{ "DiagnosticUnderlineHint", { undercurl = true, sp = colors.hint } },
|
||||
{ "DiagnosticUnderlineWarn", { undercurl = true, sp = colors.warning } },
|
||||
{ "DiagnosticUnderlineError", { undercurl = true, sp = colors.error } },
|
||||
{ "DiagnosticInfo", { fg = colors.info } },
|
||||
{ "DiagnosticHint", { fg = colors.hint } },
|
||||
{ "DiagnosticWarn", { fg = colors.warning } },
|
||||
{ "DiagnosticError", { fg = colors.error } },
|
||||
}) do
|
||||
vim.api.nvim_set_hl(0, highlight[1], highlight[2])
|
||||
end
|
||||
end
|
||||
|
||||
utils.create_user_event_cb("ColorsyncThemeChanged", setup_colors, "ColorsyncEvents")
|
||||
setup_colors()
|
||||
|
||||
local sev = vim.diagnostic.severity
|
||||
vim.diagnostic.config({
|
||||
underline = true,
|
||||
-- underline = true,
|
||||
-- This enables the diagnostics at end of line
|
||||
-- virtual_text = {
|
||||
-- prefix = "●",
|
||||
|
|
|
|||
|
|
@ -1,153 +0,0 @@
|
|||
local uv = vim.loop
|
||||
local utils = require("utils")
|
||||
|
||||
local function force_color_from_reference_on_others(others, reference)
|
||||
local reference_hl = vim.api.nvim_get_hl(0, { name = reference })
|
||||
for _, member in ipairs(others) do
|
||||
local property = vim.api.nvim_get_hl(0, { name = member })
|
||||
property.fg = reference_hl.fg
|
||||
vim.api.nvim_set_hl(0, member, property)
|
||||
end
|
||||
end
|
||||
|
||||
local function reset_hl_groups_for_ft(groups_to_reset)
|
||||
for _, group in ipairs(groups_to_reset) do
|
||||
local ft = group[1]
|
||||
local groups = group[2]
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = ft,
|
||||
callback = function()
|
||||
for _, group_name in ipairs(groups) do
|
||||
vim.api.nvim_set_hl(0, group_name, {})
|
||||
end
|
||||
end,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
"Shatur/neovim-ayu",
|
||||
priority = 1010,
|
||||
config = function()
|
||||
local function set_colorscheme()
|
||||
utils.colorsync_theme = vim.fn.system({ "colorsync", "get" }):gsub("%s+", "")
|
||||
vim.o.background = utils.colorsync_theme == "ayulight" and "light" or "dark"
|
||||
|
||||
local is_mirage = utils.colorsync_theme == "ayumirage"
|
||||
|
||||
local ayu = require("ayu")
|
||||
utils.ayu_colors = require("ayu.colors")
|
||||
utils.ayu_colors.generate(is_mirage)
|
||||
|
||||
local overrides = {
|
||||
global_variable = {
|
||||
underline = true,
|
||||
italic = true,
|
||||
},
|
||||
member_variable = {
|
||||
bold = true,
|
||||
},
|
||||
namespace = {
|
||||
italic = true,
|
||||
fg = utils.ayu_colors.markup,
|
||||
},
|
||||
pre_process = {
|
||||
fg = utils.ayu_colors.keyword,
|
||||
},
|
||||
default_type = {
|
||||
fg = utils.ayu_colors.regexp
|
||||
},
|
||||
type = {
|
||||
fg = utils.ayu_colors.entity,
|
||||
},
|
||||
}
|
||||
|
||||
ayu.setup({
|
||||
mirage = is_mirage,
|
||||
terminal = false,
|
||||
overrides = {
|
||||
-- TRANSPARENCY
|
||||
-- Normal = { bg = "none" },
|
||||
-- NormalFloat = { bg = "none" },
|
||||
-- ColorColumn = { bg = "none" },
|
||||
-- SignColumn = { bg = "none" },
|
||||
-- Folded = { bg = "none" },
|
||||
-- FoldColumn = { bg = "none" },
|
||||
-- CursorColumn = { bg = "none" },
|
||||
-- VertSplit = { bg = "none" },
|
||||
-- TRANSPARENCY
|
||||
CursorLineNr = { bg = "none" },
|
||||
["@property"] = overrides.member_variable,
|
||||
["PreProc"] = overrides.pre_process,
|
||||
--CPP
|
||||
["@lsp.typemod.variable.fileScope.cpp"] = overrides.global_variable,
|
||||
["@lsp.type.namespace.cpp"] = overrides.namespace,
|
||||
["@type.builtin.cpp"] = overrides.default_type,
|
||||
-- CPP
|
||||
--
|
||||
-- Rust
|
||||
["@lsp.type.struct.rust"] = overrides.type,
|
||||
["@lsp.type.namespace.rust"] = overrides.namespace,
|
||||
["@lsp.type.builtinType.rust"] = overrides.default_type,
|
||||
-- Rust
|
||||
--
|
||||
-- C
|
||||
["@lsp.typemod.variable.globalScope.c"] = overrides.global_variable,
|
||||
["@type.builtin.c"] = overrides.default_type,
|
||||
-- C
|
||||
--
|
||||
-- Go
|
||||
-- ["@module.go"] = overrides.namespace, -- The go LSP is not reliable enough for this sadly, sometimes it adds module tokens and sometimes it doesnt.
|
||||
["@variable.member.go"] = overrides.member_variable,
|
||||
["@type.builtin.go"] = overrides.default_type,
|
||||
-- Go
|
||||
--
|
||||
-- Zig
|
||||
["@module.zig"] = overrides.namespace,
|
||||
["@lsp.type.namespace.zig"] = overrides.namespace,
|
||||
["@type.builtin.zig"] = overrides.default_type,
|
||||
["@function.builtin.zig"] = overrides.default_type,
|
||||
["@lsp.type.struct.zig"] = overrides.type,
|
||||
-- ["@variable.member.zig"] = overrides.member_variable,-- Cant have bold member variable in zig, they don't differentiate function calls/accessors from variables, they are all just "members" .... BS LSP
|
||||
-- ["@variable.parameter"] = {},-- Zig LSP is lacking, a parameter is marked as a regular variable outside of it's definition, can't separate between them.
|
||||
-- Zig
|
||||
},
|
||||
})
|
||||
|
||||
ayu.colorscheme()
|
||||
end
|
||||
|
||||
vim.api.nvim_create_augroup("ColorsyncEvents", { clear = true })
|
||||
|
||||
local filepath = os.getenv("HOME") .. "/.local/state/colorsync/current"
|
||||
local handle = uv.new_fs_event()
|
||||
handle:start(filepath, {}, function(err)
|
||||
if err then
|
||||
vim.notify("Error watching: " .. filepath .. "\n" .. err)
|
||||
return
|
||||
end
|
||||
|
||||
vim.schedule(function()
|
||||
set_colorscheme()
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "ColorsyncThemeChanged" })
|
||||
vim.api.nvim_exec_autocmds("ColorScheme", {})
|
||||
end)
|
||||
end)
|
||||
|
||||
set_colorscheme()
|
||||
|
||||
-- Fix nuances of the colorscheme in different languages.
|
||||
-- These changes needs to run after the colorscheme is set.
|
||||
force_color_from_reference_on_others({
|
||||
"@property",
|
||||
"@variable.member.go",
|
||||
"@variable.member",
|
||||
"@variable.member.zig",
|
||||
}, "@variable")
|
||||
|
||||
reset_hl_groups_for_ft({
|
||||
{ "go", { "@property", } },
|
||||
})
|
||||
end
|
||||
}
|
||||
|
|
@ -98,8 +98,6 @@ return {
|
|||
end
|
||||
|
||||
return {
|
||||
guibg = utils.ayu_colors.panel_bg,
|
||||
guifg = utils.ayu_colors.fg,
|
||||
{ " " },
|
||||
{ get_diagnostic_label() },
|
||||
{ get_git_diff() },
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ return {
|
|||
local function setup_lualine()
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
theme = "ayu",
|
||||
theme = require("norrsken.integrations.lualine"),
|
||||
globalstatus = true,
|
||||
section_separators = {
|
||||
left = "",
|
||||
|
|
|
|||
14
nvim/lua/plugs/norrsken.lua
Normal file
14
nvim/lua/plugs/norrsken.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"LarssonMartin1998/nvim-norrsken",
|
||||
priority = 1010,
|
||||
opts = {
|
||||
integrations = {
|
||||
lualine = true,
|
||||
blink = true,
|
||||
noice = true,
|
||||
incline = true,
|
||||
neogit = true,
|
||||
tiny_inline_diagnostics = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
local M = {}
|
||||
|
||||
M.colorsync_theme = nil
|
||||
M.ayu_colors = nil
|
||||
|
||||
function M.set_keymap_list(keymap_list, mode)
|
||||
mode = mode or "n"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ opt.clipboard = "unnamedplus"
|
|||
|
||||
-- Highlight the currently selected row
|
||||
opt.cursorline = true
|
||||
opt.cursorlineopt = "number"
|
||||
opt.cursorlineopt = "both"
|
||||
|
||||
opt.breakindent = true
|
||||
opt.breakindentopt = "list:-1"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,15 @@
|
|||
THEME=$(colorsync get)
|
||||
|
||||
default() {
|
||||
bg="#95E6CB"
|
||||
fg="#000000"
|
||||
text_col="#BFBDB6"
|
||||
bg="#34BFA4"
|
||||
fg="#020222"
|
||||
text_col="#eeeef5"
|
||||
}
|
||||
|
||||
case "$THEME" in
|
||||
ayudark)
|
||||
norrsken)
|
||||
default
|
||||
;;
|
||||
ayumirage)
|
||||
bg="#95E6CB"
|
||||
fg="#101521"
|
||||
text_col="#CCCAC2"
|
||||
;;
|
||||
ayulight)
|
||||
bg="#4CBF99"
|
||||
fg="#F3F4F5"
|
||||
text_col="#5C6166"
|
||||
;;
|
||||
*)
|
||||
default
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -3,25 +3,15 @@
|
|||
THEME=$(colorsync get)
|
||||
|
||||
default() {
|
||||
tmux set-option -g status-bg "#000000"
|
||||
tmux setw -g window-status-format "#[bg=#000000,fg=#BFBDB6] #[bold]#I #[default] #[fg=#59C2FF]#W #[default]"
|
||||
tmux setw -g window-status-current-format "#[bg=#95E6CB,fg=#000000] #[bold]#I #[default] #[fg=#FF8F40]#W #[default]"
|
||||
tmux set-option -g status-bg "#0b0b2b"
|
||||
tmux setw -g window-status-format "#[bg=#0b0b2b,fg=#eeeef5] #[bold]#I #[default] #[fg=#34BFA4]#W #[default]"
|
||||
tmux setw -g window-status-current-format "#[bg=#34BFA4,fg=#020222] #[bold]#I #[default] #[fg=#D4973E]#W #[default]"
|
||||
}
|
||||
|
||||
case "$THEME" in
|
||||
ayudark)
|
||||
norrsken)
|
||||
default
|
||||
;;
|
||||
ayumirage)
|
||||
tmux set-option -g status-bg "#101521"
|
||||
tmux setw -g window-status-format "#[bg=#101521,fg=#CCCAC2] #[bold]#I #[default] #[fg=#73D0FF]#W #[default]"
|
||||
tmux setw -g window-status-current-format "#[bg=#95E6CB,fg=#101521] #[bold]#I #[default] #[fg=#FFCC66]#W #[default]"
|
||||
;;
|
||||
ayulight)
|
||||
tmux set-option -g status-bg "#F0F0F0"
|
||||
tmux setw -g window-status-format "#[bg=#F0F0F0,fg=#5C6166] #[bold]#I #[default] #[fg=#399EE6]#W #[default]"
|
||||
tmux setw -g window-status-current-format "#[bg=#4CBF99,fg=#F0F0F0] #[bold]#I #[default] #[fg=#FA8D3E]#W #[default]"
|
||||
;;
|
||||
*)
|
||||
default
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue