Skip to content

Commit

Permalink
fix: colorscheme name
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Cancelinha committed Aug 16, 2024
1 parent f5f2a27 commit 1ab0a9d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions lua/nordern/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ B.gui = {
MsgSeparator = { fg = C.night.c1, bg = C.bg }, -- Separator for scrolled messages msgsep.
NonText = { fg = C.bg, bg = C.bg }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also hl-EndOfBuffer.
Normal = { fg = C.fg, bg = C.bg }, -- Normal text.
NormalFloat = { fg = C.fg, bg = C.bg }, -- Normal text in floating windows.
NormalNC = { fg = C.fg, bg = C.bg }, -- Normal text in non-current windows.
NormalFloat = { fg = C.fg, bg = C.none }, -- Normal text in floating windows.
NormalNC = { fg = C.fg, bg = C.none }, -- Normal text in non-current windows.
-- Pmenu
Pmenu = { fg = C.fg, bg = C.bg }, -- Popup menu: Normal item.
PmenuExtra = { fg = C.frost.light_blue, bg = C.bg }, -- Popup menu: Normal item "extra text".
Expand Down
25 changes: 13 additions & 12 deletions lua/nordern/plugs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,17 @@ P.flash = {
}

P.noice = {
NoiceCmdline = { fg = C.frost.turquoise, bg = C.none }, --normal for the classic cmdline area at the bottom"
NoiceCmdlineIcon = { fg = C.frost.turquoise, bg = C.none }, --Cmdline icon
NoiceCmdlineIconCalculator = { fg = C.frost.sea, bg = C.none }, --
NoiceCmdlineIconCmdline = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconFilter = { fg = C.aurora.yellow, bg = C.none }, --
NoiceCmdlineIconHelp = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconIncRename = { fg = C.aurora.red, bg = C.none }, --
NoiceCmdlineIconInput = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconLua = { fg = C.frost.light_blue, bg = C.none }, --
NoiceCmdlineIconSearch = { fg = C.aurora.yellow, bg = C.none }, --Cmdline search icon (`/` and `?`)
NoiceCmdlinePopup = { fg = C.frost.turquoise, bg = C.none }, --normal for the cmdline popup
NoiceCmdline = { fg = C.frost.turquoise, bg = C.none }, --normal for the classic cmdline area at the bottom"
NoiceCmdlineIcon = { fg = C.frost.turquoise, bg = C.none }, --Cmdline icon
NoiceCmdlineIconCalculator = { fg = C.frost.sea, bg = C.none }, --
NoiceCmdlineIconCmdline = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconFilter = { fg = C.aurora.yellow, bg = C.none }, --
NoiceCmdlineIconHelp = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconIncRename = { fg = C.aurora.red, bg = C.none }, --
NoiceCmdlineIconInput = { fg = C.frost.turquoise, bg = C.none }, --
NoiceCmdlineIconLua = { fg = C.frost.light_blue, bg = C.none }, --
NoiceCmdlineIconSearch = { fg = C.aurora.yellow, bg = C.none }, --Cmdline search icon (`/` and `?`)
NoiceCmdlinePopup = { fg = C.frost.turquoise, bg = C.none }, --normal for the cmdline popup
NoiceCmdlinePopupBorder = { link = "FloatBorder" }, --Cmdline popup border
NoiceCmdlinePopupBorderCalculator = { link = "FloatBorder" }, --
NoiceCmdlinePopupBorderCmdline = { link = "FloatBorder" }, --
Expand Down Expand Up @@ -284,6 +284,7 @@ P.neo_tree = {
NeoTreeFilterTerm = { fg = C.aurora.yellow, bg = C.none }, --The filter term, as displayed in the root node.
NeoTreeFloatBorder = { link = "FloatBorder" }, --The border for pop-up windows.
NeoTreeFloatTitle = { fg = C.fg, bg = C.none }, --Used for the title text of pop-ups when the border-style is set to another style than "NC". This is derived from NeoTreeFloatBorder.
NeoTreeFloatNormal = { fg = C.fg, bg = C.none }, --Used for the title text of pop-ups when the border-style is set to another style than "NC". This is derived from NeoTreeFloatBorder.
NeoTreeGitAdded = { fg = C.aurora.green, bg = C.none }, --File name when the git status is added.
NeoTreeGitConflict = { fg = C.aurora.red, bg = C.none }, --File name when the git status is conflict.
NeoTreeGitDeleted = { fg = C.aurora.red, bg = C.none }, --File name when the git status is deleted.
Expand Down Expand Up @@ -349,7 +350,7 @@ P.telescope = {
TelescopeBorder = { link = "FloatBorder" },
TelescopeMatching = { fg = C.frost.turquoise, bg = C.none }, -- Highlight characters your input
TelescopeMultiSelection = { link = "CursorLine" }, -- Multisections
TelescopeNormal = { fg = C.fg, bg = C.bg }, -- Floating windows created by telescope
TelescopeNormal = { fg = C.fg, bg = C.bg }, -- Floating windows created by telescope
TelescopePreviewBorder = { link = "FloatBorder" },
TelescopePreviewTitle = { fg = C.fg, bg = C.none },
TelescopePromptBorder = { link = "FloatBorder" },
Expand Down
5 changes: 1 addition & 4 deletions lua/nordern/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,12 @@ local function semantic_token_override()
end

function utils.preload()
if vim.fn.exists("syntax_on") then
vim.cmd("syntax reset")
end

semantic_token_override()

vim.o.termguicolors = true
vim.o.background = "dark"
vim.g.colors_name = "nordern"
vim.cmd("colorscheme nordern")
end

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

0 comments on commit 1ab0a9d

Please sign in to comment.