diff options
author | Aqil Contractor <aqilcm@gmail.com> | 2023-01-09 14:15:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 18:15:37 -0400 |
commit | 5f132fdbd229cbdba5b11839b58969ef1ee2572e (patch) | |
tree | 4d5b7223461f2f58fe02eef66f1755deef64cccd | |
parent | b3a9cdd37838927e408614818ca43c6b173655fd (diff) | |
download | lite-xl-colors-5f132fdbd229cbdba5b11839b58969ef1ee2572e.tar.gz lite-xl-colors-5f132fdbd229cbdba5b11839b58969ef1ee2572e.zip |
Add Jetbrains Fleet theme (#18)
* Create vsc-jb-fleet-colors.lua
With treesitter support :D
* Updated README.md
* Conform to JGM
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | colors/jb-fleet.lua | 60 |
2 files changed, 61 insertions, 0 deletions
@@ -37,6 +37,7 @@ Theme | Preview [`github-dark-dimmed`](colors/github-dark-dimmed.lua?raw=1) | ![duotone_preview](previews/github-dark-dimmed.svg) [`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](previews/gruvbox_dark.svg) [`jellybeans`](colors/jellybeans.lua?raw=1) | ![jellybeans_preview](previews/jellybeans.svg) +[`jetbrains fleet`](colors/vsc-jb-fleet-colors.lua?raw=1) | ![jetrbrains fleet_preview](previews/vsc-jb-fleet-colors.svg) [`liqube`](colors/liqube.lua?raw=1) | ![liqube_preview](previews/liqube.svg) [`mariana`](colors/mariana.lua?raw=1) | ![mariana_preview](previews/mariana.svg) [`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](previews/monodark.svg) diff --git a/colors/jb-fleet.lua b/colors/jb-fleet.lua new file mode 100644 index 0000000..2d5c541 --- /dev/null +++ b/colors/jb-fleet.lua @@ -0,0 +1,60 @@ +local style = require "core.style" +local common = require "core.common" + +-- Styles copied over from the VSCode JetBrains Fleet Plugin +-- Hand done by none other than @AqilCont + +style.background = { common.color "#181818" } +style.background2 = { common.color "#181818" } +style.background3 = { common.color "#262626" } +style.text = { common.color "#C9D1D9" } +style.caret = { common.color "#fd4883" } +style.accent = { common.color "#58A6FF" } +style.dim = { common.color "#6d6d6d" } +style.divider = { common.color "#363636" } +style.selection = { common.color "#1b4174" } +style.line_number = { common.color "#535353" } +style.line_number2 = { common.color "#6d6d6d" } +style.line_highlight = { common.color "#292929" } +style.scrollbar = { common.color "#3a3a3a" } +style.scrollbar2 = { common.color "#313131" } + +style.syntax["normal"] = { common.color "#e6e6e6" } +style.syntax["symbol"] = { common.color "#e6e6e6" } +style.syntax["comment"] = { common.color "#6d6d6d" } +style.syntax["keyword"] = { common.color "#79d6c5" } +style.syntax["keyword2"] = { common.color "#eeaf83" } +style.syntax["keyword3"] = { common.color "#87c3ff" } +style.syntax["number"] = { common.color "#f7c66a" } +style.syntax["literal"] = { common.color "#87c3ff" } +style.syntax["string"] = { common.color "#c08ecb" } +style.syntax["operator"] = { common.color "#7fcdc0" } +style.syntax["function"] = { common.color "#aaa0f7" } + + +-- Tree Sitter Support +local nicepink = { common.color "#f074b4" } +local idk = { common.color "#af9cff" } +local darkergray = { common.color "#bbbbbb" } +local whoablue = { common.color "#87c3ff" } +local syncols = { + ["keyword.return"] = style.syntax["keyword"], + + ["type"] = style.syntax["keyword2"], + ["type.builtin"] = style.syntax["keyword"], + + ["boolean"] = whoablue, + ["parameter"] = darkergray, + ["field"] = whoablue, + ["declaration"] = nicepink, + ["constant"] = style.syntax["function"], + ["include"] = style.syntax["keyword"], + ["preproc"] = style.syntax["keyword"], + ["storageclass"] = style.syntax["keyword"], + ["repeat"] = style.syntax["keyword"], + ["character"] = style.syntax["keyword"], +} + +for i,n in pairs(syncols) do + style.syntax[i] = n +end |