This commit is contained in:
Cat /dev/Nulo 2021-09-07 21:41:27 -03:00
commit 713489d22e
6 changed files with 383 additions and 0 deletions

BIN
assets/kakoune.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

77
colors/rose-pine-dawn.kak Normal file
View file

@ -0,0 +1,77 @@
evaluate-commands %sh{
base=rgb:faf4ed
surface=rgb:fffaf3
overlay=rgb:f2e9de
inactive=rgb:9893a5
subtle=rgb:6e6a86
text=rgb:575279
love=rgb:b4637a
gold=rgb:ea9d34
rose=rgb:d7827e
pine=rgb:286983
foam=rgb:56949f
iris=rgb:907aa9
highlight=rgb:eee9e6
highlightInactive=rgb:f2ede9
highlightOverlay=rgb:e4dfde
## code
echo "
face global value ${iris}
face global type ${iris}
face global identifier ${subtle}
face global string ${gold}
face global keyword ${pine}
face global operator default
face global attribute ${subtle}
face global comment ${subtle}+i
face global meta ${foam}
face global builtin ${foam}+b
face global variable ${rose}
face global module ${foam}
face global function ${foam}
"
## markup
echo "
face global title ${foam}+b
face global header ${foam}+b
face global bold ${gold}+b
face global italic ${iris}
face global mono ${rose}
face global block ${pine}
face global link ${love}
face global bullet ${rose}
face global list ${rose}
"
## builtin
echo "
face global Default ${text},${base}
face global PrimarySelection default,${highlight}
# We should use highlightInactive, however it makes it hard to notice the selection and inactive selections are important in Kakoune!
face global SecondarySelection default,${overlay}
face global PrimaryCursor ${base},${text}
face global SecondaryCursor default,${inactive}
face global LineNumbers ${overlay},${base}
face global LineNumberCursor ${gold},${base}
face global MenuForeground ${base},${foam}
face global MenuBackground ${text},${overlay}
face global MenuInfo ${overlay}
face global Information ${text},${overlay}
face global Error ${base},${love}
face global StatusLine ${text},${surface}
face global StatusLineMode ${rose}
face global StatusLineInfo ${foam}
face global StatusLineValue ${pine}
face global StatusCursor ${base},${text}
face global Prompt ${foam},${surface}
face global MatchingChar default+u
face global BufferPadding ${inactive},${base}
face global Whitespace ${inactive}+f
"
}

77
colors/rose-pine-moon.kak Normal file
View file

@ -0,0 +1,77 @@
evaluate-commands %sh{
base=rgb:232136
surface=rgb:2a273f
overlay=rgb:393552
inactive=rgb:59546d
subtle=rgb:817c9c
text=rgb:e0def4
love=rgb:eb6f92
gold=rgb:f6c177
rose=rgb:ea9a97
pine=rgb:3e8fb0
foam=rgb:9ccfd8
iris=rgb:c4a7e7
highlight=rgb:312f44
highlightInactive=rgb:2a283d
highlightOverlay=rgb:3f3c53
## code
echo "
face global value ${iris}
face global type ${iris}
face global identifier ${subtle}
face global string ${gold}
face global keyword ${pine}
face global operator default
face global attribute ${subtle}
face global comment ${subtle}+i
face global meta ${foam}
face global builtin ${foam}+b
face global variable ${rose}
face global module ${foam}
face global function ${foam}
"
## markup
echo "
face global title ${foam}+b
face global header ${foam}+b
face global bold ${gold}+b
face global italic ${iris}
face global mono ${rose}
face global block ${pine}
face global link ${love}
face global bullet ${rose}
face global list ${rose}
"
## builtin
echo "
face global Default ${text},${base}
face global PrimarySelection default,${highlight}
# We should use highlightInactive, however it makes it hard to notice the selection and inactive selections are important in Kakoune!
face global SecondarySelection default,${overlay}
face global PrimaryCursor ${base},${text}
face global SecondaryCursor default,${inactive}
face global LineNumbers ${overlay},${base}
face global LineNumberCursor ${gold},${base}
face global MenuForeground ${base},${foam}
face global MenuBackground ${text},${overlay}
face global MenuInfo ${overlay}
face global Information ${text},${overlay}
face global Error ${base},${love}
face global StatusLine ${text},${surface}
face global StatusLineMode ${rose}
face global StatusLineInfo ${foam}
face global StatusLineValue ${pine}
face global StatusCursor ${base},${text}
face global Prompt ${foam},${surface}
face global MatchingChar default+u
face global BufferPadding ${inactive},${base}
face global Whitespace ${inactive}+f
"
}

77
colors/rose-pine.kak Normal file
View file

@ -0,0 +1,77 @@
evaluate-commands %sh{
base=rgb:191724
surface=rgb:1f1d2e
overlay=rgb:26233a
inactive=rgb:555169
subtle=rgb:6e6a86
text=rgb:e0def4
love=rgb:eb6f92
gold=rgb:f6c177
rose=rgb:ebbcba
pine=rgb:31748f
foam=rgb:9ccfd8
iris=rgb:c4a7e7
highlight=rgb:2a2837
highlightInactive=rgb:211f2d
highlightOverlay=rgb:3a384a
## code
echo "
face global value ${iris}
face global type ${iris}
face global identifier ${subtle}
face global string ${gold}
face global keyword ${pine}
face global operator default
face global attribute ${subtle}
face global comment ${subtle}+i
face global meta ${foam}
face global builtin ${foam}+b
face global variable ${rose}
face global module ${foam}
face global function ${foam}
"
## markup
echo "
face global title ${foam}+b
face global header ${foam}+b
face global bold ${gold}+b
face global italic ${iris}
face global mono ${rose}
face global block ${pine}
face global link ${love}
face global bullet ${rose}
face global list ${rose}
"
## builtin
echo "
face global Default ${text},${base}
face global PrimarySelection default,${highlight}
# We should use highlightInactive, however it makes it hard to notice the selection and inactive selections are important in Kakoune!
face global SecondarySelection default,${overlay}
face global PrimaryCursor ${base},${text}
face global SecondaryCursor default,${inactive}
face global LineNumbers ${overlay},${base}
face global LineNumberCursor ${gold},${base}
face global MenuForeground ${base},${foam}
face global MenuBackground ${text},${overlay}
face global MenuInfo ${overlay}
face global Information ${text},${overlay}
face global Error ${base},${love}
face global StatusLine ${text},${surface}
face global StatusLineMode ${rose}
face global StatusLineInfo ${foam}
face global StatusLineValue ${pine}
face global StatusCursor ${base},${text}
face global Prompt ${foam},${surface}
face global MatchingChar default+u
face global BufferPadding ${inactive},${base}
face global Whitespace ${inactive}+f
"
}

126
make.sh Executable file
View file

@ -0,0 +1,126 @@
#!/bin/sh
dark="
base=rgb:191724
surface=rgb:1f1d2e
overlay=rgb:26233a
inactive=rgb:555169
subtle=rgb:6e6a86
text=rgb:e0def4
love=rgb:eb6f92
gold=rgb:f6c177
rose=rgb:ebbcba
pine=rgb:31748f
foam=rgb:9ccfd8
iris=rgb:c4a7e7
highlight=rgb:2a2837
highlightInactive=rgb:211f2d
highlightOverlay=rgb:3a384a
"
dawn="
base=rgb:faf4ed
surface=rgb:fffaf3
overlay=rgb:f2e9de
inactive=rgb:9893a5
subtle=rgb:6e6a86
text=rgb:575279
love=rgb:b4637a
gold=rgb:ea9d34
rose=rgb:d7827e
pine=rgb:286983
foam=rgb:56949f
iris=rgb:907aa9
highlight=rgb:eee9e6
highlightInactive=rgb:f2ede9
highlightOverlay=rgb:e4dfde
"
moon="
base=rgb:232136
surface=rgb:2a273f
overlay=rgb:393552
inactive=rgb:59546d
subtle=rgb:817c9c
text=rgb:e0def4
love=rgb:eb6f92
gold=rgb:f6c177
rose=rgb:ea9a97
pine=rgb:3e8fb0
foam=rgb:9ccfd8
iris=rgb:c4a7e7
highlight=rgb:312f44
highlightInactive=rgb:2a283d
highlightOverlay=rgb:3f3c53
"
common='
## code
echo "
face global value ${iris}
face global type ${iris}
face global identifier ${subtle}
face global string ${gold}
face global keyword ${pine}
face global operator default
face global attribute ${subtle}
face global comment ${subtle}+i
face global meta ${foam}
face global builtin ${foam}+b
face global variable ${rose}
face global module ${foam}
face global function ${foam}
"
## markup
echo "
face global title ${foam}+b
face global header ${foam}+b
face global bold ${gold}+b
face global italic ${iris}
face global mono ${rose}
face global block ${pine}
face global link ${love}
face global bullet ${rose}
face global list ${rose}
"
## builtin
echo "
face global Default ${text},${base}
face global PrimarySelection default,${highlight}
# We should use highlightInactive, however it makes it hard to notice the selection and inactive selections are important in Kakoune!
face global SecondarySelection default,${overlay}
face global PrimaryCursor ${base},${text}
face global SecondaryCursor default,${inactive}
face global LineNumbers ${overlay},${base}
face global LineNumberCursor ${gold},${base}
face global MenuForeground ${base},${foam}
face global MenuBackground ${text},${overlay}
face global MenuInfo ${overlay}
face global Information ${text},${overlay}
face global Error ${base},${love}
face global StatusLine ${text},${surface}
face global StatusLineMode ${rose}
face global StatusLineInfo ${foam}
face global StatusLineValue ${pine}
face global StatusCursor ${base},${text}
face global Prompt ${foam},${surface}
face global MatchingChar default+u
face global BufferPadding ${inactive},${base}
face global Whitespace ${inactive}+f
"
'
echo "evaluate-commands %sh{
$dark
$common
}" > colors/rose-pine.kak
echo "evaluate-commands %sh{
$moon
$common
}" > colors/rose-pine-moon.kak
echo "evaluate-commands %sh{
$dawn
$common
}" > colors/rose-pine-dawn.kak

26
readme.md Normal file
View file

@ -0,0 +1,26 @@
<p align="center">
<img src="https://github.com/rose-pine/rose-pine-theme/raw/main/assets/icon.png" width="80" />
<h2 align="center">Rosé Pine for Kakoune</h2>
</p>
<p align="center">All natural pine, faux fur and a bit of soho vibes for the classy minimalist</p>
<p align="center">
<a href="https://github.com/rose-pine/rose-pine-theme">
<img src="https://img.shields.io/badge/community-rosé%20pine-26233a?labelColor=191724&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjIzNyIgdmlld0JveD0iMCAwIDI1MCAyMzciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNjEuMjI3IDE2MS4yNTFDMTMyLjE1NCAxNjkuMDQxIDExNC45MDEgMTk4LjkyNCAxMjIuNjkxIDIyNy45OTdDMTIzLjkyNSAyMzIuNjAzIDEyOC42NTkgMjM1LjMzNiAxMzMuMjY0IDIzNC4xMDJMMTg1LjkwNyAyMTkuOTk2QzIxOS41ODUgMjEwLjk3MiAyMzkuNTcgMTc2LjM1NCAyMzAuNTQ2IDE0Mi42NzdMMTYxLjIyNyAxNjEuMjUxWiIgZmlsbD0iIzI0NjI3QiIvPgo8cGF0aCBkPSJNODguMTgzNiAxNTkuOTg4QzExNy4yNTcgMTY3Ljc3OCAxMzQuNTEgMTk3LjY2MiAxMjYuNzIgMjI2LjczNUMxMjUuNDg2IDIzMS4zNCAxMjAuNzUyIDIzNC4wNzMgMTE2LjE0NyAyMzIuODM5TDYzLjUwNDEgMjE4LjczM0MyOS44MjY0IDIwOS43MSA5Ljg0MDk0IDE3NS4wOTIgMTguODY0OSAxNDEuNDE0TDg4LjE4MzYgMTU5Ljk4OFoiIGZpbGw9IiMyNDYyN0IiLz4KPHBhdGggZD0iTTE4Ni44NjcgMTcyLjk4QzE1Mi4wMDIgMTcyLjk4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OTk5IDEwNy45NjEgMTMwLjk4NCAxNDEuNjM5IDEyMS45NkwxMjUuMjk5IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+CjxwYXRoIGQ9Ik0xMjQuOTI2IDYwLjk3ODlDMTMzLjk1IDI3LjMwMTIgMTY4LjU2NyA3LjMxNTY3IDIwMi4yNDUgMTYuMzM5NkwxODUuOTA1IDc3LjMyMTFDMTc2Ljg4MSAxMTAuOTk5IDE0Mi4yNjMgMTMwLjk4NCAxMDguNTg2IDEyMS45NkwxMjQuOTI2IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+Cjwvc3ZnPgo=&style=for-the-badge" />
</a>
</p>
## Usage
1. Copy the files in the [colors](colors/) directory to `~/.config/kak/colors/`.
2. Add `colorscheme rose-pine` (or `-moon`, or `-dawn`) to your kakrc.
## Gallery
![Rosé Pine with Kakoune](assets/kakoune.png)
## Thanks to
- [Nulo](https://nulo.in)