Skip to content

Commit

Permalink
fix: colorscheme naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Cancelinha committed Aug 16, 2024
1 parent 9860ffe commit 6c8be71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions lua/nordern/utils.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
local utils = {}

local function hexToRgb(color)
color = string.lower(color)
return { tonumber(color:sub(2, 3), 16), tonumber(color:sub(4, 5), 16), tonumber(color:sub(6, 7), 16) }
end

local function semantic_token_override()
vim.api.nvim_create_autocmd("LspTokenUpdate", {
Expand Down Expand Up @@ -34,7 +30,11 @@ function utils.preload()
vim.o.termguicolors = true
vim.o.background = "dark"
vim.g.colors_name = "nordern"
vim.cmd.colorscheme("nordern")
end

local function hexToRgb(color)
color = string.lower(color)
return { tonumber(color:sub(2, 3), 16), tonumber(color:sub(4, 5), 16), tonumber(color:sub(6, 7), 16) }
end

function utils.blend(foreground, background, alpha)
Expand Down

0 comments on commit 6c8be71

Please sign in to comment.