Initial commit

This commit is contained in:
Kalle Carlbark 2024-07-31 21:03:52 +02:00
commit 9abc78fb0d
No known key found for this signature in database
3 changed files with 203 additions and 0 deletions

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 kcbark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

30
README.md Normal file
View file

@ -0,0 +1,30 @@
# sitruuna.vim
A fresh lemon inspired colorscheme for helix ported over from https://github.com/haze/sitruuna.vim
## Installation
Put sitruuna.toml in ~/.config/helix/runtime/themes
## Colors
| Usage | color hex |
| --- | --- |
| lemon | #FAC03B |
| special | #ffb354 |
| preproc | #a29bfe |
| function | #a3db81 |
| foreground | #d1d1d1 |
| fg\_alt | #a1a1a1 |
| statusline | #34373a |
| darker | #131515 |
| background | #181a1b |
| light\_bg | #1d2023 |
| lighter\_bg | #242629 |
| comment | #4c5356 |
| selection | #2D3032 |
| string | #37ad82 |
| type | #7398dd |
| constant | #ca70d6 |
| error | #c15959 |

152
sitruuna.toml Normal file
View file

@ -0,0 +1,152 @@
# sitruuna
# Author: kcbark
# Adaptation of https://github.com/haze/sitruuna.vim
# Original author: eemed
# All credits to the original author, the palette is taken from the README
# because of some theming differences, it's not an exact copy of the original.
#inherits = "kanagawa"
## User interface
"ui.selection" = { bg = "sitruuna_selection" }
"ui.selection.primary" = { bg = "sitruuna_selection" }
"ui.background" = { bg = "sitruuna_background" }
"ui.linenr" = { fg = "sitruuna_comment", bg = "sitruuna_light_bg"}
"ui.linenr.selected" = { fg = "sitruuna_special", bg = "sitruuna_light_bg"}
"ui.gutter" = { fg = "sitruuna_comment", bg = "sitruuna_light_bg"}
"ui.virtual" = "lotusWhite4"
"ui.virtual.indent-guide" = { fg = "sitruuna_statusline"}
"ui.virtual.ruler" = { bg = "sitruuna_comment" }
"ui.virtual.inlay-hint" = "sitruuna_light_bg"
"ui.virtual.inlay-hint.parameter" = { fg = "lotusYellow", modifiers = ["dim"] }
"ui.virtual.inlay-hint.type" = { fg = "lotusAqua", modifiers = ["dim"] }
"ui.virtual.jump-label" = { fg = "lotusYellow2", modifiers = ["bold"] }
"ui.statusline" = { fg = "sitruuna_foreground", bg = "sitruuna_background" }
"ui.statusline.inactive" = { fg = "sitruuna_foreground", bg = "sitruuna_background" }
"ui.statusline.normal" = { fg = "sitruuna_background", bg = "sitruuna_lemon", modifiers = ["bold"] }
"ui.statusline.insert" = { fg = "sitruuna_background", bg = "sitruuna_string", modifiers = ["bold"] }
"ui.statusline.select" = { fg = "sitruuna_background", bg = "sitruuna_bright_lemon", modifiers = ["bold"] }
"ui.statusline.separator" = { fg = "sitruuna_lemon", modifiers = ["bold"] }
"ui.bufferline" = { fg = "sitruuna_fg_alt", bg = "sitruuna_background" }
"ui.bufferline.active" = { fg = "sitruuna_foreground", bg = "sitruuna_background" }
"ui.bufferline.background" = { bg = "sitruuna_background" }
"ui.popup" = { fg = "sitruuna_foreground", bg = "sitruuna_darker" }
"ui.window" = { fg = "sitruuna_fg_alt" }
"ui.help" = { fg = "sitruuna_fg_alt_2", bg = "sitruuna_background" }
"ui.text" = "sitruuna_foreground"
"ui.text.focus" = { fg = "sitruuna_foreground", bg = "sitruuna_selection", modifiers = ["bold"] }
"ui.cursor" = { fg = "sitruuna_background", bg = "sitruuna_foreground"}
"ui.cursor.primary" = { fg = "sitruuna_background", bg = "sitruuna_foreground" }
"ui.cursor.match" = { fg = "sitruuna_special", modifiers = ["bold"] }
"ui.highlight" = { fg = "sitruuna_background", bg = "sitruuna_lemon" }
"ui.menu" = { fg = "sitruuna_foreground", bg = "sitruuna_darker" }
"ui.menu.selected" = { fg = "sitruuna_lemon", bg = "sitruuna_selection", modifiers = ["bold"] }
"ui.menu.scroll" = { fg = "sitruuna_foreground", bg = "sitruuna_background" }
"ui.cursorline.primary" = { bg = "sitruuna_light_bg" }
"ui.cursorline.secondary" = { bg = "sitruuna_lighter_bg" }
"diagnostic.error" = { underline = { color = "sitruuna_error", style = "curl" } }
"diagnostic.warning" = { underline = { color = "sitruuna_lemon", style = "curl" } }
"diagnostic.info" = { underline = { color = "sitruuna_preproc", style = "curl" } }
"diagnostic.hint" = { underline = { color = "sitruuna_string", style = "curl" } }
"diagnostic.unnecessary" = { modifiers = ["dim"] }
"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
error = "sitruuna_error"
warning = "sitruuna_lemon"
info = "sitruuna_preproc"
hint = "sitruuna_string"
debug = "special"
## Git gutter
"diff.plus" = "sitruuna_function"
"diff.minus" = "sitruuna_error"
"diff.delta" = "sitruuna_bright_lemon"
## Syntax highlighting
"attribute" = "sitruuna_type"
"type" = { fg = "sitruuna_type" } #, modifiers = ["bold"] }
"type.builtin" = "sitruuna_type"
"type.parameter" = "sitruuna_type"
"type.enum" = "sitruuna_type"
"constructor" = "sitruuna_function"
"constant" = "sitruuna_constant"
"constant.builtin.boolean" = { fg = "sitruuna_lemon", modifiers = ["bold"] }
"constant.numeric" = { fg = "sitruuna_numeric" }
"constant.character.escape" = "sitruuna_constant"
"string" = "sitruuna_string"
"string.regexp" = "sitruuna_string_regexp"
"string.special.url" = "sitruuna_string_url"
"string.special.symbol" = "sitruuna_error"
"comment" = "sitruuna_comment"
"variable" = { fg = "sitruuna_type" } #, modifiers = ["bold"] }
"variable.builtin" = "sitruuna_error"
"variable.parameter" = "sitruuna_string"
"variable.other.member" = "sitruuna_other"
"label" = "sitruuna_lemon"
"punctuation" = "sitruuna_foreground"
"keyword" = { fg = "sitruuna_lemon", modifiers = ["bold"] }
"keyword.control.return" = "sitruuna_error"
"keyword.control.exception" = "sitruuna_red"
"keyword.directive" = "sitruuna_error"
"operator" = "sitruuna_function"
"function" = "sitruuna_function"
"function.builtin" = "sitruuna_preproc"
"function.macro" = "sitruuna_error"
"tag" = "sitruuna_lemon"
"namespace" = "sitruuna_special"
"special" = "sitruuna_special"
## Markup modifiers
"markup.heading.marker" = "lotusTeal1"
"markup.heading.1" = { fg = "lotusOrange", modifiers = ["bold"] }
"markup.heading.2" = { fg = "lotusYellow", modifiers = ["bold"] }
"markup.heading.3" = { fg = "sitruuna_lemon", modifiers = ["bold"] }
"markup.heading.4" = { fg = "lotusBlue4", modifiers = ["bold"] }
"markup.heading.5" = { fg = "lotusViolet4", modifiers = ["bold"] }
"markup.heading.6" = { fg = "lotusTeal2", modifiers = ["bold"] }
"markup.list.numbered" = "lotusPink"
"markup.list.unnumbered" = "lotusRed"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"markup.link.text" = "lotusBlue4"
"markup.link.url" = { fg = "lotusTeal2", underline.style = "line" }
"markup.link.label" = "lotusOrange"
"markup.quote" = "lotusTeal2"
"markup.raw" = "lotusGreen"
[palette]
sitruuna_lemon = "#FAC03B"
sitruuna_bright_lemon = "#fcd988"
sitruuna_special = "#f1d47a"
sitruuna_preproc = "#a29bfe"
sitruuna_function = "#a3db81"
sitruuna_foreground = "#c8c8c8"
sitruuna_fg_alt = "#a1a1a1"
sitruuna_fg_alt_2 = "#bbbbbb"
sitruuna_statusline = "#34373a"
sitruuna_darker = "#131515"
sitruuna_background = "#181a1b"
sitruuna_light_bg = "#1d2023"
sitruuna_lighter_bg = "#242629"
sitruuna_comment = "#9da1a3"
sitruuna_selection = "#2D3032"
sitruuna_string = "#a1e0ea"
sitruuna_string_regex = "#A2EBD0"
sitruuna_string_url = "#A2BDEB"
sitruuna_type = "#EEEEEE"
sitruuna_constant = "#EEEEEE"
sitruuna_white = "#FFFFFF"
sitruuna_error = "#c15959"
sitruuna_doc_comment = "#52595b"
sitruuna_other = "#9E95C7"
sitruuna_placeholder = "#fc0f2e"
sitruuna_red = "#C2598D"
sitruuna_numeric = "#A2BDEB"