Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
🖌️ Linting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Jun 20, 2021
1 parent 29afc27 commit 3fea0df
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 91 deletions.
5 changes: 2 additions & 3 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
globals = {
"vim",
}
globals = {"vim"}
max_comment_line_length = false
2 changes: 0 additions & 2 deletions extras/alacritty_onedark_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@ colors:
indexed_colors:
- { index: 16, color: '0xd19a66' }
- { index: 17, color: '0xf65866' }


79 changes: 39 additions & 40 deletions extras/kitty_onedark_.conf
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
# onedark colors for Kitty

background #282c34
foreground #abb2bf
selection_background #393f4a
selection_foreground #abb2bf
url_color #98c379
cursor #abb2bf

# Tabs
active_tab_background #61afef
active_tab_foreground #282c34
inactive_tab_background #abb2bf
inactive_tab_foreground #282c34
#tab_bar_background #20232A

# normal
color0 #20232A
color1 #e86671
color2 #98c379
color3 #e0af68
color4 #61afef
color5 #c678dd
color6 #56b6c2
color7 #798294

# bright
color8 #5c6370
color9 #e86671
color10 #98c379
color11 #e0af68
color12 #61afef
color13 #c678dd
color14 #56b6c2
color15 #abb2bf

# extended colors
color16 #d19a66
color17 #f65866

# onedark colors for Kitty

background #282c34
foreground #abb2bf
selection_background #393f4a
selection_foreground #abb2bf
url_color #98c379
cursor #abb2bf

# Tabs
active_tab_background #61afef
active_tab_foreground #282c34
inactive_tab_background #abb2bf
inactive_tab_foreground #282c34
#tab_bar_background #20232A

# normal
color0 #20232A
color1 #e86671
color2 #98c379
color3 #e0af68
color4 #61afef
color5 #c678dd
color6 #56b6c2
color7 #798294

# bright
color8 #5c6370
color9 #e86671
color10 #98c379
color11 #e0af68
color12 #61afef
color13 #c678dd
color14 #56b6c2
color15 #abb2bf

# extended colors
color16 #d19a66
color17 #f65866
4 changes: 1 addition & 3 deletions lua/onedark/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ function M.setup(config)

-- Color Palette
---@class ColorScheme
local colors = {}

colors = {
local colors = {
none = "NONE",
bg = "#282c34",
bg2 = "#21252b",
Expand Down
3 changes: 1 addition & 2 deletions lua/onedark/extra/alacritty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ colors:
indexed_colors:
- { index: 16, color: '${orange}' }
- { index: 17, color: '${red1}' }
]], alacrittyColors)
]], alacrittyColors)

return alacritty
end
Expand Down
80 changes: 40 additions & 40 deletions lua/onedark/extra/kitty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,46 @@ function M.kitty(config)
local colors = require("onedark.colors").setup(config)

local kitty = util.template([[
# onedark colors for Kitty
background ${bg}
foreground ${fg}
selection_background ${bg_visual}
selection_foreground ${fg}
url_color ${green}
cursor ${fg}
# Tabs
active_tab_background ${blue}
active_tab_foreground ${bg}
inactive_tab_background ${fg}
inactive_tab_foreground ${bg}
#tab_bar_background ${black}
# normal
color0 ${black}
color1 ${red}
color2 ${green}
color3 ${yellow}
color4 ${blue}
color5 ${purple}
color6 ${cyan}
color7 ${fg_dark}
# bright
color8 ${fg_gutter}
color9 ${red}
color10 ${green}
color11 ${yellow}
color12 ${blue}
color13 ${purple}
color14 ${cyan}
color15 ${fg}
# extended colors
color16 ${orange}
color17 ${red1}
]], colors)
# onedark colors for Kitty
background ${bg}
foreground ${fg}
selection_background ${bg_visual}
selection_foreground ${fg}
url_color ${green}
cursor ${fg}
# Tabs
active_tab_background ${blue}
active_tab_foreground ${bg}
inactive_tab_background ${fg}
inactive_tab_foreground ${bg}
#tab_bar_background ${black}
# normal
color0 ${black}
color1 ${red}
color2 ${green}
color3 ${yellow}
color4 ${blue}
color5 ${purple}
color6 ${cyan}
color7 ${fg_dark}
# bright
color8 ${fg_gutter}
color9 ${red}
color10 ${green}
color11 ${yellow}
color12 ${blue}
color13 ${purple}
color14 ${cyan}
color15 ${fg}
# extended colors
color16 ${orange}
color17 ${red1}
]], colors)
return kitty
end

Expand Down
2 changes: 1 addition & 1 deletion lua/onedark/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function M.setup(config)
theme.colors = colors.setup(config)
local c = theme.colors

theme.base = {
theme.base = { -- luacheck: ignore
Comment = {fg = c.fg_gutter, style = config.commentStyle}, -- any comment
ColorColumn = {bg = c.bg_visual}, -- used for the columns set with 'colorcolumn'
Conceal = {fg = c.fg_gutter}, -- placeholder characters substituted for concealed text (see 'conceallevel')
Expand Down

0 comments on commit 3fea0df

Please sign in to comment.