You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 256-color variants to theme files and consolidate theme loading
Merge the separate default_theme256.toml into default_theme.toml so each
theme file contains both [theme] and [theme256] sections. Add 256-color
variants to both IBM1970 (default) and 42KM themes. Simplify config.rs
to load a single theme file instead of two.
FileCTRL supports two theme sections: `[theme]` for truecolor terminals and `[theme256]` for 256-color terminals. At startup, FileCTRL detects truecolor support via the `$COLORTERM` environment variable. Use `--colors-256` to force the 256-color theme.
177
+
FileCTRL supports two theme sections: `[theme]` for truecolor terminals and `[theme256]` for 256-color terminals. At startup, FileCTRL detects truecolor support via the `$COLORTERM` environment variable. Use `--colors-256` to force the 256color theme.
178
178
179
179
#### Style properties
180
180
@@ -191,7 +191,7 @@ All properties are optional. Omit any property to use its default. Set `fg` or `
191
191
**Color formats:**
192
192
193
193
-**Truecolor** (`[theme]`): hex strings like `"#FF0000"`, or named colors like `"Red"`
194
-
-**256-color** (`[theme256]`): decimal indexes `"0"` through `"255"`
194
+
-**256color** (`[theme256]`): decimal indexes `"0"` through `"255"`
[256 colors mode](themes/ibm1970-256.toml) (default when run with `--colors-256`) | | [](./screenshots/colors256.png)
0 commit comments