From 7a4c582b85bb055241f3f1085a29406e9f508a27 Mon Sep 17 00:00:00 2001 From: xnm Date: Sat, 6 Sep 2025 17:17:14 +0300 Subject: [PATCH] =?UTF-8?q?feat(terminal-utils):=20=F0=9F=93=A6=20Add=20po?= =?UTF-8?q?sting=20CLI=20tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `posting` to terminal utilities package set and configure two Catppuccin Macchiato color scheme variants (mauve and teal) for the tool. --- home/.config/posting/config.yaml | 1 + .../themes/catppuccin-macchiato-mauve.yaml | 38 +++++++++++++++++++ .../themes/catppuccin-macchiato-teal.yaml | 38 +++++++++++++++++++ nixos/terminal-utils.nix | 1 + 4 files changed, 78 insertions(+) create mode 100644 home/.config/posting/config.yaml create mode 100644 home/.local/share/posting/themes/catppuccin-macchiato-mauve.yaml create mode 100644 home/.local/share/posting/themes/catppuccin-macchiato-teal.yaml diff --git a/home/.config/posting/config.yaml b/home/.config/posting/config.yaml new file mode 100644 index 0000000..0b503c1 --- /dev/null +++ b/home/.config/posting/config.yaml @@ -0,0 +1 @@ +theme: "catppuccin-macchiato-teal" diff --git a/home/.local/share/posting/themes/catppuccin-macchiato-mauve.yaml b/home/.local/share/posting/themes/catppuccin-macchiato-mauve.yaml new file mode 100644 index 0000000..41e7368 --- /dev/null +++ b/home/.local/share/posting/themes/catppuccin-macchiato-mauve.yaml @@ -0,0 +1,38 @@ +name: "catppuccin-macchiato-mauve" +primary: "#c6a0f6" # buttons, fixed table columns +secondary: "#c6a0f6" # method selector, some minor labels +accent: "#e3cffb" # header text, scrollbars, cursors, focus highlights +background: "#24273a" # background colors +surface: "#363a4f" # panels, etc +error: "#ed8796" # error messages +success: "#a6da95" # success messages +warning: "#eed49f" # warning messages +dark: "true" + +text_area: + cursor: "reverse #f4dbd6" + cursor_line: "underline #cad3f5" + selection: "reverse #939ab7" + gutter: "bold #a6da95" + matched_bracket: "reverse #b8c0e0" + +url: + base: "italic #8aadf4" + protocol: "bold #8bd5ca" + separator: "#cad3f5" + +syntax: + json_key: "italic #8aadf4" + json_number: "#f5a97f" + json_string: "#a6da95" + json_boolean: "#91d7e3" + json_null: "#939ab7" + +method: + get: "bold #8aadf4" + post: "bold #a6da95" + put: "bold #eed49f" + delete: "bold #ed8796" + patch: "bold #8bd5ca" + options: "bold #b7bdf8" + head: "bold #c6a0f6" diff --git a/home/.local/share/posting/themes/catppuccin-macchiato-teal.yaml b/home/.local/share/posting/themes/catppuccin-macchiato-teal.yaml new file mode 100644 index 0000000..3ae4c3c --- /dev/null +++ b/home/.local/share/posting/themes/catppuccin-macchiato-teal.yaml @@ -0,0 +1,38 @@ +name: "catppuccin-macchiato-teal" +primary: "#8bd5ca" # buttons, fixed table columns +secondary: "#8bd5ca" # method selector, some minor labels +accent: "#b1e3db" # header text, scrollbars, cursors, focus highlights +background: "#24273a" # background colors +surface: "#363a4f" # panels, etc +error: "#ed8796" # error messages +success: "#a6da95" # success messages +warning: "#eed49f" # warning messages +dark: "true" + +text_area: + cursor: "reverse #f4dbd6" + cursor_line: "underline #cad3f5" + selection: "reverse #939ab7" + gutter: "bold #a6da95" + matched_bracket: "reverse #b8c0e0" + +url: + base: "italic #8aadf4" + protocol: "bold #8bd5ca" + separator: "#cad3f5" + +syntax: + json_key: "italic #8aadf4" + json_number: "#f5a97f" + json_string: "#a6da95" + json_boolean: "#91d7e3" + json_null: "#939ab7" + +method: + get: "bold #8aadf4" + post: "bold #a6da95" + put: "bold #eed49f" + delete: "bold #ed8796" + patch: "bold #8bd5ca" + options: "bold #b7bdf8" + head: "bold #c6a0f6" diff --git a/nixos/terminal-utils.nix b/nixos/terminal-utils.nix index 3ce7e10..f8b5387 100644 --- a/nixos/terminal-utils.nix +++ b/nixos/terminal-utils.nix @@ -11,6 +11,7 @@ delta sqlx-cli mermaid-cli + posting license-generator git-ignore gitleaks