Skip to content

Commit

Permalink
feat(theme): remove light theme and update colors
Browse files Browse the repository at this point in the history
- Deleted aurora-light.lua and auroralight.lua files
- Updated aurora.lua with new color values
- Modified init.lua to remove light theme references
- Updated theme.lua with new highlight colors
- Changed repository URL in init.lua
  • Loading branch information
karyanayandi committed Feb 2, 2025
1 parent 06f6dd7 commit 58005d0
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 91 deletions.
12 changes: 0 additions & 12 deletions colors/aurora-light.lua

This file was deleted.

47 changes: 23 additions & 24 deletions lua/aurora/colors/aurora.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
local colors = {
fg = "#c8ccd4",
fg_light = "#E5E9F0",
bg = "#282c34",
fg = "#d8dee9",
fg_light = "#e5e9f0",
bg = "#2e3440",
gray = "#565c64",
light_gray = "#abb2bf",
light_gray = "#565c64",
cyan = "#88c0d0",
blue = "#81A1C1",
dark_blue = "#5E81AC",
green = "#A3BE8C",
light_green = "#8FBCBB",
dark_red = "#BF616A",
red = "#d57780",
light_red = "#DE878F",
pink = "#E85B7A",
dark_pink = "#E44675",
blue = "#81a1c1",
dark_blue = "#5e81ac",
green = "#a3be8c",
dark_green = "#3d512d",
light_green = "#8fbcbb",
dark_red = "#80323b",
red = "#bf616a",
light_red = "#dda3a8",
orange = "#d08f70",
yellow = "#e5c07b",
purple = "#b988b0",
light_purple = "#B48EAD",
purple = "#b48ead",
light_purple = "#cdb2c8",
none = "NONE",
}

Expand All @@ -29,17 +28,17 @@ colors.info = colors.green
colors.hint = colors.purple

colors.diff_add = colors.green
colors.diff_add_bg = "#394E3D"
colors.diff_add_bg = colors.dark_green
colors.diff_change = colors.dark_blue
colors.diff_change_bg = "#353b45"
colors.diff_change_bg = "#3b4252"
colors.diff_remove = colors.red
colors.diff_remove_bg = "#4D2B2E"
colors.diff_text_bg = "#353b45"
colors.diff_remove_bg = colors.dark_red
colors.diff_text_bg = "#3b4252"

colors.active = "#282c34"
colors.float = "#282c34"
colors.highlight = "#353b45"
colors.highlight_dark = "#282c34"
colors.selection = "#353b45"
colors.active = "#434c5e"
colors.float = "#434c5e"
colors.highlight = "#3b4252"
colors.highlight_dark = "#2e3440"
colors.selection = "#3b4252"

return colors
45 changes: 0 additions & 45 deletions lua/aurora/colors/auroralight.lua

This file was deleted.

6 changes: 1 addition & 5 deletions lua/aurora/colors/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local light_colors = require("aurora.colors.auroralight")
local dark_colors = require("aurora.colors.aurora")
local base_colors = require("aurora.colors.aurora")
local util = require("aurora.util")

local function get_theme()
Expand All @@ -15,9 +14,6 @@ local function get_theme()
end

local function load()
local theme = get_theme()

local base_colors = theme == "light" and light_colors or dark_colors
return util.deep_extend_by_theme(base_colors, require("aurora.config").options.custom_colors)
end

Expand Down
4 changes: 2 additions & 2 deletions lua/aurora/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Colorscheme name: aurora.nvim
-- Colorscheme name: aurora
-- Description: A Neovim theme that using Nord aurora colors pallete
-- Author: Karyana Yandi
-- Website: https://github.com/karyanayandi/aurora.nvim
-- Website: https://github.com/aurora-theme/nvim

local config = require("aurora.config")
local util = require("aurora.util")
Expand Down
6 changes: 3 additions & 3 deletions lua/aurora/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -895,11 +895,11 @@ function theme.highlights(colors, config)
FernBranchText = { fg = colors.blue },

-- Lightspeed
LightspeedLabel = { fg = colors.pink, style = "bold,underline" },
LightspeedLabelOverlapped = { fg = colors.dark_pink, style = "underline" },
LightspeedLabel = { fg = colors.purple, style = "bold,underline" },
LightspeedLabelOverlapped = { fg = colors.dark_purple, style = "underline" },
LightspeedLabelDistant = { fg = colors.cyan, style = "bold,underline" },
LightspeedLabelDistantOverlapped = { fg = colors.blue, style = "underline" },
LightspeedShortcut = { fg = "#E5E9F0", bg = colors.pink, style = "bold,underline" },
LightspeedShortcut = { fg = "#E5E9F0", bg = colors.purple, style = "bold,underline" },
LightspeedMaskedChar = { fg = colors.light_purple },
LightspeedGreyWash = { fg = colors.gray },
LightspeedUnlabeledMatch = { fg = colors.fg_light, style = "bold" },
Expand Down

0 comments on commit 58005d0

Please sign in to comment.