Skip to content

Commit

Permalink
feat(extras): add Slack Theme (#518)
Browse files Browse the repository at this point in the history
* add slack theme

* make README build command match CI build command

---------

Co-authored-by: Folke Lemaitre <[email protected]>
  • Loading branch information
rmartine-ias and folke authored Jul 4, 2024
1 parent 3839702 commit a4ba234
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/tokyonight/extra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ M.extras = {
lazygit = { ext = "yml", url = "https://github.com/jesseduffield/lazygit", label = "Lazygit" },
lua = { ext = "lua", url = "https://www.lua.org", label = "Lua Table for testing" },
prism = { ext = "js", url = "https://prismjs.com", label = "Prism" },
slack = {ext = "txt", url = "https://slack.com", label = "Slack"},
sublime = { ext = "tmTheme", url = "https://www.sublimetext.com/docs/themes", label = "Sublime Text" },
terminator = { ext = "conf", url = "https://gnome-terminator.readthedocs.io/en/latest/config.html", label = "Terminator" },
tilix = { ext = "json", url = "https://github.com/gnunn1/tilix", label = "Tilix" },
Expand Down
10 changes: 10 additions & 0 deletions lua/tokyonight/extra/slack.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local util = require("tokyonight.util")

local M = {}

--- @param colors ColorScheme
function M.generate(colors)
return util.template("${border},${bg_highlight},${magenta},${bg_visual}", colors)
end

return M

0 comments on commit a4ba234

Please sign in to comment.