From f8f3c815183f77122fc7f64d91764cd5f8fd3797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Delalande?= Date: Wed, 21 Jan 2026 01:48:10 +0100 Subject: [PATCH] feat: add Catppuccin Frappe and Macchiato themes --- CHANGELOG.md | 6 ++++++ src/textual/theme.py | 50 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0103d65c05..261349d7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] + +### Added + +- Added Catppuccin Frappe and Macchiato themes https://github.com/Textualize/textual/pull/6335 + ## [7.3.0] - 2026-01-15 ### Fixed diff --git a/src/textual/theme.py b/src/textual/theme.py index d1247417b0..fea6999faa 100644 --- a/src/textual/theme.py +++ b/src/textual/theme.py @@ -263,6 +263,56 @@ def to_color_system(self) -> ColorSystem: "button-color-foreground": "#EFF1F5", }, ), + "catppuccin-frappe": Theme( + name="catppuccin-frappe", + primary="#CA9EE6", + secondary="#EF9F76", + warning="#E5C890", + error="#E78284", + success="#A6D189", + accent="#F4B8E4", + foreground="#C6D0F5", + background="#303446", + surface="#414559", + panel="#51576D", + dark=True, + variables={ + "input-cursor-foreground": "#232634", + "input-cursor-background": "#F2D5CF", + "input-selection-background": "#949CBB 30%", + "border": "#BABBF1", + "border-blurred": "#838BA7", + "footer-background": "#51576D", + "block-cursor-foreground": "#292C3C", + "block-cursor-text-style": "none", + "button-color-foreground": "#303446", + }, + ), + "catppuccin-macchiato": Theme( + name="catppuccin-macchiato", + primary="#C6A0F6", + secondary="#F5A97F", + warning="#EED49F", + error="#ED8796", + success="#A6DA95", + accent="#F5BDE6", + foreground="#CAD3F5", + background="#24273A", + surface="#363A4F", + panel="#494D64", + dark=True, + variables={ + "input-cursor-foreground": "#181926", + "input-cursor-background": "#F4DBD6", + "input-selection-background": "#838BA7 30%", + "border": "#B7BDF8", + "border-blurred": "#737994", + "footer-background": "#494D64", + "block-cursor-foreground": "#1E2030", + "block-cursor-text-style": "none", + "button-color-foreground": "#24273A", + }, + ), "solarized-light": Theme( name="solarized-light", primary="#268bd2",