Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tomorrow_night theme #1282

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,15 @@ pywal is another special theme. It will load the colors from your current [pywal
<img width='700' src='https://user-images.githubusercontent.com/41551030/108649321-6067fa00-74bd-11eb-83bb-b1de7f5e62d6.png'/>
</p>

### tomorrow_night

<p>
<img width="700" src="https://github.com/user-attachments/assets/1d61f5b8-266b-499e-b071-da8c14c65804"/>
<img width="700" src="https://github.com/user-attachments/assets/7992fef4-4161-4e3a-a964-42bb22f77d08"/>
<img width="700" src="https://github.com/user-attachments/assets/e26fa7a6-9c27-4171-a8e7-067785ab6fee"/>
<img width="700" src="https://github.com/user-attachments/assets/b88b2767-8b93-4be6-a2f8-6528dd43089a"/>
</p>

### wombat

<p>
Expand Down
41 changes: 41 additions & 0 deletions lua/lualine/themes/tomorrow_night.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
local colors = {
bg = '#282a2e',
alt_bg = '#373b41',
dark_fg = '#969896',
fg = '#b4b7b4',
light_fg = '#c5c8c6',
normal = '#81a2be',
insert = '#b5bd68',
visual = '#b294bb',
replace = '#de935f',
}

local theme = {
normal = {
a = { fg = colors.bg, bg = colors.normal },
b = { fg = colors.light_fg, bg = colors.alt_bg },
c = { fg = colors.fg, bg = colors.bg },
},
replace = {
a = { fg = colors.bg, bg = colors.replace },
b = { fg = colors.light_fg, bg = colors.alt_bg },
},
insert = {
a = { fg = colors.bg, bg = colors.insert },
b = { fg = colors.light_fg, bg = colors.alt_bg },
},
visual = {
a = { fg = colors.bg, bg = colors.visual },
b = { fg = colors.light_fg, bg = colors.alt_bg },
},
inactive = {
a = { fg = colors.dark_fg, bg = colors.bg },
b = { fg = colors.dark_fg, bg = colors.bg },
c = { fg = colors.dark_fg, bg = colors.bg },
},
}

theme.command = theme.normal
theme.terminal = theme.insert

return theme
Loading