Skip to content

Commit

Permalink
lualine support
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-gorohovsky committed Feb 5, 2025
1 parent 9976235 commit 8a9c0e0
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 14 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ A clean, minimalist Neovim colorscheme inspired by the original [pustota VSCode
- Bash
- SQL

## Integrations
- lualine.nvim
- tbd...

## Installation
For the best experience, ensure you have Treesitter installed and highlighting enabled.
Example with [lazy.nvim]:
Expand Down
14 changes: 14 additions & 0 deletions lua/colors.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
return {
constant = "#E6B450",
function_definitions = "#FFB454",
keywords_and_operators = "#FF8F40",
type_definitions = "#59C2FF",
comment = "#626A73",
string = "#C2D94C",

black = "#0A0E14",
gray = "#B3B1AD",
lgray = "#B9B9B9",
indent = "#181A1D",
visual = "#1C2631",
}
1 change: 1 addition & 0 deletions lua/lualine/themes/pustota.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
return require("utils.lualine")()
15 changes: 1 addition & 14 deletions lua/pustota.lua
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
local hl = vim.api.nvim_set_hl

local colors = {
constant = "#E6B450",
function_definitions = "#FFB454",
keywords_and_operators = "#FF8F40",
type_definitions = "#59C2FF",
comment = "#626A73",
string = "#C2D94C",

black = "#0A0E14",
gray = "#B3B1AD",
lgray = "#B9B9B9",
indent = "#181A1D",
visual = "#1C2631",
}
local colors = require("colors")

local M = {}

Expand Down
34 changes: 34 additions & 0 deletions lua/utils/lualine.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
return function()
local C = require("colors")
local theme = {}

theme.normal = {
a = { bg = C.black, fg = C.gray },
b = { bg = C.black, fg = C.gray },
c = { bg = C.black, fg = C.gray }
}

theme.insert = {
a = { bg = C.string, fg = C.black }
}

theme.visual = {
a = {
bg = C.visual, fg = C.gray
}
}

theme.command = {
a = {
bg = C.gray, fg = C.black
}
}

theme.terminal = {
a = {
bg = C.keywords_and_operators, fg = C.black
}
}
return theme

end

0 comments on commit 8a9c0e0

Please sign in to comment.