feat(doc): added custom theeming description and advanced error parsing
This commit is contained in:
1 parent
4ad7cfb757
commit
6155236a4c
5 files changed
+103
-7
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# example custom theme -> ~/.config/rmcl/theme/my-theme.toml
|
||||
# activate it in ~/.config/rmcl/theme.toml with: theme = "my-theme"
|
||||
#
|
||||
# this file is a theme, not the config: keys live at the top level, NOT under
|
||||
# [theme] or [custom]. only name, id and accent are required; every other key
|
||||
# falls back to a sane default.
|
||||
#
|
||||
# color formats: "#f97316" | "Red" / "LightBlue" (ANSI names) |
|
||||
# { Rgb = [249, 115, 22] } | { Indexed = 42 }
|
||||
|
||||
name = "My Theme"
|
||||
id = "my-theme"
|
||||
|
||||
accent = { Rgb = [249, 115, 22] }
|
||||
accent_dim = "#7f5539"
|
||||
|
||||
text = "#cdd6f4"
|
||||
text_dim = "DarkGray"
|
||||
text_bright = "#ffffff"
|
||||
|
||||
success = "#a6e3a1"
|
||||
error = "#f38ba8"
|
||||
warning = "#f9e2af"
|
||||
info = "#89dceb"
|
||||
|
||||
diff_added = "#a6e3a1"
|
||||
diff_removed = "#f38ba8"
|
||||
diff_context = "DarkGray"
|
||||
|
||||
border = "#585b70"
|
||||
surface = "#313244"
|
||||
background = "#1e1e2e"
|
||||
+4
-2
@@ -2,9 +2,11 @@
|
||||
# catppuccin, dracula, nord, gruvbox, one-dark,
|
||||
# solarized, tailwind, tokyo-night, rose-pine, terminal
|
||||
#
|
||||
# custom themes:
|
||||
# theme = "my-theme" (loads ~/.config/mcl/theme/my-theme.toml)
|
||||
# custom themes:
|
||||
# theme = "my-theme" (loads ~/.config/rmcl/theme/my-theme.toml)
|
||||
# theme = "/path/to/file" (loads from absolute path)
|
||||
# a theme file has flat top-level keys (name, id, accent, ...), not the
|
||||
# [custom] table below. see assets/example-theme.toml in the repo.
|
||||
theme = "gruvbox"
|
||||
|
||||
# rounded, plain, double, thick
|
||||
|
||||
Reference in new issue
Block a user