Skip to content

Commit

Permalink
feat(terminals): add termux color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
lonr committed Oct 30, 2024
1 parent 4f67dcb commit 195bc2b
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 14 deletions.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
<!-- # Theme Them All
This tool generates themes from provided colors.
## Goals
We prefer to mod existing(usually the official) themes. And we only focus on colors.
> [Theming is actually colors, nothing more.](https://youtu.be/ibT4daaZSTE?t=14)
## One Dark to theme them all
We've generated a set of themes using the One Dark palette. -->

# Adwaita One Dark

[Adwaita](https://gitlab.gnome.org/GNOME/libadwaita/-/tree/main/src/stylesheet)(the default theme of GNOME) with the [One Dark color scheme](https://github.com/Binaryify/OneDark-Pro/blob/master/themes/OneDark-Pro.json)
Expand All @@ -26,6 +12,7 @@ We've generated a set of themes using the One Dark palette. -->
- Terminals
- [x] [Ptxis](terminals/templates/ptxis/README.md)
- [x] [Tilix](terminals/templates/tilix/README.md)
- [x] [Termux](terminals/templates/termux/README.md)
- [ ] Tools for creating other color variants

GNOME Shell Theme:
Expand Down
10 changes: 10 additions & 0 deletions terminals/templates/termux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Termux

1. Copy the color scheme `colors.properties` to `~/.termux/` (`/data/data/com.termux/files/home/.termux/`)
2. Run `termux-reload-settings` to reload the settings.

## See also

- [GitHub repo of termux-styling](https://github.com/termux/termux-styling)
- [Termux Wiki - Termux:Styling](https://wiki.termux.com/wiki/Termux:Styling)
- [Termux Wiki - Internal and external storage](https://wiki.termux.com/wiki/Internal_and_external_storage)
22 changes: 22 additions & 0 deletions terminals/templates/termux/colors.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by https://github.com/lonr/adwaita-one-dark
# One Dark

background=#282c34
foreground=#abb2bf
color0=#3f4451
color1=#e05561
color2=#8cc265
color3=#d18f52
color4=#4aa5f0
color5=#c162de
color6=#42b3c2
color7=#d7dae0
color8=#4f5666
color9=#ff616e
color10=#a5e075
color11=#f0a45d
color12=#4dc4ff
color13=#de73ff
color14=#4cd1e0
color15=#e6e6e6

22 changes: 22 additions & 0 deletions terminals/templates/termux/colors.properties.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by https://github.com/lonr/adwaita-one-dark
# {{ themeName }}

background={{ neutral.dark.background }}
foreground={{ neutral.dark.onBackground }}
color0={{ ansi.black }}
color1={{ ansi.red }}
color2={{ ansi.green }}
color3={{ ansi.yellow }}
color4={{ ansi.blue }}
color5={{ ansi.magenta }}
color6={{ ansi.cyan }}
color7={{ ansi.white }}
color8={{ ansi.blackBright }}
color9={{ ansi.redBright }}
color10={{ ansi.greenBright }}
color11={{ ansi.yellowBright }}
color12={{ ansi.blueBright }}
color13={{ ansi.magentaBright }}
color14={{ ansi.cyanBright }}
color15={{ ansi.whiteBright }}

0 comments on commit 195bc2b

Please sign in to comment.