Skip to content
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
22 changes: 22 additions & 0 deletions extras/atuin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Tokyo Night for Atuin

This directory contains the Tokyo Night color scheme for [Atuin](https://atuin.sh/).

## Installation

1. Choose your preferred Tokyo Night style (Storm, Moon, Night, or Day).
2. Copy the TOML file to your Atuin themes directory: `~/.config/atuin/themes/`.
3. Update your configuration in `~/.config/atuin/config.toml`:

```toml
[theme]
name = "tokyonight_storm"
```
For more details on custom theme configuration, see the [official documentation](https://docs.atuin.sh/cli/guide/theming/).

## Styles

- **tokyonight_storm.toml**: Tokyo Night Storm (Dark)
- **tokyonight_moon.toml**: Tokyo Night Moon (Dark)
- **tokyonight_night.toml**: Tokyo Night (Dark)
- **tokyonight_day.toml**: Tokyo Night Day (Light)
29 changes: 29 additions & 0 deletions lua/tokyonight/extra/atuin.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
local util = require("tokyonight.util")

local M = {}

--- @param colors ColorScheme
--- @return string
function M.generate(colors)
return util.template([[
# Theme: ${_style_name}
# Upstream: https://github.com/folke/tokyonight.nvim/tree/main/extras/atuin

[theme]
name = "${_name}"
parent = "default"

[colors]
AlertInfo = "${green1}"
AlertWarn = "${yellow}"
AlertError = "${red}"
Annotation = "${terminal_black}"
Base = "${fg}"
Guidance = "${orange}"
Important = "${blue}"
Title = "${magenta}"
Muted = "${dark3}"
]], colors)
end

return M
1 change: 1 addition & 0 deletions lua/tokyonight/extra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ M.extras = {
aerc = { ext = "ini", url = "https://git.sr.ht/~rjarry/aerc/", label = "Aerc" },
aider = { ext = "yml", url = "https://aider.chat", label = "Aider" },
alacritty = { ext = "toml", url = "https://github.com/alacritty/alacritty", label = "Alacritty" },
atuin = { ext = "toml", url = "https://github.com/atuinsh/atuin", label = "Atuin" },
btop = { ext = "theme", url = "https://github.com/aristocratos/btop", label = "Btop++" },
delta = { ext = "gitconfig", url = "https://github.com/dandavison/delta", label = "Delta" },
discord = { ext = "css", url ="https://betterdiscord.app/", label = "(Better-)Discord"},
Expand Down
Loading